Uses of Class
org.openpdf.renderer.PDFObject
Packages that use PDFObject
Package
Description
-
Uses of PDFObject in org.openpdf.renderer
Fields in org.openpdf.renderer declared as PDFObjectModifier and TypeFieldDescription(package private) PDFObjectPDFFile.encryptthe Encrypt PDFObject, from the trailerprivate final PDFObjectPDFImage.imageObjthe actual image data(package private) PDFObjectPDFFile.infoThe Info PDFPbject, from the trailer, for simple metadatastatic final PDFObjectPDFObject.nullObjthe NULL PDFObjectprivate PDFObjectPDFDestination.pageObjthe page we refer toprivate PDFObjectNameTree.rootthe root object(package private) PDFObjectPDFFile.rootthe root PDFObject, as specified in the PDF fileFields in org.openpdf.renderer with type parameters of type PDFObjectModifier and TypeFieldDescriptionprivate SoftReference<PDFObject> PDFXref.referencePDFParser.resourcesMethods in org.openpdf.renderer 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 treeprivate PDFObjectRecursively walk the name tree looking for a given valueprivate PDFObjectNameTree.findInArray(PDFObject[] array, String key) Find an object in a (key,value) array.private PDFObjectGet the PDFObject representing the content of a particular page.private PDFObjectPDFParser.findResource(String name, String inDict) get a property from a named dictionary in the resources of this content stream.PDFObject.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.private static PDFObjectPDFDestination.getDestFromName(PDFObject name, PDFObject root) Get a destination, given a name.private static PDFObjectPDFDestination.getDestFromString(PDFObject str, PDFObject root) Get a destination, given a string.PDFObject.getDictRef(String key) get the value associated with a particular key in the dictionary.private PDFObjectPDFFile.getInheritedValue(PDFObject pageObj, String propName) Find a property value in a page that may be inherited.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.PDFObject.getRoot()Returns the root of this object.private PDFObjectPDFParser.popObject()pop a PDFObject off the stack.private PDFObjectPDFFile.readArray(int objNum, int objGen, PDFDecrypter decrypter) read an [ array ].private PDFObjectPDFFile.readDictionary(int objNum, int objGen, PDFDecrypter decrypter) read an entire << dictionary >>.private PDFObjectPDFFile.readHexString(int objNum, int objGen, PDFDecrypter decrypter) read a invalid input: '<' hex string >.private PDFObjectPDFFile.readKeyword(char start) read a bare keyword.private PDFObjectPDFFile.readLiteralString(int objNum, int objGen, PDFDecrypter decrypter) read a ( character string ).private PDFObjectPDFFile.readName()read a /name.private PDFObjectPDFFile.readNumber(char start) read a number.private PDFObjectPDFFile.readObject(int objNum, int objGen, boolean numscan, PDFDecrypter decrypter) read the next object with a special catch for numbersprivate PDFObjectPDFFile.readObject(int objNum, int objGen, PDFDecrypter decrypter) read the next object from the fileprivate PDFObjectPDFFile.readObjectDescription(int objNum, int objGen, PDFDecrypter decrypter) read an entire PDFObject.Methods in org.openpdf.renderer that return types with arguments of type PDFObjectMethods in org.openpdf.renderer with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFImagePDFImage.createImage(PDFObject obj, Map<String, PDFObject> resources, boolean useAsSMask) Read a PDFImage from an image dictionary and streamprivate PDFPagePDFFile.createPage(int pagenum, PDFObject pageObj) Create a PDF Page object by finding the relevant inherited propertiesprivate voidInject a stream of PDF commands onto the page.private voidParse image data into a Java BufferedImage and add the image command to the page.private voidbuild a shader from a dictionary.private voidInsert a PDF object into the command stream.static voidprivate PDFObjectRecursively walk the name tree looking for a given valueprivate PDFObjectNameTree.findInArray(PDFObject[] array, String key) Find an object in a (key,value) array.private PDFObjectGet the PDFObject representing the content of a particular page.private byte[]PDFFile.getContents(PDFObject pageObj) get the stream representing the content of a particular page.private static PDFObjectPDFDestination.getDestFromName(PDFObject name, PDFObject root) Get a destination, given a name.private static PDFObjectPDFDestination.getDestFromString(PDFObject str, PDFObject root) Get a destination, given a string.static 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).private PDFObjectPDFFile.getInheritedValue(PDFObject pageObj, String propName) Find a property value in a page that may be inherited.intPDFFile.getPageNumber(PDFObject page) Gets the page number (starting from 1) of the page represented by a particular PDFObject.private PDFColorSpacePDFParser.parseColorSpace(PDFObject csobj) generate a PDFColorSpace description based on a PDFObject.static Rectangle2DPDFFile.parseNormalisedRectangle(PDFObject obj) private ByteBufferPDFFile.readStream(PDFObject dict) read the stream portion of a PDFObject.private voidPDFImage.setColorKeyMask(PDFObject maskArrayObject) set the color key mask.voidSet the object this reference refers to.Method parameters in org.openpdf.renderer with type arguments of type PDFObjectModifier and TypeMethodDescriptionstatic PDFImagePDFImage.createImage(PDFObject obj, Map<String, PDFObject> resources, boolean useAsSMask) Read a PDFImage from an image dictionary and streamprivate PDFObjectGet the PDFObject representing the content of a particular page.Constructors in org.openpdf.renderer 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 org.openpdf.renderer with type arguments of type PDFObject -
Uses of PDFObject in org.openpdf.renderer.action
Fields in org.openpdf.renderer.action declared as PDFObjectModifier and TypeFieldDescriptionprivate PDFObjectLaunchAction.FileSpec.collectionItemprivate PDFObjectLaunchAction.FileSpec.embeddedFileprivate PDFObjectLaunchAction.FileSpec.idprivate PDFObjectLaunchAction.macParamprivate PDFObjectPDFAction.nextthe next action or array of actionsprivate PDFObjectLaunchAction.FileSpec.relatedFileprivate PDFObjectLaunchAction.unixParamMethods in org.openpdf.renderer.action that return PDFObjectModifier and TypeMethodDescriptionLaunchAction.FileSpec.getCollectionItem()Collection item dictionaryLaunchAction.FileSpec.getEmbeddedFile()Dictionary of embedded file streamsLaunchAction.FileSpec.getId()ID - array of two byte strings constituting a file identifier, which should be included in the referenced file.LaunchAction.getMacParam()Get the mac specific launch parameters.PDFAction.getNext()Get the next action or array of actionsLaunchAction.FileSpec.getRelatedFile()Dictionary of related files.LaunchAction.getUnixParam()Get the unix specific launch parameters.Methods in org.openpdf.renderer.action with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFActionGet an action of the appropriate type from a PDFObjectstatic booleanPdfObjectParseUtil.parseBooleanFromDict(String key, PDFObject parent, boolean mandatory) Parse a Boolean value with the given key from parent object.static PDFDestinationPdfObjectParseUtil.parseDestination(String key, PDFObject parent, PDFObject root, boolean mandatory) Parse a destination objectprivate LaunchAction.FileSpecLaunchAction.parseFileSpecification(PDFObject fileObj) Parse the file specification objectstatic intPdfObjectParseUtil.parseIntegerFromDict(String key, PDFObject parent, boolean mandatory) Parse a integer value with the given key from parent object.static StringPdfObjectParseUtil.parseStringFromDict(String key, PDFObject parent, boolean mandatory) Parse a String value with the given key from parent object.private GoToEAction.GoToETargetGoToEAction.parseTargetDistionary(PDFObject targetObj, ArrayList<GoToEAction.GoToETarget> list) Parse a target dictionary if availableprivate LaunchAction.WinLaunchParamLaunchAction.parseWinDict(PDFObject winDict) Parse the windows specific launch parametersvoidLaunchAction.FileSpec.setCollectionItem(PDFObject collectionItem) Collection item dictionaryvoidLaunchAction.FileSpec.setEmbeddedFile(PDFObject embeddedFile) Dictionary of embedded file streamsvoidID - array of two byte strings constituting a file identifier, which should be included in the referenced file.voidSet the next action or array of actionsvoidLaunchAction.FileSpec.setRelatedFile(PDFObject relatedFile) Dictionary of related files.Constructors in org.openpdf.renderer.action with parameters of type PDFObjectModifierConstructorDescriptionGoToAction(PDFObject obj, PDFObject root) Creates a new instance of GoToAction from an objectGoToEAction(PDFObject obj, PDFObject root) Creates a new instance of GoToEAction from an objectGoToRAction(PDFObject obj, PDFObject root) Creates a new instance of GoToRAction from an objectLaunchAction(PDFObject obj, PDFObject root) Creates a new instance of LaunchAction from an objectConstructor, reading the URL from the given action object -
Uses of PDFObject in org.openpdf.renderer.annotation
Fields in org.openpdf.renderer.annotation declared as PDFObjectModifier and TypeFieldDescriptionprivate PDFObjectWidgetAnnotation.fieldValueRefprivate PDFObjectMarkupAnnotation.offAppearanceprivate PDFObjectMarkupAnnotation.onAppearanceprivate final PDFObjectPDFAnnotation.pdfObjMethods in org.openpdf.renderer.annotation that return PDFObjectModifier and TypeMethodDescriptionMarkupAnnotation.getCurrentAppearance()MarkupAnnotation.getOffAppearance()MarkupAnnotation.getOnAppearance()PDFAnnotation.getPdfObj()Get the PDF Object which contains the annotation valuesMethods in org.openpdf.renderer.annotation with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFAnnotationPDFAnnotation.createAnnotation(PDFObject parent) Create a new PDF annotation object.protected voidParses the appearance stream into PDF commandsprivate voidprotected voidMarkupAnnotation.parseBorderStyleDictionary(PDFObject bs) Parses the border style dictionaryWidgetAnnotation.parseCommand(PDFObject obj) static AnnotationBorderStyleAnnotationBorderStyle.parseFromDictionary(PDFObject bs) Parse a border style from a BS dictionary.MarkupAnnotation.parseIntoPdfCommands(PDFObject obj) private voidMarkupAnnotation.parsePopupAnnotation(PDFObject popupObj) Parses the popup annotationGet a Rectangle2D.Float representation for a PDFObject that is an array of four Numbers.Constructors in org.openpdf.renderer.annotation with parameters of type PDFObjectModifierConstructorDescriptionCircleAnnotation(PDFObject annotObject) ConstructorFreetextAnnotation(PDFObject annotObject) ConstructorLinkAnnotation(PDFObject annotObject) ConstructorMarkupAnnotation(PDFObject annotObject, AnnotationType type) ConstructorPDFAnnotation(PDFObject annotObject) ConstructorPDFAnnotation(PDFObject annotObject, AnnotationType type) ConstructorSquareAnnotation(PDFObject annotObject) ConstructorStampAnnotation(PDFObject annotObject) ConstructorTextMarkupAnnotation(PDFObject annotObject, AnnotationType annotationType) ConstructorWidgetAnnotation(PDFObject annotObject) -
Uses of PDFObject in org.openpdf.renderer.colorspace
Methods in org.openpdf.renderer.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 org.openpdf.renderer.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 org.openpdf.renderer.decode
Fields in org.openpdf.renderer.decode declared as PDFObjectModifier and TypeFieldDescription(package private) PDFObject[]PDFDecoder.FilterSpec.ary(package private) PDFObject[]PDFDecoder.FilterSpec.paramsMethods in org.openpdf.renderer.decode that return PDFObjectModifier and TypeMethodDescriptionprivate static PDFObjectCCITTFaxDecode.getDecodeParams(PDFObject dict) Methods in org.openpdf.renderer.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) static ByteBufferFlateDecode.decode(PDFObject dict, ByteBuffer buf, PDFObject params) decode a byte buffer in Flate format.protected static ByteBufferJPXDecode.decode(PDFObject dict, ByteBuffer buf, PDFObject params) 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, Set<String> filterLimits) decode a byte[] stream using the filters specified in the object's dictionary (passed as argument 1).private static StringPDFDecoder.getCryptFilterName(PDFObject param) The name of the Crypt filter to applyprivate static PDFObjectCCITTFaxDecode.getDecodeParams(PDFObject dict) 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 predictorstatic booleanPDFDecoder.isEncrypted(PDFObject dict) Determines whether a stream is encrypted or not; note that encodings (e.g., Flate, LZW) are not considered encryptions.static booleanPDFDecoder.isLastFilter(PDFObject dict, Set<String> filters) Constructors in org.openpdf.renderer.decode with parameters of type PDFObject -
Uses of PDFObject in org.openpdf.renderer.decrypt
Methods in org.openpdf.renderer.decrypt with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFDecrypterPDFDecrypterFactory.createDecryptor(PDFObject encryptDict, PDFObject documentId, PDFPassword password) Deprecated.Create a decryptor for a given encryption dictionary.IdentityDecrypter.decryptBuffer(String cryptFilterName, PDFObject streamObj, ByteBuffer streamBuf) PDFDecrypter.decryptBuffer(String cryptFilterName, PDFObject streamObj, ByteBuffer streamBuf) Deprecated.Decrypt a buffer of datastatic booleanPDFDecrypterFactory.isFilterExist(PDFObject encryptDict) Deprecated. -
Uses of PDFObject in org.openpdf.renderer.font
Fields in org.openpdf.renderer.font declared as PDFObjectModifier and TypeFieldDescriptionprivate PDFObjectPDFFontDescriptor.charSetHolds value of property charSet.private PDFObjectPDFFontDescriptor.fontFileHolds value of property fontFile.private PDFObjectPDFFontDescriptor.fontFile2Holds value of property fontFile2.private PDFObjectPDFFontDescriptor.fontFile3Holds value of property fontFile3.private PDFObjectPDFFontEncoding.mapNameFields in org.openpdf.renderer.font with type parameters of type PDFObjectMethods in org.openpdf.renderer.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 org.openpdf.renderer.font with parameters of type PDFObjectModifier and TypeMethodDescriptionstatic PDFFontget the PDFFont corresponding to the font described in a PDFObject.voidPDFFontEncoding.parseEncoding(PDFObject encoding) Parse a PDF encoding object for the actual encodingvoidCIDFontType0.parseToUnicodeMap(PDFObject fontObj) private voidCIDFontType2.parseWidths(PDFObject fontObj) Parse the Widths array and DW objectvoidPDFFontDescriptor.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 org.openpdf.renderer.font with type arguments of type PDFObjectModifier and TypeMethodDescriptionstatic PDFFontget the PDFFont corresponding to the font described in a PDFObject.Constructors in org.openpdf.renderer.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.CIDFontType0(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) ConstructorCIDFontType2(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 OutlineFontPDFFontDescriptor(PDFObject obj, String fontSubType) Creates a new instance of PDFFontDescriptorPDFFontEncoding(String fontType, PDFObject encoding) Creates a new instance of PDFFontEncodingTTFFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor) TTFFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor, File fontFile) 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 org.openpdf.renderer.font with type arguments of type PDFObject -
Uses of PDFObject in org.openpdf.renderer.font.cid
Methods in org.openpdf.renderer.font.cid 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 definitionprotected static PDFCMapParse a CMap from a CMap streamprivate voidToUnicodeMap.parseMappings(PDFObject map) Constructors in org.openpdf.renderer.font.cid with parameters of type PDFObject -
Uses of PDFObject in org.openpdf.renderer.function
Methods in org.openpdf.renderer.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 org.openpdf.renderer.pattern
Fields in org.openpdf.renderer.pattern with type parameters of type PDFObjectModifier and TypeFieldDescriptionPatternType1.resourcesthe resources used by the image we will tileMethods in org.openpdf.renderer.pattern that return types with arguments of type PDFObjectMethods in org.openpdf.renderer.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 objectvoidprotected voidParse the pattern from the PDFObject Note the resources passed in are ignored...protected 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