fix diff_iterator run line 325. also check why the text extraction does show the new lines <w:br/>
I need to work with the underlying DOM nodes in order to do some manipulations to the .docx. However, I can't find a way to get the info from a DOM Node element. Let's say I have a run: run If I take the underlying dom element: originalRun.getCTR().getDomNode() I can't extract the representation. However, if I use Factory.Parse, on some elements I can , and on others I can't For example this works: CTRPr.Factory.parse(run.getCTR().getDomNode().getChildNodes().item(0)) But on CTText it doesnt: CTText.Factory.parse(run.getCTR().getDomNode().getChildNodes().item(1)) any idea how can I easily get all the data? 2. when I use dom nodes, I can easily traverse a Run, by doing: run.getCTR().getDomNode().getChildNodes(). Is there an option to do it in the POI Level, something like run.getAllElements/getAllChildren? Can't find it... I am using POI 3.17 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
