Problem with default font size when reading from docx file

2017-01-25 Thread apache_user
Hello All, I am trying to read the font size of some runs, but sometimes, I get -1 as the font size. I know that it shows the default font size. But I need the actual font size. I found a couple of solutions to extract the default font size and what I do right now is like the following: XWPFRun f

RE: Problem with default font size when reading from docx file

2017-01-26 Thread apache_user
Thanks a lot for your answer. But I have also tried getting the default font. The problem is that the default font is not the font of the titles that I am looking for. Here you can find my code (mainClass.java and OtherClass.java) and the file with which I am trying: --- testy.docx