Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Feb 14, 2020 11:58 am

Hello,

I using Spire.XLS 10.1.8.
When converting .xltx to PDF, I noticed that cell text alignment was not applied correctly.

See src.xltx and out.pdf.
If the text alignment of cells is set to Distributed in Horizontal, it will not be applied correctly when converted to PDF.
Vertical seems to work correctly.

Code: Select all
using (var wb = new Workbook())
{
    wb.LoadTemplateFromFile("src.xltx");
    wb.SaveToFile("out.pdf", FileFormat.PDF);
}


Is there a solution for this problem?

Thanks in advance.
Attachments
20200214_0.zip
(35.2 KiB) Downloaded 183 times

nf64
 
Posts: 24
Joined: Fri Aug 17, 2018 1:45 am

Mon Feb 17, 2020 2:13 am

Hi,

Sorry for late reply as weekend.
I have reproduced the issue and logged it in our bug tracking system with the ticket SPIREXLS-2121. We will let you know once it is fixed.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Mar 26, 2020 7:49 am

Hello,

Thanks for your patient waiting.
The bug SPIREXLS-2121 has been fixed now. Welcome to download the newly released Spire.XLS Pack(Hotfix) Version:10.3.8 from the following link.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.XLS/10.3.8

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Tue Mar 31, 2020 2:23 am

Hello.

We have confirmed that this has been fixed.
I am always grateful for your help.

nf64
 
Posts: 24
Joined: Fri Aug 17, 2018 1:45 am

Tue Mar 31, 2020 2:43 am

Hello,

Thanks for your feedback.
If you need further assistance, just feel free to contact us.
Wish you all the best!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.XLS