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.

Wed Jul 13, 2016 2:19 pm

Hello,

I have a project where I need to convert different types of files to PDF and merge them.
Among these files there are files in the open XML format (.docx) who are created using data-binding.

When I try to convert these files I get a NullReferenceException.

Does Spire support these files?

Kind Regards,

Bastiaan

bsnetit
 
Posts: 5
Joined: Mon Jul 11, 2016 2:30 pm

Thu Jul 14, 2016 2:42 am

Dear Bastiaan,

Thanks for your inquiry.
Spire.Doc supports the open XML format file, please provide us these files and codes you were using. It would be very helpful to investigate this issue, thanks.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Mon Jul 18, 2016 8:51 am

Dear Betsy,

In attachement you can find the code I use to convert the open-XML file to a pdf-stream.
Normally I'd merge the stream with other streams into one pdf document after the conversion.
When I save this stream to a file, I can save a document, but the databindings aren't shown correctly.
Instead, the placeholder text of the controls is shown.

I also include an example of an open-XML file with databindings that I'd wish to convert.

Kind regards,

Bastiaan Smis

bsnetit
 
Posts: 5
Joined: Mon Jul 11, 2016 2:30 pm

Mon Jul 18, 2016 9:19 am

Dear Bastiaan Smis,

Thanks for your information.
I have noticed your issue getting a NullReferenceException with the file Agenda.docx when save it as PDF and posted it to our Dev team. We will inform you when it is fixed. But I didn't notice the other issues you mentioned, is the sample document different ?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Mon Jul 18, 2016 9:45 am

Hi Betsy,

You are correct, I'm also getting a Nullpointer exception.
I'm trying different tools to solve my problem but none have been able to do so far.

I hope you can help me.

Kind regards,

Bastiaan

bsnetit
 
Posts: 5
Joined: Mon Jul 11, 2016 2:30 pm

Tue Jul 19, 2016 2:26 am

Dear Bastiaan,

Thanks for your reply.
We will inform you when the issue getting a NullReferenceException is fixed. Sorry for inconvenience caused by the issue.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Thu Aug 11, 2016 7:31 am

Dear Bastiaan,

Thanks for your waiting.
We just release Spire.Doc Pack(hot fix) Version:5.7.72 which resolves the issue you mentioned, welcome to test it.
If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Wed Aug 17, 2016 7:56 am

Dear Bastiaan,

Did you test the hotfix ? Did it resolve the issue ?
Thanks for your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.Doc