Interface PDDocument

All Superinterfaces:
Object, PDObject
All Known Implementing Classes:
GFPDDocument

public interface PDDocument extends PDObject
the class corresponding to the high level PDF document structure
  • Method Details

    • getcontainsAlternatePresentations

      Boolean getcontainsAlternatePresentations()
      true if the document contains alternate presentations (/AlternatePresentations entry in the document names dictionary)
    • 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