You've already forked lazarus-ccr
fpspreadsheet: Fix stupid error in writing row and column page breaks to xlsx file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7075 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3092,6 +3092,7 @@ begin
|
||||
AppendToStream(AStream, Format(
|
||||
'<colBreaks count="%d" manualBreakCount="%d">', [n, n]));
|
||||
for i := 0 to sheet.Cols.Count - 1 do
|
||||
if (croPageBreak in PCol(sheet.Cols[i])^.Options) then
|
||||
AppendToStream(AStream, Format(
|
||||
'<brk id="%d" max="1048575" man="1" />', [PCol(sheet.Cols[i])^.Col]));
|
||||
AppendToStream(AStream,
|
||||
@ -3559,6 +3560,7 @@ begin
|
||||
AppendToStream(AStream, Format(
|
||||
'<rowBreaks count="%d" manualBreakCount="%d">', [n, n]));
|
||||
for i := 0 to sheet.Rows.Count - 1 do
|
||||
if (croPageBreak in PRow(sheet.Rows[i])^.Options) then
|
||||
AppendToStream(AStream, Format(
|
||||
'<brk id="%d" max="16383" man="1" />', [PRow(sheet.Rows[i])^.Row]));
|
||||
AppendToStream(AStream,
|
||||
|
Reference in New Issue
Block a user