Lines Matching refs:xCols

444 …Reference< XIndexContainer >  xCols(static_cast<FmGridControl*>(GetParent())->GetPeer()->getColumn…  variable
445 Reference< XGridColumnFactory > xFactory(xCols, UNO_QUERY);
564 …aControlFactory.initializeControlModel( DocumentClassification::classifyHostDocument( xCols ), xCo…
601 xCols->insertByIndex(nPos, aElement);
606 xCols->insertByIndex(nPos == (sal_uInt16)-1 ? nPos : ++nPos, aElement);
610 Reference< XFormComponent > xFormCp(xCols, UNO_QUERY);
661 …Reference< ::com::sun::star::container::XIndexContainer > xCols(static_cast<FmGridControl*>(GetPa… in PreExecuteColumnContextMenu() local
698 if (pMenu && xCols.is() && nColId) in PreExecuteColumnContextMenu()
701 ::cppu::extractInterface(xSet, xCols->getByIndex(nPos)); in PreExecuteColumnContextMenu()
733 rMenu.EnableItem(SID_FM_INSERTCOL, bDesignMode && xCols.is()); in PreExecuteColumnContextMenu()
734 rMenu.EnableItem(SID_FM_DELETECOL, bDesignMode && bMarked && xCols.is()); in PreExecuteColumnContextMenu()
735 rMenu.EnableItem(SID_FM_CHANGECOL, bDesignMode && bMarked && xCols.is()); in PreExecuteColumnContextMenu()
736 rMenu.EnableItem(SID_FM_SHOW_PROPERTY_BROWSER, bDesignMode && bMarked && xCols.is()); in PreExecuteColumnContextMenu()
742 if (xCols.is()) in PreExecuteColumnContextMenu()
747 for (sal_uInt16 i=0; i<xCols->getCount(); ++i) in PreExecuteColumnContextMenu()
749 ::cppu::extractInterface(xCurCol, xCols->getByIndex(i)); in PreExecuteColumnContextMenu()
767 pShowColsMenu->EnableItem(SID_FM_SHOWCOLS_MORE, xCols.is() && (nHiddenCols > 16)); in PreExecuteColumnContextMenu()
768 pShowColsMenu->EnableItem(SID_FM_SHOWALLCOLS, xCols.is() && (nHiddenCols > 0)); in PreExecuteColumnContextMenu()
774 bAllowHide = bAllowHide && xCols.is(); // AND we have a column container in PreExecuteColumnContextMenu()
775 …bAllowHide = bAllowHide && (xCols->getCount()-nHiddenCols > 1); // AND there are at least two vis… in PreExecuteColumnContextMenu()
805 …Reference< ::com::sun::star::container::XIndexContainer > xCols(static_cast<FmGridControl*>(GetPa… in PostExecuteColumnContextMenu() local
821 ::cppu::extractInterface(xCol, xCols->getByIndex(nPos)); in PostExecuteColumnContextMenu()
822 xCols->removeByIndex(nPos); in PostExecuteColumnContextMenu()
827 xColumnToInspect.set( xCols->getByIndex( nPos ), UNO_QUERY ); in PostExecuteColumnContextMenu()
882 ::cppu::extractInterface(xCurCol, xCols->getByIndex(nPos)); in PostExecuteColumnContextMenu()
893 pDlg->SetColumns(xCols); in PostExecuteColumnContextMenu()
904 for (sal_uInt16 i=0; i<xCols->getCount(); ++i) in PostExecuteColumnContextMenu()
906 ::cppu::extractInterface(xCurCol, xCols->getByIndex(i)); in PostExecuteColumnContextMenu()
918 for (sal_uInt16 i=0; i<xCols->getCount() && nExecutionResult; ++i) in PostExecuteColumnContextMenu()
920 ::cppu::extractInterface(xCurCol, xCols->getByIndex(i)); in PostExecuteColumnContextMenu()
937 Reference< XGridColumnFactory > xFactory( xCols, UNO_QUERY_THROW ); in PostExecuteColumnContextMenu()
943 Reference< XPropertySet > xReplaced( xCols->getByIndex( nPos ), UNO_QUERY ); in PostExecuteColumnContextMenu()
948 xCols->replaceByIndex( nPos, makeAny( xNewCol ) ); in PostExecuteColumnContextMenu()
959 Reference< XNameAccess >( xCols, UNO_QUERY_THROW ), xNewCol ); in PostExecuteColumnContextMenu()
963 … factory.initializeControlModel( DocumentClassification::classifyHostDocument( xCols ), xNewCol ); in PostExecuteColumnContextMenu()
965 xCols->insertByIndex( nPos, makeAny( xNewCol ) ); in PostExecuteColumnContextMenu()
2111 Reference< ::com::sun::star::container::XIndexContainer > xCols(GetPeer()->getColumns()); in KeyInput() local
2112 if ( xCols.is() ) in KeyInput()
2116 if ( m_nCurrentSelectedColumn < xCols->getCount() ) in KeyInput()
2119 xCols->getByIndex(m_nCurrentSelectedColumn) >>= xCol; in KeyInput()
2120 xCols->removeByIndex(m_nCurrentSelectedColumn); in KeyInput()