You've already forked lazarus-ccr
Patch from wp for fixing multiple sheet support in XLSX
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -213,13 +213,11 @@ begin
|
|||||||
' <workbookView xWindow="480" yWindow="90" windowWidth="15195" windowHeight="12525" />' + LineEnding +
|
' <workbookView xWindow="480" yWindow="90" windowWidth="15195" windowHeight="12525" />' + LineEnding +
|
||||||
' </bookViews>' + LineEnding;
|
' </bookViews>' + LineEnding;
|
||||||
|
|
||||||
|
FWorkbook := FWorkbook + ' <sheets>' + LineEnding;
|
||||||
for i := 1 to AData.GetWorksheetCount do
|
for i := 1 to AData.GetWorksheetCount do
|
||||||
begin
|
|
||||||
FWorkbook := FWorkbook +
|
FWorkbook := FWorkbook +
|
||||||
' <sheets>' + LineEnding +
|
Format(' <sheet name="Sheet%d" sheetId="%d" r:id="rId%d" />', [i, i, i+2]) + LineEnding;
|
||||||
Format(' <sheet name="Sheet%d" sheetId="%d" r:id="rId%d" />', [i, i, i+2]) + LineEnding +
|
FWorkbook := FWorkbook + ' </sheets>' + LineEnding;
|
||||||
' </sheets>' + LineEnding;
|
|
||||||
end;
|
|
||||||
|
|
||||||
FWorkbook := FWorkbook +
|
FWorkbook := FWorkbook +
|
||||||
' <calcPr calcId="114210" />' + LineEnding +
|
' <calcPr calcId="114210" />' + LineEnding +
|
||||||
|
Reference in New Issue
Block a user