Page 1 of 1

Unknown Attributes issue again

Posted: Thu Aug 08, 2013 10:53 am
by taz.higgins
I'm trying to open up XLS 2013 files and this fails with an unknown attribute: shapeID, I am using XLSRW2 version 5.10.28

I had a similar problem before and was advised to set SaveToList on but this doesn't appear to be working. I have the following code and this still raises an error.

Code: Select all

    XLS.Filename := FLocationFileName;
    XLS.Errors.SaveToList := True;
    XLS.Errors.Filter := [xelMessage, xelHint, xelWarning, xelError, xelFatal, xelDebug];
    XLS.Read;
I though that the unknown attributes were going to be changed to be warnings, not errors.
Looking in TCT_Comment.AssignAttributes and TCT_Sst.AssignAttributes these both raise errors - commenting out the code in the else lets the spreadsheets open up just fine and work.

Re: Unknown Attributes issue again

Posted: Mon Aug 12, 2013 12:45 pm
by davefowle
The same issue with workbooks created by Excel 2013 is a "show stopper" for my customers!

Re: Unknown Attributes issue again

Posted: Tue Aug 13, 2013 7:22 am
by larsa
Hello

This is fixed in update 5.10.29

Re: Unknown Attributes issue again

Posted: Tue Aug 13, 2013 4:43 pm
by davefowle
Dear Lars,

What has happened to the TXLSDrawingChart class? You told me how to use this class back in May. Now I cannot compile my code to test your fix for "unknown attributes". In February 2012 you wrote to your customers saying "We are glad to announce the release of the final version of our new version 5 of XLSReadWriteII" and here we are still waiting in August 2013!

David Fowle