|
::dbtools::SQLExceptionInfo | dbaui::createConnection (const OUString &_rsDataSourceName, const css::uno::Reference< css::container::XNameAccess > &_xDatabaseContext, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, css::uno::Reference< css::lang::XEventListener > const &_rEvtLst, css::uno::Reference< css::sdbc::XConnection > &_rOUTConnection) |
| creates a new connection and appends the eventlistener More...
|
|
::dbtools::SQLExceptionInfo | dbaui::createConnection (const css::uno::Reference< css::beans::XPropertySet > &_xDataSource, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, css::uno::Reference< css::lang::XEventListener > const &_rEvtLst, css::uno::Reference< css::sdbc::XConnection > &_rOUTConnection) |
| creates a new connection and appends the eventlistener More...
|
|
void | dbaui::fillTypeInfo (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, std::u16string_view _rsTypeNames, OTypeInfoMap &_rTypeInfoMap, std::vector< OTypeInfoMap::iterator > &_rTypeInfoIters) |
| fills a map and a vector with localized type names More...
|
|
void | dbaui::setColumnProperties (const css::uno::Reference< css::beans::XPropertySet > &_rxColumn, const OFieldDescription *_pFieldDesc) |
|
OUString | dbaui::createDefaultName (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_xMetaData, const css::uno::Reference< css::container::XNameAccess > &_xTables, const OUString &_sName) |
|
bool | dbaui::checkDataSourceAvailable (const OUString &_sDataSourceName, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) |
| checks if the given name exists in the database context More...
|
|
sal_Int32 | dbaui::mapTextAlign (const SvxCellHorJustify &_eAlignment) |
| maps SvxCellHorJustify to css::awt::TextAlign More...
|
|
css::uno::Reference< css::sdbc::XDataSource > | dbaui::getDataSourceByName (const OUString &_rDataSourceName, weld::Window *_pErrorMessageParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, ::dbtools::SQLExceptionInfo *_pErrorInfo) |
| retrieves a data source given by name or URL, and displays an error if this fails More...
|
|
css::uno::Reference< css::uno::XInterface > | dbaui::getDataSourceOrModel (const css::uno::Reference< css::uno::XInterface > &_xObject) |
| returns either the model when data source is given as parameter, or returns a data source when a model is given. More...
|
|
SvxCellHorJustify | dbaui::mapTextJustify (sal_Int32 _nAlignment) |
| maps css::awt::TextAlign to SvxCellHorJustify More...
|
|
void | dbaui::callColumnFormatDialog (const css::uno::Reference< css::beans::XPropertySet > &_xAffectedCol, const css::uno::Reference< css::beans::XPropertySet > &_xField, SvNumberFormatter *_pFormatter, weld::Widget *_pParent) |
| call the format dialog and set the selected format at the column More...
|
|
bool | dbaui::callColumnFormatDialog (weld::Widget *_pParent, SvNumberFormatter *_pFormatter, sal_Int32 _nDataType, sal_Int32 &_nFormatKey, SvxCellHorJustify &_eJustify, bool _bHasFormat) |
| second variant of the function before More...
|
|
bool | dbaui::appendToFilter (const css::uno::Reference< css::sdbc::XConnection > &xConnection, const OUString &rName, const css::uno::Reference< css::uno::XComponentContext > &rxContext, weld::Window *pParent) |
| append a name to tablefilter of a datasource More...
|
|
void | dbaui::notifySystemWindow (vcl::Window const *_pWindow, vcl::Window *_pToRegister, const ::comphelper::mem_fun1_t< TaskPaneList, vcl::Window * > &_rMemFunc) |
| notifySystemWindow adds or remove the given window _pToRegister at the Systemwindow found when search _pWindow. More...
|
|
void | dbaui::adjustBrowseBoxColumnWidth (::svt::EditBrowseBox *_pBox, sal_uInt16 _nColId) |
|
bool | dbaui::isSQL92CheckEnabled (const css::uno::Reference< css::sdbc::XConnection > &_xConnection) |
| check if SQL92 name checking is enabled More...
|
|
bool | dbaui::isAppendTableAliasEnabled (const css::uno::Reference< css::sdbc::XConnection > &_xConnection) |
| check if the alias name of the table should be added at select statements More...
|
|
bool | dbaui::generateAsBeforeTableAlias (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection) |
| determines whether when generating SQL statements, AS should be placed before a table alias More...
|
|
void | dbaui::fillAutoIncrementValue (const css::uno::Reference< css::beans::XPropertySet > &_xDatasource, bool &_rAutoIncrementValueEnabled, OUString &_rsAutoIncrementValue) |
| fills the bool and string value with information out of the datasource info property More...
|
|
void | dbaui::fillAutoIncrementValue (const css::uno::Reference< css::sdbc::XConnection > &_xConnection, bool &_rAutoIncrementValueEnabled, OUString &_rsAutoIncrementValue) |
| fills the bool and string value with information out of the datasource info property More...
|
|
void | dbaui::setEvalDateFormatForFormatter (css::uno::Reference< css::util::XNumberFormatter > const &_rxFormatter) |
| set the evaluation flag at the number formatter More...
|
|
TOTypeInfoSP | dbaui::queryPrimaryKeyType (const OTypeInfoMap &_rTypeInfo) |
| query for a type info which can be used to create a primary key column More...
|
|
TOTypeInfoSP | dbaui::queryTypeInfoByType (sal_Int32 _nDataType, const OTypeInfoMap &_rTypeInfo) |
| query for a specific type. More...
|
|
sal_Int32 | dbaui::askForUserAction (weld::Window *pParent, TranslateId pTitle, TranslateId pText, bool bAll, std::u16string_view rName) |
| returns the configuration node name of user defined drivers. More...
|
|
css::uno::Reference< css::beans::XPropertySet > | dbaui::createView (const OUString &_sName, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const css::uno::Reference< css::beans::XPropertySet > &_xSourceObject) |
| creates a new view from a query or table More...
|
|
css::uno::Reference< css::beans::XPropertySet > | dbaui::createView (const OUString &_rName, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const OUString &_rCommand) |
| creates a view with the given command More...
|
|
OUString | dbaui::getStrippedDatabaseName (const css::uno::Reference< css::beans::XPropertySet > &_xDataSource, OUString &_rsDatabaseName) |
| returns the stripped database name. More...
|
|
std::shared_ptr< const SfxFilter > | dbaui::getStandardDatabaseFilter () |
| returns the standard database filter More...
|
|
bool | dbaui::insertHierarchyElement (weld::Window *pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::container::XHierarchicalNameContainer > &_xNames, const OUString &_sParentFolder, bool _bForm, bool _bCollection=true, const css::uno::Reference< css::ucb::XContent > &_xContent=nullptr, bool _bMove=false) |
| opens a save dialog to store a form or report folder in the current hierarchy. More...
|
|
css::uno::Reference< css::util::XNumberFormatter > | dbaui::getNumberFormatter (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) |
| creates a number formatter More...
|
|