Lines Matching refs:xControl

868                             Reference< XControl > xControl( condition->first, UNO_QUERY_THROW );  in getFastPropertyValue()  local
869 … Reference< XPropertySet > xModelProps( xControl->getModel(), UNO_QUERY_THROW ); in getFastPropertyValue()
1176 Reference< XControl > xControl(e.Source, UNO_QUERY); in disposing() local
1177 if (xControl.is()) in disposing()
1180 removeControl(xControl); in disposing()
1303 Reference< XControl > xControl = findControl(m_aControls,xControlModel,sal_False,sal_False); in propertyChange() local
1304 if ( xControl.is() ) in propertyChange()
1306 startControlModifyListening( xControl ); in propertyChange()
1437 Reference< XControl > xControl = pControls[--i]; in toggleAutoFields() local
1438 if (xControl.is()) in toggleAutoFields()
1440 Reference< XPropertySet > xSet(xControl->getModel(), UNO_QUERY); in toggleAutoFields()
1453 replaceControl( xControl, new FmXAutoControl( m_aContext ) ); in toggleAutoFields()
1465 Reference< XControl > xControl = pControls[--i]; in toggleAutoFields() local
1466 if (xControl.is()) in toggleAutoFields()
1468 Reference< XPropertySet > xSet(xControl->getModel(), UNO_QUERY); in toggleAutoFields()
1484 replaceControl( xControl, xNewControl ); in toggleAutoFields()
1687 Reference< XControl > xControl(e.Source, UNO_QUERY); in focusGained() local
1693 … m_bCommitLock = m_bCommitLock && (XControl*)xControl.get() != (XControl*)m_xCurrentControl.get(); in focusGained()
1705 && ( ( xControl.get() != m_xCurrentControl.get() ) in focusGained()
1773 if ( ( m_xActiveControl == xControl ) in focusGained()
1774 && ( xControl == m_xCurrentControl ) in focusGained()
1781 sal_Bool bActivated = !m_xActiveControl.is() && xControl.is(); in focusGained()
1783 m_xActiveControl = xControl; in focusGained()
1785 implSetCurrentControl( xControl ); in focusGained()
1842 Reference< XControl > xControl(e.Source, UNO_QUERY); in focusLost() local
1879 …Reference< XControl > xControl( findControl( m_aControls, Reference< XControlModel >( _rSource.Sou… in componentValidityChanged() local
1882 …OSL_ENSURE( xControl.is() && xValidatable.is(), "FormController::componentValidityChanged: huh?" ); in componentValidityChanged()
1884 if ( xControl.is() && xValidatable.is() ) in componentValidityChanged()
1885 m_pControlBorderManager->validityChanged( xControl, xValidatable ); in componentValidityChanged()
2014 void FormController::addToEventAttacher(const Reference< XControl > & xControl) in addToEventAttacher() argument
2017 …OSL_ENSURE( xControl.is(), "FormController::addToEventAttacher: invalid control - how did you reac… in addToEventAttacher()
2018 if ( !xControl.is() ) in addToEventAttacher()
2022 Reference< XFormComponent > xComp(xControl->getModel(), UNO_QUERY); in addToEventAttacher()
2033 Reference< XInterface > xIfc(xControl, UNO_QUERY); in addToEventAttacher()
2034 m_xModelAsManager->attach( nPos, xIfc, makeAny(xControl) ); in addToEventAttacher()
2042 void FormController::removeFromEventAttacher(const Reference< XControl > & xControl) in removeFromEventAttacher() argument
2045 …OSL_ENSURE( xControl.is(), "FormController::removeFromEventAttacher: invalid control - how did you… in removeFromEventAttacher()
2046 if ( !xControl.is() ) in removeFromEventAttacher()
2050 Reference< XFormComponent > xComp(xControl->getModel(), UNO_QUERY); in removeFromEventAttacher()
2061 Reference< XInterface > xIfc(xControl, UNO_QUERY); in removeFromEventAttacher()
2124 … Reference< XControl > xControl = findControl( aAllControls, *pModels, sal_False, sal_True ); in setContainer() local
2125 if ( xControl.is() ) in setContainer()
2127 pControls[j++] = xControl; in setContainer()
2128 implControlInserted( xControl, true ); in setContainer()
2185 Reference< XControl > xControl; in getControls() local
2191 xControl = findControl( m_aControls, *pModels, sal_True, sal_True ); in getControls()
2192 if ( xControl.is() ) in getControls()
2193 pControls[j++] = xControl; in getControls()
2229 void FormController::setControlLock(const Reference< XControl > & xControl) in setControlLock() argument
2237 Reference< XBoundControl > xBound(xControl, UNO_QUERY); in setControlLock()
2242 Reference< XPropertySet > xSet(xControl->getModel(), UNO_QUERY); in setControlLock()
2324 void FormController::startControlModifyListening(const Reference< XControl > & xControl) in startControlModifyListening() argument
2328 bool bModifyListening = lcl_shouldListenForModifications( xControl, this ); in startControlModifyListening()
2333 Reference< XModifyBroadcaster > xMod(xControl, UNO_QUERY); in startControlModifyListening()
2341 Reference< XTextComponent > xText(xControl, UNO_QUERY); in startControlModifyListening()
2348 Reference< XCheckBox > xBox(xControl, UNO_QUERY); in startControlModifyListening()
2355 Reference< XComboBox > xCbBox(xControl, UNO_QUERY); in startControlModifyListening()
2362 Reference< XListBox > xListBox(xControl, UNO_QUERY); in startControlModifyListening()
2373 void FormController::stopControlModifyListening(const Reference< XControl > & xControl) in stopControlModifyListening() argument
2377 bool bModifyListening = lcl_shouldListenForModifications( xControl, NULL ); in stopControlModifyListening()
2382 Reference< XModifyBroadcaster > xMod(xControl, UNO_QUERY); in stopControlModifyListening()
2389 Reference< XTextComponent > xText(xControl, UNO_QUERY); in stopControlModifyListening()
2396 Reference< XCheckBox > xBox(xControl, UNO_QUERY); in stopControlModifyListening()
2403 Reference< XComboBox > xCbBox(xControl, UNO_QUERY); in stopControlModifyListening()
2410 Reference< XListBox > xListBox(xControl, UNO_QUERY); in stopControlModifyListening()
2462 Reference< XControl > xControl( *pControls ); in findControl() local
2467 return xControl; in findControl()
2562 void FormController::insertControl(const Reference< XControl > & xControl) in insertControl() argument
2567 m_aControls.getArray()[m_aControls.getLength() - 1] = xControl; in insertControl()
2572 implControlInserted( xControl, m_bAttachEvents ); in insertControl()
2575 setControlLock(xControl); in insertControl()
2578 startControlModifyListening( xControl ); in insertControl()
2582 void FormController::removeControl(const Reference< XControl > & xControl) in removeControl() argument
2589 if ( xControl.get() == (*pControls++).get() ) in removeControl()
2596 …tor componentPos = ::std::find( m_aFilterComponents.begin(), m_aFilterComponents.end(), xControl ); in removeControl()
2600 implControlRemoved( xControl, m_bDetachEvents ); in removeControl()
2603 stopControlModifyListening( xControl ); in removeControl()
2882 Reference< XControl > xControl( evt.Element, UNO_QUERY ); in elementInserted() local
2883 if ( !xControl.is() ) in elementInserted()
2886 Reference< XFormComponent > xModel(xControl->getModel(), UNO_QUERY); in elementInserted()
2889 insertControl(xControl); in elementInserted()
2902 Reference< XPropertySet > xSet(xControl->getModel(), UNO_QUERY); in elementInserted()
2909 Reference< XTextComponent > xText(xControl, UNO_QUERY); in elementInserted()
2943 Reference< XControl > xControl; in elementRemoved() local
2944 evt.Element >>= xControl; in elementRemoved()
2945 if (!xControl.is()) in elementRemoved()
2948 Reference< XFormComponent > xModel(xControl->getModel(), UNO_QUERY); in elementRemoved()
2951 removeControl(xControl); in elementRemoved()
2958 m_aFilterComponents.begin(), m_aFilterComponents.end(), xControl ); in elementRemoved()
3319 Reference< XControl > xControl = pControls[--i]; in startFiltering() local
3320 if (xControl.is()) in startFiltering()
3323 removeFromEventAttacher(xControl); in startFiltering()
3326 Reference< XModeSelector > xSelector(xControl, UNO_QUERY); in startFiltering()
3368 Reference< XPropertySet > xModel( xControl->getModel(), UNO_QUERY ); in startFiltering()
3394 if ( replaceControl( xControl, xFilterControl ) ) in startFiltering()
3450 Reference< XControl > xControl = pControls[--i]; in stopFiltering() local
3451 if (xControl.is()) in stopFiltering()
3454 addToEventAttacher(xControl); in stopFiltering()
3456 Reference< XModeSelector > xSelector(xControl, UNO_QUERY); in stopFiltering()
3468 Reference< XPropertySet > xSet(xControl->getModel(), UNO_QUERY); in stopFiltering()
3484 replaceControl( xControl, xNewControl ); in stopFiltering()
3756 Reference< XControl > xControl( locateControl( xInvalidModel ) ); in approveRowChange() local
3758 displayErrorSetFocus( sInvalidityExplanation, xControl, getDialogParentWindow() ); in approveRowChange()
3799 Reference< XControl > xControl( rColInfo.xFirstControlWithInputRequired ); in approveRowChange() local
3800 if ( !xControl.is() ) in approveRowChange()
3801 xControl.set( rColInfo.xFirstGridWithInputRequiredColumn, UNO_QUERY ); in approveRowChange()