LibreOffice
LibreOffice 24.2 SDK API Reference
|
is used by the database application to obtain non-default user interface information and/or components for database tables. More...
import"XTableUIProvider.idl";
Public Member Functions | |
com::sun::star::graphic::XGraphic | getTableIcon ([in] string TableName, [in] long ColorMode) |
provides the icon which should be used to represent the table in the database application window. More... | |
com::sun::star::uno::XInterface | getTableEditor ([in] XDatabaseDocumentUI DocumentUI, [in] string TableName) raises (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException) |
returns a component which can be used to edit the definition of an existing table. More... | |
is used by the database application to obtain non-default user interface information and/or components for database tables.
com::sun::star::uno::XInterface getTableEditor | ( | [in] XDatabaseDocumentUI | DocumentUI, |
[in] string | TableName | ||
) | |||
raises | ( | ::com::sun::star::lang::IllegalArgumentException, | |
::com::sun::star::lang::WrappedTargetException | |||
) |
returns a component which can be used to edit the definition of an existing table.
DocumentUI | provides access to the UI in which the database document is currently displayed. In particular, this parameter provides access to the application's main window, which is needed in case the table editor should be a dialog. |
TableName | denotes the fully qualified name of an existing table. |
NULL
if the default component should be used.com::sun::star::lang::IllegalArgumentException | if the given TableName does not denote an existing table |
com::sun::star::lang::WrappedTargetException | if an error occurs while creating the table editor component. |
com::sun::star::graphic::XGraphic getTableIcon | ( | [in] string | TableName, |
[in] long | ColorMode | ||
) |
provides the icon which should be used to represent the table in the database application window.
The icon will usually be requested once per table, and cached. It might be requested again if the application settings change, for instance, if another desktop theme has been activated.
TableName | denotes the fully qualified name of the database table. |
ColorMode | denotes the color mode of the graphic to retrieve, being one of the com::sun::star::graphic::GraphicColorMode constants. |
NULL
if the default icon should be used.