Hi All

I'm trying to use DDF to handle the Escher records in PowerPoint, as part 
of my PowerPoint support. As part of this, I'm seeing quite a lot of 
problems with the DDF support.

What's the best course of action here? Should I file a bunch of bug 
reports, and discuss if I've correctly understood how things should work 
there? Shall I post them here for discussion?

Here are a couple of samples:
* atom of type F00D is of type msofbtClientTextbox, but 
   DefaultEscherRecordFactory is returning it as EscherContainerRecord
* atom of type F010 (msofbtClientAnchor / EscherClientAnchorRecord) is 
   sometimes returning a length (via record.getRecordSize()) of 26, when 
   it's only 16 on the disk. A call to record.toString() includes
   "Extra Data: error" at the bottom
* it appears that the only way to handle an entry containing
    RecordContainer
     RecordContainer
      Record
      Record
    Record
  is to grab the atom lengths from offset 5 in the header, and walk on 
   yourself making repeated calls to DefaultEscherRecordFactory - there's 
   no way to know how far to skip on by calling methods of a record, and
   there's nothing to return a tree of records

Cheers
Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to