Changes the text direction of all selected paragraphs. When the direction of a paragraph is changed this paragraph's alignment is toggled from left to right or from right to left. The alignment of centered and justified paragraphs is not changed. Left and right tabulators are also toggled.
This parameter specifies how to change the text direction. Possible values are the following:
The method returns True, if the text direction could be changed. The method returns False, if an error has occurred.