https://issues.apache.org/bugzilla/show_bug.cgi?id=45671

--- Comment #2 from Mark B <[email protected]> ---
Just to save you asking this question on any other list, it is not possible to
get at a specific page or range of pages usinf POI. Word does not store page
information in the file at all - unless the creator of the document has used
hard page breaks throughout. Word - or some other package such as OpenOffice,
AbiWord, etc - must be used to render the document into a human readable form
before it is possible to get, for example, the contents of page ten.

You are faced with two options; one is to write your own parser so that you can
render the document into a human readable, in memory, form and, therefore, get
at a specific page. Option two is to use either OLE/COM to open and manipulate
the document using Word - which will work only on a Windows platform - or to
take advantage of OpenOffice's UNO interface. This works a little like COM but
allows you to write code in Java to control an instance of OpenOffice which is
pretty much platform independent.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to