public class FOConversionContext
extends org.docx4j.convert.out.common.AbstractWmlConversionContext
| Modifier and Type | Field and Description |
|---|---|
protected static org.docx4j.convert.out.common.writer.AbstractMessageWriter |
FO_MESSAGE_WRITER |
protected static org.docx4j.convert.out.common.AbstractWriterRegistry |
FO_WRITER_REGISTRY |
protected org.docx4j.convert.out.FORenderer |
foRenderer |
protected boolean |
requires2Pass |
protected boolean |
requires2PassChecked |
| Constructor and Description |
|---|
FOConversionContext(org.docx4j.convert.out.FOSettings settings,
org.docx4j.openpackaging.packages.WordprocessingMLPackage wmlPackage,
org.docx4j.convert.out.common.ConversionSectionWrappers conversionSectionWrappers) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkRequires2Pass()
A 2 pass pdf generation is required if the result of fo:page-number-citation-last does not correspond
to the field results of NUMPAGES or SECTIONPAGES.
|
void |
forceRequires1Pass()
If it is a 2 pass generation, the xslfo document can't be generated independently of
a rendering step.
|
org.docx4j.convert.out.FORenderer |
getFORenderer() |
protected org.docx4j.convert.out.FORenderer |
initializeFoRenderer(org.docx4j.convert.out.FOSettings settings) |
protected org.docx4j.model.images.ConversionImageHandler |
initializeImageHandler(org.docx4j.convert.out.AbstractConversionSettings settings,
org.docx4j.model.images.ConversionImageHandler handler) |
boolean |
isRequires2Pass() |
getCurrentPart, getNextEndnoteNumber, getNextFootnoteNumber, getPropertyResolver, getRunFontSelector, getSections, getStyleTree, getTransformState, getWmlPackage, getWriterRegistry, handleHyperlink, initializeOpcPackage, initializeStyleTree, initializeTransformStates, initializeWriterRegistry, isInComplexFieldDefinition, resolveLinkedAbstractNum, setCurrentPart, setCurrentPartMainDocument, updateComplexFieldDefinitiongetConversionSettings, getHyperlinkHandler, getImageHandler, getLog, getMessageWriter, getOpcPackage, getXsltParameters, initializeHyperlinkHandler, initializeMessageWriter, initializeSettings, initializeXsltParametersprotected boolean requires2PassChecked
protected boolean requires2Pass
protected org.docx4j.convert.out.FORenderer foRenderer
protected static final org.docx4j.convert.out.common.AbstractWriterRegistry FO_WRITER_REGISTRY
protected static final org.docx4j.convert.out.common.writer.AbstractMessageWriter FO_MESSAGE_WRITER
public FOConversionContext(org.docx4j.convert.out.FOSettings settings,
org.docx4j.openpackaging.packages.WordprocessingMLPackage wmlPackage,
org.docx4j.convert.out.common.ConversionSectionWrappers conversionSectionWrappers)
protected org.docx4j.convert.out.FORenderer initializeFoRenderer(org.docx4j.convert.out.FOSettings settings)
protected org.docx4j.model.images.ConversionImageHandler initializeImageHandler(org.docx4j.convert.out.AbstractConversionSettings settings,
org.docx4j.model.images.ConversionImageHandler handler)
initializeImageHandler in class org.docx4j.convert.out.common.AbstractConversionContextpublic org.docx4j.convert.out.FORenderer getFORenderer()
public void forceRequires1Pass()
public boolean isRequires2Pass()
protected boolean checkRequires2Pass()
Copyright © 2007-2016. All Rights Reserved.