diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/comments.md b/Document-Processing/Word/Word-Processor/asp-net-core/comments.md index 8fcd0b26f7..d1b3c7f87d 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/comments.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/comments.md @@ -1,16 +1,16 @@ --- layout: post -title: Comments in Document Editor Control | Syncfusion -description: Learn here all about comments in Syncfusion Document Editor control of Syncfusion Essential JS 2 and more. +title: Comments in DOCX Editor Control | Syncfusion +description: Learn here all about comments in Syncfusion DOCX Editor control of Syncfusion Essential JS 2 and more. platform: document-processing control: Comments documentation: ug --- -# Comments in ASP.NET Core in Document Editor Component +# Comments in ASP.NET Core DOCX Editor Component -[ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) allows to add comments to documents. You can add, navigate and remove comments in code and from the UI. +[ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) lets you add comments to documents. You can add, navigate, and remove comments in code and from the UI. ## Add a new comment @@ -22,28 +22,7 @@ documentEditor.editor.insertComment('Test comment'); ## Add a New Comment with Date, Author, and Status -Comments can be inserted into the selected text with a specified date, author, and status. - -```typescript -// In this example, a comment with the text "Nancy Davolio" is added by the author Rachel Green on July 23, 2024, at 2:30 PM. The isResolved status is set to false. - -// Create a specific date: July 23, 2024, at 2:30:00 PM. -let specificDate = new Date(2024, 6, 23, 14, 30, 0); // Note: July is represented by 6 (0-based index). - -// Define the properties of the comment including author, date, and resolution status. -let commentProperties = { - author: 'Nancy Davolio', // The author of the comment. - dateTime: specificDate, // The date and time when the comment is created. - isResolved: false // The status of the comment; false indicates it is unresolved. -}; - -// Insert the comment with the specified properties into the document editor. -documentEditor.editor.insertComment('Hello world', commentProperties); -``` - -## Add a New Comment with Date, Author, and Status - -Comments can be inserted into the selected text with a specified date, author, and status `insertComment`. +Comments can be inserted into the selected text with a specified date, author, and status using `insertComment`. ```typescript // In this example, a comment with the text "Hello world" @@ -62,13 +41,13 @@ var commentProperties = { isResolved: false // The status of the comment; false indicates it is unresolved. }; -// Insert the comment with the specified properties into the document editor. +// Insert the comment with the specified properties into the DOCX Editor. documentEditor.editor.insertComment('Hello world', commentProperties); ``` ## Add a Reply Comment with Date, Author, and Status -Reply comments can be inserted into the parent comment with a specified date, author using `insertReplyComment`. +Reply comments can be inserted into the parent comment with a specified date, author, and status using `insertReplyComment`. ```typescript // In this example, a comment with the text "Hello world" @@ -86,15 +65,15 @@ var commentProperties = { isResolved: false // The status of the comment; false indicates it is unresolved. }; -// Insert the comment with the specified properties into the Document Editor. +// Insert the comment with the specified properties into the DOCX Editor. var comment = documentEditor.editor.insertComment('Hello world', commentProperties); -// Insert a reply comment with specified properties into the Document Editor +// Insert a reply comment with specified properties into the DOCX Editor documentEditor.editor.insertReplyComment(comment.id, 'Hello world', commentProperties); ``` ## Get Comments -Document Editor allows to get the comments along with its reply and comment properties using `getComments`. +DOCX Editor lets you get the comments along with their replies and comment properties using `getComments`. The returned object is an array of comments, where each comment exposes `id`, `author`, `dateTime`, `isResolved`, and a `replies` array containing the reply comments with the same properties. ```typescript //Get Comments in the document along with the properties author, date, status. @@ -113,7 +92,7 @@ documentEditor.selection.navigateNextComment(); documentEditor.selection.navigatePreviousComment(); ``` -## Delete comment +## Delete a comment Current comment can be deleted using `deleteComment`. @@ -131,7 +110,7 @@ container.documentEditor.editor.deleteComment(commentinfo[0].id); container.documentEditor.editor.deleteComment(commentinfo[0].replies[0].id); ``` -## Delete all comment +## Delete all comments All the comments in the document can be deleted using the below code snippet. @@ -141,9 +120,9 @@ documentEditor.editor.deleteAllComments(); ## Protect the document in comments only mode -Document Editor provides support for protecting the document with `CommentsOnly` protection. In this protection, user is allowed to add or edit comments alone in the document. +DOCX Editor provides support for protecting the document with `CommentsOnly` protection. In this protection, the user can only add or edit comments in the document. -Document editor provides an option to protect and unprotect document using `enforceProtection` and `stopProtection` API. +DOCX Editor provides an option to protect and unprotect the document using `enforceProtection` and `stopProtection` API. {% tabs %} @@ -166,7 +145,7 @@ N> In enforce Protection method, first parameter denotes password and second par Mention support displays a list of items that users can select or tag from the suggested list. To use this feature, type the `@` character in the comment box and select or tag the user from the suggestion list. -The following example illustrates how to enable mention support in Document Editor +The following example illustrates how to enable mention support in DOCX Editor {% tabs %} @@ -181,7 +160,7 @@ The following example illustrates how to enable mention support in Document Edit ## Events -DocumentEditor provides `beforeCommentAction` event, which is triggered on comment actions like Post, edit, reply, resolve and reopen. This event provides an opportunity to perform custom logic on comment actions like Post, edit, reply, resolve and reopen. The event handler receives the `CommentActionEventArgs` object as an argument, which allows access to information about the comment. +DocumentEditor provides `beforeCommentAction` event, which is triggered on comment actions like Post, edit, reply, resolve, and reopen, allowing you to perform custom logic on these actions. The event handler receives the `CommentActionEventArgs` object as an argument, which allows access to information about the comment. To demonstrate a specific use case, let’s consider an example where we want to restrict the delete functionality based on the author’s name. The following code snippet illustrates how to allow only the author of a comment to delete: @@ -197,4 +176,4 @@ To demonstrate a specific use case, let’s consider an example where we want to ## Online Demo -Explore how to add, view, and manage comments in Word documents using the ASP.NET Core Document Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/asp-net-core/documenteditor/comments#/tailwind3). \ No newline at end of file +Explore how to add, view, and manage comments in Word documents using the ASP.NET Core DOCX Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/asp-net-core/documenteditor/comments#/tailwind3). \ No newline at end of file diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/content-control.md b/Document-Processing/Word/Word-Processor/asp-net-core/content-control.md index f56ae7c7c2..6072465261 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/content-control.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/content-control.md @@ -1,20 +1,21 @@ --- layout: post -title: Content Control in Syncfusion Document Editor Component -description: Learn here all about Content Control in Syncfusion Document Editor component of Syncfusion Essential JS 2 and more. +title: Content Control in Syncfusion DOCX Editor Component +description: Learn here all about Content Control in Syncfusion DOCX Editor component of Syncfusion Essential JS 2 and more. platform: document-processing control: Content Control documentation: ug --- -# Content Control in ASP.NET Core in DocumentEditor +# Content Control in ASP.NET Core DOCX Editor [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) provides support for inserting, editing content controls. -Content controls can be categorized based on its occurrence in a document as follows, +Content controls can be categorized based on their occurrence in a document as follows: -InlineContentControl: Among inline content inside, as a child of a paragraph. BlockContentControl: Among paragraphs and tables, as a child of a Body, HeaderFooter. +**Inline Content Control:** Among inline content within a paragraph as a child element. +**Block Content Control:** Among paragraphs and tables as a child of a Body or Header/Footer. ## Types of Content Controls @@ -32,7 +33,7 @@ Content control can be inserted using `insertContentControl` method in editor mo {% highlight ts %} //Insert Rich Text Content Control container.documentEditor.editor.insertContentControl('RichText'); -//Insert Rich Text Content Control with default sfdt string +//Insert Rich Text Content Control with default SFDT value var sfdt = {"sections":[{"blocks":[{"inlines":[{"text": "Hello"}]}]}]}; container.documentEditor.editor.insertContentControl('RichText', sfdt); @@ -43,7 +44,7 @@ container.documentEditor.editor.insertContentControl('Text', 'Hello World'); //Insert CheckBox Content Control container.documentEditor.editor.insertContentControl('CheckBox'); -//Insert CheckBox Content Control with mention checked state +//Insert CheckBox Content Control with a checked state container.documentEditor.editor.insertContentControl('CheckBox', true); //Insert ComboBox Content Control @@ -53,7 +54,7 @@ container.documentEditor.editor.insertContentControl('ComboBox', 'One', ['One', //Insert Date Content Control container.documentEditor.editor.insertContentControl('Date'); -//Insert Date Content Control +//Insert Date Content Control with default date container.documentEditor.editor.insertContentControl('Date', '01/01/2024'); //Insert DropDownList Content Control @@ -69,17 +70,18 @@ container.documentEditor.editor.insertContentControl('Picture', 'data:image/png; ## Import content control properties -Content control properties can be set using the `ContentControlInfo` and import it using `importContentControlData` +Content control properties can be set using the `ContentControlInfo` object and imported using the `importContentControlData` method. {% highlight ts %} var data = []; var contentControlData = { title: placeHolderPrefix + 'Name', tag: '', value: 'John', canDelete: false, canEdit: false, type: 'RichText' }; +data.push(contentControlData); container.documentEditor.importContentControlData(data); {% endhighlight %} ## Export content control properties -Content control properties can be exported using the `exportContentControlData` +Content control properties can be exported using the `exportContentControlData` method. {% highlight ts %} var contentControlInfos = container.documentEditor.exportContentControlData(); @@ -87,7 +89,7 @@ var contentControlInfos = container.documentEditor.exportContentControlData(); ## Reset content control -Content control properties can be reset using the `resetContentControlData` +Content control properties can be reset using the `resetContentControlData` method. {% highlight ts %} var data = []; diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/dialog.md b/Document-Processing/Word/Word-Processor/asp-net-core/dialog.md index 6b6c13de9b..adf2cbb6b5 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/dialog.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/dialog.md @@ -1,22 +1,22 @@ --- layout: post -title: Dialog in Document Editor Component | Syncfusion -description: Learn here all about dialog in Syncfusion Document Editor component of Syncfusion Essential JS 2 and more. +title: Dialog in DOCX Editor Component | Syncfusion +description: Learn here all about dialog in Syncfusion DOCX Editor component of Syncfusion Essential JS 2 and more. platform: document-processing control: Dialog documentation: ug --- -# Dialog in ASP.NET Core in Document Editor Component +# Dialog in ASP.NET Core DOCX Editor Component -[ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) provides dialog support to major operations such as insert or edit hyperlink, formatting text, paragraph, style, list and table properties. +[ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) provides dialog support to major operations such as inserting or editing hyperlinks, and formatting text, paragraph, style, list, and table properties. -## Font Dialog +## Font dialog -Font dialog allows to modify all text properties for selected contents at once such as bold, italic, underline, font size, font color, strikethrough, subscript and superscript. +The font dialog lets you modify all text properties for selected contents at once such as bold, italic, underline, font size, font color, strikethrough, subscript, and superscript. -N>To enable font dialog for a document editor instance, set ‘enableFontDialog’ to true. +N> To enable the font dialog for a DOCX Editor instance, set `enableFontDialog` to true. The other dialogs covered on this page are enabled by default and do not require a separate opt-in property. {% tabs %} @@ -61,7 +61,7 @@ This dialog allows creating and inserting a table at cursor position by specifyi ## Bookmark dialog -This dialog allows to perform the following operations: +This dialog lets you perform the following operations: * View all bookmarks. * Navigate to a bookmark. @@ -109,7 +109,7 @@ This dialog allows creating and inserting table of contents at cursor position. {% endtabs %} -## Styles Dialog +## Styles dialog This dialog allows managing the styles in a document. It will display all the styles in the document with options to modify the properties of the existing style or create new style with the help of ‘Style dialog’. @@ -171,7 +171,7 @@ This dialog allows customizing the border style, border width, and background co ## Table options dialog -This dialog allows customizing the default cell margins and spacing between each cells of the selected table. +This dialog allows customizing the default cell margins and spacing between each cell of the selected table. {% tabs %} @@ -200,7 +200,7 @@ This dialog allows customizing the table, row, and cell properties of the select ## Page setup dialog -This dialog allows customizing margins, size, and layout options for pages of the section. +This dialog allows customizing margins, size, and layout options for the pages in a section. {% tabs %} diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/export.md b/Document-Processing/Word/Word-Processor/asp-net-core/export.md index 4b906435e1..1054fc6811 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/export.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/export.md @@ -1,27 +1,27 @@ --- layout: post -title: Export in Document Editor Component | Syncfusion -description: Learn here all about Export in Syncfusion Document Editor component of Syncfusion Essential JS 2 and more. +title: Export in DOCX Editor Component | Syncfusion +description: Learn here all about Export in Syncfusion DOCX Editor component of Syncfusion Essential JS 2 and more. platform: document-processing control: Export documentation: ug --- -# Export in ASP.NET Core in Document Editor Component +# Export in ASP.NET Core DOCX Editor Component -[ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) exports the document into various known file formats in client-side such as Microsoft Word document (.docx), text document (.txt), and its own format called **Syncfusion Document Text (.sfdt)**. +[ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) exports the document into various known file formats on the client side, such as Microsoft Word document (.docx), Word Template (.dotx), text document (.txt), and its own format called **Syncfusion Document Text (.sfdt)**. Rich Text Format (.rtf) export is also supported via a server-side conversion. -We are providing two types of save APIs as mentioned below. +We are providing two types of save APIs as mentioned below. -|API name|Purpose|Code Snippet for Document Editor|Code Snippet for Document Editor Container| +|API name|Purpose|Code Snippet for DOCX Editor|Code Snippet for DOCX Editor Container| |--------|---------|----------|----------| -|save(filename,FormatType):void
FormatType: Sfdt or Docx or Txt|Creates the document with specified file name and format type. Then, the created file is downloaded in the client browser by default.|documenteditor.save('sample', 'Docx')|container.documentEditor.save('sample', 'Docx')| +|save(filename,FormatType):void
FormatType: Sfdt or Docx or Dotx or Txt|Creates the document with specified file name and format type. Then, the created file is downloaded in the client browser by default.|documenteditor.save('sample', 'Docx')|container.documentEditor.save('sample', 'Docx')| |saveAsBlob(FormatType):Blob|Creates the document in specified format type and returns the created document as Blob.
This blob can be uploaded to your required server, database, or file path.|documenteditor.saveAsBlob('Docx')|container.documentEditor.saveAsBlob('Docx')| ## Sfdt export -The following example shows how to export documents in document editor as Syncfusion document text (.sfdt). +The following example shows how to export documents in DOCX Editor as Syncfusion document text (.sfdt). {% tabs %} @@ -44,7 +44,7 @@ The following example shows how to export documents in document editor as Syncfu -N>To enable Sfdt export for a document editor instance, set [`enableSfdtExport`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DocumentEditor.DocumentEditor.html#Syncfusion_EJ2_DocumentEditor_DocumentEditor_EnableSfdtExport) to true. +N> To enable Sfdt export for a DOCX Editor instance, set [`enableSfdtExport`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DocumentEditor.DocumentEditor.html#Syncfusion_EJ2_DocumentEditor_DocumentEditor_EnableSfdtExport) to true. ## Word export @@ -70,13 +70,13 @@ The following example shows how to export the document as Word document (.docx). {% endtabs %} -N>To enable word export for a document editor instance, set [`enableWordExport`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DocumentEditor.DocumentEditor.html#Syncfusion_EJ2_DocumentEditor_DocumentEditor_EnableWordExport) to true. +N> To enable Word export for a DOCX Editor instance, set [`enableWordExport`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DocumentEditor.DocumentEditor.html#Syncfusion_EJ2_DocumentEditor_DocumentEditor_EnableWordExport) to true. ## Word Template Export The following example shows how to export the document as Word Template (.dotx). ->Note: The Syncfusion® Document Editor component's document pagination (page-by-page display) can't be guaranteed for all the Word documents to match the pagination of Microsoft Word application. For more information about [why the document pagination (page-by-page display) differs from Microsoft Word](../asp-net-core/import#why-the-document-pagination-differs-from-microsoft-word) +>Note: The Syncfusion® DOCX Editor component's document pagination (page-by-page display) can't be guaranteed for all the Word documents to match the pagination of Microsoft Word application. For more information about [why the document pagination (page-by-page display) differs from Microsoft Word](../asp-net-core/import#why-the-document-pagination-differs-from-microsoft-word). {% tabs %} @@ -122,11 +122,11 @@ The following example shows how to export document as text document (.txt). {% endtabs %} -N>To enable text export for a document editor instance, set [`enableTextExport`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DocumentEditor.DocumentEditor.html#Syncfusion_EJ2_DocumentEditor_DocumentEditor_EnableTextExport) to true. +N> To enable text export for a DOCX Editor instance, set [`enableTextExport`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DocumentEditor.DocumentEditor.html#Syncfusion_EJ2_DocumentEditor_DocumentEditor_EnableTextExport) to true. ## Export as blob -Document editor also supports API to store the document into a blob. +DOCX Editor also supports API to store the document into a blob. {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} @@ -148,7 +148,7 @@ Document editor also supports API to store the document into a blob. -For instance, to export the document as Rich Text Format file, implement an ASP.NET MVC web API controller using DocIO library by passing the DOCX blob. +For instance, to export the document as a Rich Text Format file, implement an ASP.NET Core web API controller that uses the **Syncfusion.DocIO** package (install it on the server project from NuGet) and converts the DOCX blob to RTF. ```csharp //API controller for the conversion. @@ -167,7 +167,7 @@ public HttpResponseMessage ExportAsRtf() } ``` -In client-side, you can consume this web service and save the document as Rich Text Format (.rtf) file. +On the client side, you can consume this web service and save the document as a Rich Text Format (.rtf) file. {% tabs %} @@ -181,7 +181,7 @@ In client-side, you can consume this web service and save the document as Rich T ## Online Demo -Explore how to export Word documents in various formats using the ASP.NET Core Document Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/asp-net-core/documenteditor/export#/tailwind3). +Explore how to export Word documents in various formats using the ASP.NET Core DOCX Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/asp-net-core/documenteditor/export#/tailwind3). ## See Also diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/faq/sfdt-faqs.md b/Document-Processing/Word/Word-Processor/asp-net-core/faq/sfdt-faqs.md index 76f627cb59..279ad2fcf4 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/faq/sfdt-faqs.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/faq/sfdt-faqs.md @@ -2,7 +2,7 @@ layout: post title: FAQs about SFDT in ASP.NET Core DOCX Editor | Syncfusion description: Learn all about FAQs on SFDT in the Syncfusion ASP.NET Core DOCX Editor component, including its structure and usage. -control: SFDT format +control: SFDT format platform: document-processing documentation: ug domainurl: ##DomainURL## @@ -10,15 +10,15 @@ domainurl: ##DomainURL## # FAQs about SFDT in ASP.NET Core DOCX Editor -The frequently asked questions about SFDT in [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) is listed below: +The frequently asked questions about SFDT in [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) are listed below: ## What is SFDT format? -SFDT (Syncfusion Document Text) is a JSON-based representation of a DOCX document used internally by the Document Editor. It is not a new or separate file format; instead, it is a structured JSON equivalent of a DOCX file, designed to represent the same document content. SFDT uses a hierarchical key–value structure to describe document elements such as sections, paragraphs, text, styles, tables, and images, closely matching the structure of a Word document. +SFDT (Syncfusion Document Text) is a JSON-based representation of a DOCX document used internally by the DOCX Editor. It is not a new or separate file format; instead, it is a structured JSON equivalent of a DOCX file, designed to represent the same document content. SFDT uses a hierarchical key–value structure to describe document elements such as sections, paragraphs, text, styles, tables, and images, closely matching the structure of a Word document. ## Is it possible to modify SFDT? -It is not recommended to modify SFDT directly (either manually or programmatically). The format is designed for internal use by the Document Editor, and even small changes can break the document structure or cause unexpected behavior. +It is not recommended to modify SFDT directly (either manually or programmatically). The format is designed for internal use by the DOCX Editor, and even small changes can break the document structure or cause unexpected behavior. ## What are the advantages of SFDT over DOCX? @@ -26,7 +26,7 @@ SFDT is optimized for web-based document editing scenarios. - It is lightweight and easier to process. -- As SFDT is a Base64 string by default, it can be stored directly in databases. +- Because SFDT is a JSON string, it can be stored directly in a database text column without binary handling. - Server-side dependencies are not required for loading and saving SFDT. @@ -34,14 +34,14 @@ SFDT is optimized for web-based document editing scenarios. SFDT is suitable in the following scenarios: -- Applications where documents are edited within the browser using the Document Editor, and the document state needs to be saved and reopened later in the same editor +- Applications where documents are edited within the browser using the DOCX Editor, and the document state needs to be saved and reopened later in the same editor - Use cases that require efficient storage in a database and quick reloading for further editing ## Can SFDT be converted back to DOCX? -Yes. You can easily convert SFDT back to DOCX or other [supported formats](../supported-fileformats) in the Document Editor. +Yes. You can easily convert SFDT back to DOCX or other [supported formats](../supported-fileformats) in the DOCX Editor using the `save` API (for example, `documentEditor.save('sample', 'Docx')`). See the [Export](../export) documentation for details. ## Are any features unavailable when using SFDT? -No. SFDT fully represents the document structure similar to DOCX, so all Document Editor features are supported when working with SFDT. \ No newline at end of file +No. SFDT fully represents the document structure similar to DOCX, so all DOCX Editor features are supported when working with SFDT. \ No newline at end of file diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/faq/unsupported-file-format.md b/Document-Processing/Word/Word-Processor/asp-net-core/faq/unsupported-file-format.md index 078f097f6d..7186b1faab 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/faq/unsupported-file-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/faq/unsupported-file-format.md @@ -1,28 +1,31 @@ --- layout: post -title: Unsupported file in Document Editor Component | Syncfusion -description: Learn here all about Unsupported file in Syncfusion Document Editor component of Syncfusion Essential JS 2 and more. +title: Unsupported file in DOCX Editor Component | Syncfusion +description: Learn here all about Unsupported file in Syncfusion DOCX Editor component of Syncfusion Essential JS 2 and more. platform: document-processing control: Unsupported file documentation: ug --- -# Why does my ASP.NET Core show unsupported message for document? +# Why does the DOCX Editor show an unsupported message for a document? -If you receive an "The file format you have selected isn't supported. Please choose valid format." message when opening a document in the [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor), it typically indicates that the document format is not supported by the current version of the Document Editor. Here are some common reasons for this warning: -1. Unsupported File Format: The document you are trying to open might be in a format that the Document Editor does not support. Ensure you are using a supported format, such as SFDT. +If you receive the message "The file format you have selected isn't supported. Please choose a valid format." when opening a document in the [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor), it typically indicates that the document format is not supported by the current version of the DOCX Editor. Here are some common reasons for this warning: + +1. Unsupported File Format: The document you are trying to open might be in a format that the DOCX Editor does not support. Ensure you are using a supported format, such as SFDT. 2. Corrupted Document: The document file might be corrupted or improperly formatted. Try opening a different document to see if the issue persists. -To avoid this warning, always use the recommended document formats and features supported by the Document Editor. -Document Editor supports the following file formats: -• Word Document (*.docx) -• Syncfusion Document Text (*.sfdt) -• Plain Text (*.txt) -• Word Template (*.dotx) -• HyperText Markup Language (*.html) -• Rich Text Format (*.rtf) -• Word XML Document(*.xml) -• Word 97-2003 Template (*.dot) -• Word 97-2003 Document (*.doc) +To avoid this warning, always use the recommended document formats and features supported by the DOCX Editor. + +DOCX Editor supports the following file formats: + +* Word Document (*.docx) +* Syncfusion Document Text (*.sfdt) +* Plain Text (*.txt) +* Word Template (*.dotx) +* HyperText Markup Language (*.html) +* Rich Text Format (*.rtf) +* Word XML Document (*.xml) +* Word 97-2003 Template (*.dot) +* Word 97-2003 Document (*.doc) -By using these supported formats, you can ensure compatibility and avoid unsupported warning messages when opening documents in the Document Editor. \ No newline at end of file +By using these supported formats, you can ensure compatibility and avoid unsupported-format warning messages when opening documents in the DOCX Editor. \ No newline at end of file