Package io.keikai.doc.io.schema.pdf
Class PDFDocument
- java.lang.Object
-
- io.keikai.doc.io.schema.pdf.PDFDocument
-
- All Implemented Interfaces:
IPDFElement
public class PDFDocument extends java.lang.Object implements IPDFElement
Internal Use Only.Represents a PDF document.
- Author:
- Jamson Chan
-
-
Constructor Summary
Constructors Constructor Description PDFDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSection(PDFSection section)Adds a section to the document.java.util.List<PDFSection>getSections()Returns the sections in the document.booleanisEvenAndOddHeaders()Returns whether shows different header and footer of even and odd pages in this document.voidsetEvenAndOddHeaders(boolean evenAndOddHeaders)Sets whether shows different header and footer of even and odd pages in this document.
-
-
-
Method Detail
-
getSections
public java.util.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.
-
-