public class FOSettings extends AbstractConversionSettings
| Modifier and Type | Field and Description |
|---|---|
static String |
APACHEFOP_CONFIGURATION |
static String |
APACHEFOP_MIME |
static String |
CUSTOM_FO_RENDERER |
static String |
FO_DUMP_FILE |
static String |
INTERNAL_FO_MIME
There is no MIME that explicitly defines fo, only application/xml.
|
protected static org.slf4j.Logger |
log |
static 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 |
|---|---|
String |
getApacheFopMime() |
FORenderer |
getCustomFoRenderer() |
File |
getFoDumpFile() |
Fop |
getFopConfig() |
boolean |
lsLayoutMasterSetCalculationInProgress() |
void |
setApacheFopMime(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(File foFile)
For testing and debugging you can pass here a File object.
|
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 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 String INTERNAL_FO_MIME
public static final String MIME_PDF
public static final String APACHEFOP_CONFIGURATION
public static final String APACHEFOP_MIME
public static final String CUSTOM_FO_RENDERER
public static final String FO_DUMP_FILE
public FOSettings()
public FOSettings(OpcPackage opcPackage) throws Docx4JException
Docx4JExceptionpublic Fop getFopConfig()
public void setOpcPackage(OpcPackage opcPackage) throws Docx4JException
setOpcPackage in class AbstractConversionSettingsDocx4JExceptionpublic String getApacheFopMime()
public void setApacheFopMime(String apacheFopMime)
public FORenderer getCustomFoRenderer()
public void setCustomFoRenderer(FORenderer customFoRenderer)
public File getFoDumpFile()
public void setFoDumpFile(File foFile)
public boolean lsLayoutMasterSetCalculationInProgress()
public void setLayoutMasterSetCalculationInProgress(boolean layoutMasterSetCalculationInProgress)
Copyright © 2007-2022. All Rights Reserved.