!--a11y-->
FormattedTextView Properties 
● dataSource
To use the sap:field-Tag, under dataSource enter the context node that contains the text of the FormattedTextView.
● hAlign
Horizontal alignment of the content with 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 represented. |
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. |
● Text
XML text, see also Supported Tags
● 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.
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 |