Class PDFDocument

java.lang.Object
io.keikai.doc.io.schema.pdf.PDFDocument
All Implemented Interfaces:
IPDFElement

public class PDFDocument extends Object implements IPDFElement
Internal Use Only.

Represents a PDF document.

Author:
Jamson Chan
  • Constructor Details

    • PDFDocument

      public PDFDocument()
  • Method Details

    • getSections

      public List<PDFSection> getSections()
      Returns the sections in the document.
      Returns:
      the sections in the document.
    • addSection

      public void addSection(PDFSection section)
      Adds a section to the document.
      Parameters:
      section - the section to add.
    • isEvenAndOddHeaders

      public boolean isEvenAndOddHeaders()
      Returns whether shows different header and footer of even and odd pages in this document.
      Returns:
      whether shows different header and footer of even and odd pages in this document.
    • setEvenAndOddHeaders

      public void setEvenAndOddHeaders(boolean evenAndOddHeaders)
      Sets whether shows different header and footer of even and odd pages in this document.
      Parameters:
      evenAndOddHeaders - whether shows different header and footer of even and odd pages in this document.