| /AOO41X/main/toolkit/source/layout/core/ |
| H A D | timer.cxx | 72 static inline bool isContainerDamaged( uno::Reference< awt::XLayoutContainer > xContainer ) in isContainerDamaged() argument 74 uno::Reference< awt::XLayoutConstrains > xConstrains( xContainer, uno::UNO_QUERY ); in isContainerDamaged() 75 awt::Size lastReq( xContainer->getRequestedSize() ); in isContainerDamaged() 80 void add( const uno::Reference< awt::XLayoutContainer > &xContainer ) in add() argument 83 if ( mxLastAdded == xContainer ) in add() 85 mxLastAdded = xContainer; in add() 87 mxContainers.push_back( xContainer ); in add() 103 uno::Reference< awt::XLayoutContainer > xContainer = *it; in Timeout() local 104 while ( xContainer->getParent().is() && isContainerDamaged( xContainer ) ) in Timeout() 106 xContainer = uno::Reference< awt::XLayoutContainer >( in Timeout() [all …]
|
| H A D | container.cxx | 127 uno::Reference< awt::XLayoutContainer > xContainer( this ); 128 while ( xContainer.is() ) 131 uno::Reference< awt::XLayoutContainer > xParent = xContainer->getContainerParent(); 138 if ( aChildren[ node ] == xContainer ) 149 xContainer = xParent;
|
| /AOO41X/main/dbaccess/source/core/misc/ |
| H A D | ContainerMediator.cxx | 87 Reference< XContainer > xContainer(_xSettings, UNO_QUERY); in DBG_NAME() local 88 if ( xContainer.is() ) in DBG_NAME() 89 xContainer->addContainerListener(this); in DBG_NAME() 116 Reference< XContainer > xContainer( m_xSettings, UNO_QUERY ); in impl_cleanup_nothrow() local 117 if ( xContainer.is() ) in impl_cleanup_nothrow() 118 xContainer->removeContainerListener( this ); in impl_cleanup_nothrow() 121 xContainer = m_xContainer; in impl_cleanup_nothrow() 122 if ( xContainer.is() ) in impl_cleanup_nothrow() 123 xContainer->removeContainerListener( this ); in impl_cleanup_nothrow() 154 Reference< XContainer > xContainer = m_xContainer; in elementRemoved() local [all …]
|
| /AOO41X/main/svx/source/form/ |
| H A D | navigatortreemodel.cxx | 134 Reference< XIndexContainer > xContainer(xForm, UNO_QUERY); in Insert() local 136 for (sal_Int32 i = 0; i < xContainer->getCount(); i++) in Insert() 138 xContainer->getByIndex(i) >>= xTemp; in Insert() 264 Reference< XContainer > xContainer(xForms, UNO_QUERY); in Clear() local 265 if (xContainer.is()) in Clear() 266 xContainer->removeContainerListener((XContainerListener*)m_pPropChangeList); in Clear() 314 Reference< XIndexContainer > xContainer; in Insert() local 316 xContainer = Reference< XIndexContainer > (pFolder->GetFormIface(), UNO_QUERY); in Insert() 318 xContainer = Reference< XIndexContainer > (GetForms(), UNO_QUERY); in Insert() 329 if (nRelPos >= (sal_uInt32)xContainer->getCount()) in Insert() [all …]
|
| H A D | fmshimp.cxx | 1884 Reference< XIndexAccess > xContainer( m_xExternalDisplayedForm, UNO_QUERY ); in ExecuteFormSlot() local 1885 if ( xContainer.is() ) in ExecuteFormSlot() 1888 for ( sal_Int32 i = 0; i < xContainer->getCount(); ++i ) in ExecuteFormSlot() 1890 if ( ( xContainer->getByIndex( i ) >>= xReset ) && xReset.is() ) in ExecuteFormSlot() 2672 const Reference< XIndexContainer> xContainer(Element, UNO_QUERY); in impl_AddElement_nothrow() local 2673 if (xContainer.is()) in impl_AddElement_nothrow() 2675 const sal_uInt32 nCount = xContainer->getCount(); in impl_AddElement_nothrow() 2679 xElement.set(xContainer->getByIndex(i),UNO_QUERY); in impl_AddElement_nothrow() 2708 const Reference< XIndexContainer> xContainer(Element, UNO_QUERY); in impl_RemoveElement_nothrow() local 2709 if (xContainer.is()) in impl_RemoveElement_nothrow() [all …]
|
| H A D | fmpgeimp.cxx | 97 Reference< XIndexAccess > xContainer( _component, UNO_QUERY ); in childCount() local 98 if ( xContainer.is() ) in childCount() 99 return xContainer->getCount(); in childCount() 105 Reference< XIndexAccess > xContainer( _component, UNO_QUERY_THROW ); in getChild() local 106 return FormComponent( xContainer->getByIndex( _index ), UNO_QUERY ); in getChild() 451 Reference< XIndexContainer > xContainer( xForms, UNO_QUERY ); in getDefaultForm() local 456 xContainer, in getDefaultForm() 458 xContainer->getCount())); in getDefaultForm() 551 … Reference< ::com::sun::star::container::XIndexContainer > xContainer( getForms(), UNO_QUERY ); in findPlaceInFormComponentHierarchy() local 554 xContainer, in findPlaceInFormComponentHierarchy() [all …]
|
| /AOO41X/main/reportdesign/source/core/sdr/ |
| H A D | UndoEnv.cxx | 412 Reference< report::XSection > xContainer(evt.Source,uno::UNO_QUERY); in elementInserted() local 414 …:vector< uno::Reference< container::XChild> >::const_iterator aFind = getSection(xContainer.get()); in elementInserted() 435 uno::Reference< report::XFunctions> xContainer(evt.Source,uno::UNO_QUERY); in elementInserted() local 436 if ( xContainer.is() ) in elementInserted() 439 new OUndoContainerAction( m_pImpl->m_rModel, rptui::Inserted, xContainer.get(), in elementInserted() 482 Reference< report::XSection > xContainer(evt.Source,uno::UNO_QUERY); in elementRemoved() local 483 …:vector< uno::Reference< container::XChild> >::const_iterator aFind = getSection(xContainer.get()); in elementRemoved() 561 Reference< XIndexAccess > xContainer(Element, UNO_QUERY); in TogglePropertyListening() local 562 if (xContainer.is()) in TogglePropertyListening() 565 sal_Int32 nCount = xContainer->getCount(); in TogglePropertyListening() [all …]
|
| /AOO41X/main/odk/examples/DevelopersGuide/Drawing/ |
| H A D | CustomShowDemo.java | 128 XIndexContainer xContainer; in main() local 133 xContainer = (XIndexContainer)UnoRuntime.queryInterface( XIndexContainer.class, xObj ); in main() 135 xContainer.insertByIndex( xContainer.getCount(), xDrawPages.getByIndex( i ) ); in main() 136 xNameContainer.insertByName( "ShortVersion", xContainer ); in main() 141 xContainer = (XIndexContainer)UnoRuntime.queryInterface( XIndexContainer.class, xObj ); in main() 143 xContainer.insertByIndex( xContainer.getCount(), xDrawPages.getByIndex( i ) ); in main() 144 xNameContainer.insertByName( "LongVersion", xContainer ); in main()
|
| /AOO41X/main/dbaccess/source/ui/app/ |
| H A D | AppController.cxx | 524 Reference<XContainer> xContainer( _rSource.Source, UNO_QUERY ); in disposing() local 525 if ( xContainer.is() ) in disposing() 527 …::iterator aFind = ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xContainer); in disposing() 1077 … Reference< XHierarchicalNameAccess > xContainer(getElements(eType),UNO_QUERY); in Execute() local 1078 if ( xContainer.is() in Execute() 1079 && xContainer->hasByHierarchicalName(*aList.begin()) in Execute() 1080 … && (xContainer->getByHierarchicalName(*aList.begin()) >>= xContainer) in Execute() 1081 && xContainer.is() in Execute() 1557 Reference< XContainer > xContainer(_rEvent.Source, UNO_QUERY); in elementInserted() local 1558 …if ( ::std::find(m_aCurrentContainers.begin(),m_aCurrentContainers.end(),xContainer) != m_aCurrent… in elementInserted() [all …]
|
| /AOO41X/main/uui/source/ |
| H A D | passwordcontainer.cxx | 162 uno::Reference< task::XPasswordContainer > xContainer( in handleAuthenticationRequest() local 168 if ( !xContainer.is() || !xUrlContainer.is() ) in handleAuthenticationRequest() 201 aRec = xContainer->find(rURL, xIH); in handleAuthenticationRequest() 206 aRec = xContainer->find(rRequest.ServerName, xIH); in handleAuthenticationRequest() 224 aRec = xContainer->findForName( in handleAuthenticationRequest() 230 aRec = xContainer->findForName( in handleAuthenticationRequest() 294 xContainer( m_xPasswordContainer, uno::UNO_QUERY ); in addRecord() local 295 OSL_ENSURE( xContainer.is(), "Got no XUrlContainer!" ); in addRecord() 296 if ( !xContainer.is() ) in addRecord() 299 xContainer->addUrl( rURL, bPersist ); in addRecord()
|
| /AOO41X/main/svl/qa/complex/passwordcontainer/ |
| H A D | Test02.java | 67 …XPasswordContainer xContainer = UnoRuntime.queryInterface(XPasswordContainer.class, oPasswordConta… in test() local 78 …xContainer.addPersistent(sURL, aInputUserList1[i].UserName, aInputUserList1[i].Passwords, aMHandle… in test() 81 …xContainer.addPersistent(sURL, aInputUserList2[i].UserName, aInputUserList2[i].Passwords, aMHandle… in test() 86 xContainer.remove(sURL, aInputUserList1[i].UserName); in test() 90 UrlRecord aRecord = xContainer.find(sURL, aMHandler); in test() 101 UrlRecord aRecords[] = xContainer.getAllPersistent(aMHandler); in test() 112 xContainer.removeAllPersistent(); in test() 116 xContainer.remove(sURL, aRecords[0].UserList[i].UserName); in test()
|
| H A D | Test01.java | 67 …XPasswordContainer xContainer = UnoRuntime.queryInterface(XPasswordContainer.class, oPasswordConta… in test() local 74 … xContainer.add(sURL, aInputUserList1[i].UserName, aInputUserList1[i].Passwords, aMHandler); in test() 77 … xContainer.add(sURL, aInputUserList2[i].UserName, aInputUserList2[i].Passwords, aMHandler); in test() 82 xContainer.remove(sURL, aInputUserList1[i].UserName); in test() 86 UrlRecord aRecord = xContainer.find(sURL, aMHandler); in test() 97 aRecord = xContainer.find(sURL, aMHandler); in test() 99 xContainer.remove(sURL, aRecord.UserList[i].UserName); in test()
|
| H A D | Test03.java | 67 …XPasswordContainer xContainer = UnoRuntime.queryInterface(XPasswordContainer.class, oPasswordConta… in test() local 78 …xContainer.addPersistent(sURL, aInputUserList[i].UserName, aInputUserList[i].Passwords, aMHandler); in test() 83 …xContainer.add(sURL, aInputUserList[i+iPersistentUserNum].UserName, aInputUserList[i+iPersistentUs… in test() 87 UrlRecord aRecord = xContainer.find(sURL, aMHandler); in test() 98 xContainer.removeAllPersistent(); in test() 101 aRecord = xContainer.find(sURL, aMHandler); in test() 103 xContainer.remove(sURL, aRecord.UserList[i].UserName); in test()
|
| /AOO41X/main/xmloff/source/xforms/ |
| H A D | XFormsBindContext.cxx | 135 Reference<XNameContainer> xContainer( in StartElement() local 139 DBG_ASSERT( xContainer.is(), "binding should have a namespace container" ); in StartElement() 140 if( xContainer.is() ) in StartElement() 141 lcl_fillNamespaceContainer( GetImport().GetNamespaceMap(), xContainer); in StartElement() 161 Reference<XNameContainer>& xContainer ) in lcl_fillNamespaceContainer() argument 176 if( xContainer->hasByName( sPrefix ) ) in lcl_fillNamespaceContainer() 177 xContainer->replaceByName( sPrefix, makeAny( sNamespace ) ); in lcl_fillNamespaceContainer() 179 xContainer->insertByName( sPrefix, makeAny( sNamespace ) ); in lcl_fillNamespaceContainer()
|
| /AOO41X/test/testuno/source/fvt/uno/sd/slideshow/ |
| H A D | CustomShow.java | 125 XIndexContainer xContainer; in testCustomShow() local 130 xContainer = (XIndexContainer) UnoRuntime.queryInterface( in testCustomShow() 133 xContainer.insertByIndex(xContainer.getCount(), in testCustomShow() 135 xNameContainer.insertByName("Part", xContainer); in testCustomShow() 141 xContainer = (XIndexContainer) UnoRuntime.queryInterface( in testCustomShow() 144 xContainer.insertByIndex(xContainer.getCount(), in testCustomShow() 146 xNameContainer.insertByName("All", xContainer); in testCustomShow()
|
| /AOO41X/main/oox/source/helper/ |
| H A D | containerhelper.cxx | 101 Reference< XIndexContainer > xContainer; in createIndexContainer() local 105 …xContainer.set( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.document.IndexedPropertyV… in createIndexContainer() 110 … OSL_ENSURE( xContainer.is(), "ContainerHelper::createIndexContainer - cannot create container" ); in createIndexContainer() 111 return xContainer; in createIndexContainer() 134 Reference< XNameContainer > xContainer; in createNameContainer() local 138 …xContainer.set( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.document.NamedPropertyVal… in createNameContainer() 143 OSL_ENSURE( xContainer.is(), "ContainerHelper::createNameContainer - cannot create container" ); in createNameContainer() 144 return xContainer; in createNameContainer()
|
| /AOO41X/main/reportdesign/source/ui/report/ |
| H A D | ReportControllerObserver.cxx | 268 uno::Reference< container::XIndexAccess > xContainer(Element, uno::UNO_QUERY); in TogglePropertyListening() local 269 if (xContainer.is()) in TogglePropertyListening() 272 sal_Int32 nCount = xContainer->getCount(); in TogglePropertyListening() 275 xInterface.set(xContainer->getByIndex( i ),uno::UNO_QUERY); in TogglePropertyListening() 379 uno::Reference< container::XIndexAccess > xContainer( _rxElement, uno::UNO_QUERY ); in AddElement() local 380 if ( xContainer.is() ) in AddElement() 381 switchListening( xContainer, true ); in AddElement() 391 uno::Reference< container::XIndexAccess > xContainer( _rxElement, uno::UNO_QUERY ); in RemoveElement() local 392 if ( xContainer.is() ) in RemoveElement() 393 switchListening( xContainer, false ); in RemoveElement()
|
| /AOO41X/main/ucb/source/core/ |
| H A D | ucbstore.cxx | 431 Reference< XNameContainer > xContainer( xFac, UNO_QUERY ); in openPropertySet() local 441 OSL_ENSURE( xContainer.is(), in openPropertySet() 445 if ( xFac.is() && xBatch.is() && xContainer.is() ) in openPropertySet() 463 xContainer->insertByName( in openPropertySet() 547 Reference< XNameContainer > xContainer( xBatch, UNO_QUERY ); in removePropertySet() local 553 OSL_ENSURE( xContainer.is(), in removePropertySet() 557 if ( xBatch.is() && xContainer.is() ) in removePropertySet() 562 xContainer->removeByName( key ); in removePropertySet() 747 Reference< XNameContainer > xContainer( xFac, UNO_QUERY ); in renamePropertySet() local 757 OSL_ENSURE( xContainer.is(), in renamePropertySet() [all …]
|
| /AOO41X/main/framework/source/uielement/ |
| H A D | uicommanddescription.cxx | 246 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in ~ConfigurationAccess_UICommand() local 247 if ( xContainer.is() ) in ~ConfigurationAccess_UICommand() 248 xContainer->removeContainerListener( this ); in ~ConfigurationAccess_UICommand() 249 xContainer = Reference< XContainer >( m_xConfigAccessPopups, UNO_QUERY ); in ~ConfigurationAccess_UICommand() 250 if ( xContainer.is() ) in ~ConfigurationAccess_UICommand() 251 xContainer->removeContainerListener( this ); in ~ConfigurationAccess_UICommand() 563 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in initializeConfigAccess() local 564 if ( xContainer.is() ) in initializeConfigAccess() 565 xContainer->addContainerListener( this ); in initializeConfigAccess() 574 Reference< XContainer > xContainer( m_xConfigAccessPopups, UNO_QUERY ); in initializeConfigAccess() local [all …]
|
| /AOO41X/main/ucb/source/ucp/hierarchy/ |
| H A D | hierarchydata.cxx | 364 uno::Reference< container::XNameContainer > xContainer; in setData() local 415 xContainer in setData() 419 OSL_ENSURE( xContainer.is(), in setData() 455 if ( xContainer.is() ) in setData() 456 xContainer->insertByName( in setData() 909 uno::Reference< container::XNameContainer > xContainer; in remove() local 916 xContainer = uno::Reference< container::XNameContainer >( in remove() 925 >>= xContainer; in remove() 928 OSL_ENSURE( xContainer.is(), in remove() 931 if ( xContainer.is() ) in remove() [all …]
|
| /AOO41X/main/editeng/source/items/ |
| H A D | xmlcnitm.cxx | 94 Reference<XNameContainer> xContainer = in QueryValue() local 97 rVal.setValue( &xContainer, ::getCppuType((Reference<XNameContainer>*)0) ); in QueryValue() 125 Reference<XNameContainer> xContainer( xRef, UNO_QUERY ); in PutValue() local 126 if( !xContainer.is() ) in PutValue() 129 const Sequence< ::rtl::OUString > aNameSequence( xContainer->getElementNames() ); in PutValue() 140 aAny = xContainer->getByName( aName ); in PutValue()
|
| /AOO41X/main/dbaccess/source/core/api/ |
| H A D | querycontainer.cxx | 128 Reference< XContainer > xContainer( m_xCommandDefinitions, UNO_QUERY_THROW ); in DBG_NAME() local 129 xContainer->addContainerListener( m_pCommandsListener ); in DBG_NAME() 174 Reference< XContainer > xContainer( m_xCommandDefinitions, UNO_QUERY ); in IMPLEMENT_FORWARD_XINTERFACE2() local 175 xContainer->removeContainerListener( m_pCommandsListener ); in IMPLEMENT_FORWARD_XINTERFACE2() 404 Reference<XNameContainer> xContainer(_rxCommandDesc,UNO_QUERY); in implCreateWrapper() local 406 if ( xContainer .is() ) in implCreateWrapper() 408 …xReturn = new OQueryContainer( xContainer, m_xConnection, m_aContext.getLegacyServiceFactory(), m_… in implCreateWrapper()
|
| /AOO41X/main/framework/source/uifactory/ |
| H A D | factoryconfiguration.cxx | 98 Reference< XContainer > xContainer( m_xConfigAccess, UNO_QUERY ); in ~ConfigurationAccess_ControllerFactory() local 99 if ( xContainer.is() ) in ~ConfigurationAccess_ControllerFactory() 100 xContainer->removeContainerListener( this ); in ~ConfigurationAccess_ControllerFactory() 261 uno::Reference< container::XContainer > xContainer( m_xConfigAccess, uno::UNO_QUERY ); in readConfigurationData() local 265 if ( xContainer.is() ) in readConfigurationData() 266 xContainer->addContainerListener( this ); in readConfigurationData()
|
| /AOO41X/main/sfx2/source/doc/ |
| H A D | docmacromode.cxx | 342 Reference< XLibraryContainer > xContainer; in hasMacroLibrary() local 344 xContainer.set( xScripts->getBasicLibraries(), UNO_QUERY_THROW ); in hasMacroLibrary() 346 if ( xContainer.is() ) in hasMacroLibrary() 352 if ( !xContainer->hasElements() ) in hasMacroLibrary() 357 Sequence< ::rtl::OUString > aElements = xContainer->getElementNames(); in hasMacroLibrary() 373 Any aAny = xContainer->getByName( aStdLibName ); in hasMacroLibrary()
|
| /AOO41X/main/extensions/source/update/check/ |
| H A D | updatehdl.cxx | 767 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in startThrobber() local 768 …uno::Reference< awt::XAnimation > xThrobber( xContainer->getControl( CTRL_THROBBER ), uno::UNO_QUE… in startThrobber() 778 … uno::Reference< awt::XWindow > xWindow( xContainer->getControl( CTRL_THROBBER ), uno::UNO_QUERY ); in startThrobber() 791 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in setControlProperty() local 792 …uno::Reference< awt::XControl > xControl( xContainer->getControl( rCtrlName ), uno::UNO_QUERY_THRO… in setControlProperty() 809 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in showControl() local 811 if ( !xContainer.is() ) in showControl() 817 uno::Reference< awt::XWindow > xWindow( xContainer->getControl( rCtrlName ), uno::UNO_QUERY ); in showControl() 826 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in focusControl() local 828 if ( !xContainer.is() ) in focusControl() [all …]
|