You've already forked lazarus-ccr
* fpspreadsheet: wikitable demo: clarify read/write interoperability problems.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -0,0 +1,3 @@
|
|||||||
|
This demo demonstrates how to use fpspreadsheet to read and write files with wiki table format in it.
|
||||||
|
|
||||||
|
Note that the write example currently writes a format that the read example cannot understand.
|
@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
wikitableread.dpr
|
wikitableread.lpr
|
||||||
|
|
||||||
Demonstrates how to read a wikitable file using the fpspreadsheet library
|
|
||||||
|
|
||||||
|
Demonstrates how to read a wikitable (wikimedia format) file using the fpspreadsheet library
|
||||||
|
Note: the output written by wikitablewrite cannot yet be read by the
|
||||||
|
wikitableread demo.
|
||||||
}
|
}
|
||||||
program wikitableread;
|
program wikitableread;
|
||||||
|
|
||||||
@ -28,7 +29,7 @@ begin
|
|||||||
InputFileName := MyDir + 'test.wikitable_wikimedia';
|
InputFileName := MyDir + 'test.wikitable_wikimedia';
|
||||||
|
|
||||||
if not FileExists(InputFileName) then begin
|
if not FileExists(InputFileName) then begin
|
||||||
WriteLn('Input file ', InputFileName, ' does not exist. Please run wikitablewrite first.');
|
WriteLn('Input file ', InputFileName, ' does not exist. Please make sure a file exists with data in the correct format.');
|
||||||
Halt;
|
Halt;
|
||||||
end;
|
end;
|
||||||
WriteLn('Opening input file ', InputFilename);
|
WriteLn('Opening input file ', InputFilename);
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
wikitablewrite.dpr
|
wikitablewrite.lpr
|
||||||
|
|
||||||
Demonstrates how to write a wikitable file using the fpspreadsheet library
|
Demonstrates how to write a wikitable file using the fpspreadsheet library
|
||||||
|
Note: the output written by wikitablewrite cannot yet be read by the
|
||||||
|
wikitableread demo.
|
||||||
}
|
}
|
||||||
program wikitablewrite;
|
program wikitablewrite;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user