public class CachedRenderPagesModel extends RenderPagesModel
currentPageSequence, logprepared, renderer| Constructor | Description |
|---|---|
CachedRenderPagesModel(FOUserAgent userAgent,
java.lang.String outputFormat,
FontInfo fontInfo,
java.io.OutputStream stream) |
Main Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
checkPreparedPages(PageViewport newpage,
boolean renderUnresolved) |
Check prepared pages
|
void |
endDocument() |
End the document.
|
protected void |
savePage(PageViewport page) |
Save a page.
|
getCurrentPageSequence, getPage, getPageCount, getPageSequenceCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPage, handleOffDocumentItem, preparePage, renderPage, setDocumentLocale, startPageSequencepublic CachedRenderPagesModel(FOUserAgent userAgent, java.lang.String outputFormat, FontInfo fontInfo, java.io.OutputStream stream) throws FOPException
userAgent - FOUserAgent object for processoutputFormat - the MIME type of the output format to use (ex. "application/pdf").fontInfo - FontInfo objectstream - OutputStreamFOPException - if the renderer cannot be properly initializedprotected boolean checkPreparedPages(PageViewport newpage, boolean renderUnresolved)
checkPreparedPages in class RenderPagesModelnewpage - the new page being addedrenderUnresolved - render pages with unresolved idref's
(done at end-of-document processing)protected void savePage(PageViewport page)
page - the page to preparepublic void endDocument()
throws org.xml.sax.SAXException
endDocument in class RenderPagesModelorg.xml.sax.SAXException - if a problem was encountered.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.