LibreOffice
LibreOffice 24.2 SDK API Reference
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XStringListControl Interface Reference

defines the interface for an XPropertyControl which, additionally to the basic behavior, supports a list of strings interpreted as possible property values. More...

Inheritance diagram for XStringListControl:
XPropertyControl

Public Member Functions

void clearList ()
 clears the whole list
 
void prependListEntry ([in] string NewEntry)
 prepends a new entry to the beginning of the list
 
void appendListEntry ([in] string NewEntry)
 appends a new entry to the end of the list
 
sequence< string > getListEntries ()
 gets all list entries
 
- Public Member Functions inherited from XPropertyControl
boolean isModified ()
 determines whether the control content is currently modified
 
void notifyModifiedValue ()
 notifies the context in which the control lives of the current control value, if this value is currently modified
 

Additional Inherited Members

- Public Attributes inherited from XPropertyControl
short ControlType
 denotes the type of the control, as one of the PropertyControlType constants
 
any Value
 denotes the current content of the control.
 
type ValueType
 denotes the value type of the control.
 
XPropertyControlContext ControlContext
 specifies the context of the control within the ObjectInspector.
 
com::sun::star::awt::XWindow ControlWindow
 denotes the window which is the real UI representation of the property control.
 

Detailed Description

defines the interface for an XPropertyControl which, additionally to the basic behavior, supports a list of strings interpreted as possible property values.

A control which would canonically implement this interface is a list box control: The string list defined by XStringListControl would in the control be represented as drop-down list containing all the strings.

Since
OOo 2.0.3

Member Function Documentation

◆ appendListEntry()

void appendListEntry ( [in] string  NewEntry)

appends a new entry to the end of the list

◆ clearList()

void clearList ( )

clears the whole list

◆ getListEntries()

sequence< string > getListEntries ( )

gets all list entries

◆ prependListEntry()

void prependListEntry ( [in] string  NewEntry)

prepends a new entry to the beginning of the list


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