public class WordProcessingEditOptions extends Object implements IEditOptions
Allows to specify custom options for opening for edit the WordProcessing (Words-compliant) documents like DOC(X), RTF, ODT etc.
Constructor and Description |
---|
WordProcessingEditOptions()
Creates and returns a new instance of the WordProcessingToHtmlOptions
class, where all options are set to their default values
|
WordProcessingEditOptions(boolean enablePagination)
Creates and returns a new instance of the WordProcessingToHtmlOptions
class with specified pagination and default all other options
|
Modifier and Type | Method and Description |
---|---|
boolean |
getEnableLanguageInformation()
Specifies whether language information is exported to the HTML markup in
a form of 'lang' HTML attributes.
|
boolean |
getEnablePagination()
Allows to enable or disable pagination in the resultant HTML document.
|
byte |
getFontExtraction()
Responsible for extracting font resources, which are used in the input
WordProcessing document.
|
String |
getInputControlsClassName()
Allows to specify a class name, which will be placed to the 'class'
attributes in every HTML element, that represents some field in the input
WordProcessing document.
|
void |
setEnableLanguageInformation(boolean value)
Specifies whether language information is exported to the HTML markup in
a form of 'lang' HTML attributes.
|
void |
setEnablePagination(boolean value)
Allows to enable or disable pagination in the resultant HTML document.
|
void |
setFontExtraction(byte value)
Responsible for extracting font resources, which are used in the input
WordProcessing document.
|
void |
setInputControlsClassName(String value)
Allows to specify a class name, which will be placed to the 'class'
attributes in every HTML element, that represents some field in the input
WordProcessing document.
|
public WordProcessingEditOptions()
Creates and returns a new instance of the WordProcessingToHtmlOptions class, where all options are set to their default values
public WordProcessingEditOptions(boolean enablePagination)
Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified pagination and default all other options
enablePagination
- Pagination flag, that enables HTML output,
adjusted for paged modepublic final boolean getEnableLanguageInformation()
Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false).
public final boolean getEnablePagination()
Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).
public final byte getFontExtraction()
Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract).
public final String getInputControlsClassName()
Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied.
public final void setEnableLanguageInformation(boolean value)
Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false).
public final void setEnablePagination(boolean value)
Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).
public final void setFontExtraction(byte value)
Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract).
public final void setInputControlsClassName(String value)
Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied.
Copyright © 2020. All rights reserved.