| /trunk/main/unotools/source/config/ |
| H A D | configitem.cxx | 873 Reference<XNameAccess> xCont; in GetNodeNames() local 877 aNode >>= xCont; in GetNodeNames() 880 xCont = Reference<XNameAccess> (xHierarchyAccess, UNO_QUERY); in GetNodeNames() 881 if(xCont.is()) in GetNodeNames() 883 aRet = xCont->getElementNames(); in GetNodeNames() 884 lcl_normalizeLocalNames(aRet,eFormat,xCont); in GetNodeNames() 904 Reference<XNameContainer> xCont; in ClearNodeSet() local 908 aNode >>= xCont; in ClearNodeSet() 911 xCont = Reference<XNameContainer> (xHierarchyAccess, UNO_QUERY); in ClearNodeSet() 912 if(!xCont.is()) in ClearNodeSet() [all …]
|
| /trunk/main/sw/qa/complex/writer/ |
| H A D | CheckIndexedPropertyValues.java | 43 XIndexContainer xCont = UnoRuntime.queryInterface( in checkIndexedPropertyValues() local 50 assertNotNull("XIndexContainer was queried but returned null.", xCont); in checkIndexedPropertyValues() 61 Type t = xCont.getElementType(); in checkIndexedPropertyValues() 62 assertEquals("Initial container is not empty", 0, xCont.getCount()); in checkIndexedPropertyValues() 63 xCont.insertByIndex(0, prop1); in checkIndexedPropertyValues() 64 PropertyValue[]ret = (PropertyValue[])xCont.getByIndex(0); in checkIndexedPropertyValues() 67 xCont.replaceByIndex(0, prop2); in checkIndexedPropertyValues() 68 ret = (PropertyValue[])xCont.getByIndex(0); in checkIndexedPropertyValues() 71 xCont.removeByIndex(0); in checkIndexedPropertyValues() 73 !xCont.hasElements() && xCont.getCount()==0); in checkIndexedPropertyValues() [all …]
|
| H A D | CheckNamedPropertyValues.java | 43 XNameContainer xCont = UnoRuntime.queryInterface( in checkNamedPropertyValues() local 50 assertNotNull("XNameContainer was queried but returned null.", xCont); in checkNamedPropertyValues() 61 Type t = xCont.getElementType(); in checkNamedPropertyValues() 62 assertFalse("Initial container is not empty.", xCont.hasElements()); in checkNamedPropertyValues() 64 xCont.insertByName("prop1", prop1); in checkNamedPropertyValues() 65 PropertyValue[]ret = (PropertyValue[])xCont.getByName("prop1"); in checkNamedPropertyValues() 68 xCont.replaceByName("prop1", prop2); in checkNamedPropertyValues() 69 ret = (PropertyValue[])xCont.getByName("prop1"); in checkNamedPropertyValues() 72 xCont.removeByName("prop1"); in checkNamedPropertyValues() 73 assertFalse("Could not remove PropertyValue.", xCont.hasElements()); in checkNamedPropertyValues() [all …]
|
| /trunk/main/ucb/workben/cachemap/ |
| H A D | cachemaptest.cxx | 63 ContRef xCont(new Cont); in test() local 72 rtl::Reference< Obj > xObj01(xCont->get(aKey0)); in test() 76 rtl::Reference< Obj > xObj02(xCont->get(aKey0)); in test() 85 rtl::Reference< Obj > xObj11(xCont->get(aKey1)); in test() 89 rtl::Reference< Obj > xObj12(xCont->get(aKey1)); in test() 98 rtl::Reference< Obj > xObj21(xCont->get(aKey2)); in test() 102 rtl::Reference< Obj > xObj22(xCont->get(aKey2)); in test() 111 rtl::Reference< Obj > xObj31(xCont->get(aKey3)); in test() 115 rtl::Reference< Obj > xObj32(xCont->get(aKey3)); in test() 124 rtl::Reference< Obj > xObj41(xCont->get(aKey4)); in test() [all …]
|
| /trunk/main/scripting/source/provider/ |
| H A D | MasterScriptProvider.cxx | 528 Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY ); in insertByName() local 529 if ( !xCont.is() ) in insertByName() 535 xCont->insertByName( aName, aElement ); in insertByName() 573 Reference< container::XNameContainer > xCont( xSProviders[ index ], UNO_QUERY ); in insertByName() local 574 if ( !xCont.is() ) in insertByName() 580 xCont->insertByName( aName, aElement ); in insertByName() 608 Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY ); in removeByName() local 609 if ( !xCont.is() ) in removeByName() 615 xCont->removeByName( Name ); in removeByName() 647 Reference< container::XNameContainer > xCont( xSProviders[ index ], UNO_QUERY ); in removeByName() local [all …]
|
| /trunk/main/ucb/qa/complex/tdoc/ |
| H A D | CheckContentProvider.java | 144 XContent[] xCont = new XContent[countDocs+5]; in checkTDOCRoot() local 149 xCont[i] = xContentProvider.queryContent(xContentId[i]); in checkTDOCRoot() 152 if (xCont[i] != null) in checkTDOCRoot() 154 cont = xCont[i].getContentType(); in checkTDOCRoot() 160 xCont[i] = xContentProvider.queryContent(xContentId[i]); in checkTDOCRoot() 162 if (xCont[i] != null) in checkTDOCRoot() 164 cont = xCont[i].getContentType(); in checkTDOCRoot() 363 _XContent xCont = new _XContent(); in checkInterfaces() local 364 xCont.oObj = UnoRuntime.queryInterface(XContent.class, xContent); in checkInterfaces() 366 assertNotNull("addContentEventListener()", xCont._addContentEventListener()); in checkInterfaces() [all …]
|
| /trunk/main/extensions/source/propctrlr/ |
| H A D | selectlabeldialog.cxx | 96 Reference< XChild > xCont(m_xControlModel, UNO_QUERY); in DBG_NAME() local 97 … Reference< XInterface > xSearch( xCont.is() ? xCont->getParent() : Reference< XInterface > ()); in DBG_NAME() 101 xCont = Reference< XChild > (xSearch, UNO_QUERY); in DBG_NAME() 102 xSearch = xCont.is() ? xCont->getParent() : Reference< XInterface > (); in DBG_NAME() 206 Reference< XIndexAccess > xCont(xAsSet, UNO_QUERY); in InsertEntries() local 207 if (xCont.is() && xCont->getCount()) in InsertEntries() 211 sal_Int32 nContChildren = InsertEntries(xCont, pCont); in InsertEntries()
|
| /trunk/main/toolkit/workben/ |
| H A D | controls.cxx | 69 XControlContainerRef xCont; member in MyWin 105 XComponentRef xC1( xCont, USR_QUERY ); in ~MyWin() 178 xCCRef->queryInterface( XControlContainer::getSmartUik(), xCont ); in MouseButtonDown() 181 XControlRef xContControl( xCont, USR_QUERY ); in MouseButtonDown() 183 XWindowRef xContComp( xCont, USR_QUERY ); in MouseButtonDown() 203 xCont->addControl( L"", xEdit1 ); in MouseButtonDown() 217 xCont->addControl( L"", xEdit2 ); in MouseButtonDown() 230 xCont->addControl( L"", xNumField ); in MouseButtonDown() 260 xCont->addControl( L"", xButton1 ); in MouseButtonDown()
|
| /trunk/main/basctl/source/dlged/ |
| H A D | dlgedobj.cxx | 524 Reference< container::XNameContainer > xCont(xNameAcc, UNO_QUERY ); in NameChange() local 525 if ( xCont.is() ) in NameChange() 530 xCont->removeByName( aOldName ); in NameChange() 531 xCont->insertByName( aNewName , aAny ); in NameChange() 953 … Reference< container::XNameContainer > xCont( GetDlgEdForm()->GetUnoControlModel() , UNO_QUERY ); in clonedFrom() local 954 if ( xCont.is() ) in clonedFrom() 957 Sequence< OUString > aNames = xCont->getElementNames(); in clonedFrom() 966 xCont->insertByName( aOUniqueName , aCtrl ); in clonedFrom() 1108 … Reference< container::XNameContainer > xCont( GetDlgEdForm()->GetUnoControlModel() , UNO_QUERY ); in SetDefaults() local 1109 if ( xCont.is() ) in SetDefaults() [all …]
|
| /trunk/main/odk/examples/DevelopersGuide/Forms/ |
| H A D | ComponentTreeTraversal.java | 68 XIndexContainer xCont = UNO.queryIndexContainer( aFormComponent ); in handle() local 69 if ( ( null != xCont ) in handle() 70 && shouldStepInto( xCont ) in handle() 73 for ( int i=0; i<xCont.getCount(); ++i ) in handle() 75 handle( xCont.getByIndex( i ) ); in handle()
|
| H A D | InteractionRequest.java | 44 public void addContinuation( XInteractionContinuation xCont ) in addContinuation() argument 46 if ( null != xCont ) in addContinuation() 47 m_aContinuations.add( xCont ); in addContinuation()
|
| /trunk/main/svx/source/form/ |
| H A D | fmundo.cxx | 374 …sal_Bool lcl_searchElement(const Reference< XIndexAccess>& xCont, const Reference< XInterface >& x… in lcl_searchElement() argument 376 if (!xCont.is() || !xElement.is()) in lcl_searchElement() 379 sal_Int32 nCount = xCont->getCount(); in lcl_searchElement() 385 xCont->getByIndex(i) >>= xComp; in lcl_searchElement() 1072 const Reference< XIndexContainer > & xCont, in FmUndoContainerAction() 1076 ,m_xContainer( xCont ) in FmUndoContainerAction() 1086 if ( xCont.is() && xElem.is() ) in FmUndoContainerAction() 1094 Reference< XEventAttacherManager > xManager( xCont, UNO_QUERY ); in FmUndoContainerAction()
|
| H A D | fmtools.cxx | 193 sal_Int32 getElementPos(const Reference< ::com::sun::star::container::XIndexAccess>& xCont, const R… in getElementPos() argument 196 if (!xCont.is()) in getElementPos() 205 nIndex = xCont->getCount(); in getElementPos() 210 Reference< XInterface > xCurrent(xCont->getByIndex( nIndex ),UNO_QUERY); in getElementPos()
|
| /trunk/main/toolkit/source/layout/core/ |
| H A D | helper.cxx | 59 uno::Reference< awt::XLayoutContainer > xCont( xRef, uno::UNO_QUERY ); in getParent() local 60 if ( xCont.is() ) in getParent() 61 xRef = xCont->getParent(); in getParent() 77 uno::Reference< awt::XLayoutContainer > xCont( xRef, uno::UNO_QUERY ); 78 if ( xCont.is() ) 79 xRef = xCont->getParent();
|
| H A D | container.cxx | 63 uno::Reference< awt::XLayoutContainer > xCont( xChild, uno::UNO_QUERY ); in allocateChildAt() local 64 if ( xCont.is() ) in allocateChildAt() 65 xCont->allocateArea( rArea ); in allocateChildAt()
|
| /trunk/main/accessibility/source/standard/ |
| H A D | vclxaccessibletabpagewindow.cxx | 119 Reference< XAccessibleContext > xCont( xAcc->getAccessibleContext() ); in getAccessibleParent() local 120 if ( xCont.is() ) in getAccessibleParent() 121 xParent = xCont->getAccessibleChild( m_pTabControl->GetPagePos( m_nPageId ) ); in getAccessibleParent()
|
| /trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_dbaccess/ |
| H A D | OQueryDesign.java | 277 … XController xCont = (XController) UnoRuntime.queryInterface(XController.class, oQueryDesign); in getUninitializedObj() local 280 xCont.attachModel(xMod); in getUninitializedObj() 281 xMod.connectController(xCont); in getUninitializedObj() 283 xMod.setCurrentController(xCont); in getUninitializedObj()
|
| H A D | ORowSet.java | 602 XInteractionContinuation[]xCont = xInteractionRequest.getContinuations(); in handle() local 604 for(int i=0; i<xCont.length; i++) { in handle() 607 xAbort = UnoRuntime.queryInterface(XInteractionAbort.class, xCont[i]); in handle() 613 … xParamCallback = UnoRuntime.queryInterface(XInteractionSupplyParameters.class, xCont[i]); in handle()
|
| /trunk/main/vcl/source/window/ |
| H A D | wpropset.cxx | 250 uno::Reference< beans::XPropertyContainer > xCont( mpImpl->mxPropSet, uno::UNO_QUERY ); in setupProperties() local 251 OSL_ENSURE( xCont.is(), "could not get XPropertyContainer interface" ); in setupProperties() 252 if( ! xCont.is() ) in setupProperties() 263 xCont->addProperty( pVal[i].Name, in setupProperties()
|
| /trunk/main/odk/examples/DevelopersGuide/Database/ |
| H A D | CodeSamples.java | 280 … XNameContainer xCont = (XNameContainer) UnoRuntime.queryInterface(XNameContainer.class, xQDefs); in createQuerydefinition() local 283 if ( xCont.hasByName("Query1") ) in createQuerydefinition() 284 xCont.removeByName("Query1"); in createQuerydefinition() 288 xCont.insertByName("Query1",xProp); in createQuerydefinition()
|
| /trunk/main/svtools/source/brwbox/ |
| H A D | editbrowsebox2.cxx | 82 Reference< XAccessible > xCont = aController->GetWindow().GetAccessible(); in implCreateActiveAccessible() local 84 if ( xMy.is() && xCont.is() ) in implCreateActiveAccessible() 88 xCont, // control accessible in implCreateActiveAccessible()
|
| /trunk/main/dbaccess/source/core/api/ |
| H A D | tablecontainer.cxx | 143 Reference<XContainer> xCont( m_xMasterContainer, UNO_QUERY_THROW ); in removeMasterContainerListener() local 144 xCont->removeContainerListener( this ); in removeMasterContainerListener() 504 Reference< XContainer > xCont( m_xMasterContainer, UNO_QUERY_THROW ); in addMasterContainerListener() local 505 xCont->addContainerListener( this ); in addMasterContainerListener()
|
| /trunk/main/toolkit/source/layout/vcl/ |
| H A D | wcontainer.cxx | 103 static void setChildrenVisible( uno::Reference < awt::XLayoutContainer > xCont, in ShowAll() 106 if ( xCont.is() ) in ShowAll() 109 aChildren = xCont->getChildren(); in ShowAll()
|
| /trunk/main/accessibility/source/helper/ |
| H A D | acc_factory.cxx | 366 Reference< XAccessibleContext > xCont( xAcc->getAccessibleContext() ); in createAccessibleContext() local 368 ( xCont.is() && xCont->getAccessibleRole() == AccessibleRole::POPUP_MENU ) ) in createAccessibleContext() 370 xContext = xCont; in createAccessibleContext()
|
| /trunk/main/dbaccess/source/ui/querydesign/ |
| H A D | querycontroller.cxx | 1462 Reference< XNameContainer > xCont( xElements, UNO_QUERY ); in doSaveAsDoc() local 1463 if ( xCont.is() ) in doSaveAsDoc() 1464 xCont->removeByName( m_sName ); in doSaveAsDoc() 1525 Reference< XNameContainer > xCont( xElements, UNO_QUERY ); in doSaveAsDoc() local 1526 if ( xCont.is() ) in doSaveAsDoc() 1527 xCont->insertByName( m_sName, makeAny( xQuery ) ); in doSaveAsDoc()
|