https://bugs.documentfoundation.org/show_bug.cgi?id=131812

--- Comment #6 from Zayed <zayed.alsa...@gmail.com> ---
(In reply to Julien Nabet from comment #3)
> If you check Page Style, Text direction is LTR, not RTL.
> The text is only right justified.
> 
> So yes html should be right justified, but nothing related to Text direction.

All the paragraphs are RTL direction in Writer and right justified. 
Currently the Body is like this:
<body dir="ltr" style="max-width:8.5in;margin-top:0.7874in;
margin-bottom:0.7874in; margin-left:0.7874in; margin-right:0.7874in; ">

and CSS for P is:
.P1 { font-size:12pt; font-family:Liberation Serif; writing-mode:rl-tb;
text-align:left ! important;}

The correct one should be with out dir="ltr" for the body, like this:
<body  style="max-width:8.5in;margin-top:0.7874in; margin-bottom:0.7874in;
margin-left:0.7874in; margin-right:0.7874in; ">

and for the P like this:
.P1 { font-size:12pt; font-family:Liberation Serif; writing-mode:rl-tb;
text-align:right ! important;}

I hope this clear by now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to