| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
allows to alter a table. More...
import "XTableAlteration.idl";
 
  
| Exported Interfaces | |
| interface | XConnectionSupplier | 
| Exported Interfaces inherited from XConnectionSupplier | |
| interface | com::sun::star::lang::XInitialization | 
| Public Member Functions | |
| void | alterColumnByName ([in] com::sun::star::beans::XPropertySet table, [in] string columnName, [in] com::sun::star::beans::XPropertySet columnDescriptor) raises ( com::sun::star::sdbc::SQLException ) | 
| alter the column defined by name | |
| void | addColumn ([in] com::sun::star::beans::XPropertySet table,[in]com::sun::star::beans::XPropertySet descriptor) raises (com::sun::star::sdbc::SQLException) | 
| creates a new object using the given descriptor and appends it to the related container. | |
| void | dropColumn ([in] com::sun::star::beans::XPropertySet table,[in]string columnName) raises ( com::sun::star::sdbc::SQLException) | 
| drops an object of the related container identified by its name. | |
| Public Member Functions inherited from XInitialization | |
| void | initialize ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception ) | 
| initializes the 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. | |
| Additional Inherited Members | |
| Public Attributes inherited from XConnectionSupplier | |
| com::sun::star::sdbc::XConnection | ActiveConnection | 
| returns the source connection. | |
allows to alter a table.
| interface XConnectionSupplier | 
| void addColumn | ( | [in] com::sun::star::beans::XPropertySet | table, | |||
| [in] com::sun::star::beans::XPropertySet | descriptor ) | |||||
| raises | ( | com::sun::star::sdbc::SQLException ) | ||||
creates a new object using the given descriptor and appends it to the related container.
Note: The descriptor will not be changed and can be used again to append another object.
| table | the table to be altered | 
| descriptor | the descriptor which should be serve to append a new object | 
| com::sun::star::sdbc::SQLException | if a database access error occurs. | 
| void alterColumnByName | ( | [in] com::sun::star::beans::XPropertySet | table, | |||
| [in] string | columnName, | |||||
| [in] com::sun::star::beans::XPropertySet | columnDescriptor ) | |||||
| raises | ( | com::sun::star::sdbc::SQLException ) | ||||
alter the column defined by name
| table | the table to be altered | 
| columnName | the name of the column to be changed | 
| columnDescriptor | the column descriptor with the information of the new column definition | 
| com::sun::star::sdbc::SQLException | 
| void dropColumn | ( | [in] com::sun::star::beans::XPropertySet | table, | |||
| [in] string | columnName ) | |||||
| raises | ( | com::sun::star::sdbc::SQLException ) | ||||
drops an object of the related container identified by its name.
| table | the table to be altered | 
| columnName | the name of the column to be dropped | 
| com::sun::star::sdbc::SQLException | if a database access error occurs. |