Problem while exporting to PDF

Hi,

Thanks for screenshot. Please also attach your full xls file.

Here is the original XLS file (without the data which are not in keeping with the bug)

Hi,

We will try to provide a new version in this month. The new version will solve this issue, also it will support more shapes for toImage/Pdf feature, including the text object in your current template file.

Hi,

Good news !

Hi,

Since the bug is blocking the Prod, our users want to know a release date for the fix. A lot of time is lost modifying excel charts to obtain an excel source file without bugged items.

Kind regards, Guillaume

Hi,

Will you please test your issue with the latest released version: Aspose.Cells for Java v2.5.4.21

I will update your issue with your feedback and increase the priority.

Hi,

I just come to test the latest version 2.5.4.21.

Unfortunatly, it doesn't fix any of my issues :

- TextBox are still not displayed

- Some images are larger than expected.

In addition (I don't know if it was already bugged in previous version), when I export in XLS format, TextBox are duplicated.

The new one is bordered by a black line and background is opaque.

The old one is hidden behind the new one.

Attachment illustrates an exemple of duplicated Text Box.

Kind regards

Hi,


Well, for: Bugsheet2.xls

I can find the issues, e.g
- TextBox are still not displayed
- Some images are larger than expected.

And for: duplicatedTextBox.xls

We found the issues, we will figure them out soon.

Thank you.

Hi,

For this issue, we will provide the new version at the begin of next month.

Hi,

Please try our new release V7.0.0.0. In the new version we have made many enhancements. Also we have tested and confirm it has solved your issues.

Please download: Aspose.Cells for Java 7.0.0

Hi,

thanks you for the new release.

When I try to generate the PDF file I obtain following exception :

com.aspose.cells.CellsException: For input string: "."

at com.aspose.cells.vm.a(Unknown Source)

at com.aspose.cells.Workbook.a(Unknown Source)

at com.aspose.cells.Workbook.save(Unknown Source)

Can you tell me where does it come from ?

I have no error while I'm trying to generate into EXCEL_97_TO_2003 Format

Kind regards

Hi,


Well, it works fine with v7.0.0. Here is my sample code using your template file and attached you can find the output PDF file.

Sample code:
Workbook workbook = new Workbook(“duplicatedTextBox.xls”);
workbook.save(“output_duplicatedTextBox.pdf”, FileFormatType.PDF);

Well, it semms my version works diffrently :

License license = new License();

license.setLicense("Aspose.Cells.lic");

Workbook workbook = new Workbook("duplicatedTextBox.xls");

workbook.save("output_duplicatedTextBox.pdf", FileFormatType.PDF);

duplicatedTextBox.xls and output as attachment.

I get the Acrobat Reader error #14. (Error while opening it seems).

I tested it with java 1.6 and java 1.4, same result.

Works fine if I save in XLS97TO2003 format

Hi,

Please use the latest version as stated by Amjad.

Please download: Aspose.Cells for Java 7.0.0


Since I put the version 7.0, PDF dosn't work any longer at all.

Hi,


Now that is strange, could you open my attached output PDF file if it opens fine on your end.

Thank you.

Yes your last attachment works normally.

Is there any restriction on Acorebat Reader version ?

I use Websphere Application Server 6.0 (Java 1.4). I tried with WAS 7.0 (Java 1.6) with same result.

I tried with an empty xls file with just a cell filled, always the same result.

Hi,

We have tested your template files with IBM-JDK1.5 and Sun JDK1.4 and 1.5, both aspose.cells-7.0.0.jar of JDK1.4 and 1.5 can work fine, and the generated pdf also can be opened well. It is really strange that the jar cannot work at your side. Please try following options:
1. Set the correct font path at the start of your application by CellsHelper.setFontDirs() method
2. Make a standalone java application to execute following simple code:
Workbook workbook = new Workbook("duplicatedTextBox.xls");
workbook.save("output_duplicatedTextBox.pdf", FileFormatType.PDF);
Please just use java command to run the java application without WAS. That will helps to check whether issue is related with WAS enviornment.
3. Try the standalone java application with IBM JDK1.5 which we have verified that can work fine. If JDK1.5 can work but your 1.4 and 1.6 cannot, please send us your JDK1.4 or 1.6 so we can make further investigation.
Thank you.

The issues you have found earlier (filed as 29285) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi,

I've retest pdf generation with 1.4 1.5 1.6 jdk (SUN generic version) with and without RAD, Eclipse, direct command line with the same result.

The setFontDirs function didn't change anything.

I've tested with various xls fils with same result.