fix fdo#59892 completely and fdo#33302 partially.
fix fdo#59892 completely and fdo#33302 partially.

fix fdo#33302 for rtl scripts in cal,impress and draw.

Change-Id: I83b1e077faf0f2578308e03b7598557f60e7cfd8
Reviewed-on: https://gerrit.libreoffice.org/1961
Reviewed-by: Ahmad Harthi <5bbf01c656608da1b5013371b966eaf3317b45dc@kacst.edu.sa>
Tested-by: Ahmad Harthi <5bbf01c656608da1b5013371b966eaf3317b45dc@kacst.edu.sa>

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