expressappframework-400003-document-management-office-module-office-module.md
The Office Module integrates the following DevExpress controls into an XAF application:
| Platform | Rich Text Editor | Spreadsheet Editor | PDF Viewer |
|---|---|---|---|
| Blazor | DxRichEdit | Not supported | DxPdfViewer |
| WinForms | RichEditControl | SpreadsheetControl | PdfViewer |
Tip
Try out the Office Module in the MainDemo.NET.EFCore demo application that ships with XAF. Refer to Detail Views of the following business objects: Note (Rich Text Editor), Resume (PDF Viewer). You can find the demo in the following folder: %PUBLIC%\Documents\DevExpress Demos 25.2\Components\XAF\MainDemo.NET.EFCore.
To enable the Office module in your application follow the steps below:
XAF offers other methods to integrate the Office Module into a newly created or existing application. For more information, refer to the following topic: Register a Built-in XAF Module.
Refer to the following help topics for details on how to work with the office components:
| Platform | Module | NuGet package |
|---|---|---|
| Platform-agnostic | OfficeModule | DevExpress.ExpressApp.Office |
| ASP.NET Core Blazor | OfficeBlazorModule | DevExpress.ExpressApp.Office.Blazor |
| Windows Forms | OfficeWindowsFormsModule | DevExpress.ExpressApp.Office.Win |
On Linux, the Office Module for Blazor might need extra libraries: Use Office File API on Linux - Prerequisites.
The Office Module extends the Application Model with the following properties:
|
Module
|
Extended node
|
Property
| | --- | --- | --- | |
OfficeModule
|
|
IModelRichTextFormatSettings.DocumentStorageFormat
IModelSpreadsheetPropertyEditorSettings.EnableFormulaBar
| |
OfficeWindowsFormsModule
|
|
IModelRichTextColumn.CustomHeight
| |
|
IModelWinOfficeMenuManagerSettings.MenuManagerType
|