diff --git a/angularjs/RichTextEditor/ImportAndExport.md b/angularjs/RichTextEditor/ImportAndExport.md index 08548631..7fbb774b 100644 --- a/angularjs/RichTextEditor/ImportAndExport.md +++ b/angularjs/RichTextEditor/ImportAndExport.md @@ -1,13 +1,13 @@ --- layout: post -title: Import and Export in RichTextEditor widget -description: Import content from word document into the RichTextEditor and Export the RichTextEditor content into word or PDF document. +title: Import and Export in AngularJS RichTextEditor Control | Syncfusion +description: Learn here all about Import and Export support in Syncfusion Essential AngularJS RichTextEditor control, its elements, and more. platform: AngularJS control: RichTextEditor documentation: ug keywords: RichTextEditor, server side XHTML Validation, RTE import, RTE export, export to PDF, export to Word --- -# Import +# Import in AngularJS RichTextEditor Import feature provides support to import a word document into the editor `textarea`. To enable import option in the RTE tool bar, `import` toolbar items needs to be added in RTE toolbar toolsList using `importExport` which adds the tool in the toolbar. In `importSettings` url option, the server page for import is needed to be mapped. When you click the toolbar import icon, it opens a dialog to browse the select a word file. The selected word file will be imported into the editor `textarea`. @@ -116,9 +116,9 @@ Full list of assemblies needed for RTE Import are as follows 4. Syncfusion.Compression.Base 5. Syncfusion.DocIO.Base -![](ImportAndExport_images/import_images.png) +![AngularJS RichTextEditor import](ImportAndExport_images/import_images.png) -# Export +## Export Export feature provides support to export editor `textarea` content into word and PDF files. To enable Export option in the RTE tool bar, `wordExport` , `pdfExport` toolbar items needs to be added in RTE toolbar toolsList using `importExport` which adds the tool in the toolbar. `exportToWordSettings` consists of url and fileName sub properties. In url property, the server page for export to word is needed to be mapped and In fileName property, the name for the exported word file is given. `exportToPdfSettings` consists of url and fileName sub properties. In url property, the server page for export to PDF is needed to be mapped and In fileName property, the name for the exported PDF file is given. When you click the toolbar pdfExport or wordExport icon, the contents of RTE are sent to the server. It performs XHTML Validation on the editor `textarea` content on the server. Once the XHTML validation and formatting is successful, it exports the content into a Word or PDF File. @@ -217,7 +217,7 @@ Export Helper functions are available in the Assembly `Syncfusion.EJ.Export`, wh 6. Syncfusion.PDF.Base ### Word Export -![](ImportAndExport_images/export_word_images.png) +![AngularJS RichTextEditor export word](ImportAndExport_images/export_word_images.png) ### PDF Export -![](ImportAndExport_images/export_pdf_images.png) +![AngularJS RichTextEditor export pdf](ImportAndExport_images/export_pdf_images.png)