mshakeel.faiz: Hi,
For the issue of font for JDK1.4, I think we have pointed it out and given solution for you at another post thread of you:
Link to this post.
I'm not sure the 'business user' have rights over font path in my prod environment on the unix server.
And as I don't know the default font used to generate the PDF with JDK 1.5/6, I can't embed it into the jar.
Amjad Sahi:
Hi,
"Last question:
In textbox, why line is not wrapped by works like in the xls file ?"
Could you give us template file(s) and sample code to show the issue, we will check it soon.
Thank you.
Here are exemples files.
The first textbox has been generated by aspose while the scond one has been build by excel
Kind regards
Hi,
Thanks for providing us the template file and output PDF document.
I can notice the issue as you pointed out regarding text wrapping in the first TextBox in the PDF file.
Sample code:
Workbook workbook = new Workbook(“demo2.xls”);
workbook.save(“demo1.5.pdf”, SaveFormat.PDF);
I have logged a separate ticket with an id: CELLSJAVA-40161. We will soon look into it.
Thank you.
Hi,
We have fixed this issue.
Please download and use the latest version: Aspose.Cells for Java v7.1.2.5
We have made improvement for the wrapped text for the generated pdf.
Hi, it seems to work for the wrapping in textbox.
Here is (I hope), the ultimate bug I’ve found :
One of my chart isn’t displayed when converted in PDF, please see attached files and code
LoadOptions load = new LoadOptions();
load.setLanguageCode(CountryCode.USA);
load.setRegion(CountryCode.USA);
Workbook book = new Workbook(“c:\demo.xls”,load);
PdfSaveOptions save = new PdfSaveOptions();
save.setPrintingPageType(PrintingPageType.IGNORE_BLANK);
book.save(“c:\demo.pdf”, save);
I though it was a Local issue, that’s why I forced to USA.
Using JDK 1.5, Aspose.CELL 7.1.2.5
Kind regards
Hi,
Well, it works fine with v7.1.2.5 (Java), the chart is rendered fine in the output PDF. Here is my sample code and please find attached the output file for reference.
Sample code:
Workbook workbook = new Workbook(“demo.xls”);
workbook.save(“demox.pdf”);
Thank you.
I tested by switching to english standards and format in Windows preferences but it is not suitable for production.
By the way, it seems following code is ignored or bugged (quite the same)
LoadOptions load = new LoadOptions();
load.setLanguageCode(CountryCode.USA);
load.setLocale(Locale.US);
load.setRegion(CountryCode.USA);
Well, setting Locale to english seems to be bugged (Windows pref are still used) and the pdf generation is bugged since in French Locale, the chart is not displayed
Kind regards
Hi,
It seems to me an issue with French Locale or something else. We need to investigate it, our concerned developer will do it. Once we have any update, we will let you know here.
Thank you.
Setters are ignored, there is an issue on this point too, not only French Locale
I mean, those setters are there to overwrite the locale and others points, but they don’t
The issues you have found earlier (filed as CELLSJAVA-40161) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.