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

Autotext/Glossary support, and output to PDF

Thread ID:

Created:

Updated:

Platform:

Replies:

73128 Apr 21,2008 03:47 PM UTC Apr 23,2008 01:20 PM UTC WinForms 1
loading
Tags: DocIO
John Seguin
Asked On April 21, 2008 03:47 PM UTC

Hi,

I'm evaluating DocIO, and I have 2 critical requirements.

1. My project requires the use of AutoText (known as Glossaries in Word2007 format).

2. I also need to optionally output Word documents to PDF format. I realize that I may need to use DocIO in combination with your PDF product, but I'd like to know if there is the functionality for easy PDF output from the Word document format.

Thanks for your help.


Yavanaarasi G [Syncfusion]
Replied On April 23, 2008 01:20 PM UTC

Hi John,

Thank you for your interest in Syncfusion products.

1.Use of AutoText:

You can use the below code snippet for using AutoText.


[C#]

WordDocument doc = new WordDocument( );
IWSection sec = doc.AddSection();
IWParagraph par = sec.AddParagraph();
par.AppendField("EssentialDocIO", Syncfusion.DocIO.FieldType.FieldAutoText);
par = sec.AddParagraph();
//Save the file into disk.
doc.Save("sample.doc");



2.Word documents to PDF:

Currently we don’t provide direct conversion support from Doc to PDF. We have stopped support for this feature. In future implementation we will take care this kind of issues. Sorry for the inconvenience caused.

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.

http://websamples.syncfusion.com/samples/DocIO.Windows/73128/main.htm


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

Please let me know if you have any concerns.

Regards,
G.Yavana


CONFIRMATION

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.

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

;