LibreOffice: XDataEditor Interface Reference

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XDataEditor Interface Referencepublished

connects to a model and broadcasts status change events. More...

`import "XDataEditor.idl";`

Inheritance diagram for XDataEditor:

## Public Member Functions
void | show ()
| makes the data editor visible to the user.
void | setModel ([in] com::sun::star::uno::XInterface model)
| connects the data editor to a data model.
com::sun::star::uno::XInterface | getModel ()
void | addDataEditorListener ([in] XDataEditorListener listener)
| registers a listener to receive DataEditorEvents.
void | removeDataEditorListener ([in] XDataEditorListener listener)
| unregisters a listener.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

connects to a model and broadcasts status change events.

## Member Function Documentation

## ◆ addDataEditorListener()

void addDataEditorListener | ( | [in] XDataEditorListener | listener | ) |

registers a listener to receive DataEditorEvents.

## ◆ getModel()

com::sun::star::uno::XInterface getModel | ( |  | ) |

Returns
  the data model which was set by XDataEditor::setModel().

## ◆ removeDataEditorListener()

void removeDataEditorListener | ( | [in] XDataEditorListener | listener | ) |

unregisters a listener.

## ◆ setModel()

void setModel | ( | [in] com::sun::star::uno::XInterface | model | ) |

connects the data editor to a data model.

## ◆ show()

void show | ( |  | ) |

makes the data editor visible to the user.

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

- com/sun/star/util/XDataEditor.idl