Hi Niklas,
Thanks for your helpful reply.
Regarding your last point:
In general, Hebrew users (most of whom are used to Microsoft Office)
expect that controls containing primarily English text will be
left-aligned. An example is the font list in Hebrew Microsoft Word. For
that reason, we disabled RTL in the OOo formula editor edit box, as
described in Issue 62413. If a control's contents are primarily RTL but
it includes some LTR entries, users expect right-aligned. This is the
case with Word's toolbar list, which is mostly Hebrew, but contains a
couple of English entries, such as "WordArt".
Alan
Niklas Nebel wrote:
Alan Yaniger wrote:
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?
That would mean double mirroring, the flag wasn't intended to be used
that way. The intended way to prevent mirroring is EnableRTL, but it
would have to be called for the children of the list box, so maybe the
ListBox should have an extra method.
If you do use EnableMirroring, you should use
GetSettings().GetLayoutRTL() instead of ScGlobal::IsSystemRTL(), to
match VCL's configuration handling.
But above all: Is there general consensus about mirroring a single
control, including its scroll bar? What would you do with other list
boxes that can contain English entries, or even mixed ones? Somehow,
this doesn't seem right.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]