Hi, I used POIFSLister and POIFSViewer.
POIFSLister shows me the list of files in an OLE object and POIFSViewer seems to show me what a Hex-Editor would show me. I'm working with a Hex-Editor now ... I didn't thought that I have to go down to the byte level, but didn't see another possibility. Yesterday evening we came to the conclusion that POIFS creates something that isn't compatible with Word (because it's not easy to build the interior of a black box). Then a colleague (with c++ knowledge) wrote a program, that's based on ole32.dll. Using it there was nearly(!) no difference to the original file created by word (same structure, etc.) except of two small differences in the directory structure and the first content part which holds (Ole, CompObj, ObjInfo). I think that the problem might be in the directory structure. The "Root Entry"-entry from the generated file ist different to the one of the original file. It's incredible how minimal the differences are. The result is the same as with the POIFS generated file: Word says "The server application.... was not found" :-( Cheers, Helmut -------- Original-Nachricht -------- > Datum: Thu, 24 Jul 2008 22:54:31 +0100 (BST) > Von: Nick Burch <[EMAIL PROTECTED]> > An: POI Users List <[email protected]> > Betreff: Re: Can POIFS convert PDF to OLE > On Thu, 24 Jul 2008, Helmut Ziegler wrote: > >> But in the first part of the original file there is more information. > >> I had a look at it in a text editor. The information is some kind of > >> metadata: > >> 1. The alphabet > >> 2. The structure of the ole object. "R.o.o.t. .E.n.t.r.y .... O.l.e. > ... > >> C.o.m.p.O.b.j...." > >> 3. The kind of ole object "P.a.c.k.a.g.e" > > Try using org.apache.poi.poifs.dev.POIFSViewer on the file parts. I think > that'll give you output that's much easier to compare and make sense of > than the raw bytes :) > > org.apache.poi.poifs.dev.POIFSLister might also be worth checking too, > that'll show you what files you have, without the full contents of > POIFSViewer, which'll help you spot if bits go missing > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
