I’ve got the attached Excel-File as a basis for my converstation. I try to convert it to an PDF with the following Java-Code:
//Instantiate the Workbook object
Workbook workbook = new Workbook();
//Save the document in Aspose.Pdf.Xml format
//Bind the XML file (containing spreadsheet data) with the Pdf object
Pdf pdf = Pdf.bindXML(new FileInputStream(“MySpreadsheet.xml”));
//Create the PDF document by calling its Save method
However, the resulting PDF looks strange - the data from the Excel-File is all black. Please see attachment PDF.
I hope you can help.
Here is the XML that is generated using the above mentioned code - it looks good, doesn’t it?
And this is the generated PDF! It looks strange, doesn’t it?
Any help will be appreciated!
Thanks for the template files.
We found the issue and will fix it soon.
Thanks for being patient!
thanks for the update. Please drop me a note as soon as you have fixed it.
Please try the fix (184.108.40.206) attached @ the thread: http://www.aspose.com/community/forums/122085/exception-on-getstringvalue/showthread.aspx#122085
Note: Currently PageSetup headers / footers are not supported when Excel2Pdf conversion is done for java. We will support this feature soon.
It works. Thanks for your fast help and your fast and good support.