public class FOSettings extends AbstractConversionSettings
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APACHEFOP_CONFIGURATION |
static java.lang.String |
APACHEFOP_MIME |
static java.lang.String |
CUSTOM_FO_RENDERER |
static java.lang.String |
FO_DUMP_FILE |
static java.lang.String |
INTERNAL_FO_MIME
There is no MIME that explicitly defines fo, only application/xml.
|
protected static org.slf4j.Logger |
log |
static java.lang.String |
MIME_PDF |
CUSTOM_XSLT_TEMPLATES, features, HYPERLINK_HANDLER, IMAGE_DIR_PATH, IMAGE_HANDLER, IMAGE_INCLUDE_UUID, OPC_PACKAGE, settings| Constructor and Description |
|---|
FOSettings() |
FOSettings(OpcPackage opcPackage) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApacheFopMime() |
FORenderer |
getCustomFoRenderer() |
java.io.File |
getFoDumpFile() |
Fop |
getFopConfig() |
boolean |
lsLayoutMasterSetCalculationInProgress() |
void |
setApacheFopMime(java.lang.String apacheFopMime)
The output format of the ApacheFORenderer.
|
void |
setCustomFoRenderer(FORenderer customFoRenderer)
If the rendering should be done with a different fo renderer, then you need to
pass here your custom implementation of the FORenderer interface.
|
void |
setFoDumpFile(java.io.File foFile)
For testing and debugging you can pass here a File object.
|
void |
setFopConfig(Fop fopConfig)
Generally there is no need to invoke this;
the fop config will be generated based on
the fonts used in your WordprocessingMLPackage
and the specified FontMapper.
|
void |
setLayoutMasterSetCalculationInProgress(boolean layoutMasterSetCalculationInProgress)
The flag layoutMasterSetCalculationInProgress is used by LayoutMasterSetBuilder, to record
whether for this conversion run, the correct extents have been calculated yet.
|
void |
setOpcPackage(OpcPackage opcPackage)
Side effect (where there is no fopConfig) for WordprocessingMLPackage is to
invoke FopConfigUtil.createConfigurationObject
|
addFeatures, getCustomXsltTemplates, getFeatures, getHyperlinkHandler, getImageDirPath, getImageHandler, getOpcPackage, getSettings, isImageIncludeUUID, setCustomXsltTemplates, setHyperlinkHandler, setImageDirPath, setImageHandler, setImageIncludeUUID, setWmlPackageprotected static org.slf4j.Logger log
public static final java.lang.String INTERNAL_FO_MIME
public static final java.lang.String MIME_PDF
public static final java.lang.String APACHEFOP_CONFIGURATION
public static final java.lang.String APACHEFOP_MIME
public static final java.lang.String CUSTOM_FO_RENDERER
public static final java.lang.String FO_DUMP_FILE
public FOSettings()
public FOSettings(OpcPackage opcPackage) throws Docx4JException
Docx4JExceptionpublic void setFopConfig(Fop fopConfig)
fopConfig - public Fop getFopConfig()
public void setOpcPackage(OpcPackage opcPackage) throws Docx4JException
setOpcPackage in class AbstractConversionSettingsDocx4JExceptionpublic java.lang.String getApacheFopMime()
public void setApacheFopMime(java.lang.String apacheFopMime)
public FORenderer getCustomFoRenderer()
public void setCustomFoRenderer(FORenderer customFoRenderer)
public java.io.File getFoDumpFile()
public void setFoDumpFile(java.io.File foFile)
public boolean lsLayoutMasterSetCalculationInProgress()
public void setLayoutMasterSetCalculationInProgress(boolean layoutMasterSetCalculationInProgress)
Copyright © 2007–2023. All rights reserved.