LibreOffice: XStorageChangeListener Interface Reference

LibreOffice LibreOffice 5.1 SDK API Reference

Public Member Functions | List of all members
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. 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

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