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.

Tue Feb 05, 2019 7:35 am

Hi,

I have an issue with the licensed version of Spire.Doc for .NET. I am trying to save a .docx document to pdf with your library and it takes around 100 seconds to export the document.

This is the code:

Code: Select all
Spire.Doc.Document doc = new Spire.Doc.Document();
doc.LoadFromFile(@"d:\WordWith175pages.docx"); //5365 ms
doc.SaveToFile(@"d:\export_.pdf", Spire.Doc.FileFormat.PDF); //122984 ms


I have used another tools to export the document (online tools, printers, MS Word export,etc.) and these tools export the document to pdf in less than 10 seconds.

Can you help me with this problem? I am using the lastest version of Spire.Doc.

Best Regards,

cdf
 
Posts: 7
Joined: Tue May 22, 2018 7:40 am

Tue Feb 05, 2019 8:19 am

Hi,

Thanks for your inquiry.
Please share your input files for testing and further investigation.

Sincerely,
Betsy
E-iceblue support team
User avatar

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

Tue Feb 05, 2019 1:22 pm

Hi,

Thank you for your quick answer.
The input docx file has confidential data.

Can I send it you by email? If it is possible, please tell me an email.

Best regards,

cdf
 
Posts: 7
Joined: Tue May 22, 2018 7:40 am

Wed Feb 06, 2019 2:01 am

Hi,

Please send your file to support@e-iceblue.com via email. Then we will look into it and update you.

Sincerely,
Betsy
E-iceblue support team
User avatar

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

Wed Feb 06, 2019 7:53 am

Hi,

I have just send our file to support@e-iceblue.com.

I'm looking forward to your reply.

Best Regards,

cdf
 
Posts: 7
Joined: Tue May 22, 2018 7:40 am

Wed Feb 06, 2019 9:37 am

Hello Carlos,

Thanks for your file.
I have reproduced the issue and submitted it to our Dev team for further investigating and optimizing. We will share with you about any progress. Sorry for the inconvenience caused. At present, we are on New Year Holiday (from 04/02/2019 to 10/02/2019). Once our Dev team are back to work, they will look into your issue. Thanks for your understanding.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Mon Mar 04, 2019 2:03 pm

Hello,

Is there any update on this issue?

Best regards,

cdf
 
Posts: 7
Joined: Tue May 22, 2018 7:40 am

Tue Mar 05, 2019 1:59 am

Hello Carlos,

Thank you for following up.
I am sorry to tell that there is no significant progress yet due to the complexity of this optimization problem. Our Dev team would keep looking into it. Once there is any update, I will let you know. Thanks for your understanding.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Mon Mar 18, 2019 7:15 am

Hello Carlos,

Regarding your reported issue, I got the news from our Dev team that it is hard to do an optimization for the big file. Since based on our internal conversion mechanism, it need to get font information from system installed fonts according to the font used in Word document, this step costs a long time. However, in MS Word, the system font information has been integrated when installing and doesn't need to be got when doing conversion. Thus, converting by MS Word will be faster. Hope you can understand. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Sat Jul 24, 2021 6:33 am

Ref - Spire.doc Java (3.9.0)
It works pretty well with word document manipulation just that it takes so much time to load it into memory, approx 2 minutes for 150 pages docx file.
I have two questions:
1. Is it normal or it should not take this much time?
2. Only available latest Word format is 2013 in code, is there going to support for newer version as well in future?

kumarsaurav.15
 
Posts: 1
Joined: Sat Jul 24, 2021 6:17 am

Mon Jul 26, 2021 10:20 am

Hello Saurav,

Thanks for your inquiry.
Below are my answers to your questions.
1) Many factors have impacts on the loading speed, such as the file content complexity and you testing environment. To help us better investigate your issue, please provide your Word sample file and the testing environment ( E.g. Windows 10, 64bit, JDK1.8 ). You could attach your file here or send to us via email (support@e-iceblue.com). Thanks in advance.
2) Our Spire.Doc supports loading the higher version Word files like Word 2016 or above, but at present our Spire.Doc doesn't provide the FileFormat.Docx_2016 to specify the fileformat. We will consider adding this feature into our upgrade list, once it is achieved in the future, I will inform you immediately.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1650
Joined: Wed Apr 07, 2021 2:50 am

Fri Apr 21, 2023 8:06 am

Hello Saurav,

Thanks for your patience.
We just released Spire.Doc for Java Version:11.4.2, which supports Docx2016 and Docx2019 file formats. Welcome to test it.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1650
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc