com.groupdocs.editor.options

Class DelimitedTextSaveOptions

  • All Implemented Interfaces:
    ISaveOptions


    public final class DelimitedTextSaveOptions
    extends Object
    implements ISaveOptions

    Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter)


    https://en.wikipedia.org/wiki/Delimiter-separated_values
    • Constructor Detail

      • DelimitedTextSaveOptions

        public DelimitedTextSaveOptions(String separator)

        Creates an instance of options class for delimited text with mandatory separator (delimiter)

        Parameters:
        separator - String separator (delimiter) for text-based Spreadsheet documents
    • Method Detail

      • getEncoding

        public final Charset getEncoding()

        Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8.

        Returns:
      • getEncodingInternal

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

        public final boolean getKeepSeparatorsForBlankRow()

        Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty.

        Returns:
      • getSeparator

        public final String getSeparator()

        Allows to specify a string separator (delimiter) for text-based Spreadsheet documents

        Returns:
      • getTrimLeadingBlankRowAndColumn

        public final boolean getTrimLeadingBlankRowAndColumn()

        Indicates whether leading blank rows and columns should be trimmed like what MS Excel does

        Returns:
      • setEncoding

        public final void setEncoding(Charset value)

        Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8.

        Parameters:
        value -
      • setEncodingInternal

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

        public final void setKeepSeparatorsForBlankRow(boolean value)

        Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty.

        Parameters:
        value -
      • setSeparator

        public final void setSeparator(String value)

        Allows to specify a string separator (delimiter) for text-based Spreadsheet documents

        Parameters:
        value -
      • setTrimLeadingBlankRowAndColumn

        public final void setTrimLeadingBlankRowAndColumn(boolean value)

        Indicates whether leading blank rows and columns should be trimmed like what MS Excel does

        Parameters:
        value -