/aoo42x/main/extensions/source/dbpilots/ |
H A D | listcombowizard.cxx | 245 Reference< XNameAccess > xTables; in getTables() local 247 xTables = xSuppTables->getTables(); in getTables() 249 …DBG_ASSERT(!_bNeedIt || xTables.is() || !xConn.is(), "OLCPage::getTables: got no tables from the c… in getTables() 251 return xTables; in getTables() 257 Reference< XNameAccess > xTables = getTables(_bNeedIt); in getTableFields() local 259 if (xTables.is()) in getTableFields() 265 xTables->getByName(getSettings().sListContentTable) >>= xSuppCols; in getTableFields() 343 Reference< XNameAccess > xTables = getTables(sal_True); in initializePage() local 345 if (xTables.is()) in initializePage() 346 aTableNames = xTables->getElementNames(); in initializePage()
|
H A D | commonpagesdbp.cxx | 330 Reference< XNameAccess > xTables(xSupplTables->getTables(), UNO_QUERY); in implFillTables() local 331 if (xTables.is()) in implFillTables() 332 aTableNames = xTables->getElementNames(); in implFillTables()
|
/aoo42x/main/connectivity/source/drivers/hsqldb/ |
H A D | HConnection.cxx | 258 Reference< XNameAccess > xTables; in impl_getTableContainer_throw() local 264 xTables.set( xTablesSupp->getTables(), UNO_QUERY_THROW ); in impl_getTableContainer_throw() 274 …OSL_POSTCOND( xTables.is(), "OHsqlConnection::impl_getTableContainer_throw: post condition not met… in impl_getTableContainer_throw() 275 return xTables; in impl_getTableContainer_throw() 323 Reference< XNameAccess > xTables( impl_getTableContainer_throw(), UNO_QUERY_THROW ); in impl_checkExistingTable_throw() local 324 if ( xTables.is() ) in impl_checkExistingTable_throw() 325 bDoesExist = xTables->hasByName( _rTableName ); in impl_checkExistingTable_throw()
|
/aoo42x/main/odk/examples/DevelopersGuide/Database/ |
H A D | sdbcx.java | 133 XNameAccess xTables = xTabSup.getTables(); in createConnection() local 136 String [] aTableNames = xTables.getElementNames(); in createConnection() 151 XNameAccess xTables = xTabSup.getTables(); in displayTableProperties() local 152 String [] aTableNames = xTables.getElementNames(); in displayTableProperties() 155 Object table = xTables.getByName(aTableNames[0]); in displayTableProperties() 319 …public static void createTableSalesMen(XNameAccess xTables) throws com.sun.star.uno.Exception,SQLE… in createTableSalesMen() argument 322 … xTabFac = (XDataDescriptorFactory)UnoRuntime.queryInterface(XDataDescriptorFactory.class,xTables); in createTableSalesMen()
|
/aoo42x/main/dbaccess/source/ui/tabledesign/ |
H A D | TableController.cxx | 325 Reference<XNameAccess> xTables; in doSaveDoc() local 333 xTables = xTablesSup->getTables(); in doSaveDoc() 334 OSL_ENSURE(xTables.is(),"The tables can't be null!"); in doSaveDoc() 335 bNew = bNew || (xTables.is() && !xTables->hasByName(m_sName)); in doSaveDoc() 348 aDefaultName = ::dbtools::createUniqueName(xTables,aDefaultName); in doSaveDoc() 376 if(!checkColumns(bNew || !xTables->hasByName(m_sName))) in doSaveDoc() 385 dropTable(xTables,m_sName); in doSaveDoc() 387 Reference<XDataDescriptorFactory> xFact(xTables,UNO_QUERY); in doSaveDoc() 406 Reference<XAppend> xAppend(xTables,UNO_QUERY); in doSaveDoc() 627 Reference<XNameAccess> xTables = xTablesSup->getTables(); in suspend() local [all …]
|
/aoo42x/main/connectivity/source/drivers/dbase/ |
H A D | DDatabaseMetaData.cxx | 176 Reference< XTablesSupplier > xTables = m_pConnection->createCatalog(); in getColumns() local 177 if(!xTables.is()) in getColumns() 180 Reference< XNameAccess> xNames = xTables->getTables(); in getColumns() 266 Reference< XTablesSupplier > xTables = m_pConnection->createCatalog(); in getIndexInfo() local 267 if(!xTables.is()) in getIndexInfo() 270 Reference< XNameAccess> xNames = xTables->getTables(); in getIndexInfo()
|
/aoo42x/main/dbaccess/source/ui/misc/ |
H A D | WCPage.cxx | 323 Reference<XNameAccess> xTables; in checkAppendData() local 325 xTables = xSup->getTables(); in checkAppendData() 326 if(xTables.is() && xTables->hasByName(m_edTableName.GetText())) in checkAppendData() 334 xTables->getByName( m_edTableName.GetText() ) >>= xTable; in checkAppendData()
|
H A D | WCopyTable.cxx | 1279 Reference< XNameAccess > xTables; in createTable() local 1281 xTables = xSup->getTables(); in createTable() 1284 Reference<XDataDescriptorFactory> xFact(xTables,UNO_QUERY); in createTable() 1325 Reference<XAppend> xAppend(xTables,UNO_QUERY); in createTable() 1331 if(xTables->hasByName(m_sName)) in createTable() 1332 xTables->getByName(m_sName) >>= xTable; in createTable() 1337 if(xTables->hasByName(sComposedName)) in createTable() 1339 xTables->getByName(sComposedName) >>= xTable; in createTable() 1391 else if(xTables.is() && xTables->hasByName(m_sName)) in createTable() 1392 xTables->getByName(m_sName) >>= xTable; in createTable()
|
/aoo42x/main/extensions/source/abpilot/ |
H A D | datasourcehandling.cxx | 487 Reference< XNameAccess > xTables; in getTableNames() local 489 xTables = xSuppTables->getTables(); in getTableNames() 490 …DBG_ASSERT( xTables.is(), "ODataSource::getTableNames: could not retrieve the tables container!" ); in getTableNames() 494 if ( xTables.is( ) ) in getTableNames() 495 aTableNames = xTables->getElementNames( ); in getTableNames()
|
/aoo42x/main/dbaccess/source/ui/dlg/ |
H A D | adtabdlg.cxx | 175 Reference< XNameAccess > xTables, xViews; in updateTableObjectList() local 178 xTables = xTableSupp->getTables(); in updateTableObjectList() 179 if ( xTables.is() ) in updateTableObjectList() 183 Reference< XContainer> xContainer(xTables,uno::UNO_QUERY); in updateTableObjectList() 187 sTables = xTables->getElementNames(); in updateTableObjectList()
|
/aoo42x/main/extensions/source/bibliography/ |
H A D | datman.cxx | 216 Reference< XNameAccess > xTables = xSupplyTables->getTables(); in getColumns() local 217 if (xTables.is() && xTables->hasByName(sTable)) in getColumns() 219 *(Reference< XInterface > *)xTables->getByName(sTable).getValue(), UNO_QUERY); in getColumns() 994 Reference< XNameAccess > xTables = xSupplyTables.is() ? in createDatabaseForm() local 998 if (xTables.is()) in createDatabaseForm() 999 aTableNameSeq = xTables->getElementNames(); in createDatabaseForm() 1057 Reference< XNameAccess > xTables; in getDataSources() local 1059 xTables = xSupplyTables->getTables(); in getDataSources() 1060 if (xTables.is()) in getDataSources() 1061 aTableNameSeq = xTables->getElementNames(); in getDataSources()
|
/aoo42x/main/extensions/source/propctrlr/ |
H A D | formlinkdialog.cxx | 487 Reference< XNameAccess > xTables; in getCanonicUnderlyingTable() local 489 xTables = xTablesInForm->getTables(); in getCanonicUnderlyingTable() 491 if ( xTables.is() ) in getCanonicUnderlyingTable() 492 aTableNames = xTables->getElementNames(); in getCanonicUnderlyingTable() 496 xTables->getByName( aTableNames[ 0 ] ) >>= xTable; in getCanonicUnderlyingTable()
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindowData.cxx | 115 Reference< XNameAccess > xTables( xSupTables->getTables(), UNO_QUERY_THROW ); in init() local 116 bool bIsKnownTable = xTables->hasByName( m_sComposedName ); in init() 121 m_xTable.set( xTables->getByName( m_sComposedName ), UNO_QUERY ); in init()
|
/aoo42x/main/dbaccess/source/core/api/ |
H A D | RowSetCache.cxx | 176 Reference<XNameAccess> xTables = xTabSup->getTables(); in DBG_NAME() local 177 Sequence< ::rtl::OUString> aTableNames = xTables->getElementNames(); in DBG_NAME() 201 if(_rUpdateTableName.getLength() && xTables->hasByName(_rUpdateTableName)) in DBG_NAME() 202 xTables->getByName(_rUpdateTableName) >>= m_aUpdateTable; in DBG_NAME() 203 else if(xTables->getElementNames().getLength()) in DBG_NAME() 205 aUpdateTableName = xTables->getElementNames()[0]; in DBG_NAME() 206 xTables->getByName(aUpdateTableName) >>= m_aUpdateTable; in DBG_NAME() 208 Reference<XIndexAccess> xIndexAccess(xTables,UNO_QUERY); in DBG_NAME() 212 nTablesCount = xTables->getElementNames().getLength(); in DBG_NAME()
|
H A D | FilteredContainer.cxx | 367 … Reference< XResultSet > xTables = m_xMetaData->getTables( Any(), sAll, sAll, aTableTypeFilter ); in construct() local 368 Reference< XRow > xCurrentRow( xTables, UNO_QUERY_THROW ); in construct() 373 while ( xTables->next() ) in construct() 386 disposeComponent( xTables ); in construct()
|
H A D | RowSet.cxx | 1769 Reference< XNameAccess > xTables( impl_getTables_throw(), UNO_QUERY_THROW ); in impl_initializeColumnSettings_nothrow() local 1770 if ( !xTables->hasByName( sTableName ) ) in impl_initializeColumnSettings_nothrow() 1774 … Reference< XColumnsSupplier > xTableColSup( xTables->getByName( sTableName ), UNO_QUERY_THROW ); in impl_initializeColumnSettings_nothrow() 2232 Reference< XNameAccess > xTables; in impl_getTables_throw() local 2237 xTables.set( xTablesAccess->getTables(), UNO_QUERY_THROW ); in impl_getTables_throw() 2241 xTables = m_pTables; in impl_getTables_throw() 2260 xTables = m_pTables; in impl_getTables_throw() 2266 return xTables; in impl_getTables_throw() 2360 Reference< XNameAccess > xTables( impl_getTables_throw() ); in impl_buildActiveCommand_throw() local 2361 if ( xTables->hasByName(m_aCommand) ) in impl_buildActiveCommand_throw()
|
H A D | definitioncolumn.cxx | 273 Reference< XNameAccess > xTables( xSuppTables->getTables(), UNO_QUERY_THROW ); in impl_determineOriginalTableColumn() local 274 if ( !xTables->hasByName( sComposedTableName ) ) in impl_determineOriginalTableColumn() 277 …Reference< XColumnsSupplier > xSuppCols( xTables->getByName( sComposedTableName ), UNO_QUERY_THROW… in impl_determineOriginalTableColumn()
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | dapidata.cxx | 187 uno::Reference<container::XNameAccess> xTables = xTablesSupp->getTables(); in FillObjects() local 188 if ( !xTables.is() ) return; in FillObjects() 190 aNames = xTables->getElementNames(); in FillObjects()
|
/aoo42x/main/sw/source/ui/vba/ |
H A D | vbatables.cxx | 35 uno::Reference< container::XIndexAccess > xTables; in lcl_getTables() local 38 xTables.set( xSupp->getTextTables(), uno::UNO_QUERY_THROW ); in lcl_getTables() 39 return xTables; in lcl_getTables()
|
/aoo42x/main/dbaccess/source/ui/control/ |
H A D | tabletree.cxx | 225 Reference< XNameAccess > xTables,xViews; in UpdateTableList() local 235 xTables = xTableSupp->getTables(); in UpdateTableList() 236 if (xTables.is()) in UpdateTableList() 237 sTables = xTables->getElementNames(); in UpdateTableList()
|
/aoo42x/main/connectivity/source/drivers/flat/ |
H A D | EDatabaseMetaData.cxx | 172 Reference< XTablesSupplier > xTables = m_pConnection->createCatalog(); in getColumns() local 173 if(!xTables.is()) in getColumns() 176 Reference< XNameAccess> xNames = xTables->getTables(); in getColumns()
|
/aoo42x/main/dbaccess/source/sdbtools/connection/ |
H A D | objectnames.cxx | 343 Reference< XNameAccess > xTables, xQueries; in createExistenceCheck() local 348 xTables.set( xSuppTables->getTables(), UNO_QUERY_THROW ); in createExistenceCheck() 360 PNameValidation pTableCheck( new PlainExistenceCheck( _rContext, _rxConnection, xTables ) ); in createExistenceCheck()
|
H A D | tablename.cxx | 154 Reference< XNameAccess > xTables( xSuppTables->getTables(), UNO_QUERY_THROW ); in getTable() local 159 …xTable.set( xTables->getByName( getComposedName( CompositionType::Complete, sal_False ) ), UNO_QUE… in getTable()
|
/aoo42x/main/sc/source/ui/docshell/ |
H A D | docsh8.cxx | 767 uno::Reference<container::XNameAccess> xTables = xTablesSupp->getTables(); in DBaseExport() local 768 DBG_ASSERT( xTables.is(), "can't get Tables" ); in DBaseExport() 769 if (!xTables.is()) return SCERR_EXPORT_CONNECT; in DBaseExport() 771 uno::Reference<sdbcx::XDataDescriptorFactory> xTablesFact( xTables, uno::UNO_QUERY ); in DBaseExport() 775 uno::Reference<sdbcx::XAppend> xTablesAppend( xTables, uno::UNO_QUERY ); in DBaseExport()
|
/aoo42x/main/connectivity/source/drivers/calc/ |
H A D | CDatabaseMetaData.cxx | 162 Reference< XTablesSupplier > xTables = m_pConnection->createCatalog(); in getColumns() local 163 if(!xTables.is()) in getColumns() 166 Reference< XNameAccess> xNames = xTables->getTables(); in getColumns()
|