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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DOC TO PDF - Word Wrap

Thread ID:





71805 Feb 13,2008 11:33 PM UTC Mar 25,2008 10:07 AM UTC ASP.NET Web Forms (Classic) 5
Tags: PDF
Viraj Doshi
Asked On February 13, 2008 11:33 PM UTC

i m having a problem when generating a pdf file from a word document.

When i generated the pdf, the lines in the pdf file break strangely.

Plz go through the attached zip file. you need to put "syncfusionTest.doc" in c:\ so the code can read it.

Once the pdf is generated, you will come to know what i mean. the line alignment is not the same.



Vishnu Kumar [Syncfusion]
Replied On February 14, 2008 11:48 AM UTC

Hi Viraj,

Thanks for the sample.

Issue : problem when generating a pdf file from a word document.

We do not provide support for PDF logical model and Doc to PDF conversion. We do not officially supported converting Word documents to PDF. However, we provided as a utility to do this conversion. Only for those documented generated using by our DocIO. But now we have removed support for these features. Sorry for the inconvenience.

Version 5.2 of Essential PDF is a complete rewrite, so the APIs are not compatible with the previous version of Essential PDF. For applications that use all previous versions of Essential PDF, please refer to Syncfusion.Pdf.Legacy.Base.dll which is included with v6.1 for maintaining compatibility and your application should work without any problem. We recommend using new library for any new development work since it will be actively supported and enhanced. We regret for the inconvenience caused.

Please take a look into the release notes for more information:

Please let me know if you have any other questions.


Viraj Doshi
Replied On February 15, 2008 09:29 PM UTC

Hi Vishnu,
Thanks for your reply.

I m not sure what to do now. we have the compoent running live in our system and this bug is causing the problems.

R u suggesting me to upgrade to version 5.2 ? I m looking to generate pdf files from word documents nomatter how do i do it and with what versoin i do it. Can u suggest me a work around ? is there any link or resource or tutorial that u can provide me which would help me to generate a pdf from database values runtime ?

If i do not convert word to pdf (in that case, i have t rewrite the whole logic again), will i get the correct result ?


Administrator [Syncfusion]
Replied On February 18, 2008 12:19 PM UTC

Hi Viraj,

Thank you for your patience.

Issue : problem when generating a pdf file from a word document.

The new version of Essential PDF has been designed for ease of use and performance but will lack some features available in the old version. We do not provide support for PDF logical model and Doc to PDF conversion .The new version of PDF does not support reading PDF documents, however it will be added in future release. Sorry for the inconvenience.

But you can read the word document into PDF using DocIO library. This can be achieved by enumerating the document elements and write its content into PDF.

Please refer the sample below and let me know if this helps.


But you need to manually control the document elements in the PDF document.

Please let me know if you have any other Concerns.


Replied On February 26, 2008 08:05 PM UTC

Thanks for the reply.

I m attaching a samle document which contains the placeholders and some static text. I want to generate pdf using C# code and the placeholders would be populated with database values.

I was donig this using pdfLogicDocument but i found out from your website that pdfLogicDocument bugs are not suppported any more. now my question is, how can i generate a pdf on runtime by reading a word document, injecting database values and outpout it as pdf. what version should i use ? i currently have v4.4.0.51. I do not have problem upgrading to latest version but once i do that, the output of the pdf files should be consistent. The pdf should look same as the original word document. only the placeshoulder should be placed at runtime with database values. The output pdf also needs to contain bulleted list items (from the database).

plz guide me how to do this. Thanks


Administrator [Syncfusion]
Replied On March 25, 2008 10:07 AM UTC

Hi Viraj,

Thanks for the update.

As we said in the last update we have stopped support for PDFLogicalDocument and Doc to PDF support. Due to some issues and we don't have any immediate plan to implement this feature.

Sorry for the inconvenience.

Please let me know if you have any other questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon