Package org.verapdf.model.coslayer
Interface CosDocument
- All Known Implementing Classes:
GFCosDocument
Low-level PDF Document object
-
Method Summary
Modifier and TypeMethodDescriptiontrue, if the document contains the EmbeddedFiles entry in the names dictionarytrue if the trailer dictionary contains Info keytrue if the document catalog dictionary contains PieceInfo entryvalue of the /DisplayDocTitle key in the ViewerPreferences dictionaryid of the first page trailer, if the document is linearized.string representation of id of the first page trailer, if the document is linearized.the content of the PDF headerfirst four bytes in the comment that follows the PDF headeroffset of the PDF document headerversion of the documenttrue if the document is linearizedtrue if the OCProperties key is present in the document Catalogid of the last trailer in the documentstring representation of id of the last trailer in the documentthe value of the /Marked entry in the MarkInfo dictionary (false, if this entry is missing)string representation of the MarkInfo dictionaryNeedsRendering entry in the document's Catalog (false by default)number of indirect objects in the documentsize of data after the EOF and (optional) end of line markerstring representation of the value of /Requirements key in the document Catalog: - the space-concatenated values of the /S key in the requirement dictionaries in the array referenced by the /Requirements key - empty string if the array of requirement dictionaries is empty; - null, if the /Requirements key is not present in the document Catalogvalue of the /Suspects entry in the MarkInfo dictionarystring representation of the ViewerPreferences dictionaryMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Method Details
-
getnrIndirects
Long getnrIndirects()number of indirect objects in the document -
getheaderVersion
Double getheaderVersion()version of the document -
getisOptionalContentPresent
Boolean getisOptionalContentPresent()true if the OCProperties key is present in the document Catalog -
getpostEOFDataSize
Long getpostEOFDataSize()size of data after the EOF and (optional) end of line marker -
getfirstPageID
String getfirstPageID()id of the first page trailer, if the document is linearized. Null, if the document is not linearized -
getlastID
String getlastID()id of the last trailer in the document -
getfirstPageIDValue
String getfirstPageIDValue()string representation of id of the first page trailer, if the document is linearized. Null, if the document is not linearized -
getlastIDValue
String getlastIDValue()string representation of id of the last trailer in the document -
getisLinearized
Boolean getisLinearized()true if the document is linearized -
getheaderOffset
Long getheaderOffset()offset of the PDF document header -
getheader
String getheader()the content of the PDF header -
getheaderByte1
Long getheaderByte1()first four bytes in the comment that follows the PDF header -
getheaderByte2
Long getheaderByte2() -
getheaderByte3
Long getheaderByte3() -
getheaderByte4
Long getheaderByte4() -
getMarked
Boolean getMarked()the value of the /Marked entry in the MarkInfo dictionary (false, if this entry is missing) -
getRequirements
String getRequirements()string representation of the value of /Requirements key in the document Catalog: - the space-concatenated values of the /S key in the requirement dictionaries in the array referenced by the /Requirements key - empty string if the array of requirement dictionaries is empty; - null, if the /Requirements key is not present in the document Catalog -
getNeedsRendering
Boolean getNeedsRendering()NeedsRendering entry in the document's Catalog (false by default) -
getcontainsEmbeddedFiles
Boolean getcontainsEmbeddedFiles()true, if the document contains the EmbeddedFiles entry in the names dictionary -
getSuspects
Boolean getSuspects()value of the /Suspects entry in the MarkInfo dictionary -
getDisplayDocTitle
Boolean getDisplayDocTitle()value of the /DisplayDocTitle key in the ViewerPreferences dictionary -
getcontainsInfo
Boolean getcontainsInfo()true if the trailer dictionary contains Info key -
getcontainsPieceInfo
Boolean getcontainsPieceInfo()true if the document catalog dictionary contains PieceInfo entry -
getMarkInfo
String getMarkInfo()string representation of the MarkInfo dictionary -
getViewerPreferences
String getViewerPreferences()string representation of the ViewerPreferences dictionary
-