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 Nov 20, 2017 12:44 pm

Hi there,

We are evaluating Spire.Doc to see if it is a product we wish to buy.

We are feeding in a WordML (.xml) file and trying to covert it to PDF.

Unfortunatly when we use the following code:

Code: Select all
 Document mydoc = new Document();
            mydoc.LoadFromFile("test2.xml", FileFormat.WordML);
            mydoc.SaveToFile("Spire.pdf", FileFormat.PDF);



The program crashed with the following error:

System.StackOverflowException was unhandled
Message: An unhandled exception of type 'System.StackOverflowException' occurred in Spire.Doc.dll


If we convert to FileFormat.DOC - it works, however fails to convert the images (are images not supported in WordML with Spire?

Please can you advise:
A) why won't it convert to PDF
B) are images supported when converting from WordML?

If you would like us to provide a sample WordML file that we are using - please can you provide an email to send it to? Thanks

lydecker
 
Posts: 1
Joined: Mon Nov 20, 2017 12:14 pm

Tue Nov 21, 2017 2:09 am

Hello,

Thanks for your post. Spire.Doc supports converting Word XML with image to PDF. To help us investigate further, please send your XML to support@e-iceblue.com.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Fri Nov 24, 2017 9:12 am

Hello,

Greeting from E-iceblue.
How is the issue going?
We will appreciate it if you could give us some feedback.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.Doc