Package org.verapdf.model.pdlayer
Interface PDDocument
the class corresponding to the high level PDF document structure
-
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 catalog dictionary contains the langtrue if the catalog dictionary contains the metadatatrue if the catalog dictionary contains the struct tree roottrue if the document contains an XRefStreamthe 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 interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries, getobjectKey
-
Method Details
-
getcontainsMetadata
Boolean getcontainsMetadata()true if the catalog dictionary contains the metadata -
getcontainsStructTreeRoot
Boolean getcontainsStructTreeRoot()true if the catalog dictionary contains the struct tree root -
getcontainsAlternatePresentations
Boolean getcontainsAlternatePresentations()true if the document contains alternate presentations (/AlternatePresentations entry in the document names dictionary) -
getcontainsLang
Boolean getcontainsLang()true if the catalog dictionary contains the lang -
getcontainsAA
Boolean getcontainsAA()true if the catalog dictionary contains the AA entry -
getoutputColorSpace
String getoutputColorSpace()color space of output icc profile -
getVersion
String getVersion()value of Version key of the document catalog dictionary -
getmostCommonOrientation
String getmostCommonOrientation()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 exists -
getcontainsXRefStream
Boolean getcontainsXRefStream()true if the document contains an XRefStream
-