public final class MobiEditOptions extends Object implements IEditOptions
Allows to specify custom options for editing documents in MOBI (MobiPocket) format.
Constructor and Description |
---|
MobiEditOptions()
Creates and returns a new instance of the MobiEditOptions class, where
all options are set to their default values
|
MobiEditOptions(boolean enablePagination)
Creates and returns a new instance of the MobiEditOptions class with
specified pagination and default all other options
|
Modifier and Type | Method and Description |
---|---|
WordProcessingEditOptions |
cloneToWordProcessing() |
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.
|
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.
|
public MobiEditOptions()
Creates and returns a new instance of the MobiEditOptions class, where all options are set to their default values
public MobiEditOptions(boolean enablePagination)
Creates and returns a new instance of the MobiEditOptions class with specified pagination and default all other options
enablePagination
- Pagination flag, that enables HTML output,
adjusted for paged modepublic final WordProcessingEditOptions cloneToWordProcessing()
public 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 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).
value
- public final void setEnablePagination(boolean value)
Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).
value
-