Package org.docx4j.convert.out.common
Class CreateWrappers
java.lang.Object
org.docx4j.convert.out.ConversionFeatures
org.docx4j.convert.out.common.CreateWrappers
This class generates the sections depending on the selected features
-
Field Summary
Fields inherited from class org.docx4j.convert.out.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversionSectionWrappersprocess(WordprocessingMLPackage wmlPackage, Set<String> features) This method creates the Sections for the conversion.Methods inherited from class org.docx4j.convert.out.ConversionFeatures
checkParams
-
Constructor Details
-
CreateWrappers
public CreateWrappers()
-
-
Method Details
-
process
public static ConversionSectionWrappers process(WordprocessingMLPackage wmlPackage, Set<String> features) throws Docx4JException This method creates the Sections for the conversion. The type of the created sections depend on the selected features.
Features processed:- PP_COMMON_PAGE_NUMBERING
- PP_COMMON_DUMMY_PAGE_NUMBERING
- PP_COMMON_CREATE_SECTIONS
- PP_COMMON_DUMMY_CREATE_SECTIONS
- Parameters:
wmlPackage- , the package that should be preprocessedfeatures- , the selected features- Returns:
- the created sections
- Throws:
Docx4JException
-