|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.writersforge.catalan.renderers.Renderer
|
+--org.writersforge.catalan.renderers.PdfRenderer
Generates a PDF file from one or more Page objects created by a
RenderTemplate class.
| Constructor Summary | |
PdfRenderer()
Creates a new instance of PdfRenderer |
|
| Method Summary | |
protected void |
endBook(Book book)
Performs any cleanup that the Renderer must do at the end of the rendering process |
protected void |
endPage(Page page)
Performs any cleanup that the Renderer must do after every Page. |
protected void |
renderShapeArea(LayoutShape shapeArea)
Renders a single LayoutShape within the current Page. |
protected void |
renderTextArea(LayoutText textArea)
Renders a single LayoutText within the current Page. |
void |
setOutputStream(java.io.OutputStream pdfStream)
Sets a new OutputStream to render the next PDF file to. |
protected void |
startBook(Book book)
Performs any special initialization that the Renderer must do at the very beginning of the rendering process. |
protected void |
startPage(Page page)
Performs any special initialization that the Renderer must do before every Page. |
| Methods inherited from class org.writersforge.catalan.renderers.Renderer |
render, renderArea, renderPage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PdfRenderer()
| Method Detail |
public void setOutputStream(java.io.OutputStream pdfStream)
pdfStream - the destination for the PDF contentprotected void startBook(Book book)
startBook in class Rendererbook - the Book object to initialize withprotected void endBook(Book book)
endBook in class Rendererbook - the Book object to clean upprotected void startPage(Page page)
startPage in class Rendererpage - the Page object to initialize withprotected void endPage(Page page)
endPage in class Rendererpage - the Page object to clean upprotected void renderTextArea(LayoutText textArea)
renderTextArea in class RenderertextArea - the LayoutText object to renderprotected void renderShapeArea(LayoutShape shapeArea)
renderShapeArea in class RenderershapeArea - the LayoutArea object to render
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||