Hello Niklas,
I have used the flag ScDocument::IsLayoutRTL.
I will try to do it,thanks!

Best Regards,




maoyg
2008-01-29



发件人: Niklas Nebel
发送时间: 2008-01-29 17:22:43
收件人: [email protected]
抄送: 
主题: Re: [sc-dev] About page margins some problems!

maoyg wrote:
> I'm fixing the right-to-left, I encounter a question.
> I don't know how to handle it, when I dragging the cloumn,
> whether the action of right-to-left is opposite to the action of  
> left-to-right.

You can query the right-to-left flag using ScDocument::IsLayoutRTL. In
that mode, the left edge of a column should have the handle, and
dragging it to the left increases the width. In many cases we use a
variable "nLayoutSign" that is either 1 or -1, but that's only one way
to implement it.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to