fop 0.90alpha1

org.apache.fop.svg
Class PDFContext

java.lang.Object
  |
  +--org.apache.fop.svg.PDFContext

public class PDFContext
extends java.lang.Object

Context class which holds state information which should remain in sync over multiple instances of PDFDocumentGraphics2D.


Constructor Summary
PDFContext()
           
 
Method Summary
 void clearCurrentPage()
          After this call, there's no current page.
 PDFPage getCurrentPage()
           
 java.util.List getFontList()
           
 void increasePageCount()
          Notifies the context to increase the page count.
 boolean isPagePending()
           
 void setCurrentPage(PDFPage page)
          Sets the current page
 void setFontList(java.util.List list)
          Sets the font list as creates by the FontSetup class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFContext

public PDFContext()
Method Detail

setFontList

public void setFontList(java.util.List list)
Sets the font list as creates by the FontSetup class.
Parameters:
list - the font list

getFontList

public java.util.List getFontList()
Returns:
the font list

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

public PDFPage getCurrentPage()
Returns:
the current page or null if there is none

setCurrentPage

public void setCurrentPage(PDFPage page)
Sets the current page
Parameters:
page - the page

increasePageCount

public void increasePageCount()
Notifies the context to increase the page count.

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.