No, you will not find a method in XWPF to do this, you need to dig deeper.

To explain a little, XWPF is built on the top of another layer; classes
defined within the openxml4j library. They take care of all the lower level
handling of the raw xml that composes the Word document file. You will need
to dig into the classes in this layer to find the support for your operation
and I am sorry to say that I cannot help any further. Even though I no
longer work as a programmer, recently I have been asked to look into using
the ODFToolkit to strip information out of Open Document Format files (think
OpenOffice) as that is the office suite my employer now uses. As a result -
to avoid temptation really - I have removed POI from my home and office
systems and am trying to avoid even visiting the list anymore. Your best bet
might be to start a new thread asking specifically for help digging into the
openxml4j layer to locate the class that will support removing the run from
the paragraph.

Yours

Mark B

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/how-to-replace-text-with-image-in-word07-tp4332616p4367381.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