File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache POI ooxml font in header
 
Similar Threads
Why isn't this generics based instantiation working?
Why doesn't named classes classes doesn't insist on final parameter variable?
Problems reading in .docx files in java
Adding Header/Footer to Word Document, created using HWPF/XWPF.
MS-Word 2007