I have a Word document, in that we have a variables like @DATE. When we read it as XWPFRun from XWPFParagraph, we get two runs 1. "@" and 2. "DATE.
How can I get the font size of "DATE" (2nd run)? I am getting first run "@" font size, but null for second run "DATE"
for (XWPFParagraph p : cell.getParagraphs()) { for(XWPFRun r1 : p.getRuns()){ iFontSize = r1.getFontSizeAsDouble() } }
So here, for the second run "DATE", getFontSizeAsDouble returns null.