fix the bug for inverted arrow key behavior in left to right vertical text

Miklos Vajna vmiklos at collabora.co.uk
Fri Nov 21 01:03:05 PST 2014


Hi,

On Fri, Nov 21, 2014 at 05:50:14PM +0900, Aronsoyol Qi <aronsoyol.lo at gmail.com> wrote:
> But I don't know how to detect the text direction (*bIsTblr *) at here. Can
> anybody help me?

See here for an example on how to detect the vertical, left to right
direction:

http://opengrok.libreoffice.org/xref/core/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx#829

If you have a layout frame, then pFrm->IsVertical() && pFrm->IsVertLR()
is your case.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141121/45e9c401/attachment.sig>


More information about the LibreOffice mailing list