LibreOffice LibreOffice 4.2 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Exported Interfaces | Public Attributes | List of all members
UIElementSettings Service Reference

describes the internal structure of a configurable user interface element. More...

`import"UIElementSettings.idl";`

Inheritance diagram for UIElementSettings:

## Exported Interfaces
interface | ::com::sun::star::container::XIndexAccess
| provides access to the structure of the user interface element. More...
interface | ::com::sun::star::lang::XSingleComponentFactory
| provides access to an optional factory interface to create sub container. More...

## Public Attributes
string | UIName
| determine an optional user interface name of the user interface element. More...

## Additional Inherited Members
Public Member Functions inherited from XIndexAccess
long | getCount ()
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException )
Public Member Functions inherited from XElementAccess
type | getElementType ()
boolean | hasElements ()
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object. More...
void | acquire ()
| increases the reference counter by one. More...
void | release ()
| decreases the reference counter by one. More...
Protected Member Functions inherited from XSingleComponentFactory
com::sun::star::uno::XInterface | createInstanceWithContext ([in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception)
| Creates an instance of a service implementation. More...
com::sun::star::uno::XInterface | createInstanceWithArgumentsAndContext ([in] sequence< any > Arguments, [in] com::sun::star::uno::XComponentContext Context) raises ( com::sun::star::uno::Exception )
| Creates an instance of a component and initializes the new instance with the given arguments and context. More...

## Detailed Description

describes the internal structure of a configurable user interface element.

No assumption is made about any graphical representation: You could have a menu or a toolbar working with the same UIElementSettings although limitations based on the real user interface element may be visible.

Since
  OOo 2.0

## Exported Interfaces

interface ::com::sun::star::container::XIndexAccess

provides access to the structure of the user interface element.

The container contains the items of the user interface element. Every item is stored as a sequence of com::sun::star::beans::PropertyValue. The properties insides the sequence are defined by the service com::sun::star::ui::ItemDescriptor. It depends on the function which provides these service if the container is shareable read-only or exclusive writable.

See Also
  com::sun::star::ui::ItemDescriptor
  com::sun::star::ui::ItemType
  com::sun::star::ui::ItemStyle

interface ::com::sun::star::lang::XSingleComponentFactory
| optional

provides access to an optional factory interface to create sub container.

The factory should be used to create sub container within this user interface element settings. This interface is only available if the container is exclusive writable.

## Member Data Documentation

string UIName
| optional property

determine an optional user interface name of the user interface element.

A toolbar can show a its user interface name on the window title, when it is in floating mode.

The documentation for this service was generated from the following file:

- com/sun/star/ui/UIElementSettings.idl