I am trying to convert OpenOffice documents (ODT, OTT, ODS) to HTML and PDF. My document contains some subscript and superscript text. In the HTML and PDF the text is not rendered properly, there is no subscript or superscript text. I have attached the test files. Each file has basically the same content just a different format.
Hi,
Hi Rob,
// Instantiate Document object<o:p></o:p>
com.aspose.words.Document doc = new com.aspose.words.Document("C:\\pdftest\\OTT.ott");
// Save PDF file
doc.save("C:\\pdftest\\OTT_Converted.pdf", com.aspose.words.SaveFormat.PDF);
//Instantiate Document object
com.aspose.cells.Workbook workbook = new com.aspose.cells.Workbook("C:\\pdftest\\ODS.ods", new com.aspose.cells.LoadOptions(com.aspose.cells.LoadFormat.ODS));
//Save PDF file
workbook.save("C:\\pdftest\\ODS_Cels.pdf", com.aspose.cells.SaveFormat.PDF);
workbook.save(“C:\pdftest\ODS_Converted.html”,
com.aspose.cells.SaveFormat.HTML);
Please take a look at your output files. In the table line 6 the text should be subscript. In line 7 the text should be superscript.
Hi Rob,
Yes, that is what I am referring too. The superscript and subscript text is the wrong size and not aligned in OpenOffice conversions. It does appear correctly in the Microsoft Office conversions.
Hi Rob,
- The problem related to ODT and OTT conversion to PDF and HTML format is logged in our issue tracking system as WORDSJAVA-1532.
- The problem related to ODS file to PDF and HTML is logged as CELLSJAVA-42264.
We are sorry for this inconvenience.
Hi,
The issues you have found earlier (filed as CELLSJAVA-42264) have been fixed in Aspose.Cells for Java 17.5.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as WORDSJAVA-1532) have been fixed in this Aspose.Words for .NET 17.7 update and this Aspose.Words for Java 17.7 update.