Package org.verapdf.model.coslayer
Interface CosDocument
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangetcontainsEmbeddedFiles()true, if the document contains the EmbeddedFiles entry in the names dictionaryBooleangetcontainsInfo()true if the trailer dictionary contains Info keyBooleangetcontainsPieceInfo()true if the document catalog dictionary contains PieceInfo entryBooleangetDisplayDocTitle()value of the /DisplayDocTitle key in the ViewerPreferences dictionaryBooleangetdoesInfoMatchXMP()true if Info dictionary is present and synchronized with the document metadataStringgetfirstPageID()id of the first page trailer, if the document is linearized.Stringgetheader()the content of the PDF headerLonggetheaderByte1()first four bytes in the comment that follows the PDF headerLonggetheaderByte2()LonggetheaderByte3()LonggetheaderByte4()LonggetheaderOffset()offset of the PDF document headerDoublegetheaderVersion()version of the documentBooleangetisLinearized()true if the document is linearizedBooleangetisOptionalContentPresent()true if the OCProperties key is present in the document CatalogStringgetlastID()id of the last trailer in the documentBooleangetMarked()the value of the /Marked entry in the MarkInfo dictionary (false, if this entry is missing)BooleangetNeedsRendering()NeedsRendering entry in the document's Catalog (false by default)LonggetnrIndirects()number of indirect objects in the documentLonggetpostEOFDataSize()size of data after the EOF and (optional) end of line markerStringgetRequirements()- null, if the /Requirements key is not present in the document CatalogBooleangetSuspects()value of the /Suspects entry in the MarkInfo dictionary-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Method Detail
-
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
-
getdoesInfoMatchXMP
Boolean getdoesInfoMatchXMP()
true if Info dictionary is present and synchronized with the document metadata
-
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
-
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()
- 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
-
-