Hi all. I'm working on saving embedded documents (not only office ones, but also zip, pdf, etc) to disk and completely lost hope of doing that. Things I tried to do it: 1. Listen for events on POIFS trying to fetch apropriate streams and save them via DocumentInputStream. Problem: stream names are being generated in unpredictable (for me way). Examples: \001Ole10Native, \001CompObj, CONTENT and so on 2. Call HSSFWorkbook.getAllEmbeddedObjects(). Problem: it lacks of functions to save these objects on disk and it's not obvious for me to implement them, such function is defined for HSSF and (AFAIU) fo HSLF, but I'd prefer it for HWPF and HGDF also.
Could you advise me what is to do? BTW, a little bit offtopic: RTF spec defines that embedded RTF objects are in OLESaveToStream format, does POI have code to parse this format? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
