We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to find end of page :

Dear Team,
I am using Aspose.words.jdk latest version for doc conversion. Is it possible to insert a node at every end of the page in a document ? After doc conversion into html, i need to differentiate the pages .

Regards,
Anbu.S


Hi Anbu,

Thanks for your request. Unfortunately, there is no direct way to find where page starts or ends. MS Word document is flow document and does not contain any information about its layout into lines and pages. So there is no way to determine where page starts or ends using Aspose.Words.

However, as a workaround you can try using PageNumberFinder class suggested by Adam in this thread:

http://www.aspose.com/community/forums/3/263257/add-image-to-word-document-s-each-page/showthread.aspx

Best regards,