Show TOC

OfficeControl PropertiesLocate this document in the navigation structure

Properties in View Designer
  • 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. If you have assigned the value false to the activateInPlace property and the value ms_word to the documentType property, the Microsoft Word application opens and display the content in the Microsoft Word user interface. The default value for this property is true.

    If you have assigned the value false to this property, you should then make sure that you assign small values to the height and width properties, because these values are not ignored and act as placeholders in the view of the Web Dynpro application. In the view, the UI element takes up as much empty space as you have specified for the values of the height and width properties. Therefore you should overwrite the default values 300 with a smaller number, for example 5. If you have assigned the value true to this property, you should use suitable values for displaying the document, so that the document is readable and the user does not have to scroll too often, because he or she cannot increase the size of 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. You can use it to specify the path to the context attribute, which makes the data available.

    If this property is not bound, a new document is created automatically in non-expert mode. In the expert mode when the method opendocument is executed an error results. Only method createdocument can be executed correctly.

    Primary Property

  • documentName

    Name of the document

  • documentType

    Type of document to be displayed

    Value Description

    ms_excel

    Microsoft Word document with the xls file extension

    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 become available.

    More information: IF_WD_OFFICE_METHOD_HNDL

  • showDecoration

    Hides and shows menus.