com.groupdocs.editor.options

Class TextSaveOptions

  • All Implemented Interfaces:
    ISaveOptions


    public final class TextSaveOptions
    extends Object
    implements ISaveOptions

    Allows to specify custom options for generating and saving plain text (TXT) documents

    • Constructor Summary

      Constructors 
      Constructor and Description
      TextSaveOptions() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean getAddBidiMarks()
      Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format
      Charset getEncoding()
      Character encoding of the text document, which will be applied for its saving
      com.aspose.ms.System.Text.Encoding getEncodingInternal() 
      boolean getPreserveTableLayout()
      Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format.
      void setAddBidiMarks(boolean value)
      Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format
      void setEncoding(Charset value)
      Character encoding of the text document, which will be applied for its saving
      void setEncodingInternal(com.aspose.ms.System.Text.Encoding value) 
      void setPreserveTableLayout(boolean value)
      Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format.
    • Constructor Detail

      • TextSaveOptions

        public TextSaveOptions()
    • Method Detail

      • getAddBidiMarks

        public final boolean getAddBidiMarks()

        Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format

        Returns:
      • getEncoding

        public final Charset getEncoding()

        Character encoding of the text document, which will be applied for its saving

        Returns:
      • getEncodingInternal

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

        public final boolean getPreserveTableLayout()

        Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false.

        Returns:
      • setAddBidiMarks

        public final void setAddBidiMarks(boolean value)

        Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format

        Parameters:
        value -
      • setEncoding

        public final void setEncoding(Charset value)

        Character encoding of the text document, which will be applied for its saving

        Parameters:
        value -
      • setEncodingInternal

        public void setEncodingInternal(com.aspose.ms.System.Text.Encoding value)
      • setPreserveTableLayout

        public final void setPreserveTableLayout(boolean value)

        Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false.

        Parameters:
        value -