Re: org.apache.poi.xwpf.usermodel.XWPFDocument Set start/end Page to extract text

Nick Burch <[email protected]> Sat, 23 Oct 2021 09:27:21 +0100 (BST)
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <[email protected]>
On Sat, 23 Oct 2021, nskarthik wrote:
> Process : POI 4.1.2 ,jdk15 ,win10

You should consider upgrading to Apache POI 5.0 - there have been quite a 
few fixes since then, see http://poi.apache.org/changes.html#5.0.0

> Question : Extract Text only from MS-Word docx/doc from specific
> pages  ( Start Page / End Page ) defined.

Not possible. The pages aren't stored in the Word file formats. Your only 
way to know what is on each page is to render it, which we don't support

Nick