com.groupdocs.editor.options

Class WordProcessingToHtmlOptions

  • All Implemented Interfaces:
    IDocumentLoadOptions


    public class WordProcessingToHtmlOptions
    extends Object
    implements IDocumentLoadOptions

    Allows to specify custom options for loading WordProcessing-compliant documents

    <inheritdoc></inheritdoc>
    • Constructor Summary

      Constructors 
      Constructor and Description
      WordProcessingToHtmlOptions()
      Creates and returns a new instance of the WordProcessingToHtmlOptions class, where all options are set to their default values
      WordProcessingToHtmlOptions(boolean enablePagination)
      Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified pagination and default all other options
      WordProcessingToHtmlOptions(boolean enablePagination, String openingPassword)
      Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified pagination, password and default all other options
      WordProcessingToHtmlOptions(String openingPassword)
      Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified password and FontExtractionOptions is default
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean getEnablePagination()
      Allows to enable or disable pagination in the resultant HTML document.
      boolean getExportLanguageInformation()
      Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes.
      byte getExtractFontOption()
      Responsible for extracting font resources, which are used in the input WordProcessing document.
      String getPassword()
      Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded.
      void setEnablePagination(boolean value)
      Allows to enable or disable pagination in the resultant HTML document.
      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)
      Responsible for extracting font resources, which are used in the input WordProcessing document.
      void setPassword(String value)
      Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded.
    • Constructor Detail

      • WordProcessingToHtmlOptions

        public WordProcessingToHtmlOptions()

        Creates and returns a new instance of the WordProcessingToHtmlOptions class, where all options are set to their default values

      • WordProcessingToHtmlOptions

        public WordProcessingToHtmlOptions(boolean enablePagination)

        Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified pagination and default all other options

        Parameters:
        enablePagination - Pagination flag, that enables HTML output, adjusted for paged mode
      • WordProcessingToHtmlOptions

        public WordProcessingToHtmlOptions(boolean enablePagination,
                                   String openingPassword)

        Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified pagination, password and default all other options

        Parameters:
        enablePagination - Pagination flag, that enables HTML output, adjusted for paged mode
        openingPassword - Password, which will be applied for opening the document in case it is encrypted
      • WordProcessingToHtmlOptions

        public WordProcessingToHtmlOptions(String openingPassword)

        Creates and returns a new instance of the WordProcessingToHtmlOptions class with specified password and FontExtractionOptions is default

        Parameters:
        openingPassword - Password, which will be applied for opening the document in case it is encrypted
    • Method Detail

      • getEnablePagination

        public final boolean getEnablePagination()

        Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).

      • getExportLanguageInformation

        public final 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).

      • getExtractFontOption

        public final byte getExtractFontOption()

        Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract).

      • getPassword

        public final String getPassword()

        Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to remove the password.

      • setEnablePagination

        public final void setEnablePagination(boolean value)

        Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).

      • setExportLanguageInformation

        public final 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).

      • setExtractFontOption

        public final void setExtractFontOption(byte value)

        Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract).

      • setPassword

        public final void setPassword(String value)

        Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to remove the password.