LibreOffice: XStorageChangeListener Interface Reference

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XStorageChangeListener Interface Reference

allows to be notified when a document is switched to a new storage. More...

`import "XStorageChangeListener.idl";`

Inheritance diagram for XStorageChangeListener:

## Public Member Functions
void | notifyStorageChange ([in] ::com::sun::star::uno::XInterface xDocument, [in] ::com::sun::star::embed::XStorage xStorage)
| is called when document switches to another storage.
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.
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

allows to be notified when a document is switched to a new storage.

## Member Function Documentation

## ◆ notifyStorageChange()

void notifyStorageChange | ( | [in] ::com::sun::star::uno::XInterface | xDocument,
|  | [in] ::com::sun::star::embed::XStorage | xStorage )

is called when document switches to another storage.

Parameters

  xDocument | the document that has changed the storage it is based on
  xStorage | the new storage the document is based on

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

- com/sun/star/document/XStorageChangeListener.idl