cancel
Showing results for 
Search instead for 
Did you mean: 

How to use classes CL_DOCX_*

Former Member
0 Kudos

We have a need to use word 2007 OOXML classes all of which start with CL_DOCX*.

Basically what we are trying to do is take a DOCX files (File 1 & File 2) saved by MS WORD 2007 application and replace the header of File 1 with the header from File 2.

The basic functionality described above is working fine. However the same is not working when the header from File 2 has an IMAGE embedded in it.

We found several word 2007 OOXML classes in the system (all of which start with CL_DOCX*), but couldn't find usage for these classes anywhere in the system or SDN or OSS Notes etc.,

Just wondering whether anyone used these classes in their development environment and whether they can share this information here?

Any help in this regard is highly appreciated.

thanks,

-Sreenath

Accepted Solutions (0)

Answers (1)

Answers (1)

ttrapp
Active Contributor
0 Kudos

Which NetWeaver release are you using? The whole OOXML seems to be evolving within EhPs.

You'll find examples how to use the framework in the Unit Tests of class CL_DOCX_FORM - so have a look at those classes. For me those test code runs fine.

Best Regards,

Tobias