You've already forked lazarus-ccr
fpspreadsheet: Major reconstructor of color management: no more palettes now, use direct rgb colors instead. May break existing code - sorry! Update all demos and unit tests (passed).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -95,7 +95,7 @@ type
|
||||
|
||||
procedure AddBuiltinNumFormats; virtual;
|
||||
function FindNumFormatInList(ANumFormatStr: String): Integer;
|
||||
function FixColor(AColor: TsColor): TsColor; virtual;
|
||||
// function FixColor(AColor: TsColor): TsColor; virtual;
|
||||
procedure FixFormat(ACell: PCell); virtual;
|
||||
procedure GetSheetDimensions(AWorksheet: TsWorksheet;
|
||||
out AFirstRow, ALastRow, AFirstCol, ALastCol: Cardinal); virtual;
|
||||
@ -404,7 +404,7 @@ begin
|
||||
exit;
|
||||
Result := -1;
|
||||
end;
|
||||
|
||||
(*
|
||||
{@@ ----------------------------------------------------------------------------
|
||||
If a color index is greater then the maximum palette color count this
|
||||
color is replaced by the closest palette color.
|
||||
@ -420,7 +420,7 @@ function TsCustomSpreadWriter.FixColor(AColor: TsColor): TsColor;
|
||||
begin
|
||||
Result := AColor;
|
||||
end;
|
||||
|
||||
*)
|
||||
{@@ ----------------------------------------------------------------------------
|
||||
If formatting features of a cell are not supported by the destination file
|
||||
format of the writer, here is the place to apply replacements.
|
||||
|
Reference in New Issue
Block a user