public abstract class ConversionFeatures extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DEFAULT_HTML_FEATURES
Default features, that get applied to a HTML conversion
|
static String[] |
DEFAULT_PDF_FEATURES
Default features, that get applied to a PDF conversion
|
static String |
PP_COMMON_COMBINE_FIELDS
Word may save a field (date, page numbers, references...) in two formats: a simple one
and a complex one.
|
static String |
PP_COMMON_CONTAINERIZATION
Word combines the borders and background colors of two (or more) continuous paragraphs.
|
static String |
PP_COMMON_CREATE_SECTIONS
In PDF the conversion process needs to break up the document into the defined sections to handle
such things as headers and footers.
|
static String |
PP_COMMON_DEEP_COPY
During the conversion the document might be changed.
|
static String |
PP_COMMON_DUMMY_CREATE_SECTIONS
This step defines only one section for the complete document.
|
static String |
PP_COMMON_DUMMY_PAGE_NUMBERING
This step defines some dummy page number information.
|
static String |
PP_COMMON_MOVE_BOOKMARKS
The conversion is only able to handle bookmarks that are in a paragraph.
|
static String |
PP_COMMON_MOVE_PAGEBREAK
Word might put some pagebreaks in a paragraph.
|
static String |
PP_COMMON_PAGE_NUMBERING
The page number formatting might be stored in different places, the section properties and the
field definition.
|
static String |
PP_COMMON_TABLE_PARAGRAPH_STYLE_FIX
In a cell, a paragraph uses the table's paragraph properties,
plus the relevant paragraph style (Normal, by default).
|
static String |
PP_HTML_COLLECT_LISTS
In HTML the conversion process can create lists (OL, UL).
|
static String |
PP_PDF_APACHEFOP_DISABLE_PAGEBREAK_FIRST_PARAGRAPH
This step removes a pagebreak before the first paragraph of the document.
|
static String |
PP_PDF_APACHEFOP_DISABLE_PAGEBREAK_LIST_ITEM
This step removes a pagebreak before the first list item in each list.
|
static String |
PP_PDF_COVERPAGE_MOVE_SECTPR
If the docx contains a cover page which starts with a sectPr, this step moves the
sectPr to a new w:p inserted after.
|
| Constructor and Description |
|---|
ConversionFeatures() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkParams(OpcPackage opcPackage,
Set<String> features)
Check the package and requested features and append defaults if necessary
|
public static final String PP_COMMON_DEEP_COPY
public static final String PP_COMMON_MOVE_BOOKMARKS
public static final String PP_COMMON_MOVE_PAGEBREAK
public static final String PP_COMMON_CONTAINERIZATION
public static final String PP_COMMON_COMBINE_FIELDS
public static final String PP_COMMON_PAGE_NUMBERING
PP_COMMON_DUMMY_PAGE_NUMBERING will be used.public static final String PP_COMMON_DUMMY_PAGE_NUMBERING
PP_COMMON_PAGE_NUMBERING in HTML doesn't offer any advantage.public static final String PP_COMMON_CREATE_SECTIONS
PP_COMMON_DUMMY_CREATE_SECTIONS will be used.public static final String PP_HTML_COLLECT_LISTS
public static final String PP_COMMON_DUMMY_CREATE_SECTIONS
PP_COMMON_CREATE_SECTIONS in HTML doesn't offer any advantage.public static final String PP_PDF_APACHEFOP_DISABLE_PAGEBREAK_FIRST_PARAGRAPH
public static final String PP_PDF_APACHEFOP_DISABLE_PAGEBREAK_LIST_ITEM
public static final String PP_PDF_COVERPAGE_MOVE_SECTPR
public static final String PP_COMMON_TABLE_PARAGRAPH_STYLE_FIX
public static final String[] DEFAULT_PDF_FEATURES
public static final String[] DEFAULT_HTML_FEATURES
protected static void checkParams(OpcPackage opcPackage, Set<String> features)
opcPackage - features - Copyright © 2007-2022. All Rights Reserved.