Hi can you help figure out how to get currect formating from run thats is revison ( font format revision)
Document wordDoc = new Document(“style.docx”);
Run run = (Run) wordDoc.getChild(NodeType.RUN, 2, true);
System.out.println(run.getText());
System.out.println("run font name = "+run.getFont().getName());
this prints “Calibri” but I expacting “Adobe Fan haiti…”
file:style.zip (10.0 KB)
Thank you for your help