Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Fri Jun 10, 2022 2:29 pm

After updating to the latest Spire.Office NuGet package, HTML lists (<ul></ul>) inserted into Word paragraphs by calling AppendHtml() have huge whitespaces in between lines. I discovered that turning off the new engine fixed the issue.

pbo
 
Posts: 19
Joined: Fri Oct 23, 2015 1:46 pm

Mon Jun 13, 2022 7:15 am

Hi,

Thank you for your inquiry.
I did an initial test but didn't reproduce your problem. The space between lines is correct in content control. Please provide the following information to help us further investigate your issue. You can send your document to us via email (support@e-iceblue.com). Thank you in advance.
1) Your full testing code and your generated documents.
2) Test environment, such as win10, 64bit.
3) Application type, such as Console App, .NET Framework 4.8.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Sat Jun 18, 2022 7:37 am

I've sent an e-mail with more information. It seems to be related to \n characters inside the html. Having all the html as a single line fixes the issue. But i believe it should be alright to have \n characters inside your html source.

pbo
 
Posts: 19
Joined: Fri Oct 23, 2015 1:46 pm

Mon Jun 20, 2022 10:15 am

Hi,

Thank you for your reply.
I still can't reproduce your problem with the New Engine. Here I attached my test demo and output document for your reference. Please run my demo on your side and tell us your result.
Download link: https://www.e-iceblue.com/downloads/demo/Demo29735.zip

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Fri Sep 09, 2022 10:12 am

Hi,

Thanks for your patience.
Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version:7.9.0 which fixes your issue SPIREDOC-8019.
Please download the fix version from the following links to test.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/7.9.0

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Return to Spire.Doc