How-to keep MS-Word formatting (or make the least changes) on ImportContent

2 posts, 0 answers
  1. Frantz
    Frantz avatar
    1 posts
    Member since:
    Apr 2012

    Posted 10 Jul 2016 Link to this post


    I am using RadEditor to load a DOCX, replace a few strings with RadFlowDocumentEditor on the ImportContent event, and then export to DOCX.

    I am only using the Editor to view the replaced values before exporting to DOCX and I find that layout and formating have changed during the process.

    For now, using RTF instead of DOCX and setting Import StylesMode to Inline has brought the best results but some formatting issues remain (tables, numbering, etc.).

    How can I make RadEditor perform the least changes?


  2. Stanimir
    Stanimir avatar
    1654 posts

    Posted 11 Jul 2016 Link to this post


    Thank you for contacting us. What you can try is disabling all the editor's content filters and strip formatting options. You can find helpful information on how to do this in the following online resources:

    Editor - Built-in Content Filters
    Content Filters

    Editor - Cleaning MS Word Formatting
    Clean MS Word Formatting

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top