I'm using aspose to transform an xls to pdf file and I have problems with accents of the generated file. Attached the original xls file, the pdf file Aspose transformed and transformed by OppenOffice pdf file that does recognize the sources to make the transformation.
The way I do the transformation is:
Workbook workbook = new Workbook(templateFile); //Define PdfSaveOptions PdfSaveOptions saveOptions = new PdfSaveOptions(); //Set the compliance type saveOptions.setCompliance(PdfCompliance.PDF_A_1_B);
CellsHelper.setFontDir(stringFontDirPath);
//Save the document in PDF format workbook.save(fileName, saveOptions);
I'm testing in tomcat7 in debian.
thank you very much in advance.
Hi Fernando,
Thanks for your reply, it works good.
Hi Fernando,