|
@@ -609,6 +609,7 @@ type
|
|
FAdapter: IStringsAdapter;
|
|
FAdapter: IStringsAdapter;
|
|
FLBS : TTextLineBreakStyle;
|
|
FLBS : TTextLineBreakStyle;
|
|
FStrictDelimiter : Boolean;
|
|
FStrictDelimiter : Boolean;
|
|
|
|
+ FLineBreak : String;
|
|
function GetCommaText: string;
|
|
function GetCommaText: string;
|
|
function GetName(Index: Integer): string;
|
|
function GetName(Index: Integer): string;
|
|
function GetValue(const Name: string): string;
|
|
function GetValue(const Name: string): string;
|
|
@@ -626,6 +627,8 @@ type
|
|
Function GetDelimiter : Char;
|
|
Function GetDelimiter : Char;
|
|
Function GetNameValueSeparator : Char;
|
|
Function GetNameValueSeparator : Char;
|
|
Function GetQuoteChar: Char;
|
|
Function GetQuoteChar: Char;
|
|
|
|
+ Function GetLineBreak : String;
|
|
|
|
+ procedure SetLineBreak(const S : String);
|
|
protected
|
|
protected
|
|
procedure DefineProperties(Filer: TFiler); override;
|
|
procedure DefineProperties(Filer: TFiler); override;
|
|
procedure Error(const Msg: string; Data: Integer);
|
|
procedure Error(const Msg: string; Data: Integer);
|
|
@@ -647,6 +650,8 @@ type
|
|
Function GetValueFromIndex(Index: Integer): string;
|
|
Function GetValueFromIndex(Index: Integer): string;
|
|
Procedure SetValueFromIndex(Index: Integer; const Value: string);
|
|
Procedure SetValueFromIndex(Index: Integer; const Value: string);
|
|
Procedure CheckSpecialChars;
|
|
Procedure CheckSpecialChars;
|
|
|
|
+ Class Function GetNextLine (Const Value : String; Var S : String; Var P : Integer) : Boolean;
|
|
|
|
+ Function GetNextLinebreak (Const Value : String; Var S : String; Var P : Integer) : Boolean;
|
|
public
|
|
public
|
|
destructor Destroy; override;
|
|
destructor Destroy; override;
|
|
function Add(const S: string): Integer; virtual;
|
|
function Add(const S: string): Integer; virtual;
|
|
@@ -682,6 +687,7 @@ type
|
|
Property TextLineBreakStyle : TTextLineBreakStyle Read GetLBS Write SetLBS;
|
|
Property TextLineBreakStyle : TTextLineBreakStyle Read GetLBS Write SetLBS;
|
|
property Delimiter: Char read GetDelimiter write SetDelimiter;
|
|
property Delimiter: Char read GetDelimiter write SetDelimiter;
|
|
property DelimitedText: string read GetDelimitedText write SetDelimitedText;
|
|
property DelimitedText: string read GetDelimitedText write SetDelimitedText;
|
|
|
|
+ property LineBreak : string Read GetLineBreak write SetLineBreak;
|
|
Property StrictDelimiter : Boolean Read FStrictDelimiter Write FStrictDelimiter;
|
|
Property StrictDelimiter : Boolean Read FStrictDelimiter Write FStrictDelimiter;
|
|
property QuoteChar: Char read GetQuoteChar write SetQuoteChar;
|
|
property QuoteChar: Char read GetQuoteChar write SetQuoteChar;
|
|
Property NameValueSeparator : Char Read GetNameValueSeparator Write SetNameValueSeparator;
|
|
Property NameValueSeparator : Char Read GetNameValueSeparator Write SetNameValueSeparator;
|