We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Excel richText to PDF

Thread ID:

Created:

Updated:

Platform:

Replies:

114103 Oct 29,2013 05:11 AM Nov 13,2013 12:01 AM WPF 5
loading
Tags: XlsIO
JEAN MICHEL CAMIZON
Asked On October 29, 2013 05:11 AM

Hi,

I'm using XlsIO and it's working great so far, but I ran into a problem.
I have two different fonts on one cell, to achieve that I used richText and in excel it works. But when I convert my xlsx file into a PDF with ExcelToPdfConverter, it seems that the richText is not recognize and i end up with only one font, the first of the two.

Is there a way to convert excel richText to PDF ?

Sridhar [Syncfusion]
Replied On October 30, 2013 05:50 AM

Hi Jean Michel Camizon,

Thank you for using Syncfusion prodcuts.

Please try the sample at your side by enabling the EmbedFonts property available with ExceltoPDFConverter settings.

Code Snippet[C#]:

ExcelToPdfConverterSettings setttings = new ExcelToPdfConverterSettings(); ;           

setttings.EmbedFonts = true;

 

If you still face the issue, please get back to us with the excel file with RichText Fonts so that we are able to proceed further on this.

 

Please let us know if you need any further assistance.

 

Thanks,

Sridhar.S


JEAN MICHEL CAMIZON
Replied On October 31, 2013 05:58 AM

I tried with EmbededFont = true but it didn't change anything.

I attached a sample with a single line of text with multiple style change.


richText_5cf5c50c.zip

Sridhar [Syncfusion]
Replied On November 6, 2013 11:59 PM

Hi JEAN MICHEL CAMIZON,

We are able to see the given excel file with rich text are converting to PDF document properly in the latest version 11.3.0.30. Could you please test the sample at your side with the latest version 11.3.0.30 and let us know if this helps you.

 

If you still face the issue, please revert back to us with the .Net Framework version, Essential Studio version so that we are able to proceed further on this.

Thanks,

Sridhar.S


JEAN MICHEL CAMIZON
Replied On November 12, 2013 03:32 AM

I  upgraded my syncfusion version and now the richtext format is correct on the PDF.
But, the cell where the richText is lost its alignement after the PDF conversion.
For example if my text is half red and half green centered left, in the PDF converted document it'll keep its color but the alignement will be deleted.

Maybe I'm missing something here, a settings or else.

Sridhar [Syncfusion]
Replied On November 13, 2013 12:01 AM

Hi JEAN MICHEL CAMIZON,

Thank you so much for your patience.

We are able to reproduce the above reported RTF issue with ExceltoPDFConverter. Please open a new direct-trac incident with a simple issue reproducing excel file (Text with half red and half green) for further follow up on this issue.

Direct-Trac Link:
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you need any further assistance.

Thanks,

Sridhar.S


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;