public class WordToHtmlOptions extends Object implements IDocumentLoadOptions
Allows to specify custom options for loading Words-compliant documents
<inheritdoc></inheritdoc>
Constructor and Description |
---|
WordToHtmlOptions()
Creates and returns a new instance of the WordToHtmlOptions class, where all options are set to their default values
|
WordToHtmlOptions(boolean enablePagination)
Creates and returns a new instance of the WordToHtmlOptions class
with specified pagination, default absent password and
T:GroupDocs.Editor.Options.FontExtractionOptions is default |
WordToHtmlOptions(byte option)
Creates and returns a new instance of the WordToHtmlOptions class with
FontExtractionOptions |
WordToHtmlOptions(String openingPassword)
Creates and returns a new instance of the WordToHtmlOptions class with specified password and
T:GroupDocs.Editor.Options.FontExtractionOptions is default |
WordToHtmlOptions(String openingPassword,
byte option)
Creates and returns a new instance of the WordToHtmlOptions class with password and
T:GroupDocs.Editor.Options.FontExtractionOptions |
Modifier and Type | Method and Description |
---|---|
boolean |
getExportLanguageInformation()
Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes.
|
byte |
getExtractFontOption()
Enables or disables ability to extract font resources, which are used in the input Words document.
|
String |
getPassword()
Allows to specify, modify and obtain the password, which will be used for opening Words document, if it is encoded.
|
void |
setExportLanguageInformation(boolean value)
Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes.
|
void |
setExtractFontOption(byte value)
Enables or disables ability to extract font resources, which are used in the input Words document.
|
void |
setPassword(String value)
Allows to specify, modify and obtain the password, which will be used for opening Words document, if it is encoded.
|
public WordToHtmlOptions()
Creates and returns a new instance of the WordToHtmlOptions class, where all options are set to their default values
public WordToHtmlOptions(boolean enablePagination)
Creates and returns a new instance of the WordToHtmlOptions class
with specified pagination, default absent password and T:GroupDocs.Editor.Options.FontExtractionOptions
is default
enablePagination
- Enable or disable pagination in the resultant HTML document.public WordToHtmlOptions(byte option)
Creates and returns a new instance of the WordToHtmlOptions class with FontExtractionOptions
option
- Options, which defines font extraction policypublic WordToHtmlOptions(String openingPassword)
Creates and returns a new instance of the WordToHtmlOptions class with specified password and T:GroupDocs.Editor.Options.FontExtractionOptions
is default
openingPassword
- Password, which will be applied for opening the document in case it is encryptedpublic WordToHtmlOptions(String openingPassword, byte option)
Creates and returns a new instance of the WordToHtmlOptions class with password and T:GroupDocs.Editor.Options.FontExtractionOptions
openingPassword
- Password, which will be applied for opening the document in case it is encryptedoption
- Options, which defines font extraction policypublic boolean getExportLanguageInformation()
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 byte getExtractFontOption()
Enables or disables ability to extract font resources, which are used in the input Words document. By default doesn't extract any fonts (NotExtract).
public String getPassword()
Allows to specify, modify and obtain the password, which will be used for opening Words document, if it is encoded. Set to NULL or empty string in order to remove the password.
public void setExportLanguageInformation(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 void setExtractFontOption(byte value)
Enables or disables ability to extract font resources, which are used in the input Words document. By default doesn't extract any fonts (NotExtract).
public void setPassword(String value)
Allows to specify, modify and obtain the password, which will be used for opening Words document, if it is encoded. Set to NULL or empty string in order to remove the password.
Copyright © 2018. All rights reserved.