public class FORendererApacheFOP extends AbstractFORenderer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FORendererApacheFOP.FopPlaceholderLookup |
| Modifier and Type | Field and Description |
|---|---|
protected static FORendererApacheFOP |
instance |
protected static org.slf4j.Logger |
log |
TEXTBOX_POSTPROCESSING_REQUIRED| 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 org.apache.fop.apps.FopFactory |
createFopFactory(String userConfig)
Create and configure FopFactory.
|
protected org.apache.fop.apps.FopFactory |
getFopFactory(String userConfig) |
static org.docx4j.convert.out.FORenderer |
getInstance() |
protected void |
render(org.apache.fop.apps.FopFactory fopFactory,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup,
OutputStream outputStream) |
void |
render(String foDocument,
org.docx4j.convert.out.FOSettings settings,
boolean twoPass,
List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation,
OutputStream outputStream) |
protected static org.slf4j.Logger log
protected static FORendererApacheFOP instance
public void render(String foDocument, org.docx4j.convert.out.FOSettings settings, boolean twoPass, List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation, OutputStream outputStream) throws org.docx4j.openpackaging.exceptions.Docx4JException
org.docx4j.openpackaging.exceptions.Docx4JExceptionpublic static org.docx4j.convert.out.FORenderer getInstance()
protected void render(org.apache.fop.apps.FopFactory fopFactory,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup,
OutputStream outputStream)
throws org.docx4j.openpackaging.exceptions.Docx4JException
org.docx4j.openpackaging.exceptions.Docx4JExceptionprotected org.apache.fop.apps.FormattingResults calcResults(org.apache.fop.apps.FopFactory fopFactory,
String outputFormat,
Source foDocumentSrc,
PlaceholderReplacementHandler.PlaceholderLookup placeholderLookup)
throws org.docx4j.openpackaging.exceptions.Docx4JException
fopFactory - outputFormat - foDocumentSrc - placeholderLookup - org.docx4j.openpackaging.exceptions.Docx4JExceptionprotected org.apache.fop.apps.Fop createFop(String userConfiguration, String outputFormat, OutputStream outputStream) throws org.apache.fop.apps.FOPException
org.apache.fop.apps.FOPExceptionprotected org.apache.fop.apps.FopFactory getFopFactory(String userConfig) throws org.apache.fop.apps.FOPException
org.apache.fop.apps.FOPExceptionprotected org.apache.fop.apps.FopFactory createFopFactory(String userConfig) throws org.apache.fop.apps.FOPException
userConfig - defaultBaseURI - org.apache.fop.apps.FOPExceptionCopyright © 2007-2016. All Rights Reserved.