In This Topic
- Fast, Lightweight Word API: Create, load, edit, and save Word documents programmatically with simple or complex business requirements in .NET Standard applications without the need for an external word processor. With DsWord, you can also load and modify Word documents from external sources and save them back. This high-performance library is a faster alternative to Microsoft Word automation.
- Supports Multiple File Formats: DsWord supports DOCX, DOTM, DOCM, and DOTX file formats completely and can read files with FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, and FlatOpcTemplateEnabled formats.
- Enables Diverse and Rich Functionality: DsWord offers an extensive array of features, empowering users to create Word documents with formatted text, paragraphs, images, shapes, hyperlinks, bookmarks, comments, tables, lists, headers, footers, footnotes, endnotes, textboxes, and more. Furthermore, DsWord API offers a feature-rich object model that is designed to be straightforward and intuitive as it is based on the Microsoft Office API, Word JavaScript API, and OpenXML SDK.
- Multi-Language Support: Add text to the Word document in multiple languages, including Far Eastern, vertical text, and Tate Chu Yoko. See Text.
- Document Formatting: Format characters, paragraphs, lists, tables, pages, and sections in a Word document. Additionally, you can detect the source of formatting properties within Word documents.
- Supports Office Math Content: Read, add, edit, and display Office Math content in a Word document. DsWord supports various OMath elements such as Accent, Bar, Box, Border Box, Delimiter, and many more. See Office Math.
- Online Video: DsWord supports the integration of online videos into Word documents, enriching document content with dynamic multimedia elements. Enhance your Word documents by embedding videos directly from online sources with ease. See Online Video.
- Find and Replace: Find or replace simple text or pattern-based text, including regex, unique tokens, and text based on specific formatting. See Find and Replace Text.
- Themes: Customize the themes applied to a Word document, giving it a consistent styling and professional look. See Themes.
- Edit Document Content Properties: Edit in-built document properties, text objects, range objects, and preserve macros. You can also copy or move document content and perform split or merge document operations. See Document.
- Advanced Document Protection: Protect the contents of a Word document from any kind of unwanted modification. DsWord provides properties to control various types of modifications applied to Word documents. See Document Protection.
- Data Extraction: Extract data from existing Word documents to reuse or generate new documents as needed. This includes extracting text, paragraphs, images, and more.
- Extensive Support for Content Controls: DsWord supports various types of content controls and their mappings. It also offers the flexibility to reuse content by creating building blocks and managing their collection. See Content Controls.
- View Options: Set the view or zoom options to control how the document appears when it opens in an application. See Set View Options.
- PDF and Image Export: Export a Word document to PDF and image file formats programmatically with just a single line of code. DsWord also supports exporting right-to-left text, vertical text, East Asian languages, superscript, subscript, etc. without impacting their formats. See Export.
- Report Templates Support: Create business Word documents featuring advanced layouts through Report Templates utilizing a robust API. You can use various data sources to bind data. The template's layout offers adaptable syntax, simple notations, and enhanced reusability, presenting an ideal solution for generating desired documents. See Report Templates.
- Cross-Platform Solution: Work with Word documents across multiple platforms. DsWord supports viewing and editing documents on Windows, Mac, Linux, iOS, and Android.
- Cloud-based Deployment: Cloud-based deployment allows you to be everywhere. With NuGet and DsWord, deploy Word apps to Azure, AWS, and AWS Lambda.
Note: Keep in mind that the following MS Word objects are not yet supported by DsWord object model. These objects are preserved in a load, modify, or save scenario but are not accessible via DsWord object model and are not parsed by DsWord except for removal.
- Charts & diagrams
- VML Objects
- Embedded objects, such as controls and OLE objects
- Revisions
- Ruby Phonetic Guide
- Sub documents references
- Picture Effects