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

Free Support Forum - aspose.com

Split document page wise using Java


We already have code of parsing docx and split it as meaningful paragraphs.
We want to show docx’s preview for selected paragraph.
I found this library. and tested it. It is very good to convert docx to split html.
But I can not find the way to match paragraph to split html correctly.

Can I get docx parsing tree with actual page number? actual page number means page number when printing or page number when conversion with HtmlFixedSaveOption


With Aspose.Words, you can extract specific content from the document, split document’s pages into separate document, and use layout API to access information such as on what page and where on a page particular document elements are positioned. We suggest you please read the following articles.
Aspose.Words Document Object Model
How to Extract Selected Content Between Nodes in a Document

Could you please ZIP and attach your input and expected output documents along with some more detail of your issue? We will then provide you more information about your query.