Package org.docx4j.convert.out
Class AbstractConversionSettings
java.lang.Object
org.docx4j.convert.out.AbstractConversionSettings
- Direct Known Subclasses:
Documents4jConversionSettings,FOSettings,HTMLSettings,MicrosoftGraphConversionSettings,SvgExporter.SvgSettings
The Settings classes pass everything that’s needed to the conversion process.
- Since:
- 3.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeatures(String[] featuresArray) booleanvoidsetCustomXsltTemplates(Object templates) Pass a custom xslt template to do the transformation.
This template will only be used if you have selected an export that uses templates.voidsetHyperlinkHandler(ConversionHyperlinkHandler hyperlinkHandler) voidsetImageDirPath(String imageDirPath) voidsetImageHandler(ConversionImageHandler imageHandler) voidsetImageIncludeUUID(boolean imageIncludeUUID) Should the image names be prefixed with an UUID to differentiate runs? Default: truevoidsetOpcPackage(OpcPackage opcPackage) voidsetWmlPackage(OpcPackage wmlPackage) Deprecated.
-
Field Details
-
IMAGE_INCLUDE_UUID
- See Also:
-
IMAGE_DIR_PATH
- See Also:
-
IMAGE_HANDLER
- See Also:
-
HYPERLINK_HANDLER
- See Also:
-
OPC_PACKAGE
- See Also:
-
CUSTOM_XSLT_TEMPLATES
- See Also:
-
settings
-
features
-
-
Constructor Details
-
AbstractConversionSettings
public AbstractConversionSettings()
-
-
Method Details
-
getSettings
-
getFeatures
-
addFeatures
-
setImageDirPath
-
getImageDirPath
-
setImageIncludeUUID
public void setImageIncludeUUID(boolean imageIncludeUUID) Should the image names be prefixed with an UUID to differentiate runs? Default: true -
isImageIncludeUUID
public boolean isImageIncludeUUID() -
setImageHandler
-
getImageHandler
-
setHyperlinkHandler
-
getHyperlinkHandler
-
setWmlPackage
Deprecated. -
setOpcPackage
- Throws:
Docx4JException
-
getOpcPackage
-
setCustomXsltTemplates
Pass a custom xslt template to do the transformation.
This template will only be used if you have selected an export that uses templates. The signature is defined as Object templates, to not introduce a dependency on javax.xml.transform - but don't expect it to work if you pass something different than a javax.xml.transform.Templates. -
getCustomXsltTemplates
-