Home
last modified time | relevance | path

Searched refs:xCont (Results 1 – 25 of 90) sorted by relevance

1234

/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/python/
H A Dcheck_indexed_property_values.py53 t = xCont.getElementType()
55 uno.invoke(xCont, "insertByIndex", (0, prop1))
57 ret = xCont[0]
62 ret = xCont[0]
66 xCont.removeByIndex(0)
67 … self.assertTrue(not(xCont.hasElements()) and len(xCont) == 0, "Could not remove PropertyValue")
68 uno.invoke(xCont, "insertByIndex", (0, prop1))
69 uno.invoke(xCont, "insertByIndex", (1, prop2))
70 self.assertTrue(xCont.hasElements() and len(xCont) == 2, "Did not insert PropertyValue")
74 ret = xCont[1]
[all …]
H A Dcheck_named_property_values.py52 t = xCont.getElementType()
55 uno.invoke(xCont, "insertByName", ("prop1", prop1))
56 ret = xCont["prop1"]
60 uno.invoke(xCont, "replaceByName", ("prop1", prop2))
61 ret = xCont["prop1"]
65 xCont.removeByName("prop1")
67 uno.invoke(xCont, "insertByName", ("prop1", prop1))
68 uno.invoke(xCont, "insertByName", ("prop2", prop2))
70 names = xCont.getElementNames()
77 uno.invoke(xCont, "insertByName", ("prop2", prop1))
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/python/
H A Dcheck_indexed_property_values.py56 t = xCont.getElementType()
58 uno.invoke(xCont, "insertByIndex", (0, prop1))
60 ret = xCont[0]
65 ret = xCont[0]
69 xCont.removeByIndex(0)
70 … self.assertTrue(not(xCont.hasElements()) and len(xCont) == 0, "Could not remove PropertyValue")
71 uno.invoke(xCont, "insertByIndex", (0, prop1))
72 uno.invoke(xCont, "insertByIndex", (1, prop2))
73 self.assertTrue(xCont.hasElements() and len(xCont) == 2, "Did not insert PropertyValue")
77 ret = xCont[1]
[all …]
H A Dcheck_named_property_values.py56 t = xCont.getElementType()
59 uno.invoke(xCont, "insertByName", ("prop1", prop1))
60 ret = xCont["prop1"]
64 uno.invoke(xCont, "replaceByName", ("prop1", prop2))
65 ret = xCont["prop1"]
69 xCont.removeByName("prop1")
71 uno.invoke(xCont, "insertByName", ("prop1", prop1))
72 uno.invoke(xCont, "insertByName", ("prop2", prop2))
74 names = xCont.getElementNames()
81 uno.invoke(xCont, "insertByName", ("prop2", prop1))
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/unotools/source/config/
H A Dconfigitem.cxx610 aNode >>= xCont; in GetNodeNames()
614 if(xCont.is()) in GetNodeNames()
642 aNode >>= xCont; in ClearNodeSet()
646 if(!xCont.is()) in ClearNodeSet()
685 aNode >>= xCont; in ClearNodeElements()
689 if(!xCont.is()) in ClearNodeElements()
762 aNode >>= xCont; in SetSetProperties()
766 if(!xCont.is()) in SetSetProperties()
859 aNode >>= xCont; in ReplaceSetProperties()
863 if(!xCont.is()) in ReplaceSetProperties()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/unotools/source/config/
H A Dconfigitem.cxx606 aNode >>= xCont; in GetNodeNames()
610 if(xCont.is()) in GetNodeNames()
638 aNode >>= xCont; in ClearNodeSet()
642 if(!xCont.is()) in ClearNodeSet()
681 aNode >>= xCont; in ClearNodeElements()
685 if(!xCont.is()) in ClearNodeElements()
758 aNode >>= xCont; in SetSetProperties()
762 if(!xCont.is()) in SetSetProperties()
855 aNode >>= xCont; in ReplaceSetProperties()
859 if(!xCont.is()) in ReplaceSetProperties()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/odk/examples/DevelopersGuide/Forms/
H A DComponentTreeTraversal.java79 XIndexContainer xCont = UNO.queryIndexContainer( aFormComponent ); in handle() local
80 if ( ( null != xCont ) in handle()
81 && shouldStepInto( xCont ) in handle()
84 for ( int i=0; i<xCont.getCount(); ++i ) in handle()
86 handle( xCont.getByIndex( i ) ); in handle()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/odk/examples/DevelopersGuide/Forms/
H A DComponentTreeTraversal.java79 XIndexContainer xCont = UNO.queryIndexContainer( aFormComponent ); in handle() local
80 if ( ( null != xCont ) in handle()
81 && shouldStepInto( xCont ) in handle()
84 for ( int i=0; i<xCont.getCount(); ++i ) in handle()
86 handle( xCont.getByIndex( i ) ); in handle()
/dports/editors/libreoffice/libreoffice-7.2.6.2/scripting/source/provider/
H A DMasterScriptProvider.cxx450 Reference<container::XNameContainer> xCont(rProv, UNO_QUERY); in FindProviderAndApply() local
451 if (!xCont.is()) in FindProviderAndApply()
457 bResult = p(xCont); in FindProviderAndApply()
496 Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW ); in insertByName() local
497 xCont->insertByName( aName, aElement ); in insertByName()
517 xCont->insertByName(aName, aElement); in insertByName()
541 Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW ); in removeByName() local
542 xCont->removeByName( Name ); in removeByName()
556 xCont->removeByName(Name); in removeByName()
593 result = xCont->hasByName( aName ); in hasByName()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/ucb/qa/complex/tdoc/
H A DCheckContentProvider.java114 XContent[] xCont = new XContent[countDocs+5]; in checkTDOCRoot() local
119 xCont[i] = xContentProvider.queryContent(xContentId[i]); in checkTDOCRoot()
122 if (xCont[i] != null) in checkTDOCRoot()
124 cont = xCont[i].getContentType(); in checkTDOCRoot()
130 xCont[i] = xContentProvider.queryContent(xContentId[i]); in checkTDOCRoot()
132 if (xCont[i] != null) in checkTDOCRoot()
134 cont = xCont[i].getContentType(); in checkTDOCRoot()
331 _XContent xCont = new _XContent(); in checkInterfaces() local
332 xCont.oObj = UnoRuntime.queryInterface(XContent.class, xContent); in checkInterfaces()
335 assertNotNull("getContentType()", xCont._getContentType()); in checkInterfaces()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/ucb/qa/complex/tdoc/
H A DCheckContentProvider.java114 XContent[] xCont = new XContent[countDocs+5]; in checkTDOCRoot() local
119 xCont[i] = xContentProvider.queryContent(xContentId[i]); in checkTDOCRoot()
122 if (xCont[i] != null) in checkTDOCRoot()
124 cont = xCont[i].getContentType(); in checkTDOCRoot()
130 xCont[i] = xContentProvider.queryContent(xContentId[i]); in checkTDOCRoot()
132 if (xCont[i] != null) in checkTDOCRoot()
134 cont = xCont[i].getContentType(); in checkTDOCRoot()
331 _XContent xCont = new _XContent(); in checkInterfaces() local
332 xCont.oObj = UnoRuntime.queryInterface(XContent.class, xContent); in checkInterfaces()
335 assertNotNull("getContentType()", xCont._getContentType()); in checkInterfaces()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/scripting/source/provider/
H A DMasterScriptProvider.cxx458 Reference<container::XNameContainer> xCont(rProv, UNO_QUERY); in FindProviderAndApply() local
459 if (!xCont.is()) in FindProviderAndApply()
465 bResult = p(xCont); in FindProviderAndApply()
504 Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW ); in insertByName() local
505 xCont->insertByName( aName, aElement ); in insertByName()
525 xCont->insertByName(aName, aElement); in insertByName()
549 Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW ); in removeByName() local
550 xCont->removeByName( Name ); in removeByName()
564 xCont->removeByName(Name); in removeByName()
601 result = xCont->hasByName( aName ); in hasByName()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/extensions/source/propctrlr/
H A Dselectlabeldialog.cxx82 Reference< XChild > xCont(m_xControlModel, UNO_QUERY); in OSelectLabelDialog() local
83 … Reference< XInterface > xSearch( xCont.is() ? xCont->getParent() : Reference< XInterface > ()); in OSelectLabelDialog()
87 xCont.set(xSearch, UNO_QUERY); in OSelectLabelDialog()
88 xSearch = xCont.is() ? xCont->getParent() : Reference< XInterface > (); in OSelectLabelDialog()
182 Reference< XIndexAccess > xCont(xAsSet, UNO_QUERY); in InsertEntries() local
183 if (xCont.is() && xCont->getCount()) in InsertEntries()
190 sal_Int32 nContChildren = InsertEntries(xCont, *xIter); in InsertEntries()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/extensions/source/propctrlr/
H A Dselectlabeldialog.cxx75 Reference< XChild > xCont(m_xControlModel, UNO_QUERY); in OSelectLabelDialog() local
76 … Reference< XInterface > xSearch( xCont.is() ? xCont->getParent() : Reference< XInterface > ()); in OSelectLabelDialog()
80 xCont.set(xSearch, UNO_QUERY); in OSelectLabelDialog()
81 xSearch = xCont.is() ? xCont->getParent() : Reference< XInterface > (); in OSelectLabelDialog()
175 Reference< XIndexAccess > xCont(xAsSet, UNO_QUERY); in InsertEntries() local
176 if (xCont.is() && xCont->getCount()) in InsertEntries()
184 sal_Int32 nContChildren = InsertEntries(xCont, *xIter); in InsertEntries()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/
H A Dmagicwandfx.cpp356 int xCont = x; in doMagicWand() local
363 while ((xCont >= 0) && (maskValue)) { in doMagicWand()
366 xCont--; in doMagicWand()
367 if (xCont >= 0) maskValue = pixelProcessor(tmpPix, maskPix); in doMagicWand()
370 lxAux = xCont + 1; in doMagicWand()
372 lxAux = xCont; in doMagicWand()
378 xCont = x; in doMagicWand()
380 while ((xCont < m_imageWidth) && (maskValue)) { in doMagicWand()
383 xCont++; in doMagicWand()
387 rxAux = xCont - 1; in doMagicWand()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/accessibility/source/standard/
H A Dvclxaccessibletabpagewindow.cxx107 Reference< XAccessibleContext > xCont( xAcc->getAccessibleContext() ); in getAccessibleParent() local
108 if ( xCont.is() ) in getAccessibleParent()
115 xParent = xCont->getAccessibleChild(nPagePos); in getAccessibleParent()
/dports/editors/libreoffice/libreoffice-7.2.6.2/basctl/source/dlged/
H A Ddlgedobj.cxx97 if ( xCont.is() ) in DlgEdObj()
100 Sequence< OUString > aNames = xCont->getElementNames(); in DlgEdObj()
105 xCont->insertByName( aOUniqueName, Any(xCtrl) ); in DlgEdObj()
505 if ( xCont.is() ) in NameChange()
510 xCont->removeByName( aOldName ); in NameChange()
511 xCont->insertByName( aNewName , aAny ); in NameChange()
1022 if ( xCont.is() ) in SetDefaults()
1042 xCont->insertByName( aOUniqueName , aAny ); in SetDefaults()
1087 if (xCont.is()) in StartListening()
1121 if (xCont.is()) in EndListening()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basctl/source/dlged/
H A Ddlgedobj.cxx465 if ( xCont.is() ) in NameChange()
470 xCont->removeByName( aOldName ); in NameChange()
471 xCont->insertByName( aNewName , aAny ); in NameChange()
889 if ( xCont.is() ) in clonedFrom()
892 Sequence< OUString > aNames = xCont->getElementNames(); in clonedFrom()
897 xCont->insertByName( aOUniqueName, Any(xCtrl) ); in clonedFrom()
1029 if ( xCont.is() ) in SetDefaults()
1049 xCont->insertByName( aOUniqueName , aAny ); in SetDefaults()
1094 if (xCont.is()) in StartListening()
1127 if (xCont.is()) in EndListening()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/accessibility/source/standard/
H A Dvclxaccessibletabpagewindow.cxx108 Reference< XAccessibleContext > xCont( xAcc->getAccessibleContext() ); in getAccessibleParent() local
109 if ( xCont.is() ) in getAccessibleParent()
116 xParent = xCont->getAccessibleChild(nPagePos); in getAccessibleParent()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svtools/source/brwbox/
H A Deditbrowsebox2.cxx75 Reference< XAccessible > xCont = aController->GetWindow().GetAccessible(); in implCreateActiveAccessible() local
77 if ( !(xMy.is() && xCont.is()) ) in implCreateActiveAccessible()
82 xCont, // control accessible in implCreateActiveAccessible()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svtools/source/brwbox/
H A Deditbrowsebox2.cxx74 Reference< XAccessible > xCont = aController->GetWindow().GetAccessible(); in implCreateActiveAccessible() local
76 if ( !(xMy.is() && xCont.is()) ) in implCreateActiveAccessible()
81 xCont, // control accessible in implCreateActiveAccessible()
/dports/editors/libreoffice/libreoffice-7.2.6.2/qadevOOo/tests/java/mod/_dbaccess/
H A DOQueryDesign.java192 XController xCont = UnoRuntime.queryInterface(XController.class, oQueryDesign); in getUninitializedObj() local
195 boolean bSuccess = xCont.attachModel(xMod); in getUninitializedObj()
202 xMod.connectController(xCont); in getUninitializedObj()
203 xMod.setCurrentController(xCont); in getUninitializedObj()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/qadevOOo/tests/java/mod/_dbaccess/
H A DOQueryDesign.java192 XController xCont = UnoRuntime.queryInterface(XController.class, oQueryDesign); in getUnititializedObj() local
195 boolean bSuccess = xCont.attachModel(xMod); in getUnititializedObj()
202 xMod.connectController(xCont); in getUnititializedObj()
203 xMod.setCurrentController(xCont); in getUnititializedObj()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/form/
H A Dfmtools.cxx118 sal_Int32 getElementPos(const Reference< css::container::XIndexAccess>& xCont, const Reference< XIn… in getElementPos() argument
121 if (!xCont.is()) in getElementPos()
130 nIndex = xCont->getCount(); in getElementPos()
135 Reference< XInterface > xCurrent(xCont->getByIndex( nIndex ),UNO_QUERY); in getElementPos()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/form/
H A Dfmtools.cxx161 sal_Int32 getElementPos(const Reference< css::container::XIndexAccess>& xCont, const Reference< XIn… in getElementPos() argument
164 if (!xCont.is()) in getElementPos()
173 nIndex = xCont->getCount(); in getElementPos()
178 Reference< XInterface > xCurrent(xCont->getByIndex( nIndex ),UNO_QUERY); in getElementPos()

1234