Show TOC

FormattedTextView PropertiesLocate this document in the navigation structure

Properties in View Designer
  • dataSource

    To use the sap:field-Tag, under dataSource enter the context node that contains the text of the FormattedTextView.

  • hAlign

    This property is Deprecated. Instead, use the relevant property from the surrounding layout.

    Horizontal alignment of the content within the UI element.

    Value Description

    auto

    Automatic alignment of the text content. The alignment is specified by the usage of the UI element, for example, by the data type of the value to be displayed.

    center

    Centered alignment

    forcedLeft

    The text content is always left-justified, regardless of whether property textDirection is set to ltr or rtl.

    endOfLine

    The text is always displayed at the end of the line. Therefore, if property textDirection is set to ltr, the text content is right-justified. The text content for value rtl is left-justified.

    forcedRight

    The text content is always right-justified, regardless of whether the value of the textDirection property is ltr or rtl.

    beginOfLine

    The text is always displayed at the beginning of the line. Therefore, the text content for value ltr of property textDirection is left-justified. The text content for value rtl is right-justified.

  • height

    When the height is set, a vertical scrollbar is displayed if the content needs more space.

  • text

    XML text, see also Supported Tags

    Primary Property

    This property can be personalized by administrators.

  • textDirection

    Text or writing direction.

    This enables labels of interface elements to be read in languages that have an RTL writing direction, such as Arabic or Hebrew, as opposed to LTR for languages like English.

    This property can be personalized by administrators.

    Value Description

    INHERIT

    The text direction is inherited from the parent element. Therefore, the text direction is identical to that of the parent element.

    LTR

    Left to right text direction

    RTL

    Right to left text direction