Get "R" for a "Text" node?
Posted: Sat Aug 28, 2010 5:04 pm
Given a Text node (and/or its JAXBElement parent), is there any way to get the R node that it belongs to?
forums
https://www.docx4java.org/forums/
https://www.docx4java.org/forums/docx-java-f6/get-r-for-a-text-node-t403.html
Object objNode = documentPart.getJAXBNodesViaXPath("//w:t").get(0);
JAXBElement jNode = (JAXBNode) objNode;
Text textNode = (Text) objNode.getValue();