TOExporterCustomText

TCustomExporterTOExporterCustomText

Description

TOExporterCustomText is the abstract class for text documents. Do not use it directly, use children classes instead.

Properties

NameTypeDescription
NewLineCharOWideString Line delimiter (usually #13#10 for windows)
EscapeCharChar Text cells will be escaped by this char (usually ")
ColumnDelimiterChar Columns are delimited by this char (usually ,)
CommentCharChar Lines starting with this character are ignored at import.
DeleteNewLinesBoolean Determines whether new line characters in text cells are deleted. Some programs may have problems importing CSV with cells that contain more lines.
SqlFormatBoolean Determines whether date and number cells are exported in SQL format. If set to false, current locale is used instead.
ImportExtraDelimitersTSysCharSet These column delimiters are also considered at import.
ImportTrimUnescapedWhiteSpaceBoolean Unescaped white space characters are trimmed at import.
EncodingTEncoding / TOEncoding This encoding will be used for exporting the text file.
At import, the encoding will be determined automatically. Only if the encoding recognition fails (e.g. there is no BOM information in the text file), this encoding will be used.

TOExporterCSVComma

TCustomExporterTOExporterCustomTextTOExporterCustomTextVCLTOExporterCSVComma

Description

Exporter/importer of standard CSV files (comma separated values, UTF8 encoded).

TOExporterCSVSemicolon

TCustomExporterTOExporterCustomTextTOExporterCustomTextVCLTOExporterCSVSemicolon

Description

Exporter/importer of non-standard CSV files with semicolon separated values, UTF8 encoded.

TOExporterCSVExcel

TCustomExporterTOExporterCustomTextTOExporterCustomTextVCLTOExporterCSVExcel

Description

Exporter/importer of CSV files that can be imported directly into Excel without (depending on your locale: comma or semicolon separated values, ANSI encoded).

TOExporterTSV

TCustomExporterTOExporterCustomTextTOExporterCustomTextVCLTOExporterTSV

Description

Exporter/importer of standard TSV files (tabulator separated values, UTF8 encoded).

TOExporterSSV

TCustomExporterTOExporterCustomTextTOExporterCustomTextVCLTOExporterSSV

Description

Exporter/importer of standard SSV files (tabulator separated values, UTF8 encoded).

Code snippets

Categories