<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:14px">Thank you very much</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-21 18:03 GMT+09:00 Miklos Vajna <span dir="ltr"><<a href="mailto:vmiklos@collabora.co.uk" target="_blank">vmiklos@collabora.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Fri, Nov 21, 2014 at 05:50:14PM +0900, Aronsoyol Qi <<a href="mailto:aronsoyol.lo@gmail.com">aronsoyol.lo@gmail.com</a>> wrote:<br>
> But I don't know how to detect the text direction (*bIsTblr *) at here. Can<br>
> anybody help me?<br>
<br>
See here for an example on how to detect the vertical, left to right<br>
direction:<br>
<br>
<a href="http://opengrok.libreoffice.org/xref/core/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx#829" target="_blank">http://opengrok.libreoffice.org/xref/core/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx#829</a><br>
<br>
If you have a layout frame, then pFrm->IsVertical() && pFrm->IsVertLR()<br>
is your case.<br>
<br>
Regards,<br>
<br>
Miklos<br>
<br>_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br></blockquote></div><br></div>