TxtSaveOptions Class

TxtSaveOptions class

Represents the save options for csv/tab delimited/other text format.


type TxtSaveOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewTxtSaveOptionsCreates text file save options.
NewTxtSaveOptions_SaveFormatCreates text file save options.
NewTxtSaveOptions_SaveOptionsConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetSeparatorGets and sets char Delimiter of text file.
SetSeparatorGets and sets char Delimiter of text file.
GetSeparatorStringGets and sets a string value as separator.
SetSeparatorStringGets and sets a string value as separator.
GetEncodingGets and sets the default encoding.
SetEncodingGets and sets the default encoding.
GetQuoteTypeGets or sets how to quote values in the exported text file.
SetQuoteTypeGets or sets how to quote values in the exported text file.
GetFormatStrategyGets and sets the format strategy when exporting the cell value as string.
SetFormatStrategyGets and sets the format strategy when exporting the cell value as string.
GetTrimLeadingBlankRowAndColumnIndicates whether leading blank rows and columns should be trimmed like what ms excel does.Default is true.
SetTrimLeadingBlankRowAndColumnIndicates whether leading blank rows and columns should be trimmed like what ms excel does.Default is true.
GetTrimTailingBlankCellsIndicates whether tailing blank cells in one row should be trimmed. Default is false.
SetTrimTailingBlankCellsIndicates whether tailing blank cells in one row should be trimmed. Default is false.
GetKeepSeparatorsForBlankRowIndicates whether separators should be output for blank row.Default value is false so by default the content for blank row will be empty.
SetKeepSeparatorsForBlankRowIndicates whether separators should be output for blank row.Default value is false so by default the content for blank row will be empty.
GetExportAreaThe range of cells to be exported.
SetExportAreaThe range of cells to be exported.
GetExportQuotePrefixIndicates whether the single quote sign should be exported as part of the value of one cellwhen is true for it. Default is false.
SetExportQuotePrefixIndicates whether the single quote sign should be exported as part of the value of one cellwhen is true for it. Default is false.
GetExportAllSheetsIndicates whether exporting all sheets to the text file.If it is false, only export the activesheet, just like MS Excel.
SetExportAllSheetsIndicates whether exporting all sheets to the text file.If it is false, only export the activesheet, just like MS Excel.
GetSaveFormatGets the save file format.
GetClearDataMake the workbook empty after saving the file.
SetClearDataMake the workbook empty after saving the file.
GetCachedFileFolderThe cached file folder is used to store some large data.
SetCachedFileFolderThe cached file folder is used to store some large data.
GetValidateMergedAreasIndicates whether validate merged cells before saving the file.
SetValidateMergedAreasIndicates whether validate merged cells before saving the file.
GetMergeAreasIndicates whether merge the areas of conditional formatting and validation before saving the file.
SetMergeAreasIndicates whether merge the areas of conditional formatting and validation before saving the file.
GetCreateDirectoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
SetCreateDirectoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
GetSortNamesIndicates whether sorting defined names before saving file.
SetSortNamesIndicates whether sorting defined names before saving file.
GetSortExternalNamesIndicates whether sorting external defined names before saving file.
SetSortExternalNamesIndicates whether sorting external defined names before saving file.
GetRefreshChartCacheIndicates whether refreshing chart cache data
SetRefreshChartCacheIndicates whether refreshing chart cache data
GetCheckExcelRestrictionWhether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated.
SetCheckExcelRestrictionWhether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated.
GetUpdateSmartArtIndicates whether updating smart art setting.The default value is false.
SetUpdateSmartArtIndicates whether updating smart art setting.The default value is false.
GetEncryptDocumentPropertiesIndicates whether encrypt document properties when saving as .xls file.The default value is true.
SetEncryptDocumentPropertiesIndicates whether encrypt document properties when saving as .xls file.The default value is true.