/aoo42x/main/toolkit/source/layout/core/ |
H A D | timer.cxx | 75 awt::Size lastReq( xContainer->getRequestedSize() ); in isContainerDamaged() 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() 107 xContainer->getParent(), uno::UNO_QUERY ); in Timeout() 110 if ( *it != xContainer ) in Timeout() 113 *it = xContainer; 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;
|
/aoo42x/main/dbaccess/source/core/misc/ |
H A D | ContainerMediator.cxx | 88 if ( xContainer.is() ) in DBG_NAME() 89 xContainer->addContainerListener(this); in DBG_NAME() 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 155 if ( _rEvent.Source == xContainer && xContainer.is() ) in elementRemoved() 175 Reference< XContainer > xContainer = m_xContainer; in elementReplaced() local [all …]
|
/aoo42x/main/svx/source/form/ |
H A D | navigatortreemodel.cxx | 138 xContainer->getByIndex(i) >>= xTemp; in Insert() 265 if (xContainer.is()) in Clear() 314 Reference< XIndexContainer > xContainer; in Insert() local 330 nRelPos = (sal_uInt32)xContainer->getCount(); in Insert() 337 xContainer, in Insert() 343 if (xContainer->getElementType() == in Insert() 350 else if (xContainer->getElementType() == in Insert() 377 if (xContainer.is()) in Insert() 448 xContainer, in Remove() 456 xContainer->removeByIndex(nContainerIndex ); in Remove() [all …]
|
H A D | fmshimp.cxx | 1885 if ( xContainer.is() ) in ExecuteFormSlot() 2673 if (xContainer.is()) in impl_AddElement_nothrow() 2709 if (xContainer.is()) in impl_RemoveElement_nothrow() 2971 if ( !xContainer.is() ) in impl_collectFormSearchContexts_nothrow() 3218 if (xContainer.is()) in clearFilter() 3224 if (xContainer->getCount()) in clearFilter() 3227 while (xContainer->getCount() > 1) in clearFilter() 3228 xContainer->removeByIndex(0); in clearFilter() 3924 if (xContainer.is()) in smartControlReset() 3925 smartControlReset(xContainer); in smartControlReset() [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 …]
|
/aoo42x/main/reportdesign/source/core/sdr/ |
H A D | UndoEnv.cxx | 436 if ( xContainer.is() ) in elementInserted() 561 Reference< XIndexAccess > xContainer(Element, UNO_QUERY); in TogglePropertyListening() local 562 if (xContainer.is()) in TogglePropertyListening() 565 sal_Int32 nCount = xContainer->getCount(); in TogglePropertyListening() 568 xInterface.set(xContainer->getByIndex( i ),uno::UNO_QUERY); in TogglePropertyListening() 663 Reference< XIndexAccess > xContainer( _rxElement, UNO_QUERY ); in AddElement() local 664 if ( xContainer.is() ) in AddElement() 665 switchListening( xContainer, true ); in AddElement() 678 Reference< XIndexAccess > xContainer( _rxElement, UNO_QUERY ); in RemoveElement() local 679 if ( xContainer.is() ) in RemoveElement() [all …]
|
/aoo42x/main/dbaccess/source/ui/app/ |
H A D | AppController.cxx | 525 if ( xContainer.is() ) in disposing() 1078 if ( xContainer.is() in Execute() 1080 && (xContainer->getByHierarchicalName(*aList.begin()) >>= xContainer) in Execute() 1081 && xContainer.is() in Execute() 1565 ElementType eType = getElementType(xContainer); in elementInserted() 1599 ElementType eType = getElementType(xContainer); in elementRemoved() 1749 addContainerListener(xContainer); in onContainerSelect() 2086 if ( xContainer.is() ) in renameEntry() 2134 if ( xContainer->hasByName(*aList.begin()) ) in renameEntry() 2488 if ( xContainer.is() && xContainer->hasByHierarchicalName(sName) ) in queryDrop() [all …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/main/ucb/source/core/ |
H A D | ucbstore.cxx | 441 OSL_ENSURE( xContainer.is(), in openPropertySet() 463 xContainer->insertByName( in openPropertySet() 553 OSL_ENSURE( xContainer.is(), in removePropertySet() 557 if ( xBatch.is() && xContainer.is() ) in removePropertySet() 562 xContainer->removeByName( key ); in removePropertySet() 757 OSL_ENSURE( xContainer.is(), in renamePropertySet() 1801 OSL_ENSURE( xContainer.is(), in addProperty() 1970 Reference< XNameContainer > xContainer( in removeProperty() local 1980 OSL_ENSURE( xContainer.is(), in removeProperty() 1983 if ( xBatch.is() && xContainer.is() ) in removeProperty() [all …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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() 575 if ( xContainer.is() ) in initializeConfigAccess() [all …]
|
/aoo42x/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 …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/main/extensions/source/update/check/ |
H A D | updatehdl.cxx | 755 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in startThrobber() local 766 … uno::Reference< awt::XWindow > xWindow( xContainer->getControl( CTRL_THROBBER ), uno::UNO_QUERY ); in startThrobber() 778 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in setControlProperty() local 779 …uno::Reference< awt::XControl > xControl( xContainer->getControl( rCtrlName ), uno::UNO_QUERY_THRO… in setControlProperty() 795 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in showControl() local 797 if ( !xContainer.is() ) in showControl() 803 uno::Reference< awt::XWindow > xWindow( xContainer->getControl( rCtrlName ), uno::UNO_QUERY ); in showControl() 811 uno::Reference< awt::XControlContainer > xContainer( mxUpdDlg, uno::UNO_QUERY ); in focusControl() local 813 if ( !xContainer.is() ) in focusControl() 850 uno::Reference< container::XNameContainer > xContainer (rxDialogModel, uno::UNO_QUERY_THROW); in insertControlModel() local [all …]
|
/aoo42x/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()
|
/aoo42x/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()
|