We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Excel2Pdf with Hebrew support

Hi,


We also encountered a problem converting Excel to PDF.
The Hebrew in the graphs is writen in reverse order (see attachment).

Another HTML2PDF issue: pdf.HtmlInfo.PageWidth&PageHeight don’t seem to have any effect

Please advise.

Hi Dvir,


Thank you for considering Aspose APIs.

We have evaluated your presented scenario from Aspose.Cells perspective while using the latest version of Aspose.Cells for .NET 8.3.1.3. We are able to replicate the problem of Hebrew text in the chart title and legend getting reversed in the resultant PDF. The aforesaid problem has been logged in our bug tracking system under the ticket CELLSNET-43267 for further investigation and correction purposes. Please spare us little time to isolate the problem cause, and to provide the fix at earliest possible. In the meanwhile, we will keep you posted with updates in this regard.

dvirP:
Another HTML2PDF issue: pdf.HtmlInfo.PageWidth&PageHeight don't seem to have any effect

You are probably using Aspose.Pdf for .NET API to render HTML in PDF format so we are going to move this thread to Aspose.Total support forum for better coverage. Our colleagues from the concerned department will shortly get back to you with updates in this regard.
Hi Dvir,

Thanks for your inquiry.

dvirP:

Another HTML2PDF issue: pdf.HtmlInfo.PageWidth&PageHeight don't seem to have any effect

Please advise.

Please check following code snippet for setting page dimensions in HTML to PDF conversion. Hopefully it will help you to accomplish the task.

HtmlLoadOptions htmloptions = new HtmlLoadOptions(basePath);

htmloptions.PageInfo.Width = 900;

htmloptions.PageInfo.Height = 590;

// load HTML file

Document doc = new Document("test.html", htmloptions);

doc.Save(myDir + "HTMLtoPDFDOM.pdf");


Please feel free to contact us for any further assistance.


Best Regards,

Hi,



As we mentioned in Rosette’s post:
Html2Pdf with Hebrew support
The Document object is not working us.
Running the code without "htmloptions.InputEncoding = “UTF-8”'
results in the following exception:“המערכת התריעה על חריג מסוג ’ . '.” which means that the system is allerting on an exception of type ’ . '
and adding "htmloptions.InputEncoding = “UTF-8"” results in the following ArgumentException: "At most 4 text fragments can be added in evaluation mode."
So i can’t test the code that you have attached with our Hebrew test data.

Also worth noting, when I attempted to load a file not in “UTF-8” format, the pdf.save method stopped the flow instead of returning some sort of exception, Didn’t analyse the bug to see if it was an enless loop or a waiting thread but either way it’s not good.




Hi Dvir,


Thanks for your feedback. In reference to mentioned post, we have already noticed the Hebrew support issue in HTML to PDF conversion and logged a ticket PDFNEWNET-38021 in our issue tracking system for rectification. We will keep you updated the issue resolution progress.

Moreover, you are getting ArgumentException: “At most 4 text fragments…” because of evaluation mode limitation. you may request a 30 days temporary license to evaluate Aspose.Pdf without any limitation. Please try no UTF-8 format HTML with license implementation, hopefully it will resolve the issue. However if issue persist then please share your sample HTML file here, we will test the scenario at our end and will provide you more information accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Hi,


Please try our latest version/fix: Aspose.Cells for .NET v8.3.1.4 (attached)

Issue regarding Hebrew text being reversed in the chart while
rendering spreadsheet to PDF is sorted out now.

Let us know your feedback.

Thank you.

can I have a 3.5 version?

Hi,


Well, we are scheduled to release our next official release of the product (Aspose.Cells for .NET v8.3.2) in the next week, you will be notified here once the release is published in the Downloads module, so you could install it and get your desired version from the relevant directory at your installation location.

Thank you.
Hi,

patch seems to do the job on the current test sample
thank you for the quick reply

Hi,


Good to know that it figures out your issue now. Feel free to write back in case you have further comments or questions, we will be happy to assist you soon.

Thank you.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.