From 4789131e1d706d6a20993a42fc2f1a353062e18a Mon Sep 17 00:00:00 2001 From: Dinko Krastev Date: Fri, 11 Jul 2025 11:58:43 +0300 Subject: [PATCH] Update import-export.md --- controls/spreadsheet/import-export.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/controls/spreadsheet/import-export.md b/controls/spreadsheet/import-export.md index 68cab6fe0..bcc2b6b5c 100644 --- a/controls/spreadsheet/import-export.md +++ b/controls/spreadsheet/import-export.md @@ -17,23 +17,23 @@ The model of **RadSpreadsheet** enables you to easily open or save documents fro Here is a list of all the formats supported in **RadSpreadsheet**: -* **Xlsx**: Rich text format, which exports the whole content of a workbook: worksheets, formula values, formatting, hyperlinks etc. +* **Xlsx**: Rich text format, which exports the whole content of a workbook: worksheets, formula values, formatting, hyperlinks, etc. -* **Xls**: Available as of **R3 2020 SP1**. Rich text format, which exports the content of a workbook: worksheets, formula values, formatting, hyperlinks etc. Supported in older applications. +* **Xls**: Available as of **R3 2020 SP1**. Rich text format, which exports the content of a workbook: worksheets, formula values, formatting, hyperlinks, etc. Supported in older applications. -* **Xlsm**: Available as of **2024 Q3**. Rich text format, which exports all that is included in the Xlsx file together with the macros in a macro-enabled file format. +* **Xlsm**: Available as of **2024 Q3**. Rich text format, which exports all that is included in the Xlsx file, together with the macros in a macro-enabled file format. -* **Pdf**: Fixed format, which preserves the content of a workbook in independent from software or hardware manner. +* **PDF**: Fixed format, which preserves the content of a workbook independently of software or hardware. -* **Csv** (comma separated): Plain text format that saves the content of the cells in the *active* worksheet. The format strips all formatting and keeps only the result values of cells. These values are separated by a *culture dependent* delimiter. +* **CSV** (comma-separated): Plain text format that saves the content of the cells in the *active* worksheet. The format strips all formatting and keeps only the result values of cells. A *culture-dependent* delimiter separates these values. -* **Txt** (tab delimited): Plain text format, which preserves only the content of the cells in the *active* worksheet. The format does not save any formatting and keeps only the result values of the cells. These values are delimited via tabs. +* **Txt** (tab-delimited): Plain text format, which preserves only the content of the cells in the *active* worksheet. The format does not save any formatting and keeps only the result values of the cells. These values are delimited via tabs. ## Open/Save Document ### Using Code-Behind -To open or save a document with RadSpreadsheet, you can use the **Import()** and **Export()** methods respectively. Each of the format providers expose them and **Example 2** and **Example 3** show how you could use both functionalities with [**XlsxFormatProvider**](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/xlsx/xlsxformatprovider). +To open or save a document with RadSpreadsheet, you can use the **Import()** and **Export()** methods, respectively. Each of the format providers exposes them, and **Example 2** and **Example 3** show how you could use both functionalities with [**XlsxFormatProvider**](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/xlsx/xlsxformatprovider). #### Example 1: Import XLSX document @@ -45,7 +45,7 @@ To open or save a document with RadSpreadsheet, you can use the **Import()** and XlsxFormatProvider formatProvider = new XlsxFormatProvider(); using (Stream input = new FileStream(fileName, FileMode.Open)) { - this.radSpreadsheet.Workbook = formatProvider.Import(input); + this.radSpreadsheet.Workbook = formatProvider.Import(input,null); } ```` @@ -89,7 +89,7 @@ End Using ### Using UI -Through the UI of RadSpreadsheet you can enable the end user to open and save documents. Clicking the Open or Save button in the File menu of RadRSpreadsheetRibbon opens the Open/Save File dialog and lets the user to choose the file they would like to open or, respectively, the location they would like to save to. +Through the UI of RadSpreadsheet, you can enable the end user to open and save documents. Clicking the Open or Save button in the File menu of RadRSpreadsheetRibbon opens the Open/Save File dialog, allowing the user to choose the file they would like to open or, respectively, the location they would like to save to. #### Figure 1: Open and Save buttons in the File menu