Home > Software engineering >  Compound word document to insert the document or how to read the picture
Compound word document to insert the document or how to read the picture

Time:09-22

My demand is export doc compound document embedded in the pictures or files,

Also see a lot about office compound document information, but good complex, still don't know much about how to find the location of the embedded objects, the following figure, was in the Ole10Native here, StartSect is the data migration, Sizelow is data size, but don't copy the data out yeah,


Where is the above said StartSect is relative deviation, I am a relatively DirectEntry Ole10Native calculate, is not quite right? I don't feel very to size, what object structure contains a head? Then where is the size of the structure of the head to find it ~ ~ good dizzy ~ ~

Like OpenXML will be clear at a glance, in the zip folder embeding and media directory, all insert object in the file name is also very good,
The composite structure of the document what get inserted into the file name and contents of the object? (don't know the name of the stock on embedded objects in compound documents, best can find the file name, find themselves on a line,)

great god give advice or comments, many thanks!

CodePudding user response:

In Word start recording macros, manual, complete the required function end record macros, press Alt + F11 key, check just record macro corresponding VBA code,

CodePudding user response:

Is implemented in C language, there are not many of the libraries can be used

CodePudding user response:

Get rid of self-reliance, DirectEntry embedded objects in the ObjectPool subdirectory in the directory, there are two objects, one is the Package type of this kind of) (embedded word, excel, this type of migration to StartSect data can get directly, another type is a problem I met this Ole10Native (JPG) images, this type StartSect pointing to the data block in front of head, head to carry inside filename, offset the head part is data ~ ~ hope can be helpful to the same problems behind classmate ~

CodePudding user response:

reference flyfreely2008 reply: 3/f
get rid of self-reliance, DirectEntry embedded objects in the ObjectPool subdirectory in the directory, there are two objects, one is Package type (of this kind of) embedded in word, excel, this type of migration to StartSect data can get directly, another type is a problem I met this Ole10Native (JPG image), StartSect pointing to this type of data block in front of head, head to carry inside filename, offset the head part is data ~ ~ hope can be helpful to the same problems behind classmate ~

CodePudding user response:

PPT, Word, Excel's built-in file I have removed them all, Word didn't come out with embedded pictures, get rid of the original poster?

CodePudding user response:

Word never understand StyleSheet with embedded pictures what good, can't find the picture in the offset in the Data Stream

CodePudding user response:

Have a look, record macros.
  • Related