Package io.keikai.doc.io.schema.pdf
Class PDFDocument
java.lang.Object
io.keikai.doc.io.schema.pdf.PDFDocument
- All Implemented Interfaces:
IPDFElement
Internal Use Only.
Represents a PDF document.
- Author:
- Jamson Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSection(PDFSection section) Adds a section to the document.Returns the sections in the document.booleanReturns 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.
-
Constructor Details
-
PDFDocument
public PDFDocument()
-
-
Method Details
-
getSections
Returns the sections in the document.- Returns:
- the sections in the document.
-
addSection
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.
-