com.groupdocs.editor.options

Class MobiEditOptions

  • All Implemented Interfaces:
    IEditOptions


    public final class MobiEditOptions
    extends Object
    implements IEditOptions

    Allows to specify custom options for editing documents in MOBI (MobiPocket) format.

    • Constructor Detail

      • MobiEditOptions

        public MobiEditOptions()

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

      • MobiEditOptions

        public MobiEditOptions(boolean enablePagination)

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

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

      • getEnableLanguageInformation

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

        Returns:
      • getEnablePagination

        public final boolean getEnablePagination()

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

        Returns:
      • setEnableLanguageInformation

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

        Parameters:
        value -
      • setEnablePagination

        public final void setEnablePagination(boolean value)

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

        Parameters:
        value -