Home
last modified time | relevance | path

Searched refs:xRowSet (Results 1 – 25 of 34) sorted by relevance

12

/trunk/main/odk/examples/DevelopersGuide/Database/
H A DOpenQuery.java84 com.sun.star.sdbc.XRowSet xRowSet = (com.sun.star.sdbc.XRowSet) in openQuery() local
88 XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xRowSet); in openQuery()
103 xRowSet.execute(); in openQuery()
108 com.sun.star.sdbc.XRow.class, xRowSet); in openQuery()
112 com.sun.star.sdbc.XColumnLocate.class, xRowSet); in openQuery()
119 while ( xRowSet != null && xRowSet.next() ) { in openQuery()
128 com.sun.star.sdbc.XResultSetUpdate.class, xRowSet); in openQuery()
133 com.sun.star.sdbc.XRowUpdate.class, xRowSet); in openQuery()
147 com.sun.star.lang.XComponent.class, xRowSet); in openQuery()
/trunk/main/sc/source/ui/docshell/
H A Ddbdocimp.cxx219 uno::Reference<sdbc::XRowSet> xRowSet = uno::Reference<sdbc::XRowSet>( in DoImport() local
222 if ( !xRowSet.is() ) in DoImport()
225 xRowSet = uno::Reference<sdbc::XRowSet>( in DoImport()
264 xRowSet->execute(); in DoImport()
267 if ( xRowSet.is() ) in DoImport()
290 xLocate.set( xRowSet, uno::UNO_QUERY ); in DoImport()
298 uno::Reference<sdbc::XRow> xRow( xRowSet, uno::UNO_QUERY ); in DoImport()
327 xRowSet->beforeFirst(); in DoImport()
333 if ( (bEnd = !xRowSet->next()) == sal_False ) in DoImport()
356 if ( !bBookmarkSelection && xRowSet->next() ) in DoImport()
[all …]
H A Ddocsh8.cxx264 uno::Reference<sdbc::XRowSet> xRowSet( xFactory->createInstance( in DBaseImport() local
267 ::utl::DisposableComponent aRowSetHelper(xRowSet); in DBaseImport()
268 uno::Reference<beans::XPropertySet> xRowProp( xRowSet, uno::UNO_QUERY ); in DBaseImport()
287 xRowSet->execute(); in DBaseImport()
302 uno::Reference<sdbc::XRow> xRow( xRowSet, uno::UNO_QUERY ); in DBaseImport()
356 while ( !bEnd && xRowSet->next() ) in DBaseImport()
840 uno::Reference<sdbc::XRowSet> xRowSet( xFactory->createInstance( in DBaseExport() local
843 ::utl::DisposableComponent aRowSetHelper(xRowSet); in DBaseExport()
860 xRowSet->execute(); in DBaseExport()
868 uno::Reference<sdbc::XRowUpdate> xRowUpdate( xRowSet, uno::UNO_QUERY ); in DBaseExport()
[all …]
/trunk/main/wizards/com/sun/star/wizards/db/
H A DRecordParser.java52 XInterface xRowSet; field in RecordParser
77 xRowSet = (XInterface) xMSF.createInstance("com.sun.star.sdb.RowSet"); in getInterfaces()
78 xRowSetColumnsSupplier = UnoRuntime.queryInterface(XColumnsSupplier.class, xRowSet); in getInterfaces()
79 xRowSetComponent = UnoRuntime.queryInterface(XComponent.class, xRowSet); in getInterfaces()
80 xExecute = UnoRuntime.queryInterface(XCompletedExecution.class, xRowSet); in getInterfaces()
216 Helper.setUnoPropertyValue(xRowSet, "DataSourceName", DataSourceName); in executeCommand()
217 Helper.setUnoPropertyValue(xRowSet, PropertyNames.ACTIVE_CONNECTION, DBConnection); in executeCommand()
218 Helper.setUnoPropertyValue(xRowSet, PropertyNames.COMMAND, Command); in executeCommand()
219 …Helper.setUnoPropertyValue(xRowSet, PropertyNames.COMMAND_TYPE, new Integer(_nCommandType)); // Co… in executeCommand()
221 …Access xResultAccess = UnoRuntime.queryInterface(com.sun.star.sdb.XResultSetAccess.class, xRowSet); in executeCommand()
/trunk/main/sc/source/core/data/
H A Ddpsdbtab.cxx123 uno::Reference<sdbc::XRowSet> xRowSet ; in CreateCache() local
126 xRowSet = uno::Reference<sdbc::XRowSet>( in CreateCache()
130 uno::Reference<beans::XPropertySet> xRowProp( xRowSet, uno::UNO_QUERY ); in CreateCache()
150 uno::Reference<sdb::XCompletedExecution> xExecute( xRowSet, uno::UNO_QUERY ); in CreateCache()
160 xRowSet->execute(); in CreateCache()
162 pCache->InitFromDataBase( xRowSet, *aFormat.GetNullDate() ); in CreateCache()
184 ::comphelper::disposeComponent( xRowSet ); in CreateCache()
H A Ddptablecache.cxx555 bool ScDPTableDataCache::InitFromDataBase (const Reference<sdbc::XRowSet>& xRowSet, const Date& rNu… in InitFromDataBase() argument
557 if (!xRowSet.is()) in InitFromDataBase()
562 Reference<sdbc::XResultSetMetaDataSupplier> xMetaSupp(xRowSet, UNO_QUERY_THROW); in InitFromDataBase()
600 Reference<sdbc::XRow> xRow(xRowSet, UNO_QUERY_THROW); in InitFromDataBase()
601 xRowSet->first(); in InitFromDataBase()
611 while (xRowSet->next()); in InitFromDataBase()
613 xRowSet->beforeFirst(); in InitFromDataBase()
/trunk/main/svx/source/table/
H A Dtablertfexporter.cxx64 …void WriteRow( const Reference< XPropertySet >& xRowSet, sal_Int32 nRow, const std::vector< sal_In…
127 Reference< XPropertySet > xRowSet( xRows->getByIndex(nRow), UNO_QUERY_THROW ); in Write() local
128 WriteRow( xRowSet, nRow, aColumnStart ); in Write()
140 void SdrTableRtfExporter::WriteRow( const Reference< XPropertySet >& xRowSet, sal_Int32 nRow, const… in WriteRow() argument
143 xRowSet->getPropertyValue( msSize ) >>= nRowHeight; in WriteRow()
H A Dtablelayouter.cxx745 Reference< XPropertySet > xRowSet( xRows->getByIndex(nRow), UNO_QUERY_THROW ); in LayoutTableHeight() local
748 xRowSet->getPropertyValue( sOptimalSize ) >>= bOptimal; in LayoutTableHeight()
755 xRowSet->getPropertyValue( msSize ) >>= nRowHeight; in LayoutTableHeight()
829 Reference< XPropertySet > xRowSet( xRows->getByIndex(nRow), UNO_QUERY_THROW ); in LayoutTableHeight() local
830 xRowSet->setPropertyValue( msSize, Any( maRows[nRow].mnSize ) ); in LayoutTableHeight()
1186 Reference< XPropertySet > xRowSet( xRows->getByIndex( nRow ), UNO_QUERY_THROW ); in DistributeRows() local
1187 xRowSet->setPropertyValue( msSize, Any( nHeight ) ); in DistributeRows()
/trunk/main/extensions/source/bibliography/
H A Dbibload.cxx405 Reference< XRowSet > xRowSet(xMgr->createInstance(C2U("com.sun.star.sdb.RowSet")), UNO_QUERY); in GetDataColumns() local
406 Reference< XPropertySet > xResultSetProps(xRowSet, UNO_QUERY); in GetDataColumns()
425 xRowSet->execute(); in GetDataColumns()
440 Reference< XComponent > xSetComp(xRowSet, UNO_QUERY); in GetDataColumns()
443 xRowSet = NULL; in GetDataColumns()
446 ((BibliographyLoader*)this)->m_xCursor = xRowSet.get(); in GetDataColumns()
H A Dgeneral.cxx411 uno::Reference< sdbc::XRowSet > xRowSet(pDatMan->getForm(), UNO_QUERY); in BibGeneralPage() local
412 if(xRowSet.is()) in BibGeneralPage()
413 xRowSet->addRowSetListener(xPosListener); in BibGeneralPage()
426 uno::Reference< sdbc::XRowSet > xRowSet(pDatMan->getForm(), UNO_QUERY); in ~BibGeneralPage() local
427 if(xRowSet.is()) in ~BibGeneralPage()
428 xRowSet->removeRowSetListener(xPosListener); in ~BibGeneralPage()
/trunk/main/extensions/source/propctrlr/
H A Dformcomponenthandler.cxx2312 Reference< XRowSet > xRowSet = m_xRowSet; in impl_getRowSet_throw() local
2313 if ( !xRowSet.is() ) in impl_getRowSet_throw()
2315 xRowSet.set( m_xComponent, UNO_QUERY ); in impl_getRowSet_throw()
2316 if ( !xRowSet.is() ) in impl_getRowSet_throw()
2318 xRowSet = Reference< XRowSet >( m_xObjectParent, UNO_QUERY ); in impl_getRowSet_throw()
2319 if ( !xRowSet.is() ) in impl_getRowSet_throw()
2329 if ( !xRowSet.is() ) in impl_getRowSet_throw()
2330 xRowSet = m_xRowSet; in impl_getRowSet_throw()
2334 return xRowSet; in impl_getRowSet_throw()
2413 Reference< XRowSet > xRowSet( impl_getRowSet_throw() ); in impl_ensureRowsetConnection_nothrow() local
[all …]
/trunk/main/odk/examples/DevelopersGuide/Forms/
H A DControlLock.java162 XRowSet xRowSet = (XRowSet)UnoRuntime.queryInterface( in enableLock() local
166 xRowSet.addRowSetListener( this ); in enableLock()
170 xRowSet.removeRowSetListener( this ); in enableLock()
/trunk/main/dbaccess/source/ui/misc/
H A DTokenWriter.cxx337 Reference< XRowSet > xRowSet( xProp, UNO_QUERY ); in initialize() local
338 xRowSet->execute(); in initialize()
581 Reference< XRowSet > xRowSet(m_xRow,UNO_QUERY); in Write() local
648 Reference< XRowSet > xRowSet(m_xRow,UNO_QUERY); in appendRow() local
669 dbtools::FormattedColumnValue aFormatedValue(aContext,xRowSet,xColumn); in appendRow()
973 Reference< XRowSet > xRowSet(m_xRow,UNO_QUERY); in WriteTables() local
994 dbtools::FormattedColumnValue aFormatedValue(aContext,xRowSet,xColumn); in WriteTables()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/
H A DSwXMailMerge.java115 XRowSet xRowSet = (XRowSet) in createTestEnvironment() local
131 xRowSet.execute(); in createTestEnvironment()
253 xRowSet = (XRowSet) UnoRuntime.queryInterface(XRowSet.class, oRowSet); in createTestEnvironment()
269 xRowSet.execute(); in createTestEnvironment()
/trunk/main/sw/source/ui/dbui/
H A Daddresslistdialog.cxx320 uno::Reference<XRowSet> xRowSet( in IMPL_LINK() local
322 uno::Reference<XPropertySet> xRowProperties(xRowSet, UNO_QUERY); in IMPL_LINK()
329 xRowSet->execute(); in IMPL_LINK()
330 aSecond.Value <<= xRowSet; in IMPL_LINK()
354 ::comphelper::disposeComponent(xRowSet); in IMPL_LINK()
H A Dmmconfigitem.cxx992 Reference<XRowSet> xRowSet( in GetResultSet() local
994 Reference<XPropertySet> xRowProperties(xRowSet, UNO_QUERY); in GetResultSet()
1009 xRowSet->execute(); in GetResultSet()
1010 m_pImpl->xResultSet = xRowSet.get(); in GetResultSet()
1056 uno::Reference<XRowSet> xRowSet( m_pImpl->xResultSet, UNO_QUERY_THROW ); in SetFilter() local
1057 xRowSet->execute(); in SetFilter()
H A Ddbmgr.cxx1672 Reference<XRowSet> xRowSet( in GetColumnSupplier() local
1683 Reference<XPropertySet> xRowProperties(xRowSet, UNO_QUERY); in GetColumnSupplier()
1689 xRowSet->execute(); in GetColumnSupplier()
1690 xRet = Reference<XColumnsSupplier>( xRowSet, UNO_QUERY ); in GetColumnSupplier()
2797 uno::Reference< XCompletedExecution > xRowSet(xInstance, UNO_QUERY); in createCursor() local
2799 if ( xRowSet.is() ) in createCursor()
2802 xRowSet->executeWithCompletion(xHandler); in createCursor()
2804 xResultSet = uno::Reference<XResultSet>(xRowSet, UNO_QUERY); in createCursor()
/trunk/main/extensions/source/dbpilots/
H A Dcontrolwizard.cxx367 m_aContext.xRowSet = Reference< XRowSet >(xControlParent, UNO_QUERY); in implDetermineForm()
368 DBG_ASSERT(m_aContext.xForm.is() && m_aContext.xRowSet.is(), in implDetermineForm()
538 m_aContext.xRowSet.clear(); in initContext()
577 xConnection = ::dbtools::connectRowset( m_aContext.xRowSet, getServiceFactory(), sal_True ); in initContext()
H A Dwizardcontext.hxx58 xRowSet;
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/form/
H A D_XDatabaseParameterBroadcaster.java80 XRowSet xRowSet = (XRowSet)UnoRuntime.queryInterface(XRowSet.class, oObj); in _removeParameterListener() local
81 xRowSet.execute(); in _removeParameterListener()
/trunk/main/sw/source/ui/uno/
H A Dunomailmerge.cxx668 Reference< sdbc::XRowSet > xRowSet( xInstance, UNO_QUERY ); in execute() local
669 if (xRowSet.is()) in execute()
670 xRowSet->execute(); // build ResultSet from properties in execute()
673 xCurResultSet = Reference< sdbc::XResultSet >( xRowSet, UNO_QUERY ); in execute()
/trunk/main/forms/source/component/
H A DFormComponent.cxx2237 Reference< XRowSet > xRowSet( m_xAmbientForm, UNO_QUERY ); in impl_connectDatabaseColumn_noNotify() local
2238 …OSL_ENSURE( xRowSet.is(), "OBoundControlModel::impl_connectDatabaseColumn_noNotify: no row set!" ); in impl_connectDatabaseColumn_noNotify()
2239 if ( !xRowSet.is() ) in impl_connectDatabaseColumn_noNotify()
2245 connectToField( xRowSet ); in impl_connectDatabaseColumn_noNotify()
2254 onConnectedDbColumn( xRowSet ); in impl_connectDatabaseColumn_noNotify()
2258 initFromField( xRowSet ); in impl_connectDatabaseColumn_noNotify()
H A DFormattedField.cxx664 Reference< XRowSet > xRowSet( xNextParentForm, UNO_QUERY ); in calcFormFormatsSupplier() local
666 if (xRowSet.is()) in calcFormFormatsSupplier()
667 …xSupplier = getNumberFormats( getConnection(xRowSet), sal_True, getContext().getLegacyServiceFacto… in calcFormFormatsSupplier()
/trunk/main/svx/source/fmcomp/
H A Dfmgridif.cxx2230 Reference< XRowSet > xRowSet(m_xCursor, UNO_QUERY); in startCursorListening() local
2231 if (xRowSet.is()) in startCursorListening()
2232 xRowSet->addRowSetListener(this); in startCursorListening()
2254 Reference< XRowSet > xRowSet(m_xCursor, UNO_QUERY); in stopCursorListening() local
2255 if (xRowSet.is()) in stopCursorListening()
2256 xRowSet->removeRowSetListener(this); in stopCursorListening()
/trunk/main/reportdesign/source/ui/dlg/
H A DAddField.cxx363 uno::Reference< ::com::sun::star::sdbc::XRowSet > xRowSet(m_xRowSet,uno::UNO_QUERY); in Update() local
364 Sequence< ::rtl::OUString > aParamNames( getParameterNames( xRowSet ) ); in Update()

Completed in 169 milliseconds

12