Office Module

  • 2 min to read

The Office Module integrates the following DevExpress controls into an XAF application:

Tip

You can see a demonstration of the Office Module in the Property Editors and Reports sections of the Feature Center demo installed in the %PUBLIC%\Documents\DevExpress Demos 19.2\Components\eXpressApp Framework\FeatureCenter folder.

Office Module Capabilities

Rich Text Editor

The Office Module provides two platform-specific Property Editors:

  • the RichTextPropertyEditor, which uses the RichEditControl in WinForms applications
  • the ASPxRichTextPropertyEditor, which uses the ASPxRichEdit control in ASP.NET applications

These editors allow end-users to edit rich text documents stored in different formats.

You can also create Mail Merge templates to generate documents based on data from your application database.

Spreadsheet Editor

The Office Module provides two platform-specific Property Editors:

  • the SpreadsheetPropertyEditor, which uses the SpreadsheetControl in WinForms applications
  • the ASPxSpreadsheetPropertyEditor, which uses the ASPxSpreadsheet control in ASP.NET applications

These editors allow end-users to edit spreadsheet documents.

Office Module Components

The Office Module consists of the following components:

  • OfficeModule - the platform-agnostic module. Use the Module Designer to add this module to your project.
  • OfficeWindowsFormsModule - the WinForms-specific module. Use the Application Designer to add this module to your WinForms application.
  • OfficeAspNetModule - the ASP.NET-specific module. Use the Application Designer to add this module to your ASP.NET application.

Note

Application Model Extensions

The Office Module extends the Application Model with the following properties:

Module

Extended node

Extending node

Property

OfficeModule

IModelMember

IModelRichTextFormatSettings

DocumentStorageFormat

IModelMember

IModelSpreadsheetPropertyEditorSettings

EnableFormulaBar

OfficeWindowsFormsModule

IModelColumn

IModelRichTextColumn

CustomHeight

IModelPropertyEditor

IModelWinOfficeMenuManagerSettings

MenuManagerType

OfficeAspNetModule

IModelPropertyEditor

IModelWebRichTextPropertyEditorHeightSettings

CustomHeight

IModelPropertyEditor

IModelWebRichTextPropertyEditorSettings

MenuManagerType

IModelPropertyEditor

IModelWebSpreadsheetPropertyEditorSettings

CustomHeight

IModelPropertyEditor

IModelWebSpreadsheetPropertyEditorSettings

MenuManagerType