Skip to content

Commit af1a834

Browse files
authored
Merge pull request #749 from telerik/DinkoK-patch-28
Update import-export.md
2 parents 87c2812 + 4789131 commit af1a834

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

controls/spreadsheet/import-export.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ The model of **RadSpreadsheet** enables you to easily open or save documents fro
1717

1818
Here is a list of all the formats supported in **RadSpreadsheet**:
1919

20-
* **Xlsx**: Rich text format, which exports the whole content of a workbook: worksheets, formula values, formatting, hyperlinks etc.
20+
* **Xlsx**: Rich text format, which exports the whole content of a workbook: worksheets, formula values, formatting, hyperlinks, etc.
2121

22-
* **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.
22+
* **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.
2323

24-
* **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.
24+
* **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.
2525

26-
* **Pdf**: Fixed format, which preserves the content of a workbook in independent from software or hardware manner.
26+
* **PDF**: Fixed format, which preserves the content of a workbook independently of software or hardware.
2727

28-
* **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.
28+
* **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.
2929

30-
* **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.
30+
* **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.
3131

3232
## Open/Save Document
3333

3434
### Using Code-Behind
3535

36-
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).
36+
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).
3737

3838

3939
#### Example 1: Import XLSX document
@@ -45,7 +45,7 @@ To open or save a document with RadSpreadsheet, you can use the **Import()** and
4545
XlsxFormatProvider formatProvider = new XlsxFormatProvider();
4646
using (Stream input = new FileStream(fileName, FileMode.Open))
4747
{
48-
this.radSpreadsheet.Workbook = formatProvider.Import(input);
48+
this.radSpreadsheet.Workbook = formatProvider.Import(input,null);
4949
}
5050

5151
````
@@ -89,7 +89,7 @@ End Using
8989
9090
### Using UI
9191

92-
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.
92+
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.
9393

9494
#### Figure 1: Open and Save buttons in the File menu
9595

0 commit comments

Comments
 (0)