Interface CosDocument

    • 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
      • getMarkInfo

        String getMarkInfo()
        string representation of the MarkInfo dictionary
      • getViewerPreferences

        String getViewerPreferences()
        string representation of the ViewerPreferences dictionary