public class Preprocess extends ConversionFeatures
DEFAULT_HTML_FEATURES, DEFAULT_PDF_FEATURES, PP_COMMON_COMBINE_FIELDS, PP_COMMON_CONTAINERIZATION, PP_COMMON_CREATE_SECTIONS, PP_COMMON_DEEP_COPY, PP_COMMON_DUMMY_CREATE_SECTIONS, PP_COMMON_DUMMY_PAGE_NUMBERING, PP_COMMON_MOVE_BOOKMARKS, PP_COMMON_MOVE_PAGEBREAK, PP_COMMON_PAGE_NUMBERING, PP_COMMON_TABLE_PARAGRAPH_STYLE_FIX, PP_HTML_COLLECT_LISTS, PP_PDF_APACHEFOP_DISABLE_PAGEBREAK_FIRST_PARAGRAPH, PP_PDF_APACHEFOP_DISABLE_PAGEBREAK_LIST_ITEM, PP_PDF_COVERPAGE_MOVE_SECTPR| Constructor and Description |
|---|
Preprocess() |
| Modifier and Type | Method and Description |
|---|---|
protected static Set<String> |
createRelationshipTypes(Set<String> features)
Check what parts might be changed by the preprocessing,
those parts need to be deep copied.
|
static OpcPackage |
process(OpcPackage opcPackage,
Set<String> features)
This method applies those features in the preprocessing, that may be used with an
OpcPackage.
Features processed: PP_COMMON_DEEP_COPY |
static WordprocessingMLPackage |
process(WordprocessingMLPackage wmlPackage,
Set<String> features)
This method applies those features in the preprocessing, that may be used with an
WordprocessingMLPackage.
|
checkParamspublic static OpcPackage process(OpcPackage opcPackage, Set<String> features) throws Docx4JException
opcPackage, - the package that should be preprocessedfeatures, - the selected featuresDocx4JExceptionprotected static Set<String> createRelationshipTypes(Set<String> features)
features, - the selected featurespublic static WordprocessingMLPackage process(WordprocessingMLPackage wmlPackage, Set<String> features) throws Docx4JException
wmlPackage, - the package that should be preprocessedfeatures, - the selected featuresDocx4JExceptionCopyright © 2007-2022. All Rights Reserved.