This repository contains example projects demonstrating how to use the Openize OpenXML SDK for .NET to work with Office documents.
These examples show how to create, read, modify, and save Office documents (Excel, Word, PowerPoint) using the Openize OpenXML SDK.
- Openize.OpenXML-SDK.Examples: Core library containing example code for various features
- Excel: Examples for working with Excel spreadsheets
- Word: Examples for working with Word documents
- PowerPoint: Examples for working with PowerPoint presentations
- Openize.OpenXML-SDK.Examples.Usage: Console application to run the examples
- .NET Core 3.1 SDK or later
- Visual Studio 2019/2022 or another .NET IDE
- Clone this repository
git clone https://github.com/openize-com/openize-open-xml-sdk-examples-net.git
-
Open the solution in Visual Studio
-
Ensure you have the Openize.OpenXML-SDK referenced in the Examples project
-
Build and run the Usage project to explore the examples
- WorkbookExamples: Creating and manipulating Excel workbooks
- WorksheetExamples: Working with worksheets, including protection and visibility
- CellExamples: Manipulating cells with different data types, formulas, and hyperlinks
- ParagraphExamples: Creating, reading and modifying word paragraphs
- ParagraphAlignmentExamples: Creating, reading and modifying alignment of word paragraphs
- ParagraphIndentExamples: Creating, reading and modifying indentation of word paragraphs
- ParagraphNumberExamples: Creating, reading and modifying numbered word paragraphs
- ParagraphRomanAlphabeticExamples: Creating, reading and modifying word paragraphs with roman and alphabetic numbering
- ParagraphFrameExamples: Creating, reading and modifying word paragraphs with frames
- ListExamples: Creating, reading and modifying multilevel lists
- TableExamples: Creating, reading and modifying word tables
- ImageExamples: Creating, reading and modifying word images
- ShapeExamples: Creating, rading and modifying word shapes.
- GroupShapeConnectorExamples: Creating and loading group shapes with auto connector in word documents.
- MetadataExamples: Creating, reading and modifying metadata properties of the word documents.
Coming soon...
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.