Skip to content

Commit 33d9a31

Browse files
authored
Merge pull request #10 from AnnaVekhina/21.2.3+
Update Readme.md
2 parents b042e70 + 5946931 commit 33d9a31

File tree

2 files changed

+48
-32
lines changed

2 files changed

+48
-32
lines changed

Readme.md

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,53 @@
33
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E4339)
44
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
55
<!-- default badges end -->
6+
# Spreadsheet Document API – How to Process Excel Workbooks in Code (Part 1)
7+
8+
The [DevExpress Spreadsheet Document API](https://docs.devexpress.com/OfficeFileAPI/14912/spreadsheet-document-api) is a non-visual library that allows you to generate, import, export, modify, and print Microsoft Excel workbooks in code.
9+
10+
> You need an active license for the [DevExpress Office File API Subscription](https://www.devexpress.com/products/net/office-file-api/) or [DevExpress Universal Subscription](https://www.devexpress.com/subscriptions/universal.xml) to use this library in production code.
11+
12+
This example demonstrates how to use the Spreadsheet Document API to execute the following actions:
13+
14+
- Manage spreadsheet document elements (worksheets, cells, rows, and columns)
15+
- Create formulas
16+
- Format cells
17+
- Import data from different data sources
18+
- Export a workbook to PDF
19+
- Print a workbook
20+
- Specify the built-in and custom document properties
21+
22+
The application’s form contains the list of supported operations. A user can select an operation and click the **Run** button to view the resulting spreadsheet document in Microsoft Excel.
23+
24+
![Spreadsheet Document API - List of Supported Operations](./images/spreadsheet-document-api-part-1.png)
25+
626
<!-- default file list -->
7-
*Files to look at*:
8-
9-
* [CellActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/CellActions.cs) (VB: [CellActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/CellActions.vb))
10-
* [DocumentPropertiesActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/DocumentPropertiesActions.cs) (VB: [DocumentPropertiesActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/DocumentPropertiesActions.vb))
11-
* [ExportActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/ExportActions.cs) (VB: [ExportActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/ExportActions.vb))
12-
* [FormattingActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/FormattingActions.cs) (VB: [FormattingActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/FormattingActions.vb))
13-
* [FormulaActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/FormulaActions.cs) (VB: [FormulaActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/FormulaActions.vb))
14-
* [ImportActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/ImportActions.cs) (VB: [ImportActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/ImportActions.vb))
15-
* [PrintingActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/PrintingActions.cs) (VB: [PrintingActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/PrintingActions.vb))
16-
* [RowAndColumnActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/RowAndColumnActions.cs) (VB: [RowAndColumnActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/RowAndColumnActions.vb))
17-
* [WorksheetActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/WorksheetActions.cs) (VB: [WorksheetActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/WorksheetActions.vb))
27+
## Files to Look At
28+
29+
- [CellActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/CellActions.cs) ([CellActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/CellActions.vb))
30+
- [DocumentPropertiesActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/DocumentPropertiesActions.cs) ([DocumentPropertiesActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/DocumentPropertiesActions.vb))
31+
- [ExportActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/ExportActions.cs) ([ExportActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/ExportActions.vb))
32+
- [FormattingActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/FormattingActions.cs) ([FormattingActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/FormattingActions.vb))
33+
- [FormulaActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/FormulaActions.cs) ([FormulaActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/FormulaActions.vb))
34+
- [ImportActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/ImportActions.cs) ([ImportActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/ImportActions.vb))
35+
- [PrintingActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/PrintingActions.cs) ([PrintingActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/PrintingActions.vb))
36+
- [RowAndColumnActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/RowAndColumnActions.cs) ([RowAndColumnActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/RowAndColumnActions.vb))
37+
- [WorksheetActions.cs](./CS/SpreadsheetExamples/SpreadsheetActions/WorksheetActions.cs) ([WorksheetActions.vb](./VB/SpreadsheetExamples/SpreadsheetActions/WorksheetActions.vb))
38+
1839
<!-- default file list end -->
19-
# Spreadsheet Document API
20-
21-
22-
<p>This example demonstrates how to use the Spreadsheet Document API to programmatically manage spreadsheet documents, without the need for Microsoft Excel to be installed.</p>
23-
<p>In particular, this sample introduces API properties and methods used to perform the following operations:</p>
24-
<p>- Manage worksheets (activate, create, delete, rename, move, copy, show/hide worksheets, adjust worksheet view, etc.)</p>
25-
<p>- Manipulate rows and columns (insert, delete, copy, show/hide, group rows and columns, adjust row height and column width, etc.)</p>
26-
<p>- Manipulate cells and cell ranges (set cell values, add hyperlinks to cells, name, copy and merge cells)</p>
27-
<p>- Create formulas (use various functions and cell references in formulas, name formulas and use names in formulas, create shared and array formulas, etc.)</p>
28-
<p>- Format cells (create, modify and apply styles, set cell font, colors, alignment, borders, number format, etc.)</p>
29-
<p>- Import data from different sources</p>
30-
<p>- Export the workbook to PDF</p>
31-
<p>- Print the workbook</p>
32-
<p>For more information, review the <a href="https://documentation.devexpress.com/OfficeFileAPI/12074/Spreadsheet-Document-API/Examples"><u>Examples</u></a> section in the documentation.<br><br>The<strong> Universal Subscription</strong> or an additional <strong>Office File API Subscription</strong> is required to use this example in production code. Please refer to the <a href="https://www.devexpress.com/Buy/NET/">DevExpress Subscription</a> page for pricing information.</p>
33-
34-
<br/>
35-
See also:
36-
<br/>
37-
<a href="https://github.com/DevExpress-Examples/spreadsheet-document-api-examples-part-2-t217615">Spreadsheet Document API - Part 2</a>
38-
<br/>
39-
<a href="https://github.com/DevExpress-Examples/spreadsheet-document-api-part-3">Spreadsheet Document API - Part 3</a>
40+
41+
## Documentation
42+
43+
- [Worksheets](https://docs.devexpress.com/OfficeFileAPI/14930/spreadsheet-document-api/examples/worksheets)
44+
- [Rows and Columns](https://docs.devexpress.com/OfficeFileAPI/14938/spreadsheet-document-api/examples/rows-and-columns)
45+
- [Cells](https://docs.devexpress.com/OfficeFileAPI/14944/spreadsheet-document-api/examples/cells)
46+
- [Formulas](https://docs.devexpress.com/OfficeFileAPI/14928/spreadsheet-document-api/spreadsheet-formulas)
47+
- [Cell Formatting](https://docs.devexpress.com/OfficeFileAPI/14915/spreadsheet-document-api/cell-basics/formatting-cells)
48+
- [Import and Export Data](https://docs.devexpress.com/OfficeFileAPI/118182/spreadsheet-document-api/examples/import-and-export-data)
49+
- [Printing](https://docs.devexpress.com/OfficeFileAPI/15532/spreadsheet-document-api/examples/printing)
50+
- [Specify Document Properties](https://docs.devexpress.com/OfficeFileAPI/117097/spreadsheet-document-api/examples/workbooks/how-to-specify-document-properties)
51+
52+
## More Examples
53+
54+
- [Spreadsheet Document API - Part 2](https://github.com/DevExpress-Examples/spreadsheet-document-api-examples-part-2-t217615)
55+
- [Spreadsheet Document API - Part 3](https://github.com/DevExpress-Examples/spreadsheet-document-api-part-3)
94.7 KB
Loading

0 commit comments

Comments
 (0)