https://issues.apache.org/bugzilla/show_bug.cgi?id=47247


Josh Micich <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Josh Micich <[email protected]>  2009-05-22 12:07:48 PST 
---
These are problems with the recently added chart records.  
I am not sure why you get a different error from BiffViewer (because it seems
to interpret the same set of records as RecordFactory).  Both errors look
legitimate, and this suggests a third problem as to why BiffViewer behaves
differently.


As far as ChartEndObjectRecord is concerned, it looks like some apps don't
write the 'unused' field.  It would be interesting to know whether Excel
re-adds it.
I can't see any obvious problem with ChartFRTInfoRecord, so we'll probably need
some sample data.

Could you either upload the spreadsheet in question, or give the hex dump of
these two offending records?

You can get the dump by changing the constructors of ChartFRTInfoRecord and
ChartEndObjectRecord(:

// change the parameter declaration from 'in' to 'inOrig'
// add this code at the top of the method
byte[] data = inOrig.readRemainder();
LittleEndianInput in = new LittleEndianByteArrayInputStream(data);

// add this code at the bottom 
if (in.available()>0) {
    System.err.println("leftover data reading " + getClass().getName());
    System.err.println(HexDump.toHex(data, 16));
}

// also change param type to CFRTID constructor ( like svn r777660 ( 
https://svn.apache.org/viewcvs.cgi?view=rev&rev=777660 ) )

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to