public interface FORenderer
PLACEHOLDER_PREFIX + getDocumentPageCountID() + PLACEHOLDER_SUFFIXPLACEHOLDER_PREFIX + getSectionPageCountID() + PLACEHOLDER_SUFFIX| Modifier and Type | Interface and Description |
|---|---|
static interface |
FORenderer.SectionPageInformation
The definition for the IDs and formats for the page count of one Section.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PLACEHOLDER_PREFIX |
static String |
PLACEHOLDER_SUFFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
render(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.
|
static final String PLACEHOLDER_PREFIX
static final String PLACEHOLDER_SUFFIX
void render(String foDocument, FOSettings settings, boolean twoPass, List<FORenderer.SectionPageInformation> pageNumberInformation, OutputStream outputStream) throws Docx4JException
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).outputStream - The output stream on which the output should be renderedDocx4JExceptionCopyright © 2007-2020. All Rights Reserved.