Document directionality
Whenever you open a document in ArbortextEditor, that document has an overall directionality that is either LTR or RTL. That directionality is based on the setting of the directionality attribute on the outermost element of the document. If that element does not have the directionality set, ArbortextEditor bases the document directionality on the current system code page. All elements in a document inherit their directionality based on the overall directionality of the document, unless you override the document directionality at the element level.
The display of the Document Map is based on the overall directionality of the document. If the document directionality is RTL, the Document Map is displayed RTL regardless of the directionality of individual elements or text.