com.groupdocs.conversion.options.load

Class TxtLoadOptions



  • public final class TxtLoadOptions
    extends LoadOptions

    Options for loading Txt documents.

    • Constructor Detail

      • TxtLoadOptions

        public TxtLoadOptions()

        Initializes new instance of TxtLoadOptions class.

    • Method Detail

      • getDetectNumberingWithWhitespaces

        public final boolean getDetectNumberingWithWhitespaces()

        Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true.


        If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "•", "*", "-" or "o").

        If this option is set to true, whitespaces are also used as list number delimeters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols.

      • setDetectNumberingWithWhitespaces

        public final void setDetectNumberingWithWhitespaces(boolean value)

        Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true.


        If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "•", "*", "-" or "o").

        If this option is set to true, whitespaces are also used as list number delimeters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols.

      • getEncoding

        public final Charset getEncoding()

        Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null.

      • getEncodingInternal

        public com.aspose.ms.System.Text.Encoding getEncodingInternal()
      • setEncoding

        public final void setEncoding(Charset value)

        Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null.