This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Apache POI ooxml font in header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Apache POI ooxml font in header" Watch "Apache POI ooxml font in header" New topic
Author

Apache POI ooxml font in header

bartek bs
Greenhorn

Joined: Mar 29, 2013
Posts: 1
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Apache POI ooxml font in header
 
It's not a secret anymore!