XLSReadWriteII 5 - Another list of changes
Posted: Tue Dec 18, 2012 7:54 pm
Hi
I'm working hard to convert a lot of units of my project from version 4 to version 5 of XLSReadWriteII. I list many itens that are not listed in Changes.txt.
TXLSReadWriteII5.Font.ColorRGB
changed to
TXLSReadWriteII5.Font.Color (and we must create a object of type TXc12Color to set this color...)
TXLSRows.AddIfNone
method was eliminated, correct ? i comment it, but don't verify if new compilation works fine or not without this...
TCellType
changed to
TXLSCellType
if (Cell[Col,Row] is TFormulaCell) then
changed to
if (CellType[Col,Row] in [xctFloatFormula,xctStringFormula,xctBooleanFormula,xctErrorFormula]) then
TXLSColumn
property HorizAlignment
changed to Style.Alignment.HorizAlignment
TXLSRange
property FormatOptions := [foWrapText]
changed to TXLSRange.WrapText := True;
TXLSReadWrite.Workbook.Options
changed to
TXLSReadWrite.WorkbookData.Options
TXLSProgressEvent have new assign:
procedure (AProgressType: TXLSProgressType; AProgressState: TXLSProgressState; AValue: double) of object
TXLSReadWrite.Sheet[s].Autofilters
changed to
TXLSReadWrite.BIFF.Sheet[s].Autofilters (i'm affraid if it works...)
TXLSReadWrite.PreserveMacros
changed to
TXLSReadWrite.BIFF5.PreserveMacros (i'm affraid if it works...)
TXLSReadWrite.MSOPictures
changed to
TXLSReadWrite.BIFF5.MSOPictures (i'm affraid if it works...)
with TXLSReadWrite.Items[s].ConditionalFormats.Add do
changed to
with TConditionalFormat(FXLSReadWrite.Items[s].ConditionalFormats.Add)
Alignments:
TCellHorizAlignment changed to TXc12HorizAlignment
TCellVertAlignment changed to TXc12VertAlignment
Validation types:
vopEqual changed to x12dvoEqual
vsStop changed to x12dvesStop
vtInteger changed to x12dvtDecimal
Lars, can u please analyse this list and give me a feedback if i'm correct with this approaches ?
Thanks
I'm working hard to convert a lot of units of my project from version 4 to version 5 of XLSReadWriteII. I list many itens that are not listed in Changes.txt.
TXLSReadWriteII5.Font.ColorRGB
changed to
TXLSReadWriteII5.Font.Color (and we must create a object of type TXc12Color to set this color...)
TXLSRows.AddIfNone
method was eliminated, correct ? i comment it, but don't verify if new compilation works fine or not without this...
TCellType
changed to
TXLSCellType
if (Cell[Col,Row] is TFormulaCell) then
changed to
if (CellType[Col,Row] in [xctFloatFormula,xctStringFormula,xctBooleanFormula,xctErrorFormula]) then
TXLSColumn
property HorizAlignment
changed to Style.Alignment.HorizAlignment
TXLSRange
property FormatOptions := [foWrapText]
changed to TXLSRange.WrapText := True;
TXLSReadWrite.Workbook.Options
changed to
TXLSReadWrite.WorkbookData.Options
TXLSProgressEvent have new assign:
procedure (AProgressType: TXLSProgressType; AProgressState: TXLSProgressState; AValue: double) of object
TXLSReadWrite.Sheet[s].Autofilters
changed to
TXLSReadWrite.BIFF.Sheet[s].Autofilters (i'm affraid if it works...)
TXLSReadWrite.PreserveMacros
changed to
TXLSReadWrite.BIFF5.PreserveMacros (i'm affraid if it works...)
TXLSReadWrite.MSOPictures
changed to
TXLSReadWrite.BIFF5.MSOPictures (i'm affraid if it works...)
with TXLSReadWrite.Items[s].ConditionalFormats.Add do
changed to
with TConditionalFormat(FXLSReadWrite.Items[s].ConditionalFormats.Add)
Alignments:
TCellHorizAlignment changed to TXc12HorizAlignment
TCellVertAlignment changed to TXc12VertAlignment
Validation types:
vopEqual changed to x12dvoEqual
vsStop changed to x12dvesStop
vtInteger changed to x12dvtDecimal
Lars, can u please analyse this list and give me a feedback if i'm correct with this approaches ?
Thanks