OpenXML Components
The Openize.OpenXML-SDK
combines the capabilities of three previously independent libraries — Openize.Words
, Openize.Cells
, and Openize.Slides
— into a single, unified SDK. This consolidation provides developers with a consistent, streamlined way to automate and manipulate Word documents, Excel spreadsheets, and PowerPoint presentations without needing to switch between different tools or paradigms.
This section introduces each core component, outlining its functionality and typical use cases.
Word Document Processing (Openize.Words)
The Openize.Words
module focuses on creating and modifying .docx
documents. It allows developers to generate new Word files from scratch or load and modify existing documents. Common operations include editing text content, applying formatting and styles, managing paragraphs, and inserting various elements such as tables, images, headers, and footers.
Additionally, documents can be exported to other formats, such as PDF and HTML, making this component suitable for tasks like automated report generation, document templates, or server-side document processing.
Excel Spreadsheet Processing (Openize.Cells)
With Openize.Cells
, developers can create and manipulate Excel .xlsx
spreadsheets. This component enables reading and writing cell data, inserting charts, applying formulas, and working with named ranges. It also provides control over the appearance of the spreadsheet through formatting of rows, columns, and cells.
Use cases include dynamic generation of data-driven spreadsheets, importing/exporting data from other systems, or programmatically adjusting spreadsheet templates for reporting purposes. Support for exporting to PDF and CSV formats is also included.
Presentation Processing (Openize.Slides)
The Openize.Slides
component is designed for working with PowerPoint .pptx
files. It allows developers to load presentations, add or remove slides, reorder content, and insert visual elements such as shapes, text boxes, and images.
This module is especially helpful for automating the creation of slide decks, updating presentation templates with dynamic content, or batch-generating presentations for different audiences. Output can also be rendered into images or PDF format for distribution.
Consistent Development Experience
One of the key benefits of the merged Openize.OpenXML-SDK
is the consistent API design across all document types. Whether you're automating a report in Word, populating a spreadsheet in Excel, or generating a presentation in PowerPoint, the programming model remains intuitive and uniform. This reduces the learning curve and enables code reuse across different document types.