Class FORendererDummy
java.lang.Object
org.docx4j.convert.out.fo.renderers.AbstractFORenderer
org.docx4j.convert.out.fo.renderers.FORendererDummy
- All Implemented Interfaces:
FORenderer
The Dummy FO Renderer doesn't render anything, it just outputs
the fo document to the OutputStream.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.docx4j.convert.out.FORenderer
FORenderer.SectionPageInformation -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FORendererprotected static org.slf4j.LoggerFields inherited from class org.docx4j.convert.out.fo.renderers.AbstractFORenderer
TEXTBOX_POSTPROCESSING_REQUIRED, xslt_POSTPROCESSINGFields inherited from interface org.docx4j.convert.out.FORenderer
PLACEHOLDER_PREFIX, PLACEHOLDER_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FORenderervoidrender(String foDocument, FOSettings settings, boolean twoPass, List<FORenderer.SectionPageInformation> pageNumberInformation, OutputStream outputStream) Render the foDocument to the requested format, if needed do a 2 pass conversion.
-
Field Details
-
log
protected static org.slf4j.Logger log -
INSTANCE
-
-
Constructor Details
-
FORendererDummy
public FORendererDummy()
-
-
Method Details
-
getInstance
-
render
public void render(String foDocument, FOSettings settings, boolean twoPass, List<FORenderer.SectionPageInformation> pageNumberInformation, OutputStream outputStream) throws Docx4JException Description copied from interface:FORendererRender the foDocument to the requested format, if needed do a 2 pass conversion.- Parameters:
foDocument- the fo document to be rendered.settings- the conversion settings passed to the conversion processtwoPass- a two pass rendering might be needed, i.e. the body of some tags contain placeholder How the renderer calculates the corresponding values and replaces them is its responsabilitypageNumberInformation- This list contains an entry for each section in the document. It defines the IDs of the corresponding placeholders and the number format (as a fo format).
This List is only available if twoPass = true.outputStream- The output stream on which the output should be rendered- Throws:
Docx4JException
-