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.

Mon Feb 13, 2023 12:55 pm

Hi,
we are dynamically generating a PDF file starting from a basic Word file (attached) and as a result we would like to obtain the Magazine.pdf file (attached), unfortunately the Magazine.pdf file requires manual corrections because the original file generated by Spire.Doc it's full of bugs (MagazineTest.pdf file attacched): as you can see, in addition to not being formatted well, the system duplicates pages from 4 to 24, also adding a blank page at 25.

Why does this error happen? We checked the source code and there is no duplication, we also noticed that if we debug step by step it doesn't happen, vice versa if we run the code directly or online this bug occurs. As initially said, it is a bug already present in the spire.doc version of 2019 as well as this one just purchased. Could you kindly give us feedback? I am also attaching the source code so you can check it out. Thank you

We look forward to your kind reply

awm
 
Posts: 9
Joined: Tue Oct 06, 2015 12:07 am

Tue Feb 14, 2023 12:13 pm

Hello,

Thanks for your inquiry.
After preliminary testing, I didn’t reproduce your issue, are you using the latest version Spire.Doc 11.1.4? If you don’t use it, please update to it and test your scenario again, if the issue still exists, please offer the following message, thanks for your assistance in advance.

1) Please offer your test project that can reproduce your issue and includes all input files and complete code, you could upload your project to the DropBox or OneDrive and then share the download link with us.
2) Your test environment, such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese).

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 860
Joined: Tue Mar 08, 2022 2:02 am

Wed Feb 15, 2023 9:56 am

Hello,

Greeting from e-iceblue.
Could you give some feedback about your issue at your convenience? If your issue still exists in the latest version of Spire.Doc, please offer the following message, thanks for your assistance in advance.

1) Please offer your test project that can reproduce your issue and includes all input files and complete code, you could upload your project to the DropBox or OneDrive and then share the download link with us.
2) Your test environment, such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese).

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 860
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.Doc

cron