MSWord calculates pages dynamically. Unlike PDFs, MSWord documents are not “page based”. The only way you can do it with Java is through n COM bridge to the MSWord application or maybe via OpenOffice UNO, etc. If you have vba, you could also programmatically get it out via the MSWord application.
From: 张钧荣 [mailto:[email protected]] Sent: Thursday, December 7, 2017 5:04 AM To: [email protected] Subject: How can I get the page number of a word document? Hi,how can I get the page number of a word document? Thanks ZJR 发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用
