wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Apache POI HWPF getFooter() to extract incremental page numbers from document footers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Apache POI HWPF getFooter() to extract incremental page numbers from document footers" Watch "Apache POI HWPF getFooter() to extract incremental page numbers from document footers" New topic
Author

Apache POI HWPF getFooter() to extract incremental page numbers from document footers

Abraham Ellis
Greenhorn

Joined: Jan 31, 2013
Posts: 1
As part of a gui front end that I developed to search an MS Word Document for errors against a master list, I am trying to use the Apache POI HeaderStories getFooter() method to return the footer (unique) of each page of an (n) page document where errors are found.

The API says that by passing the page number to the method, I can target that specific page's footer.Instead I only get the footer of the very last page regardless of what number I pass in. This is my first exposure to Apache poi HWPF. Can you shed some light on what I am doing wrong?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache POI HWPF getFooter() to extract incremental page numbers from document footers
 
Similar Threads
Word document is crashing after adding custom properties using apache poi HWPF
Could not able to add properties to the pargraph in doc file using apache poi HWPF
insert header and footer with POI HWPF?
HWPF POI
apache POI - HWPF search & replace