OfficeControl Properties 
activateInPlace
Controls whether the document is displayed in the browser window, or whether it is opened in a separate window in the Office application linked to the document type. For instance, if you have assigned value false to property activateInPlace, and value ms_word to property documentType, Microsoft Word opens and displays the content in the user interface of Microsoft Word. The default value for this property is true.
If you have assigned value false to this property, you should assign small values to the height and width properties, because these values are not ignored, and act as placeholders in the Web Dynpro application view. The UI element takes up as much empty space in the view, as you specified for the height and width values. You should therefore overwrite the default values 300 with a smaller value, such as 5. If you have assigned value true to this property, you should use values to display the document that make the document readable, and do not necessitate too much scrolling, since users cannot enlarge the document in the browser window at runtime.
controlId
The value of this property is set automatically. Do not enter any value here.
dataSource
Data source. Here you can specify the path to the context attribute that makes the data available.
If this property is not bound, a new document is created automatically in non-expert mode. Executing method opendocument in expert mode results in an error. Method createdocument can only be executed correctly.
documentName
Name of the document
documentType
Type of document to be displayed
Value |
Description |
|---|---|
ms_excel |
Microsoft Excel document with extension xls. |
ms_project |
Microsoft Project document with extension mpp. |
ms_word |
Microsoft Word document with extension doc |
enableReadWrite
This property is deprecated.
Mode of the document to be opened: Controls whether the document can be edited and saved with the changed content.
expertMode
Expert mode for complex operations (methods contained in the interfaces). If you set this property to true, additional method calls are available.
showDecoration
Hides and shows menus.