Uses of Class
com.sun.pdfview.PDFObject
Packages that use PDFObject
Package
Description
-
Uses of PDFObject in com.sun.pdfview
Fields in com.sun.pdfview declared as PDFObjectMethods in com.sun.pdfview that return PDFObjectModifier and TypeMethodDescriptionPDFFile.dereference(PDFXref ref, PDFDecrypter decrypter) Used internally to track down PDFObject references.PDFObject.dereference()Make sure that this object is dereferenced.Find the PDF object corresponding to the given String in a name treePDFObject.getArray()get the value as a PDFObject[].PDFObject.getAt(int idx) if this object is an ARRAY, get the PDFObject at some position in the array.PDFObject.getDictRef(String key) get the value associated with a particular key in the dictionary.PDFXref.getObject()Get the object this reference refers to, or null if it hasn't been set.PDFDestination.getPage()Get the PDF Page object associated with this destinationPDFFile.getRoot()get the root PDFObject of this PDFFile.Methods in com.sun.pdfview that return types with arguments of type PDFObjectMethods in com.sun.pdfview with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFImagePDFImage.createImage(PDFObject obj, Map resources) Read a PDFImage from an image dictionary and streamstatic voidstatic PDFDestinationPDFDestination.getDestination(PDFObject obj, PDFObject root) Get a destination from either an array (explicit destination), a name (named destination) or a string (name tree destination).intPDFFile.getPageNumber(PDFObject page) Gets the page number (starting from 1) of the page represented by a particular PDFObject.get a Rectangle2D.Float representation for a PDFObject that is an array of four Numbers.voidSet the object this reference refers to.Constructors in com.sun.pdfview with parameters of type PDFObjectModifierConstructorDescriptionCreates a new instance of NameTreeprotectedPDFDestination(PDFObject pageObj, int type) Creates a new instance of PDFDestinationprotectedCreate an instance of a PDFImageConstructor parameters in com.sun.pdfview with type arguments of type PDFObject -
Uses of PDFObject in com.sun.pdfview.action
Methods in com.sun.pdfview.action that return PDFObjectMethods in com.sun.pdfview.action with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFActionGet an action of the appropriate type from a PDFObjectvoidSet the next action or array of actionsConstructors in com.sun.pdfview.action with parameters of type PDFObjectModifierConstructorDescriptionGoToAction(PDFObject obj, PDFObject root) Creates a new instance of GoToAction from an object -
Uses of PDFObject in com.sun.pdfview.colorspace
Methods in com.sun.pdfview.colorspace with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFColorSpacePDFColorSpace.getColorSpace(PDFObject csobj, Map resources) Get a color space specified in a PDFObjectGet the paint representing a pattern, optionally with the given base paint.Constructors in com.sun.pdfview.colorspace with parameters of type PDFObjectModifierConstructorDescriptionCalGrayColor(PDFObject obj) Create a new Calibrated Gray color space object, given the description in a PDF dictionary.CalRGBColor(PDFObject obj) Create a new Calibrated RGB color space object, given the description in a PDF dictionary.IndexedColor(PDFColorSpace base, int count, PDFObject stream) create a new IndexColor PDFColorSpace based on another PDFColorSpace, a count of colors, and a stream of values.Create a new Lab color space object, given the description in a PDF dictionary. -
Uses of PDFObject in com.sun.pdfview.decode
Methods in com.sun.pdfview.decode with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic ByteBufferASCII85Decode.decode(ByteBuffer buf, PDFObject params) decode an array of bytes in ASCII85 format.static ByteBufferASCIIHexDecode.decode(ByteBuffer buf, PDFObject params) decode an array of bytes in ASCIIHex format.protected static byte[]protected static ByteBufferCCITTFaxDecode.decode(PDFObject dict, ByteBuffer buf, PDFObject params) protected static ByteBufferDCTDecode.decode(PDFObject dict, ByteBuffer buf, PDFObject params) decode an array of bytes in DCT format.static ByteBufferFlateDecode.decode(PDFObject dict, ByteBuffer buf, PDFObject params) decode a byte buffer in Flate format.static ByteBufferLZWDecode.decode(ByteBuffer buf, PDFObject params) decode an array of LZW-encoded bytes to a byte array.static ByteBufferRunLengthDecode.decode(ByteBuffer buf, PDFObject params) decode an array of bytes in RunLength format.static ByteBufferPDFDecoder.decodeStream(PDFObject dict, ByteBuffer streamBuf) decode a byte[] stream using the filters specified in the object's dictionary (passed as argument 1).static booleanCCITTFaxDecode.getOptionFieldBoolean(PDFObject dict, String name, boolean defaultValue) static intCCITTFaxDecode.getOptionFieldInt(PDFObject dict, String name, int defaultValue) static PredictorPredictor.getPredictor(PDFObject params) Get an instance of a predictor -
Uses of PDFObject in com.sun.pdfview.decrypt
Methods in com.sun.pdfview.decrypt with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFDecrypterPDFDecrypterFactory.createDecryptor(PDFObject encryptDict, PDFObject documentId, PDFPassword password) Create a decryptor for a given encryption dictionary.CryptFilterDecrypter.decryptBuffer(String cryptFilterName, PDFObject streamObj, ByteBuffer streamBuf) IdentityDecrypter.decryptBuffer(String cryptFilterName, PDFObject streamObj, ByteBuffer streamBuf) PDFDecrypter.decryptBuffer(String cryptFilterName, PDFObject streamObj, ByteBuffer streamBuf) Decrypt a buffer of dataStandardDecrypter.decryptBuffer(String cryptFilterName, PDFObject streamObj, ByteBuffer streamBuf) Constructors in com.sun.pdfview.decrypt with parameters of type PDFObjectModifierConstructorDescriptionStandardDecrypter(StandardDecrypter.EncryptionAlgorithm encryptionAlgorithm, PDFObject documentId, int keyBitLength, int revision, byte[] oValue, byte[] uValue, int pValue, boolean encryptMetadata, PDFPassword password) Class constructor -
Uses of PDFObject in com.sun.pdfview.font
Methods in com.sun.pdfview.font that return PDFObjectModifier and TypeMethodDescriptionPDFFontDescriptor.getCharSet()Getter for property charSet.PDFFontDescriptor.getFontFile()Getter for property fontFile.PDFFontDescriptor.getFontFile2()Getter for property fontFile2.PDFFontDescriptor.getFontFile3()Getter for property fontFile3.Methods in com.sun.pdfview.font with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFCMapGet a CMap, given a PDF object containing one of the following: a string name of a known CMap a stream containing a CMap definitionstatic PDFFontget the PDFFont corresponding to the font described in a PDFObject.protected static PDFCMapParse a CMap from a CMap streamvoidPDFFontEncoding.parseEncoding(PDFObject encoding) Parse a PDF encoding object for the actual encodingvoidPDFFontDescriptor.setCharSet(PDFObject charSet) Setter for property charSet.voidPDFFontDescriptor.setFontFile(PDFObject fontFile) Setter for property fontFile.voidPDFFontDescriptor.setFontFile2(PDFObject fontFile2) Setter for property fontFile2.voidPDFFontDescriptor.setFontFile3(PDFObject fontFile3) Setter for property fontFile3.Method parameters in com.sun.pdfview.font with type arguments of type PDFObjectModifier and TypeMethodDescriptionstatic PDFFontget the PDFFont corresponding to the font described in a PDFObject.Constructors in com.sun.pdfview.font with parameters of type PDFObjectModifierConstructorDescriptionBuiltinFont(String baseFont, PDFObject fontObj) Create a new Builtin object based on the name of a built-in font This must be the name of one of the 14 built-in fonts!BuiltinFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) create a new BuiltingFont object based on a description of the font from the PDF file.CIDFontType2(String baseName, PDFObject fontObj, PDFFontDescriptor descriptor) create a new CIDFontType2 object based on the name of a built-in font and the font descriptorNativeFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) create a new NativeFont object based on a description of the font from the PDF file.OutlineFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) Creates a new instance of OutlineFontCreates a new instance of PDFFontDescriptorPDFFontEncoding(String fontType, PDFObject encoding) Creates a new instance of PDFFontEncodingTTFFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) create a new TrueTypeFont object based on a description of the font from the PDF file.Type0Font(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) Creates a new instance of Type0FontType1CFont(String baseFont, PDFObject src, PDFFontDescriptor descriptor) create a new Type1CFont based on a font data stream and a descriptorType1Font(String baseName, PDFObject src, PDFFontDescriptor descriptor) create a new Type1Font based on a font data stream and an encoding.Type3Font(String baseFont, PDFObject fontObj, HashMap<String, PDFObject> resources, PDFFontDescriptor descriptor) Generate a Type 3 font.Constructor parameters in com.sun.pdfview.font with type arguments of type PDFObject -
Uses of PDFObject in com.sun.pdfview.function
Methods in com.sun.pdfview.function with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFFunctionPDFFunction.getFunction(PDFObject obj) Get a PDFFunction from a PDFObjectprotected voidRead the function information from a PDF Objectprotected voidRead the zeros, ones and exponentprotected voidRead the function information from a PDF Object.protected voidRead the function information from a PDF Objectprotected abstract voidRead the function information from a PDF Object -
Uses of PDFObject in com.sun.pdfview.pattern
Methods in com.sun.pdfview.pattern that return types with arguments of type PDFObjectMethods in com.sun.pdfview.pattern with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFPatternPDFPattern.getPattern(PDFObject patternObj, Map resources) Read a pattern from the given pattern streamstatic PDFShaderParse a pdf shader into a shader objectprotected voidParse the pattern from the PDFObject Note the resources passed in are ignored...protected abstract voidParse the pattern-specific information from the pdf objectabstract voidParse the shader-specific datavoidParse the shader-specific data