Hello,

I try to get localize label of toolbar. According to
http://api.openoffice.org/docs/common/ref/com/sun/star/ui/UIElementSettings.html
I need to get UIName property.

[code]
XUIConfigurationManager xuicm =
getModuleUIConfigurationManager("com.sun.star.text.TextDocument");
XIndexAccess xia = xuicm.getSettings(ToolBars.StandardBar, true);
XPropertySet xps = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xia);
String UIName = (String) xps.getPropertyValue("UIName");
[/code]

But UIName is empty. Label of toolbar items is empty too. I could I get it.

Thank you in advance for your kind reply

-- 
-- 
.''`.   With best regards,
: :' :  Alexander Anisimov
`. `'   JID [email protected]
   `-   Debian - when you have better things to do than fixing systems

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to