LibreOffice: XRename Interface Reference

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
Public Member Functions | List of all members
XRename Interface Referencepublished

supports the renaming of definition objects. More...

Inheritance diagram for XRename:

## Public Member Functions
void | rename ([in]string newName) raises (com::sun::star::sdbc::SQLException, com::sun::star::container::ElementExistException)
| is intended to alter the name of an object.
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

supports the renaming of definition objects.

This is a very desirable feature which is not supported by all databases. There is no standard SQL statement provided for this feature.

## Member Function Documentation

## ◆ rename()

void rename | ( | [in] string | newName | ) |
raises | ( | com::sun::star::sdbc::SQLException,
|  | com::sun::star::container::ElementExistException
| ) |  |

is intended to alter the name of an object.

Parameters

  newName | the new name

Exceptions

  com::sun::star::sdbc::SQLException | if a database access error occurs.

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

- com/sun/star/sdbcx/XRename.idl