<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Exporting to html doesn't preserve RTL property"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131812#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Exporting to html doesn't preserve RTL property"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131812">bug 131812</a>
from <span class="vcard"><a class="email" href="mailto:zayed.alsaidi@gmail.com" title="Zayed <zayed.alsaidi@gmail.com>"> <span class="fn">Zayed</span></a>
</span></b>
<pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=131812#c3">comment #3</a>)
<span class="quote">> 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>