LibreOffice
LibreOffice 7.2 SDK API Reference
Public Member Functions | List of all members
XListEntryListener Interface Reference

specifies a listener for changes in a string entry list More...

import"XListEntryListener.idl";

Inheritance diagram for XListEntryListener:
XEventListener XInterface

Public Member Functions

void entryChanged ([in] ListEntryEvent Source)
 notifies the listener that a single entry in the list has change More...
 
void entryRangeInserted ([in] ListEntryEvent Source)
 notifies the listener that a range of entries has been inserted into the list More...
 
void entryRangeRemoved ([in] ListEntryEvent Source)
 notifies the listener that a range of entries has been removed from the list More...
 
void allEntriesChanged ([in] com::sun::star::lang::EventObject Source)
 notifies the listener that all entries of the list have changed. More...
 
- Public Member Functions inherited from XEventListener
void disposing ([in] com::sun::star::lang::EventObject Source)
 gets called when the broadcaster is about to be disposed. More...
 
- 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...
 

Detailed Description

specifies a listener for changes in a string entry list

Member Function Documentation

◆ allEntriesChanged()

void allEntriesChanged ( [in] com::sun::star::lang::EventObject  Source)

notifies the listener that all entries of the list have changed.

The listener should retrieve the complete new list by calling the XListEntrySource::getAllListEntries() method of the event source (which is denoted by com::sun::star::lang::EventObject::Source).

◆ entryChanged()

void entryChanged ( [in] ListEntryEvent  Source)

notifies the listener that a single entry in the list has change

Parameters
Sourceis the event describing the change. The ListEntryEvent::Position member denotes the position of the changed entry, the first (and only) element of the ListEntryEvent::Entries member denotes the new string

◆ entryRangeInserted()

void entryRangeInserted ( [in] ListEntryEvent  Source)

notifies the listener that a range of entries has been inserted into the list

Parameters
Sourceis the event describing the change. The ListEntryEvent::Position member denotes the position of the first inserted entry, the ListEntryEvent::Entries member contains the strings which have been inserted.

◆ entryRangeRemoved()

void entryRangeRemoved ( [in] ListEntryEvent  Source)

notifies the listener that a range of entries has been removed from the list

Parameters
Sourceis the event describing the change. The ListEntryEvent::Position member denotes the position of the first removed entry, the ListEntryEvent::Count member the number of removed entries.

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