setRightToLeft (Cell Alignment)

Hello there is it possible when using setRightToLeft to align cells based on the direction provided meaning when i assign it to true the cells should by default take the right alignment since the sheet is opening from right to left.