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

tool to design word like document .

is any body have link of tool to design word like document using syncfusion documents, that also has merge fields option. so that we can integrate that within our application to design and save word like templates.




5 Replies

PR Poorani Rajendran Syncfusion Team September 6, 2019 04:08 PM UTC

Hi Raman,

Thank you for contacting Syncfusion support.

Regarding tool to design word like document
:
Essential DocIO is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries to iterate with the document elements explicitly and perform necessary manipulation.
Essential DocIO is a native .NET Word library that is used by developers to create, read, write, and convert the Word documents.

Regarding has merge fields option:
You can create a Word document template using Microsoft Word application or by adding merge fields in the Word document programmatically.

Please refer the below UG documentation link to know more about working with TextFormField in Word document using DocIO:
https://help.syncfusion.com/file-formats/docio/working-with-mail-merge

Kindly provide us the following details,
1.Could you please confirm us whether you need to design Word document template with the help of UI component
2.Kindly, provide us whether you are designing the Word document in Windows Forms ot other platforms?
3.Could you please share us the simple template.

Based on the above details, we will check the feasibility to achieve your end requirement and provide you the proper solution at the earliest.

Please let us know if you have any other quires.

Regards,
Poorani Rajendran



SI singh September 9, 2019 04:43 AM UTC

1.Could you please confirm us whether you need to design Word document template with the help of UI component

yes i want to design word like document with the help of .net application ui .

2.Kindly, provide us whether you are designing the Word document in Windows Forms ot other platforms?

i had used tx text control Ui to design template. in another application on another project , like that control i want to design  same word document for mail merge option but now i do not have tx text control licensee and dont want to use it right now.

3.Could you please share us the simple template. in template we can have table format Merge fields , simple merge fields. ETC.

template attached. 



Attachment: Letter_Formatting_7798d9c2.zip


PR Poorani Rajendran Syncfusion Team September 9, 2019 12:07 PM UTC

Hi Raman,

Thank you for your update.

To meet your requirement, we suggest you use SfRichTextBocAdv control to view and edit the content in Word document and can import and export the Word documents. And you can perform mail merge in Word document programmatically using Essential DocIO. We have prepared a sample application for the same and it can be downloaded from the below link:
https://www.syncfusion.com/downloads/support/forum/147338/ze/InsertMergeField-1804901966

Note: Please find the input Word document in the “Sample” folder of above sample application.

In this sample, we have done the following things:
1. Loads an existing template Word document.
2. Click “Mail merge” button to perform mail merge process for the input Word document
3. Click “Insert merge field” button to insert mail merge field in the Word document.
4. Click “Save Document” button to save the Word document.
5.Saves and closes the Word document instance.

Please refer the below documentation link to know about how to use WPF SfRichTextBoxAdv control in Windows Forms application

https://www.syncfusion.com/kb/5909/how-to-use-wpf-sfrichtextboxadv-control-in-windows-forms-application

Please let us know if you have any other questions.

Regards,
Poorani Rajendran
 



SI singh replied to Poorani Rajendran January 26, 2022 01:05 PM UTC

Hello sir/madam;


1) can we use docios to mail merge table contents and show total of table contents on each page.

i want to show subtotal on each page.

like if table contents has 100 rows. and the contents are shown on 2-3 pages .. then to show totals on each page.

sample attached


2) Do you have now ms word like UI tool to design document template. like shown in sample.

i want to design this using our .net application. not from ms word.




MR Manikandan Ravichandran Syncfusion Team January 27, 2022 02:40 PM UTC

Hi Raman,

The Word document is a flow document in which contents will not be preserved page by page; instead, the contents will be preserved sequentially section by section. Each section may extend to various pages based on its contents like table, text, images etc. So, we unable to calculate or find the page wise quantity or subtotal using DocIO.

Reg - Do you have now ms word like UI tool to design document template. like shown in sample.
Yes, we have an Editor control to open and edit the Word document and again save as Word document formats.

Please refer the below link to know more about the same.
https://ej2.syncfusion.com/aspnetcore/DocumentEditor/Default#/bootstrap5
https://ej2.syncfusion.com/aspnetcore/documentation/document-editor/getting-started-core

Regards,
Manikandan Ravichandran
 


Loader.
Live Chat Icon For mobile
Up arrow icon