Package org.verapdf.gf.model.impl.pd
Class GFPDDocument
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.pd.GFPDObject
org.verapdf.gf.model.impl.pd.GFPDDocument
- All Implemented Interfaces:
Object,PDDocument,PDObject
- Author:
- Timur Kamalov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLink name for acro formsstatic final StringLink name for additional actions of documentstatic final StringName of link to Lang value from the document catalog dictionarystatic final StringLink name for main metadata of documentstatic final StringLink name for optional content properties of the documentstatic final StringLink name for open action of documentstatic final Stringstatic final StringLink name for all outlines of documentstatic final StringLink name for all output intentsstatic final StringLink name for pagesstatic final Stringstatic final StringName of link to Perms valuestatic final StringLink name for annotations structure tree root of documentFields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObjectFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontrue if the catalog dictionary contains the AA entrytrue if the document contains alternate presentations (/AlternatePresentations entry in the document names dictionary)true if the document contains an XRefStreamgetLinkedObjects(String link) the most common page orientation in the document (Portrait, Landscape or Square) if the most common orientation is Square, then second most common orientation if existscolor space of output icc profilevalue of Version key of the document catalog dictionaryMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID, getobjectKeyMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries, getobjectKey
-
Field Details
-
PD_DOCUMENT_TYPE
- See Also:
-
PAGES
Link name for pages- See Also:
-
METADATA
Link name for main metadata of document- See Also:
-
OUTPUT_INTENTS
Link name for all output intents- See Also:
-
ACRO_FORMS
Link name for acro forms- See Also:
-
ACTIONS
Link name for additional actions of document- See Also:
-
OPEN_ACTION
Link name for open action of document- See Also:
-
OPEN_ACTION_DESTINATION
- See Also:
-
OUTLINES
Link name for all outlines of document- See Also:
-
STRUCTURE_TREE_ROOT
Link name for annotations structure tree root of document- See Also:
-
OC_PROPERTIES
Link name for optional content properties of the document- See Also:
-
LANG
Name of link to Lang value from the document catalog dictionary- See Also:
-
PERMS
Name of link to Perms value- See Also:
-
-
Constructor Details
-
GFPDDocument
-
-
Method Details
-
getcontainsAlternatePresentations
Description copied from interface:PDDocumenttrue if the document contains alternate presentations (/AlternatePresentations entry in the document names dictionary)- Specified by:
getcontainsAlternatePresentationsin interfacePDDocument
-
getcontainsAA
Description copied from interface:PDDocumenttrue if the catalog dictionary contains the AA entry- Specified by:
getcontainsAAin interfacePDDocument
-
getoutputColorSpace
Description copied from interface:PDDocumentcolor space of output icc profile- Specified by:
getoutputColorSpacein interfacePDDocument
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getVersion
Description copied from interface:PDDocumentvalue of Version key of the document catalog dictionary- Specified by:
getVersionin interfacePDDocument
-
getmostCommonOrientation
Description copied from interface:PDDocumentthe most common page orientation in the document (Portrait, Landscape or Square) if the most common orientation is Square, then second most common orientation if exists- Specified by:
getmostCommonOrientationin interfacePDDocument
-
getcontainsXRefStream
Description copied from interface:PDDocumenttrue if the document contains an XRefStream- Specified by:
getcontainsXRefStreamin interfacePDDocument
-