Html. Yes,No,Maybe

2 posts, 0 answers
  1. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 23 Dec 2015 Link to this post

    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.




  2. Boby
    Boby avatar
    588 posts

    Posted 23 Dec 2015 Link to this post

    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.

Back to Top