I need to parse a doc file into a HTMLfile.
I have created a Document object as follows :
Document document = new Document(file1);
ByteArrayOutputStream outStream1 =new ByteArrayOutputStream();
HtmlSaveOptions options = new HtmlSaveOptions(); options.setSaveFormat(SaveFormat.HTML);
On saving the resulting outputStream to a file, certain words in the original document are broken into different spans in the HTML.
The following was the expected HTML output :
This Services Schedule is effective as of the date signed by you in the signature block on the last page of this Services Schedule.
However the HTML generated by aspose is :
This Services Schedule is effective as of the date signed by you in the signature block on the last page of this Se
A lot of my code depends on the document being parsed correctly by aspose, and thus this is a critical bug for my application.
Any help with the same will be highly appreciated.
This solved the issue.
Thanks a lot, this made my day!