Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Office File API
  Demo Application
  Redistribution and Deployment
 [Expand]Spreadsheet Document API
 [Collapse]Word Processing Document API
   Getting Started
  [Expand]WordProcessing Document
   Import and Export
  [Expand]Fields
  [Expand]Mail Merge
   Printing
   Export to PDF
   Document Protection
   Floating Objects
   HTML Tag Support
  [Expand]Examples
 [Expand]PDF Document API
 [Expand]Excel Export Library
 [Expand]Snap Report API
 [Expand]Zip Compression and Archive API
 [Expand]Barcode Generation API
 [Expand]Unit Conversion API
 [Expand]API Reference
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Word Processing Document API

The Word Processing Document API is a non-visual .NET library which allows you to automate frequent word processing tasks (format conversion, document editing in code, mail merge, printing to PDF, etc.).

Note

The Word Processing Document API does not require the DevExpress.Docs.v18.1.dll assembly for operation and distribution. A separate license is not required.

The Word (RTF) Document API's main features are listed below.

Expanded Import and Export

Create, load, convert and save documents to popular file formats:

  • Plain Text
  • RTF (Rich Text Format)
  • DOCX (Microsoft Office 2007 - ... format)
  • DOC (Microsoft Word 97-2003 format)
  • WordML format (MS Office Word 2003 XML format)
  • OpenDocument (implemented by the OpenOffice.org office suite)
  • HTML
  • MHTML (web page archive format)
  • EPUB (Electronic Publication)
  • PDF format (export only)

Expanded Document Basics

  • Combine multiple documents into a single file.
  • Select a specific document part (text range, paragraph, etc.), change its format, or extract it as a separate document.
  • Print documents with the default or custom printing settings.

Expanded Text Formatting Features

  • Format characters by changing the font, font size, character style (bold, italics, underlined and strike-through), and different background and foreground colors.
    Paragraphs' formatting options include alignment, indentation, variable paragraph, and line spacing.

  • Create and modify bulleted, numbered and multi-level lists.

  • Apply paragraph and character-based styles.

  • Insert inline images using popular formats such as JPEG, JPG, PNG, GIF, BMP, TIF, TIFF, WMF, EMF, and DIB.
  • Create, move, resize and rotate floating objects.
  • Insert and modify hyperlinks and bookmarks.
  • Create and adjust checkboxes.
  • Perform table operations such as inserting tables, rows and columns, editing the table layout by splitting and merging cells, aligning cell content, applying borders and shading to individual cells, and deleting cells, columns and rows.

Expanded Mail Merge

  • Create a document template for letters, catalogs, mailing labels and personalize any kind of document using the mail merge feature.
  • Nest master and detail templates within the basic merge template to create a master-detail report. Use this feature to create catalogs, header/detail invoices or statements.

Expanded Field Support

  • The Word Processing Document API supports a subset of fields defined in the ECMA-376 (Office OpenXML) standard, including the DOCVARIABLE field.

Expanded Document Layout

  • Parse the document into different sections with individual page settings.
  • Split text in multiple columns within a particular section.
  • Specify different headers and footers for the first page, odd and even pages, and each section. Insert the current page number and the total number of pages.
  • Add line numbers to document margins for certain types of legal documents. Line numbers can run continuously throughout the document, restart on each page or section, or hidden be suppressed for a specific paragraph.

Is this topic helpful?​​​​​​​