Saving an excel file as pdf.xml

Received : 2007/11/11 15:40:29
Message : Hi,

We've purchased aspose.pdf, aspose.pdf.kit and aspose.cells for Java. But the statement workbook.save("MySpreadsheet.xml", FileFormatType.ASPOSE_PDF); is not working. Is there a fix for this?

Thanks,
Lakshmi


This message was posted using Aspose.Live 2 Forum

Hi Lakshmi,

Which version do you use?

I tried the following codes . It works fine.

Workbook workbook = new Workbook();
Cells cells = workbook.getWorksheets().getSheet(0).getCells();
cells.getCell("A1").setValue("Hello World!");

workbook.save("F:\\FileTemp\\MySpreadsheet.xml",FileFormatType.ASPOSE_PDF);

Hi,

I downloaded the 1.9.0 version of Aspose.Cells and everything works fine now. Thanks.