This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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

Apache POI ooxml font in header

bartek bs

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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Apache POI ooxml font in header
It's not a secret anymore!