fdo#63546: set appropriate alignment when wrt direction of cells is changed.
fdo#63546: set appropriate alignment when wrt direction of cells is changed.

Iterate over all selected cells, set appropriate alignment based on
current writing direction and alignment of the cell.

Don’t change alignment when cell is center aligned or justified.
and if alignment is right or left, change it respective to writing direction.

Change-Id: Ie98a46af97236ab4303d030f11bd167939dde32b
Reviewed-on: https://gerrit.libreoffice.org/3549
Reviewed-by: Tor Lillqvist <a9ff1a38c0d094d92725714af3aa7948469a0905@iki.fi>
Tested-by: Tor Lillqvist <a9ff1a38c0d094d92725714af3aa7948469a0905@iki.fi>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core