Hi, On Fri, Nov 21, 2014 at 05:50:14PM +0900, Aronsoyol Qi <aronsoyol.lo@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
Attachment:
signature.asc
Description: Digital signature