Hi,
I wrote a code to convert ODT file into PDF format but generated pdf doesnot not show any content. The ODT file contains some graphics and table formatted data. If I try to convert plain text ODT file into PDF, the generated PDF shows correct format and data, but no luck for graphics file.
Here is code
Document doc = new Document("C:\\SUSE.odt");
PdfOptions options = new PdfOptions();
options.setHeadingsOutlineLevels(3);
options.setExpandedOutlineLevels(1);
options.setTrueTypeFontsFolder("C:\\Fonts");
doc.saveToPdf(0, doc.getPageCount(), "C:\\SUSE.pdf", options);
Can anyone help