LibreOffice
LibreOffice 7.4 SDK API Reference
Public Attributes | List of all members
ItemListEvent Struct Reference

is the event broadcasted by a XListItems implementation for changes in its item list. More...

import"ItemListEvent.idl";

Inheritance diagram for ItemListEvent:
EventObject

Public Attributes

long ItemPosition
 specifies the position of the item which is affected by the event More...
 
::com::sun::star::beans::Optional< string > ItemText
 the text of the item. More...
 
::com::sun::star::beans::Optional< string > ItemImageURL
 the URL of the image of the item More...
 
- Public Attributes inherited from EventObject
com::sun::star::uno::XInterface Source
 refers to the object that fired the event. More...
 

Detailed Description

is the event broadcasted by a XListItems implementation for changes in its item list.

Member Data Documentation

◆ ItemImageURL

::com::sun::star::beans::Optional< string > ItemImageURL

the URL of the image of the item

If the event being notified did not touch the image of an item, this member is empty. For instance, upon invocation of XItemList::setItemText(), only ItemText will be set, and ItemImageURL will be empty.

◆ ItemPosition

long ItemPosition

specifies the position of the item which is affected by the event

In case the event is not related to a single item, but to the complete list, the value of this member is undefined.

◆ ItemText

::com::sun::star::beans::Optional< string > ItemText

the text of the item.

If the event being notified did not touch the text of an item, this member is empty. For instance, upon invocation of XItemList::setItemImage(), only ItemImageURL will be set, and ItemText will be empty.


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