Re: docx locale

2013-09-16 Thread Miklos Vajna
Hi Faisal,

On Fri, Sep 13, 2013 at 02:15:30PM +, Faisal M. Alotaibi 
fmalota...@kacst.edu.sa wrote:
 what i want to know when this is happen i found the tag bidi that 
 responsible for RTL
 are not there but the paragraph still appear as RTL. as you can see in first 
 paragraph in the attachment.

bidi is right-to-left paragraph layout. However, you can have RTL as
a run property as well, see the rtl element (17.3.2.30 rtl (Right To
Left Text) in the OOXML spec), which is the case here.

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


RE: docx locale

2013-09-13 Thread Faisal M. Alotaibi
hi Miklos

sorry for the little detail

what i want to know is when locale setting (the default language not UI) for MS 
are RTL.
the default setting for the paragraph are changed

for example:
if i open new MS docx file with rtl locale the paragraph will be RTL by default.

what i want to know when this is happen i found the tag bidi that responsible 
for RTL
are not there but the paragraph still appear as RTL. as you can see in first 
paragraph in the attachment.


Regards,

Faisal M. Al-Otaibi.
Programmer.
Motah Program, KACST
http://www.motah.org.sa


From: Miklos Vajna [vmik...@collabora.co.uk]
Sent: Thursday, September 12, 2013 3:59 PM
To: Faisal M. Alotaibi
Cc: libreoffice@lists.freedesktop.org
Subject: Re: docx locale

Hi Faisal,

On Thu, Sep 12, 2013 at 11:24:01AM +, Faisal M. Alotaibi 
fmalota...@kacst.edu.sa wrote:
 is there a way to know if the docx file was written in MS by RTL locale or 
 LTR locale?

Hmm, you mean if the UI was LTR/RTL, which is independent from the
locale of the text of the document? I don't really know, if you can
share a sample, which was created by an RTL UI, I may be able to check
it. In general, I doubt it, though, at least AFAIK ODF doesn't store it.

Miklos
Warning: This message and its attachment, if any, are confidential and may 
contain information protected by law. If you are not the intended recipient, 
please contact the sender immediately and delete the message and its 
attachment, if any. You should not copy the message and its attachment, if any, 
or disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail and its attachment, if any, 
are those of the sender, and do not necessarily reflect those of King Abdulaziz 
city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST 
accepts no liability for any damage caused by this email.

تحذير: هذه الرسالة وما تحويه من مرفقات (إن وجدت) تمثل وثيقة سرية قد تحتوي على 
معلومات محمية بموجب القانون. إذا لم تكن الشخص المعني بهذه الرسالة فيجب عليك 
تنبيه المُرسل بخطأ وصولها إليك، وحذف الرسالة ومرفقاتها (إن وجدت)، ولا يجوز لك 
نسخ أو توزيع هذه الرسالة أو مرفقاتها (إن وجدت) أو أي جزء منها، أو البوح 
بمحتوياتها للغير أو استعمالها لأي غرض. علماً بأن فحوى هذه الرسالة ومرفقاتها (ان 
وجدت) تعبر عن رأي المُرسل وليس بالضرورة رأي مدينة الملك عبدالعزيز للعلوم 
والتقنية بالمملكة العربية السعودية، ولا تتحمل المدينة أي مسئولية عن الأضرار 
الناتجة عن ما قد يحتويه هذا البريد.



RTL local.docx
Description: RTL local.docx
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: docx locale

2013-09-12 Thread Miklos Vajna
Hi Faisal,

On Thu, Sep 12, 2013 at 11:24:01AM +, Faisal M. Alotaibi 
fmalota...@kacst.edu.sa wrote:
 is there a way to know if the docx file was written in MS by RTL locale or 
 LTR locale?

Hmm, you mean if the UI was LTR/RTL, which is independent from the
locale of the text of the document? I don't really know, if you can
share a sample, which was created by an RTL UI, I may be able to check
it. In general, I doubt it, though, at least AFAIK ODF doesn't store it.

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice