This is a migrated thread and some comments may be shown as answers.

Html. Yes,No,Maybe

1 Answer 67 Views
WordsProcessing
This is a migrated thread and some comments may be shown as answers.
lupotana
Top achievements
Rank 1
lupotana asked on 23 Dec 2015, 10:41 AM

Hi,
I've a simple target.
1) Import the template from a docx file 
2) Replace part of document with HTML
3) Save the document in docx (or pdf) format

I don't know if this is possible with Telerik components.

 

Thanks,
Marco

 

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 23 Dec 2015, 02:45 PM
Hi Marco,

You can import docx and HTML documents using RadWordsProcessing's format providers and create RadFlowDocuments. Then you can insert one of the documents into the other one. if this doesn't work for you, you can fine grain the insert by importing only the needed document elements and the insert them in the proper places using the document model.

Conversion to PDF is possible using the PdfFormatProvider. Note that this may require some complex layout operations, so the result may differ from what you see in MS Word or in the browser. We are currently working in the direction of improving the document layout, so you may expected improvements in this area in the future versions.

Regards,
Boby
Telerik
Tags
WordsProcessing
Asked by
lupotana
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or