/aoo4110/main/connectivity/source/drivers/adabas/ |
H A D | BTables.cxx | 130 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in setComments() local 139 for(sal_Int32 i=0;i<xColumns->getCount();++i) in setComments() 141 ::cppu::extractInterface(xColProp,xColumns->getByIndex(i)); in setComments() 218 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in createTable() local 222 sal_Int32 nCount = xColumns->getCount(); in createTable() 263 if(!xColumns->getCount()) in createTable() 267 for( sal_Int32 column=0; column<xColumns->getCount(); ++column ) in createTable() 280 if(!xColumns->getCount()) in createTable() 284 for( sal_Int32 column=0; column<xColumns->getCount(); ++column ) in createTable() 299 if(!xColumns->getCount()) in createTable() [all …]
|
H A D | BIndexes.cxx | 121 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in appendObject() local 123 sal_Int32 nCount = xColumns->getCount(); in appendObject() 126 xColumns->getByIndex(i) >>= xColProp; in appendObject() 142 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in appendObject() local 144 if(xColumns->getCount() != 1) in appendObject() 147 xColumns->getByIndex(0) >>= xColProp; in appendObject()
|
H A D | BKeys.cxx | 81 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in appendObject() local 83 for(sal_Int32 i=0;i<xColumns->getCount();++i) in appendObject() 86 xColumns->getByIndex(i) >>= xColProp; in appendObject() 108 for(sal_Int32 i=0;i<xColumns->getCount();++i) in appendObject() 111 xColumns->getByIndex(i) >>= xColProp; in appendObject()
|
/aoo4110/main/dbaccess/source/ui/tabledesign/ |
H A D | TableController.cxx | 733 OSL_ENSURE(xColumns.is(),"No columns"); in appendColumns() 761 if(xColumns->hasByName(pField->GetName())) in appendColumns() 820 if(xColumns->hasElements()) in appendPrimaryKey() 856 xColumns->getByName(*pIter) >>= xColumn; in loadData() 1043 OSL_ENSURE(xColumns.is(),"No columns"); in alterColumns() 1044 if ( !xColumns.is() ) in alterColumns() 1076 if ( xColumns->hasByName(pField->GetName()) ) in alterColumns() 1156 if(xColumns->hasByName(pField->GetName())) in alterColumns() 1171 if(xColumns->hasByName(pField->GetName())) in alterColumns() 1299 if(!xColumns->hasByName(pField->GetName())) in alterColumns() [all …]
|
/aoo4110/main/extensions/source/bibliography/ |
H A D | bibload.cxx | 461 Reference< XNameAccess > xColumns = GetDataColumns(); in GetIdentifierColumn() local 465 if (xColumns.is() && xColumns->hasByName(sIdentifierColumnName)) in GetIdentifierColumn() 468 xColumns->getByName(sIdentifierColumnName).getValue(), UNO_QUERY); in GetIdentifierColumn() 488 rtl::OUString lcl_AddProperty(Reference< XNameAccess > xColumns, in lcl_AddProperty() argument 506 if (xColumns->hasByName(uColumnName)) in lcl_AddProperty() 522 Reference< XNameAccess > xColumns; in getByName() local 525 xColumns = xSupplyCols->getColumns(); in getByName() 527 if (!xColumns.is()) in getByName() 533 if (xColumns->hasByName(sId)) in getByName() 648 Reference< XNameAccess > xColumns = GetDataColumns(); in hasElements() local [all …]
|
/aoo4110/main/dbaccess/source/ui/uno/ |
H A D | composerdialogs.cxx | 117 Reference< XNameAccess > xColumns; in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() local 135 xColumns = xSuppColumns->getColumns(); in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() 137 if ( !xColumns.is() || !xColumns->hasElements() ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() 143 xColumns = xSuppColumns->getColumns(); in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() 146 …DBG_ASSERT( xColumns.is() && xColumns->hasElements(), "ComposerDialog::createDialog: not much fun … in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() 153 if ( !xConnection.is() || !xColumns.is() || !m_xComposer.is() ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() 157 return createComposerDialog( _pParent, xConnection, xColumns ); in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
|
/aoo4110/main/svx/source/fmcomp/ |
H A D | fmgridcl.cxx | 171 if ( nPos < xColumns->getCount() ) in notifyColumnSelect() 177 xColumns->getByIndex(nPos) >>= xColumn; in notifyColumnSelect() 1128 for (sal_uInt16 i=0; i<xColumns->getCount(); ++i) in SetDesignMode() 1592 if (xColumns.is()) in ColumnMoved() 1602 for (i = 0; !xCol.is() && i < xColumns->getCount(); i++) in ColumnMoved() 1613 xColumns->removeByIndex(i); in ColumnMoved() 1637 if (!xColumns.is()) in InitColumnsByModels() 1646 for (i = 0; i < xColumns->getCount(); ++i) in InitColumnsByModels() 1649 ::cppu::extractInterface(xCol, xColumns->getByIndex(i)); in InitColumnsByModels() 1668 for (i = 0; i < xColumns->getCount(); ++i) in InitColumnsByModels() [all …]
|
/aoo4110/main/connectivity/source/commontools/ |
H A D | dbtools2.cxx | 212 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in createStandardCreateStatement() local 214 if(!xColumns.is() || !xColumns->getCount()) in createStandardCreateStatement() 219 sal_Int32 nCount = xColumns->getCount(); in createStandardCreateStatement() 222 if ( (xColumns->getByIndex(i) >>= xColProp) && xColProp.is() ) in createStandardCreateStatement() 267 Reference<XIndexAccess> xColumns; in createStandardKeyStatement() local 286 if(!xColumns.is() || !xColumns->getCount()) in createStandardKeyStatement() 291 aSql.append(generateColumnNames(xColumns,xMetaData)); in createStandardKeyStatement() 297 if(!xColumns.is() || !xColumns->getCount()) in createStandardKeyStatement() 302 aSql.append(generateColumnNames(xColumns,xMetaData)); in createStandardKeyStatement() 310 if(!xColumns.is() || !xColumns->getCount()) in createStandardKeyStatement() [all …]
|
H A D | TIndexes.cxx | 168 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in appendObject() local 171 sal_Int32 nCount = xColumns->getCount(); in appendObject() 174 xColProp.set(xColumns->getByIndex(i),UNO_QUERY); in appendObject() 195 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in appendObject() local 197 if(xColumns->getCount() != 1) in appendObject() 200 xColumns->getByIndex(0) >>= xColProp; in appendObject()
|
H A D | TKeys.cxx | 186 Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); in appendObject() local 188 for(sal_Int32 i = 0 ; i < xColumns->getCount() ; ++i) in appendObject() 192 ::cppu::extractInterface(xColProp,xColumns->getByIndex(i)); in appendObject() 204 for(sal_Int32 i=0;i<xColumns->getCount();++i) in appendObject() 208 xColumns->getByIndex(i) >>= xColProp; in appendObject()
|
H A D | parameters.cxx | 375 Reference< XNameAccess > xColumns; in analyzeFieldLinks() local 376 if ( !getColumns( xColumns, true ) ) in analyzeFieldLinks() 386 classifyLinks( xParentColumns, xColumns, aAdditionalFilterComponents ); in analyzeFieldLinks() 872 Reference< XNameAccess > xColumns; in resetParameterValues() local 873 if ( !getColumns( xColumns, false ) ) in resetParameterValues() 928 if ( xColumns->hasByName( sParamColumnRealName ) ) in resetParameterValues() 931 xColumns->getByName( sParamColumnRealName ) >>= xDetailField; in resetParameterValues()
|
/aoo4110/main/dbaccess/source/ui/relationdesign/ |
H A D | RTableConnectionData.cxx | 325 Reference<XNameAccess> xColumns = xColSup->getColumns(); in Update() local 326 Reference<XDataDescriptorFactory> xColumnFactory(xColumns,UNO_QUERY); in Update() 327 Reference<XAppend> xColumnAppend(xColumns,UNO_QUERY); in Update() 347 if ( xColumns->hasElements() ) in Update() 372 Reference<XNameAccess> xColumns = xColSup->getColumns(); in Update() local 373 Sequence< ::rtl::OUString> aNames = xColumns->getElementNames(); in Update() 381 xColumn.set(xColumns->getByName(*pIter),UNO_QUERY_THROW); in Update() 428 Reference<XNameAccess> xColumns = xColSup->getColumns(); in Update() local 429 Sequence< ::rtl::OUString> aNames = xColumns->getElementNames(); in Update() 439 xColumns->getByName(*pIter) >>= xColumn; in Update()
|
/aoo4110/main/dbaccess/source/core/api/ |
H A D | query.cxx | 200 Reference< XNameAccess > xColumns; in IMPLEMENT_FORWARD_XINTERFACE3() local 206 xColumns.set( xCols->getColumns(), UNO_QUERY_THROW ); in IMPLEMENT_FORWARD_XINTERFACE3() 207 xColumnsIndexed.set( xColumns, UNO_QUERY_THROW ); in IMPLEMENT_FORWARD_XINTERFACE3() 212 if ( !xColumns.is() || ( xColumnsIndexed->getCount() == 0 ) ) in IMPLEMENT_FORWARD_XINTERFACE3() 226 xColumns = OPrivateColumns::createWithIntrinsicNames( in IMPLEMENT_FORWARD_XINTERFACE3() 228 if ( !xColumns.is() ) in IMPLEMENT_FORWARD_XINTERFACE3() 232 Sequence< ::rtl::OUString> aNames = xColumns->getElementNames(); in IMPLEMENT_FORWARD_XINTERFACE3() 237 Reference<XPropertySet> xSource(xColumns->getByName( *pIter ),UNO_QUERY); in IMPLEMENT_FORWARD_XINTERFACE3()
|
/aoo4110/main/writerfilter/source/dmapper/ |
H A D | PropertyMap.cxx | 560 uno::Reference< text::XTextColumns > xColumns; in ApplyColumnProperties() local 565 xColumnContainer->getPropertyValue(sTextColumns) >>= xColumns; in ApplyColumnProperties() 566 uno::Reference< beans::XPropertySet > xColumnPropSet( xColumns, uno::UNO_QUERY_THROW ); in ApplyColumnProperties() 581 sal_Int32 nRefValue = xColumns->getReferenceValue(); in ApplyColumnProperties() 597 xColumns->setColumns( aColumns ); in ApplyColumnProperties() 601 xColumns->setColumnCount( m_nColumnCount + 1 ); in ApplyColumnProperties() 609 xColumnContainer->setPropertyValue( sTextColumns, uno::makeAny( xColumns ) ); in ApplyColumnProperties() 615 return xColumns; in ApplyColumnProperties() 887 uno::Reference< text::XTextColumns > xColumns; in CloseSectionGroup() local 889 xColumns = ApplyColumnProperties( xFollowPageStyle ); in CloseSectionGroup() [all …]
|
/aoo4110/main/xmloff/source/text/ |
H A D | XMLTextColumnsContext.cxx | 393 Reference< XTextColumns > xColumns( xIfc, UNO_QUERY ); in EndElement() local 397 xColumns->setColumnCount( 1 ); in EndElement() 444 xColumns->setColumns( aColumns ); in EndElement() 451 xColumns->setColumnCount( nCount ); in EndElement() 454 Reference < XPropertySet > xPropSet( xColumns, UNO_QUERY ); in EndElement() 494 aProp.maValue <<= xColumns; in EndElement()
|
H A D | XMLTextColumnsExport.cxx | 65 Reference < XTextColumns > xColumns; in exportXML() local 66 rAny >>= xColumns; in exportXML() 68 Sequence < TextColumn > aColumns = xColumns->getColumns(); in exportXML() 78 Reference < XPropertySet > xPropSet( xColumns, UNO_QUERY ); in exportXML()
|
/aoo4110/main/dbaccess/source/ui/dlg/ |
H A D | queryfilter.cxx | 433 …Reference< XNameAccess> xColumns = Reference< XColumnsSupplier >(m_xQueryComposer,UNO_QUERY)->getC… in getColumn() local 434 if ( xColumns.is() && !xColumn.is() ) in getColumn() 436 Sequence< ::rtl::OUString> aSeq = xColumns->getElementNames(); in getColumn() 441 Reference<XPropertySet> xProp(xColumns->getByName(*pIter),UNO_QUERY); in getColumn() 469 …Reference< XNameAccess> xColumns = Reference< XColumnsSupplier >(m_xQueryComposer,UNO_QUERY)->getC… in getQueryColumn() local 470 if ( xColumns.is() && xColumns->hasByName( _rFieldName ) ) in getQueryColumn() 471 xColumns->getByName( _rFieldName ) >>= xColumn; in getQueryColumn()
|
H A D | queryorder.cxx | 274 …Reference< XNameAccess> xColumns = Reference< XColumnsSupplier >(m_xQueryComposer,UNO_QUERY)->getC… in GetOrderList() local 289 …if ( xColumns.is() && xColumns->hasByName( sName ) && (xColumns->getByName( sName ) >>= xColumn) &… in GetOrderList()
|
/aoo4110/main/extensions/source/dbpilots/ |
H A D | controlwizard.cxx | 565 Reference< XNameAccess > xColumns; in initContext() local 593 xColumns = xSupplyColumns->getColumns(); in initContext() 606 xColumns = xSupplyColumns->getColumns(); in initContext() 621 xColumns = xSupplyCols->getColumns(); in initContext() 627 if (xColumns.is()) in initContext() 629 m_aContext.aFieldNames = xColumns->getElementNames(); in initContext() 639 xColumns->getByName(*pBegin) >>= xColumn; in initContext()
|
/aoo4110/main/connectivity/source/drivers/dbase/ |
H A D | DDatabaseMetaData.cxx | 200 Reference< XNameAccess> xColumns = xTable->getColumns(); in getColumns() local 201 if(!xColumns.is()) in getColumns() 204 Sequence< ::rtl::OUString> aColNames(xColumns->getElementNames()); in getColumns() 215 ::cppu::extractInterface(xColumn,xColumns->getByName(*pBegin)); in getColumns() 316 Reference< XNameAccess> xColumns = xColumnsSup->getColumns(); in getIndexInfo() local 317 Sequence< ::rtl::OUString> aColNames(xColumns->getElementNames()); in getIndexInfo()
|
/aoo4110/main/connectivity/source/parse/ |
H A D | sqliterator.cxx | 821 Reference< XNameAccess > xColumns = aIter->second->getColumns(); in getColumnTableRange() local 822 if(xColumns->hasByName(aColName)) in getColumnTableRange() 825 if (xColumns->getByName(aColName) >>= xColumn) in getColumnTableRange() 1694 Reference<XNameAccess> xColumns = _rTable->getColumns(); in appendColumns() local 1695 if ( !xColumns.is() ) in appendColumns() 1698 Sequence< ::rtl::OUString > aColNames = xColumns->getElementNames(); in appendColumns() 1707 if(xColumns->hasByName(*pBegin) && (xColumns->getByName(*pBegin) >>= xColumn) && xColumn.is()) in appendColumns() 1762 if ( !xColumns->hasByName( rColumnName ) in setSelectColumnName() 1763 || !( xColumns->getByName( rColumnName ) >>= xColumn ) in setSelectColumnName() 2116 Reference<XNameAccess> xColumns = aIter->second->getColumns(); in findColumn() local [all …]
|
/aoo4110/main/wizards/com/sun/star/wizards/db/ |
H A D | RecordParser.java | 48 XNameAccess xColumns; field in RecordParser 225 xColumns = xDBCols.getColumns(); in executeCommand() 242 initializeFieldColumns(_sFieldNames, xColumns); in getFields() 244 String[] AllQueryFieldNames = xColumns.getElementNames(); in getFields()
|
/aoo4110/main/connectivity/source/drivers/flat/ |
H A D | EDatabaseMetaData.cxx | 194 Reference< XNameAccess> xColumns = xTable->getColumns(); in getColumns() local 195 if(!xColumns.is()) in getColumns() 198 Sequence< ::rtl::OUString> aColNames(xColumns->getElementNames()); in getColumns() 209 ::cppu::extractInterface(xColumn,xColumns->getByName(*pBegin)); in getColumns()
|
/aoo4110/main/connectivity/source/drivers/kab/ |
H A D | KPreparedStatement.cxx | 56 ::vos::ORef<connectivity::OSQLColumns> xColumns; // selected columns in setKabFields() 58 xColumns = m_aSQLIterator.getSelectColumns(); in setKabFields() 59 if (!xColumns.isValid()) in setKabFields() 67 m_xMetaData->setKabFields(xColumns); in setKabFields()
|
/aoo4110/main/connectivity/source/drivers/macab/ |
H A D | MacabPreparedStatement.cxx | 57 ::vos::ORef<connectivity::OSQLColumns> xColumns; // selected columns in setMacabFields() 59 xColumns = m_aSQLIterator.getSelectColumns(); in setMacabFields() 60 if (!xColumns.isValid()) in setMacabFields() 68 m_xMetaData->setMacabFields(xColumns); in setMacabFields()
|