public class FORendererApacheFOP extends AbstractFORenderer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FORendererApacheFOP.FopPlaceholderLookup |
FORenderer.SectionPageInformation| Modifier and Type | Field and Description |
|---|---|
protected static FORendererApacheFOP |
instance |
protected static org.slf4j.Logger |
log |
TEXTBOX_POSTPROCESSING_REQUIREDPLACEHOLDER_PREFIX, PLACEHOLDER_SUFFIX| Constructor and Description |
|---|
FORendererApacheFOP() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.fop.apps.FormattingResults |
calcResults(org.apache.fop.apps.FopFactory fopFactory,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup)
For first pass of two pass process, invoke org.apache.fop.apps.FormattingResults which can tell us the number of pages
in each page sequence, and in the document as a whole.
|
protected org.apache.fop.apps.Fop |
createFop(String userConfiguration,
String outputFormat,
OutputStream outputStream) |
protected static org.apache.fop.apps.FopFactory |
createFopFactory(String userConfig)
Create and configure FopFactory.
|
protected static org.apache.fop.apps.FopFactory |
getFopFactory(String userConfig) |
static org.apache.fop.apps.FOUserAgent |
getFOUserAgent(FOSettings settings)
Allow user access to FOUserAgent, so they can setAccessibility(true).
|
static FORenderer |
getInstance() |
protected void |
render(org.apache.fop.apps.FopFactory fopFactory,
org.apache.fop.apps.FOUserAgent foUserAgent,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup,
OutputStream outputStream) |
void |
render(String foDocument,
FOSettings settings,
boolean twoPass,
List<FORenderer.SectionPageInformation> pageNumberInformation,
OutputStream outputStream) |
protected static org.slf4j.Logger log
protected static FORendererApacheFOP instance
public void render(String foDocument, FOSettings settings, boolean twoPass, List<FORenderer.SectionPageInformation> pageNumberInformation, OutputStream outputStream) throws Docx4JException
Docx4JExceptionpublic static FORenderer getInstance()
protected void render(org.apache.fop.apps.FopFactory fopFactory,
org.apache.fop.apps.FOUserAgent foUserAgent,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup,
OutputStream outputStream)
throws Docx4JException
Docx4JExceptionprotected org.apache.fop.apps.FormattingResults calcResults(org.apache.fop.apps.FopFactory fopFactory,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup)
throws Docx4JException
fopFactory - outputFormat - foDocumentSrc - placeholderLookup - Docx4JExceptionprotected org.apache.fop.apps.Fop createFop(String userConfiguration, String outputFormat, OutputStream outputStream) throws org.apache.fop.apps.FOPException
org.apache.fop.apps.FOPExceptionpublic static org.apache.fop.apps.FOUserAgent getFOUserAgent(FOSettings settings) throws Docx4JException, org.apache.fop.apps.FOPException
wmlPackage - org.apache.fop.apps.FOPExceptionDocx4JExceptionprotected static org.apache.fop.apps.FopFactory getFopFactory(String userConfig) throws org.apache.fop.apps.FOPException
org.apache.fop.apps.FOPExceptionprotected static org.apache.fop.apps.FopFactory createFopFactory(String userConfig) throws org.apache.fop.apps.FOPException
userConfig - defaultBaseURI - org.apache.fop.apps.FOPExceptionCopyright © 2007-2019. All Rights Reserved.