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.

Thu Aug 06, 2015 6:06 pm

Hi,
I'm currently evaluating Spire for creating word and pdf documents. I've been testing some sample layouts using tables and have come across an issue when saving the documents to pdf. I'm trying to create a table that looks something like the table in the CreatedWithWord2013.docx document that is in the attached sample. I can create a docx using Word 2013 and use Spire to convert it to pdf and everything looks fine. I can create the document using Spire and save it to a docx which looks fine but the table does not look correct when saved to a pdf.
When examining the contents of the docxs, there are a couple of differences in the tables created with Word 2013 and the version created with Spire:
1. Number of columns
- Word 2013 = 4 columns
<w:tblGrid>
<w:gridCol w:w="1080"/>
<w:gridCol w:w="4320"/>
<w:gridCol w:w="3240"/>
<w:gridCol w:w="2160"/>
</w:tblGrid>
- Spire = 7 Columns (seems to include extra columns for the merged cells)
<w:tblGrid>
<w:gridCol w:w="1080"/>
<w:gridCol w:w="4320"/>
<w:gridCol w:w="2700"/>
<w:gridCol w:w="540"/>
<w:gridCol w:w="2700"/>
<w:gridCol w:w="2160"/>
<w:gridCol w:w="2700"/>
</w:tblGrid>
2. Use of "gridSpan" versus "hMerge"
- Word 2013
<w:gridSpan w:val="2"/>
- Spire
<w:hMerge w:val="continue"/>
And
<w:hMerge w:val="restart"/>
Saving to pdf will be a major requirement for us and before we buy a license I would like to know if there is something that can be done to make this work.
I've attached a sample console app to illustrate the problem.
Thanks,
Mark

markeye3
 
Posts: 27
Joined: Wed Jul 29, 2015 5:59 pm

Fri Aug 07, 2015 3:08 am

Hello,

Thanks for your inquiry.
I have noticed your issue. And I have posted the issue to our dev team. We will inform you when it is fixed. Sorry for the inconvenience.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Mon Aug 24, 2015 7:25 am

Hello,

Sorry to keep you waiting.
The new version of Spire.Doc ( Spire.Doc Pack(hot fix) Version:5.5.71 ) solved your issue has been released. Please download it via link below and have a try.
http://www.e-iceblue.com/Download/download-word-for-net-now.html

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Wed Aug 26, 2015 9:58 am

Hello,

Have you tried the Spire.Doc Pack(hot fix) Version:5.5.71?
Has your issue been resolved?
Thanks for your feedback.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Thu Aug 27, 2015 2:56 pm

Thanks Sweety, so far looks it good.
Thanks,
Mark

markeye3
 
Posts: 27
Joined: Wed Jul 29, 2015 5:59 pm

Fri Aug 28, 2015 3:38 am

Hello,

Please feel free to contact us, if you have any questions or needs. We are here for help.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.Doc