Hi list-members,
I found the functionSetRightToLeft() in svtools/inc/svmedit.hxx, so that
answers my second question.
My first question still remains, though. Is Using EnableMirroring the
best way to left-align the strings in the list box?
Alan
Alan Yaniger wrote:
Hi list-members,
In RTL OOo, function names are still English. I therefore want to
change the function wizard dialog so that :
1) the names in the function list are left aligned, and
2) the multi-line edit in the dialog has textdirection LTR, and
left-alignment
I have two questions:
Question 1:
To align the names in the function list, I added following to
ScFuncPage::UpdateFunctionList() :
if (ScGlobal::IsSystemRTL())
aLbFunction.EnableMirroring( );
Is this the best way to do it?
Question 2:
How can I change the text direction and alignment of the multi-line
edit? In the ScEditBox contructors, I tried:
pMEdit->EnableRTL(FALSE);
but that didn't work. How do I set the direction and alignment of this
Edit Box?
Thanks,
Alan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]