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

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

1 Answer 110 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Frantz
Top achievements
Rank 1
Frantz asked on 10 Jul 2016, 04:25 PM

Hi,

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?

Thanks

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 11 Jul 2016, 08:23 PM
Hi,

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


Regards,
Stanimir
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.
Tags
Editor
Asked by
Frantz
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or