Package org.apache.fop.svg
Class PDFContext
java.lang.Object
org.apache.fop.svg.PDFContext
Context class which holds state information which should remain in sync over multiple instances
of PDFDocumentGraphics2D.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
After this call, there's no current page.void
Notifies the context to increase the page count.boolean
void
setCurrentPage
(PDFPage page) Sets the current page
-
Constructor Details
-
PDFContext
public PDFContext()
-
-
Method Details
-
isPagePending
public boolean isPagePending()- Returns:
- true if a page is set up for painting.
-
clearCurrentPage
public void clearCurrentPage()After this call, there's no current page. -
getCurrentPage
- Returns:
- the current page or null if there is none
-
setCurrentPage
Sets the current page- Parameters:
page
- the page
-
increasePageCount
public void increasePageCount()Notifies the context to increase the page count.
-