You've already forked lazarus-ccr
fpspreadsheet: Some more ooxml fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -398,7 +398,7 @@ var
|
|||||||
lStr: string;
|
lStr: string;
|
||||||
begin
|
begin
|
||||||
lStr := '';
|
lStr := '';
|
||||||
if ACol < 26 then lStr := Char(ACol+54);
|
if ACol < 26 then lStr := Char(ACol+65);
|
||||||
|
|
||||||
Result := Format('%s%d', [lStr, ARow+1]);
|
Result := Format('%s%d', [lStr, ARow+1]);
|
||||||
end;
|
end;
|
||||||
|
@ -493,7 +493,7 @@ begin
|
|||||||
CellPosText := TsWorksheet.CellPosToText(ARow, ACol);
|
CellPosText := TsWorksheet.CellPosToText(ARow, ACol);
|
||||||
FSheets[FCurSheetNum] := FSheets[FCurSheetNum] +
|
FSheets[FCurSheetNum] := FSheets[FCurSheetNum] +
|
||||||
Format(' <c r="%s" t="s">', [CellPosText]) + LineEnding +
|
Format(' <c r="%s" t="s">', [CellPosText]) + LineEnding +
|
||||||
' <v>2</v>' + LineEnding +
|
Format(' <v>%s</v>', [AValue]) + LineEnding +
|
||||||
' </c>' + LineEnding;
|
' </c>' + LineEnding;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -508,7 +508,7 @@ begin
|
|||||||
CellPosText := TsWorksheet.CellPosToText(ARow, ACol);
|
CellPosText := TsWorksheet.CellPosToText(ARow, ACol);
|
||||||
FSheets[FCurSheetNum] := FSheets[FCurSheetNum] +
|
FSheets[FCurSheetNum] := FSheets[FCurSheetNum] +
|
||||||
Format(' <c r="%s">', [CellPosText]) + LineEnding +
|
Format(' <c r="%s">', [CellPosText]) + LineEnding +
|
||||||
' <v>1</v>' + LineEnding +
|
Format(' <v>%f</v>', [AValue]) + LineEnding +
|
||||||
' </c>' + LineEnding;
|
' </c>' + LineEnding;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user