You've already forked lazarus-ccr
* Fix wikitable reading (add missing format list)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -59,7 +59,7 @@ type
|
||||
{ TsWikiTableNumFormatList }
|
||||
TsWikiTableNumFormatList = class(TsCustomNumFormatList)
|
||||
protected
|
||||
//procedure AddBuiltinFormats; override;
|
||||
// procedure AddBuiltinFormats; override;
|
||||
public
|
||||
// function FormatStringForWriting(AIndex: Integer): String; override;
|
||||
end;
|
||||
@@ -68,6 +68,8 @@ type
|
||||
{ TsWikiTableReader }
|
||||
|
||||
TsWikiTableReader = class(TsCustomSpreadReader)
|
||||
protected
|
||||
procedure CreateNumFormatList; override;
|
||||
public
|
||||
SubFormat: TsSpreadsheetFormat;
|
||||
{ General reading methods }
|
||||
@@ -295,6 +297,12 @@ end;
|
||||
|
||||
{ TsWikiTableReader }
|
||||
|
||||
procedure TsWikiTableReader.CreateNumFormatList;
|
||||
begin
|
||||
FreeAndNil(FNumFormatList);
|
||||
FNumFormatList := TsWikiTableNumFormatList.Create;
|
||||
end;
|
||||
|
||||
procedure TsWikiTableReader.ReadFromStrings(AStrings: TStrings;
|
||||
AData: TsWorkbook);
|
||||
begin
|
||||
|
Reference in New Issue
Block a user