Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache POI ooxml font in header

 
bartek bs
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with extracting font style/type from docx file. Below code works fine for text but not if this text is in header.


For text in header method getFontSize() returns -1. Method getColor() returns null. Why? When I print run, tet is printed correctly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic