Hi,
I've just noticed that XLSX files generated by Adobe Acrobat X contain color value strings (??) that are already preceded by a #. Now, TsSpreadOOXMLReader.ReadColor does add another # to the beginning of this string when calling HTMLColorStrToColor, resulting in strtoint in HTMLColorStrToColor failing with an EConvertError.
My dowdy workaround was to start HTMLColorStrToColor with a check for this:
if pos ( '##' , avalue ) = 1 then delete ( avalue , 1 , 1 ) ;
Attached please find a sample.xlsx that should allow to reproduce that behaviour.
Regards
Heribert