Hi RKVS, On Monday, 2009-08-17 15:17:13 +0530, RKVS Raman wrote:
> Can someone please help me in creating entries for an UI Mirroring in
> Common.xcu.
For syntax and description of possible entries open the file
<YourOOoInstallation>/openoffice.org/basis3.1/share/registry/schema/org/openoffice/Office/Common.xcs
Search for "UIMirroring", you'll find it as a property within the "CTL"
group, that itself is an element of the "I18N" group:
<group oor:name="I18N">
<info>
<desc>Contains various language/localization specific settings.</desc>
</info>
...
<group oor:name="CTL">
<info>
<desc>Contains settings for the languages with complex text layout
(Hebrew, Arabic, Thai,...).</desc>
</info>
...
<prop oor:name="UIMirroring" oor:type="xs:boolean">
<info>
<desc> Specifies whether the whole user interface (UI) will be
mirrored. If true, the UI will be right-to-left. If false, the UI will be
left-to-right. If nil (the default), the UI will be mirrored depending on the
office locale. </desc>
</info>
</prop>
</group>
</group>
So, to enable RTL unconditionally edit
<YourOOo>/user/registry/data/org/openoffice/Office/Common.xcu
or, as a global setting,
<YourOOoInstallation>/openoffice.org/basis3.1/share/registry/data/org/openoffice/Office/Common.xcu
Look up if the node "I18N" and maybe its "CTL" node are already present:
<node oor:name="I18N">
...
<node oor:name="CTL">
and add or insert at the proper position:
<node oor:name="I18N">
<node oor:name="CTL">
<prop oor:name="UIMirroring" oor:type="xs:boolean">
<value>true</value>
</prop>
</node>
</node>
Note: I didn't try now, but hopefully works ;)
Eike
--
OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't send personal mail to the [email protected] account, which I use for
mailing lists only and don't read from outside Sun. Use [email protected] Thanks.
pgpx68IZM3dfT.pgp
Description: PGP signature
