/trunk/main/framework/source/accelerators/ |
H A D | acceleratorconfiguration.cxx | 1534 xAccess->getByName(CFG_ENTRY_GLOBAL) >>= xContainer; in insertKeyToConfiguration() 1545 xModules->getByName(m_sModuleCFG) >>= xContainer; in insertKeyToConfiguration() 1551 if ( !xContainer->hasByName(sKey) ) in insertKeyToConfiguration() 1557 xContainer->getByName(sKey) >>= xKey; in insertKeyToConfiguration() 1579 xAccess->getByName(CFG_ENTRY_GLOBAL) >>= xContainer; in removeKeyFromConfiguration() 1586 xModules->getByName(m_sModuleCFG) >>= xContainer; in removeKeyFromConfiguration() 1590 xContainer->removeByName(sKey); in removeKeyFromConfiguration() 1601 xAccess->getByName(CFG_ENTRY_GLOBAL) >>= xContainer; in reloadChanged() 1608 xModules->getByName(sModule) >>= xContainer; in reloadChanged() 1640 if (xContainer->hasByName(sKey)) in reloadChanged() [all …]
|
/trunk/main/ucbhelper/source/provider/ |
H A D | contenthelper.cxx | 577 uno::Reference< beans::XPropertyContainer > xContainer( in addProperty() local 581 xContainer.is(), in addProperty() 584 if ( xContainer.is() ) in addProperty() 591 xContainer->addProperty( Name, Attributes, DefaultValue ); in addProperty() 675 uno::Reference< beans::XPropertyContainer > xContainer( in removeProperty() local 679 xContainer.is(), in removeProperty() 682 if ( xContainer.is() ) in removeProperty() 686 xContainer->removeProperty( Name ); in removeProperty() 702 xContainer = 0; in removeProperty()
|
/trunk/main/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/ |
H A D | OptionsEventHandler.java | 209 XControlContainer xContainer = (XControlContainer) UnoRuntime.queryInterface( in saveData() local 211 if (xContainer == null) in saveData() 222 XControl xControl = xContainer.getControl(m_arStringControls[i]); in saveData() 288 XControlContainer xContainer = (XControlContainer) UnoRuntime.queryInterface( in loadData() local 290 if (xContainer == null) in loadData() 317 XControl xControl = xContainer.getControl(m_arStringControls[i]); in loadData()
|
/trunk/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | Settings.java | 224 …XNameContainer xContainer = Helper.GetConfigNameContainer( m_xContext, "org.openoffice.Office.Cust… in storeConfiguration() local 225 String[] pNames = xContainer.getElementNames(); in storeConfiguration() 228 xContainer.removeByName( pNames[i] ); in storeConfiguration() 232 …y = ( XSingleServiceFactory ) UnoRuntime.queryInterface( XSingleServiceFactory.class, xContainer ); in storeConfiguration() 242 xContainer.insertByName( (String)ht.get( "Url" ), xNewConn ); in storeConfiguration() 245 …angesBatch xBatch = ( XChangesBatch ) UnoRuntime.queryInterface( XChangesBatch.class, xContainer ); in storeConfiguration()
|
/trunk/main/dbaccess/source/core/dataaccess/ |
H A D | datasource.cxx | 1306 Reference< XNameAccess > xContainer = m_pImpl->m_xCommandDefinitions; in getQueryDefinitions() local 1307 if ( !xContainer.is() ) in getQueryDefinitions() 1319 … xContainer.set(m_pImpl->m_aContext.createComponentWithArguments(sSupportService,aArgs),UNO_QUERY); in getQueryDefinitions() 1322 if ( !xContainer.is() ) in getQueryDefinitions() 1327 m_pImpl->m_xCommandDefinitions = xContainer; in getQueryDefinitions() 1329 return xContainer; in getQueryDefinitions() 1339 Reference< XNameAccess > xContainer = m_pImpl->m_xTableDefinitions; in getTables() local 1340 if ( !xContainer.is() ) in getTables() 1343 …xContainer = new OCommandContainer( m_pImpl->m_aContext.getLegacyServiceFactory(), *this, rContain… in getTables() 1344 m_pImpl->m_xTableDefinitions = xContainer; in getTables() [all …]
|
/trunk/main/svx/source/form/ |
H A D | fmundo.cxx | 839 Reference< XIndexContainer > xContainer(Element, UNO_QUERY); in TogglePropertyListening() local 840 if (xContainer.is()) in TogglePropertyListening() 842 sal_uInt32 nCount = xContainer->getCount(); in TogglePropertyListening() 846 xContainer->getByIndex(i) >>= xIface; in TogglePropertyListening() 962 Reference< XIndexContainer > xContainer( _rxElement, UNO_QUERY ); in AddElement() local 963 if ( xContainer.is() ) in AddElement() 964 switchListening( xContainer, true ); in AddElement() 993 Reference< XIndexContainer > xContainer( _rxElement, UNO_QUERY ); in RemoveElement() local 994 if ( xContainer.is() ) in RemoveElement() 995 switchListening( xContainer, false ); in RemoveElement()
|
H A D | navigatortree.cxx | 1185 Reference< XIndexContainer > xContainer(xCurrentChild->getParent(), UNO_QUERY); in implExecuteDataTransfer() local 1203 xContainer, xCurrentChild, nIndex)); in implExecuteDataTransfer() 1211 Reference< XEventAttacherManager > xManager(xContainer, UNO_QUERY); in implExecuteDataTransfer() 1216 xContainer->removeByIndex(nIndex); in implExecuteDataTransfer() 1225 xContainer = Reference< XIndexContainer > (pTargetData->GetElement(), UNO_QUERY); in implExecuteDataTransfer() 1227 xContainer = Reference< XIndexContainer > (GetNavModel()->GetForms(), UNO_QUERY); in implExecuteDataTransfer() 1230 nIndex = xContainer->getCount(); in implExecuteDataTransfer() 1235 xContainer, xCurrentChild, nIndex)); in implExecuteDataTransfer() 1241 xContainer->insertByIndex( nIndex, in implExecuteDataTransfer() 1246 xContainer->insertByIndex( nIndex, in implExecuteDataTransfer() [all …]
|
H A D | formcontroller.cxx | 1168 Reference< XControlContainer > xContainer(e.Source, UNO_QUERY); in disposing() local 1169 if (xContainer.is()) in disposing() 1367 if ( xContainer.is() ) in replaceControl() 2074 DBG_ASSERT(xTabModel.is() || !xContainer.is(), "No Model defined"); in setContainer() 2107 m_xTabController->setContainer(xContainer); in setContainer() 2110 if (xContainer.is() && xTabModel.is()) in setContainer() 2137 Reference< XContainer > xNewContainer(xContainer, UNO_QUERY); in setContainer() 3333 if (xContainer.is()) in startFiltering() 3334 xContainer->addContainerListener(this); in startFiltering() 3463 if (xContainer.is()) in stopFiltering() [all …]
|
/trunk/main/framework/source/uiconfiguration/ |
H A D | uicategorydescription.cxx | 180 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in ~ConfigurationAccess_UICategory() local 181 if ( xContainer.is() ) in ~ConfigurationAccess_UICategory() 182 xContainer->removeContainerListener( this ); in ~ConfigurationAccess_UICategory() 387 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in initializeConfigAccess() local 388 if ( xContainer.is() ) in initializeConfigAccess() 389 xContainer->addContainerListener( this ); in initializeConfigAccess()
|
/trunk/main/dbaccess/source/ui/app/ |
H A D | AppControllerGen.cxx | 478 … Reference< XNameAccess > xContainer( getElements( lcl_objectType2ElementType( _nObjectType ) ) ); in impl_validateObjectTypeAndName_throw() local 479 if ( !xContainer.is() ) in impl_validateObjectTypeAndName_throw() 489 bExistentObject = xContainer->hasByName( *i_rObjectName ); in impl_validateObjectTypeAndName_throw() 494 Reference< XHierarchicalNameAccess > xHierarchy( xContainer, UNO_QUERY_THROW ); in impl_validateObjectTypeAndName_throw() 726 …Reference< XNameAccess > xContainer = const_cast<OApplicationController*>(this)->getElements(eType… in isRenameDeleteAllowed() local 727 bEnabled = (xContainer.is() && xContainer->hasByName(*aList.begin())); in isRenameDeleteAllowed() 729 bEnabled = Reference<XRename>(xContainer->getByName(*aList.begin()),UNO_QUERY).is(); in isRenameDeleteAllowed()
|
/trunk/main/basctl/source/basicide/ |
H A D | scriptdocument.cxx | 184 … Reference< XWindow2 > xContainer( xFrame->getContainerWindow(), UNO_QUERY_THROW ); in impl_isDocumentVisible_nothrow() local 185 if ( xContainer->isVisible() ) in impl_isDocumentVisible_nothrow() 404 Reference< XLibraryContainer > xContainer; in getLibraryContainer() local 406 return xContainer; in getLibraryContainer() 411 …xContainer.set( _eType == E_SCRIPTS ? SFX_APP()->GetBasicContainer() : SFX_APP()->GetDialogContain… in getLibraryContainer() 414 xContainer.set( in getLibraryContainer() 423 return xContainer; in getLibraryContainer() 493 Reference< XNameContainer > xContainer; in getLibrary() local 500 xContainer.set( xLibContainer->getByName( _rLibName ), UNO_QUERY_THROW ); in getLibrary() 503 if ( !xContainer.is() ) in getLibrary() [all …]
|
/trunk/main/framework/qa/complex/accelerators/ |
H A D | AcceleratorsConfigurationTest.java | 589 XNameContainer xContainer = UnoRuntime.queryInterface(XNameContainer.class, xAccess); in insertKeyToConfiguration() local 590 if (!xContainer.hasByName(sKey)) in insertKeyToConfiguration() 592 … XSingleServiceFactory xFac = UnoRuntime.queryInterface(XSingleServiceFactory.class, xContainer); in insertKeyToConfiguration() 594 xContainer.insertByName(sKey, xInst); in insertKeyToConfiguration() 597 XNameAccess xKey = UnoRuntime.queryInterface(XNameAccess.class, xContainer.getByName(sKey)); in insertKeyToConfiguration() 616 XNameContainer xContainer = UnoRuntime.queryInterface(XNameContainer.class, xAccess); in removeKeyFromConfiguration() local 617 if (xContainer.hasByName(sKey)) in removeKeyFromConfiguration() 619 xContainer.removeByName(sKey); in removeKeyFromConfiguration()
|
/trunk/main/framework/source/uifactory/ |
H A D | uielementfactorymanager.cxx | 111 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in ~ConfigurationAccess_FactoryManager() local 112 if ( xContainer.is() ) in ~ConfigurationAccess_FactoryManager() 113 xContainer->removeContainerListener( this ); in ~ConfigurationAccess_FactoryManager() 347 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in readConfigurationData() local 350 if ( xContainer.is() ) in readConfigurationData() 351 xContainer->addContainerListener( this ); in readConfigurationData()
|
/trunk/main/sw/source/ui/dbui/ |
H A D | dbtree.cxx | 120 Reference<XContainer> xContainer(xDBContext, UNO_QUERY); in ~SwDBTreeList_Impl() local 121 if(xContainer.is()) in ~SwDBTreeList_Impl() 127 xContainer->removeContainerListener( this ); in ~SwDBTreeList_Impl() 188 Reference<XContainer> xContainer(xDBContext, UNO_QUERY); in HasContext() local 189 if(xContainer.is()) in HasContext() 190 xContainer->addContainerListener( this ); in HasContext()
|
/trunk/main/svx/source/accessibility/ |
H A D | AccessibleControlShape.cxx | 734 …Reference< XContainer > xContainer = lcl_getControlContainer( maShapeTreeInfo.GetWindow(), maShape… in disposing() local 735 if ( xContainer.is() ) in disposing() 738 xContainer->removeContainerListener( this ); in disposing() 927 Reference< XContainer > xContainer( _rEvent.Source, UNO_QUERY ); in elementInserted() local 930 OSL_ENSURE( xContainer.is() && xControl.is(), in elementInserted() 946 if ( xContainer.is() ) in elementInserted() 948 xContainer->removeContainerListener( this ); in elementInserted()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unocpres.cxx | 345 uno::Reference< container::XIndexContainer > xContainer; in insertByName() local 346 if( (aElement >>= xContainer) && xContainer.is() ) in insertByName() 347 pXShow = SdXCustomPresentation::getImplementation(xContainer); in insertByName() 356 pShow = new SdCustomShow( mrModel.GetDoc(), xContainer ); in insertByName()
|
/trunk/main/dbaccess/source/ui/browser/ |
H A D | dsbrowserDnD.cxx | 270 Reference< XContainer > xContainer(pData->xContainer, UNO_QUERY); in clearTreeModel() local 271 if (xContainer.is()) in clearTreeModel() 272 xContainer->removeContainerListener(this); in clearTreeModel()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | adtabdlg.cxx | 183 Reference< XContainer> xContainer(xTables,uno::UNO_QUERY); in updateTableObjectList() local 184 if ( xContainer.is() ) in updateTableObjectList() 185 … m_pContainerListener = new ::comphelper::OContainerListenerAdapter(this,xContainer); in updateTableObjectList() 308 Reference< XContainer> xContainer(xQueries,UNO_QUERY_THROW); in updateTableObjectList() local 309 m_pContainerListener = new ::comphelper::OContainerListenerAdapter(this,xContainer); in updateTableObjectList()
|
/trunk/main/sfx2/source/bastyp/ |
H A D | fltlst.cxx | 95 uno::Reference< util::XRefreshable > xContainer( aSource.Source, uno::UNO_QUERY ); in refreshed() local 97 (xContainer.is() ) && in refreshed() 98 (xContainer==m_xFilterCache) in refreshed()
|
/trunk/main/extensions/source/propctrlr/ |
H A D | selectlabeldialog.cxx | 178 Reference< XIndexAccess > xContainer(_xContainer, UNO_QUERY); in InsertEntries() local 179 if (!xContainer.is()) in InsertEntries() 185 for (sal_Int32 i=0; i<xContainer->getCount(); ++i) in InsertEntries() 187 xContainer->getByIndex(i) >>= xAsSet; in InsertEntries()
|
/trunk/main/framework/source/fwe/helper/ |
H A D | configimporter.cxx | 65 … uno::Reference< container::XIndexContainer > xContainer = rContainerFactory->createSettings(); in ImportCustomToolbars() local 66 if ( ToolBoxConfiguration::LoadToolBox( rSrvMgr, xInputStream, xContainer )) in ImportCustomToolbars() 70 rSeqContainer[nIndex] = xContainer; in ImportCustomToolbars()
|
/trunk/main/svx/source/unodialogs/textconversiondlgs/ |
H A D | chinese_dictionarydialog.cxx | 517 … Reference< container::XNameContainer > xContainer( xDictionaryList->getDictionaryContainer() ); in ChineseDictionaryDialog() local 518 if(xContainer.is()) in ChineseDictionaryDialog() 527 if( xContainer->hasByName( aNameTo_Simplified ) ) in ChineseDictionaryDialog() 529 xContainer->getByName( aNameTo_Simplified ), UNO_QUERY ); in ChineseDictionaryDialog() 542 if( xContainer->hasByName( aNameTo_Traditional ) ) in ChineseDictionaryDialog() 544 xContainer->getByName( aNameTo_Traditional ), UNO_QUERY ); in ChineseDictionaryDialog()
|
/trunk/main/xmloff/source/forms/ |
H A D | layerexport.cxx | 610 Reference< XIndexAccess > xContainer( _rxControl, UNO_QUERY ); in collectGridColumnStylesAndIds() local 611 …OSL_ENSURE( xContainer.is(), "OFormLayerXMLExport_Impl::collectGridColumnStylesAndIds: grid contro… in collectGridColumnStylesAndIds() 612 if ( !xContainer.is() ) in collectGridColumnStylesAndIds() 617 sal_Int32 nCount = xContainer->getCount(); in collectGridColumnStylesAndIds() 620 … Reference< XPropertySet > xColumnProperties( xContainer->getByIndex( i ), UNO_QUERY ); in collectGridColumnStylesAndIds()
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | ControlLock.java | 53 protected boolean shouldStepInto( XIndexContainer xContainer ) throws com.sun.star.uno.Exception in shouldStepInto() argument 55 if ( !super.shouldStepInto( xContainer ) ) in shouldStepInto() 58 XForm xForm = (XForm)UnoRuntime.queryInterface( XForm.class, xContainer ); in shouldStepInto()
|
/trunk/main/toolkit/source/controls/ |
H A D | unocontrolcontainer.cxx | 607 uno::Reference< awt::XControlContainer > xContainer( mxContext, uno::UNO_QUERY ); in setStatusText() local 608 if( xContainer.is() ) in setStatusText() 609 xContainer->setStatusText( rStatusText ); in setStatusText() 794 uno::Reference< awt::XControlContainer > xContainer = in createPeer() local 796 implUpdateVisibility( nDialogStep, xContainer ); in createPeer() 800 new DialogStepChangedListener( xContainer ) ); in createPeer()
|