Read Document by Page :

Dear Team,

I am using Aspose.words.java for document to html conversion. Is it possible to take ( n ) of pages from document and convert into html ?
If not suggest some ideas .

Thanks.

Hi
Thanks for your request. There is no way to read the document page by page because MS Word document is flow document and does not contain any information about its layout into lines and pages.
However, there is few options you can use, for instance you can split your document by Headings paragraphs. In .NET version you can achieve this using code like the following:

Document doc = new Document(@"Test001\in.doc");
HtmlSaveOptions opt = new HtmlSaveOptions(SaveFormat.Html);
opt.DocumentSplitCriteria = DocumentSplitCriteria.HeadingParagraph;
doc.Save(@"Test001\out.html", opt);

Unfortunately, this feature is not available in Java version yet. But the good news is that this feature will be available in the next version of Aspose.Words for Java that comes out in few weeks. We will notify you.
Best regards,

The issues you have found earlier (filed as 22540) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as WORDSNET-2978) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(16)