Does anyone have sample code for extracting embedded files from Office 97
.doc files?

The best algorithm I figure right now is:
For each D in the "ObjectPool" directory
  if D has "WordDocument" substream
    Use HWPF to open it
  if D has "WorkBook" substream
    Use HSSF to open it
  if D has "\01Ole10Native" substeam
    decode pkg and write out a binary file
  D = ???  (what other ones are possible)?

-- 
View this message in context: 
http://old.nabble.com/Extract-embedded-files-in-Word-97-Documents-%28hwpf%29-tp27659192p27659192.html
Sent from the POI - User mailing list archive at Nabble.com.


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

Reply via email to