We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Pagination issue

I'm converting, with DocIO, a Word document to PDF, but I'm having pagination issues in the resulting file as you can see from the attached files.
How can i solve the problem?
Thank you.

Attachment: Attachments_40b800e9.zip

2 Replies

DB Dilli Babu Nandha Gopal Syncfusion Team December 7, 2018 04:51 AM

Hi Pio, 

We can reproduce the reported pagination differences when converting the given Word document into PDF. On further analyzing the input Word document, the pagination differences was caused due to the words split to next line in the justified aligned paragraph. 

Microsoft Word maintains two different line engines for layout and render the justified paragraphs by adjusting its lines inter word spacing. One engine is used in Word 2010 and below versions, another one is used in Word 2013 and higher version. 

Both engines using separate algorithm for calculating inter word spacing to align the justified text. Currently, Word 2013 justification algorithm in DocIO is not 100% equal to Microsoft Word. That means our word splitting algorithm slightly mismatched with Microsoft Word 2013, word splitting algorithm. So, the last word of some lines may move to the next line. 

This is the reason for the words split to next line while converting given Word document as PDF using DocIO. We don’t have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features.  We will let you know when this feature is implemented. 

Regards, 
Dilli babu. 



MR Manikandan Ravichandran Syncfusion Team October 6, 2020 07:07 AM

Hi Pio,

We have improved Word 2013 Justification algorithm in Word to PDF/Image conversion and this enhancement was included in our 2020 Volume 3 release v18.3.0.35.

We are glad to announce that our Essential Studio 2020 Volume 3 release v18.3.0.35 is rolled out and is available for download under the following link.
https://www.syncfusion.com/forums/158306/essential-studio-2020-volume-3-release-v18-3-0-35-is-available-for-download

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Manikandan Ravichandran 


Loader.
Live Chat Icon For mobile
Up arrow icon