FormattedTextView Properties
● dataSource
To use the sap:field tags, enter the path to the context node that stores the text of the FormattedTextView under dataSource.
● hAlign

This property is deprecated. Instead, use the relevant property of the surrounding layout.
Horizontal alignment of the content within the interface element.
Value |
Description |
auto |
Automatic alignment of text content. The alignment is determined by the usage of the interface element – for example, by the data type of the value to be represented. |
center |
Centered alignment |
forcedLeft |
The text content is always left-justified, regardless of whether the value ltr or rtl is used for the textDirection property. |
endOfLine |
The text content is always displayed at the end of the line. This means that if the textDirection property has the value ltr, the text content is right-aligned. If the value rtl is used, the text content is left-aligned. |
forcedRight |
The text content is always right-justified, regardless of whether the value ltr or rtl is used for the textDirection property. |
beginOfLine |
The text content is always displayed at the start of the line. This means that if the textDirection property has the value ltr, the text content is left-aligned. If the value rtl is used, the text content is right-aligned. |
● text
XML text; see also Supported Tags
This property can be personalized by an administrator.
● textDirection
Text or writing direction.
This enables labels of interface elements to be read in other languages that have a specific text direction. For example, Hebrew and Arabic are RTL languages, unlike English with is an LTR language.
This property can be personalized by an administrator.
Value |
Description |
INHERIT |
The text direction is inherited from the parent element and has the same text direction. |
LTR |
Left to right text direction |
RTL |
Right to left text direction |