/trunk/main/sc/source/ui/vba/ |
H A D | vbaoleobjects.cxx | 42 IndexAccessWrapper( const uno::Reference< container::XIndexAccess >& xIndexAccess ) in IndexAccessWrapper() argument 44 sal_Int32 nLen = xIndexAccess->getCount(); in IndexAccessWrapper() 47 …uno::Reference< drawing::XControlShape > xControlShape( xIndexAccess->getByIndex( index), uno::UNO… in IndexAccessWrapper() 86 …ce< container::XIndexAccess >& xIndexAccess ) : m_xParent( xParent ), m_xContext( xContext), m_xI… in EnumWrapper() argument 104 …ndexAccess > oleObjectIndexWrapper( const uno::Reference< container::XIndexAccess >& xIndexAccess ) in oleObjectIndexWrapper() argument 106 return new IndexAccessWrapper( xIndexAccess ); in oleObjectIndexWrapper() 110 const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) in ScVbaOLEObjects() 111 : OLEObjectsImpl_BASE( xParent, xContext, oleObjectIndexWrapper( xIndexAccess ) ) in ScVbaOLEObjects() 141 … uno::Reference< container::XIndexAccess > xIndexAccess( m_xIndexAccess, uno::UNO_QUERY_THROW ); in getItemByStringIndex() local 142 sal_Int32 nCount = xIndexAccess->getCount(); in getItemByStringIndex() [all …]
|
H A D | vbapagebreaks.cxx | 70 uno::Reference<container::XIndexAccess> xIndexAccess; in getRowColContainer() local 72 xIndexAccess.set( xColumnRowRange->getColumns(), uno::UNO_QUERY_THROW ); in getRowColContainer() 74 xIndexAccess.set( xColumnRowRange->getRows(), uno::UNO_QUERY_THROW ); in getRowColContainer() 75 return xIndexAccess; in getRowColContainer() 128 uno::Reference< container::XIndexAccess > xIndexAccess = getRowColContainer(); in getByIndex() local 130 if( (nPos < xIndexAccess->getCount()) && (nPos > -1) ) in getByIndex() 132 …uno::Reference< beans::XPropertySet > xRowColPropertySet( xIndexAccess->getByIndex(nPos), uno::UNO… in getByIndex() 177 uno::Reference< container::XIndexAccess > xIndexAccess = getRowColContainer(); in Add() local 178 …uno::Reference< beans::XPropertySet > xRowColPropertySet( xIndexAccess->getByIndex(nAPIRowColIndex… in Add() 194 …per( const uno::Reference< container::XIndexAccess >& xIndexAccess ) : m_xIndexAccess( xIndexAcces… in RangePageBreaksEnumWrapper() argument
|
H A D | vbaworksheet.cxx | 701 …uno::Reference< container::XIndexAccess > xIndexAccess( xTables->getDataPilotTables(), uno::UNO_QU… in PivotTables() local 703 uno::Reference< XCollection > xColl( new ScVbaPivotTables( this, mxContext, xIndexAccess ) ); in PivotTables() 715 uno::Reference< container::XIndexAccess > xIndexAccess( xAnnos, uno::UNO_QUERY_THROW ); in Comments() local 716 …uno::Reference< XCollection > xColl( new ScVbaComments( this, mxContext, mxModel, xIndexAccess ) … in Comments() 754 uno::Reference< container::XIndexAccess > xIndexAccess( xDrawPage, uno::UNO_QUERY_THROW ); in OLEObjects() local 756 …Reference< excel::XOLEObjects >xOleObjects( new ScVbaOLEObjects( this, mxContext, xIndexAccess ) ); in OLEObjects() 768 uno::Reference< container::XIndexAccess > xIndexAccess( xShapes, uno::UNO_QUERY_THROW ); in Shapes() local 916 if( xIndexAccess->hasElements() ) in getFormControls() 917 xFormControls.set( xIndexAccess->getByIndex(0), uno::UNO_QUERY ); in getFormControls() 950 sal_Int32 nCount = xIndexAccess->getCount(); in getControlShape() [all …]
|
/trunk/main/framework/source/fwi/uielement/ |
H A D | itemcontainer.cxx | 77 Reference< XIndexAccess > xIndexAccess; in ItemContainer() local 82 aPropSeq[j].Value >>= xIndexAccess; in ItemContainer() 88 if ( xIndexAccess.is() && nContainerIndex >= 0 ) in ItemContainer() 89 … aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess, rMutex ); in ItemContainer() 113 Reference< XIndexAccess > xIndexAccess; in copyItemContainer() local 118 aPropSeq[j].Value >>= xIndexAccess; in copyItemContainer() 124 if ( xIndexAccess.is() && nContainerIndex >= 0 ) in copyItemContainer() 125 aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess, rMutex ); in copyItemContainer()
|
H A D | rootitemcontainer.cxx | 144 Reference< XIndexAccess > xIndexAccess; in RootItemContainer() local 149 aPropSeq[j].Value >>= xIndexAccess; in RootItemContainer() 155 if ( xIndexAccess.is() && nContainerIndex >= 0 ) in RootItemContainer() 156 aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess ); in RootItemContainer() 181 Reference< XIndexAccess > xIndexAccess; in copyItemContainer() local 186 aPropSeq[j].Value >>= xIndexAccess; in copyItemContainer() 192 if ( xIndexAccess.is() && nContainerIndex >= 0 ) in copyItemContainer() 193 aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess ); in copyItemContainer()
|
H A D | constitemcontainer.cxx | 215 Reference< XIndexAccess > xIndexAccess; in ConstItemContainer() local 220 aPropSeq[j].Value >>= xIndexAccess; in ConstItemContainer() 226 if ( xIndexAccess.is() && nContainerIndex >= 0 ) in ConstItemContainer() 227 aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess ); in ConstItemContainer() 252 Reference< XIndexAccess > xIndexAccess; in copyItemContainer() local 257 aPropSeq[j].Value >>= xIndexAccess; in copyItemContainer() 263 if ( xIndexAccess.is() && nContainerIndex >= 0 ) in copyItemContainer() 264 aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess ); in copyItemContainer()
|
/trunk/main/forms/source/component/ |
H A D | RadioButton.cxx | 168 Reference<XIndexAccess> xIndexAccess(getParent(), UNO_QUERY); in SetSiblingPropsTo() local 169 if (xIndexAccess.is()) in SetSiblingPropsTo() 174 for (sal_Int32 i=0; i<xIndexAccess->getCount(); ++i) in SetSiblingPropsTo() 176 …Reference<XPropertySet> xSiblingProperties(*(InterfaceRef*)xIndexAccess->getByIndex(i).getValue(),… in SetSiblingPropsTo() 220 Reference<XIndexAccess> xIndexAccess(getParent(), UNO_QUERY); in setFastPropertyValue_NoBroadcast() local 221 if (xIndexAccess.is()) in setFastPropertyValue_NoBroadcast() 228 for (sal_Int32 i=0; i<xIndexAccess->getCount(); ++i) in setFastPropertyValue_NoBroadcast() 230 …Reference<XPropertySet> xSiblingProperties(*(InterfaceRef*)xIndexAccess->getByIndex(i).getValue(),… in setFastPropertyValue_NoBroadcast()
|
/trunk/main/vbahelper/inc/vbahelper/ |
H A D | vbacollectionimpl.hxx | 266 …id UpdateCollectionIndex( const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) in UpdateCollectionIndex() argument 268 …css::uno::Reference< css::container::XNameAccess > xNameAccess( xIndexAccess, css::uno::UNO_QUERY_… in UpdateCollectionIndex() 269 m_xIndexAccess = xIndexAccess; in UpdateCollectionIndex() 274 …nce< css::container::XIndexAccess >& xIndexAccess ) : BaseColBase( xParent, xContext ), m_xIndexAc… in ScVbaCollectionBase() argument 329 …container::XIndexAccess >& xIndexAccess ) throw( css::uno::RuntimeException ) : CollImplBase1( xPa… in ScVbaCollectionBaseImpl() argument 339 …::container::XIndexAccess >& xIndexAccess ) throw( css::uno::RuntimeException ) : ImplBase1( xPare… in CollTestImplHelper() argument
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterController.cxx | 298 if (xIndexAccess.is()) in UpdateCurrentSlide() 299 nSlideCount = xIndexAccess->getCount(); in UpdateCurrentSlide() 314 Reference<container::XIndexAccess> xIndexAccess(mxSlideShowController, UNO_QUERY); in GetSlides() local 322 if (xIndexAccess.is() && nSlideIndex>=0) in GetSlides() 324 if (nSlideIndex < xIndexAccess->getCount()) in GetSlides() 328 xIndexAccess->getByIndex(nSlideIndex), UNO_QUERY); in GetSlides() 343 if (xIndexAccess.is()) in GetSlides() 345 if (nNextSlideIndex < xIndexAccess->getCount()) in GetSlides() 347 xIndexAccess->getByIndex(nNextSlideIndex), UNO_QUERY); in GetSlides() 372 if (xIndexAccess.is()) in UpdatePaneTitles() [all …]
|
H A D | PresenterNotesView.cxx | 255 Reference<container::XIndexAccess> xIndexAccess (rxNotesPage, UNO_QUERY); in SetSlide() local 256 if (xIndexAccess.is()) in SetSlide() 261 sal_Int32 nCount (xIndexAccess->getCount()); in SetSlide() 266 xIndexAccess->getByIndex(nIndex), UNO_QUERY); in SetSlide() 279 xIndexAccess->getByIndex(nIndex), UNO_QUERY); in SetSlide() 286 xIndexAccess->getByIndex(nIndex), UNO_QUERY); in SetSlide()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbadocument.cxx | 200 …uno::Reference< container::XIndexAccess > xIndexAccess( xDrawPageSupplier->getDrawPage(), uno::UNO… in Shapes() local 202 uno::Reference< XCollection > xCol( new ScVbaShapes( this, mxContext, xIndexAccess, xModel ) ); in Shapes() 270 …uno::Reference< container::XIndexAccess > xIndexAccess( xDrawPageSupplier->getDrawPage(), uno::UNO… in getControlShape() local 272 sal_Int32 nCount = xIndexAccess->getCount(); in getControlShape() 275 uno::Any aUnoObj = xIndexAccess->getByIndex( index ); in getControlShape() 344 …uno::Reference< container::XIndexAccess > xIndexAccess( xFormSupplier->getForms(), uno::UNO_QUERY_… in getFormControls() local 348 xFormControls.set( xIndexAccess->getByIndex(0), uno::UNO_QUERY_THROW ); in getFormControls()
|
H A D | vbastyles.cxx | 246 …uno::Reference< container::XIndexAccess > xIndexAccess( mxStyleFamilies->getByName( aStyleTypes[i]… in getCount() local 247 nCount += xIndexAccess->getCount(); in getCount() 260 …uno::Reference< container::XIndexAccess > xIndexAccess( mxStyleFamilies->getByName( aStyleTypes[i]… in getByIndex() local 261 sal_Int32 nCount = xIndexAccess->getCount(); in getByIndex() 266 mxCurrentStyleFamily.set( xIndexAccess, uno::UNO_QUERY_THROW ); in getByIndex() 267 return xIndexAccess->getByIndex( Index ); in getByIndex()
|
H A D | vbaautotextentry.cxx | 81 … >& xIndexAccess ) throw (uno::RuntimeException) : SwVbaAutoTextEntries_BASE( xParent, xContext, x… in SwVbaAutoTextEntries() argument
|
H A D | vbafind.cxx | 158 …uno::Reference< container::XIndexAccess > xIndexAccess = mxReplaceable->findAll( uno::Reference< u… in SearchReplace() local 159 if( xIndexAccess->getCount() > 0 ) in SearchReplace() 161 for( sal_Int32 i = 0; i < xIndexAccess->getCount(); i++ ) in SearchReplace() 163 …uno::Reference< text::XTextRange > xTextRange( xIndexAccess->getByIndex( i ), uno::UNO_QUERY_THROW… in SearchReplace()
|
/trunk/main/oox/source/drawingml/table/ |
H A D | tableproperties.cxx | 69 uno::Reference< container::XIndexAccess > xIndexAccess( xTableRows, UNO_QUERY_THROW ); in CreateTableRows() local 70 for ( sal_Int32 n = 0; n < xIndexAccess->getCount(); n++ ) in CreateTableRows() 73 Reference< XPropertySet > xPropSet( xIndexAccess->getByIndex( n ), UNO_QUERY_THROW ); in CreateTableRows() 84 uno::Reference< container::XIndexAccess > xIndexAccess( xTableColumns, UNO_QUERY_THROW ); in CreateTableColumns() local 85 for ( sal_Int32 n = 0; n < xIndexAccess->getCount(); n++ ) in CreateTableColumns() 88 Reference< XPropertySet > xPropSet( xIndexAccess->getByIndex( n ), UNO_QUERY_THROW ); in CreateTableColumns()
|
/trunk/test/testuno/source/testlib/uno/ |
H A D | SCUtil.java | 115 XIndexAccess xIndexAccess = in getSCSheetByIndex() local 118 (XSpreadsheet) UnoRuntime.queryInterface(XSpreadsheet.class, xIndexAccess.getByIndex(index)); in getSCSheetByIndex() 136 XIndexAccess xIndexAccess = (XIndexAccess) UnoRuntime.queryInterface( in getSCSheetNameByIndex() local 139 XSpreadsheet.class, xIndexAccess.getByIndex(index)); in getSCSheetNameByIndex() 158 XIndexAccess xIndexAccess = (XIndexAccess) UnoRuntime.queryInterface( in setSCSheetNameByIndex() local 161 XSpreadsheet.class, xIndexAccess.getByIndex(index)); in setSCSheetNameByIndex()
|
/trunk/main/odk/examples/java/Spreadsheet/ |
H A D | ChartTypeChange.java | 190 XIndexAccess xIndexAccess = (XIndexAccess) in getChart() local 194 XSpreadsheet.class, xIndexAccess.getByIndex(0)); in getChart() 199 xIndexAccess = (XIndexAccess) UnoRuntime.queryInterface( in getChart() 203 XTableChart.class, xIndexAccess.getByIndex( 0 ) ); in getChart()
|
/trunk/main/scripting/examples/python/ |
H A D | Capitalise.py | 50 xIndexAccess = xSelectionSupplier.getSelection() 51 count = xIndexAccess.getCount(); 55 xTextRange = xIndexAccess.getByIndex(i);
|
/trunk/main/odk/examples/java/Inspector/ |
H A D | Introspector.java | 145 …XIndexAccess xIndexAccess = (XIndexAccess) UnoRuntime.queryInterface( XIndexAccess.class, xIntrosp… in isContainer() local 146 if (xIndexAccess != null){ in isContainer() 147 bIsContainer = (xIndexAccess.getCount() > 0); in isContainer() 173 …XIndexAccess xIndexAccess = (XIndexAccess) UnoRuntime.queryInterface( XIndexAccess.class, xIntrosp… in getUnoObjectsOfContainer() local 174 if ( xIndexAccess != null ) { in getUnoObjectsOfContainer() 176 for ( int i = 0; i < xIndexAccess.getCount(); i++ ) { in getUnoObjectsOfContainer()
|
/trunk/main/framework/source/fwe/helper/ |
H A D | actiontriggerhelper.cxx | 108 Reference< XIndexAccess > xIndexAccess( xActionTriggerContainer, UNO_QUERY ); in InsertSubMenuItems() local 109 if ( xIndexAccess.is() ) in InsertSubMenuItems() 117 for ( sal_Int32 i = 0; i < xIndexAccess->getCount(); i++ ) in InsertSubMenuItems() 122 if (( xIndexAccess->getByIndex( i ) >>= xPropSet ) && ( xPropSet.is() )) in InsertSubMenuItems()
|
/trunk/main/sd/source/ui/slideshow/ |
H A D | SlideShowRestarter.cxx | 101 Reference<com::sun::star::container::XIndexAccess> xIndexAccess ( in GetDisplayCount() local 104 if ( ! xIndexAccess.is()) in GetDisplayCount() 107 return xIndexAccess->getCount(); in GetDisplayCount()
|
/trunk/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | DrawViewDemo.java | 91 XIndexAccess xIndexAccess = xViewDataSupplier.getViewData(); in main() local 92 if ( xIndexAccess.getCount() != 0 ) in main() 95 xIndexAccess.getByIndex( 0 ); in main()
|
/trunk/main/odk/examples/java/Text/ |
H A D | WriterSelector.java | 104 com.sun.star.container.XIndexAccess xIndexAccess = in main() local 108 int count = xIndexAccess.getCount(); in main() 114 xIndexAccess.getByIndex(i)); in main()
|
/trunk/main/scripting/examples/beanshell/WordCount/ |
H A D | wordcount.bsh | 55 count = xIndexAccess.getCount(); 59 UnoRuntime.queryInterface(XTextRange.class, xIndexAccess.getByIndex(i)); 80 xIndexAccess = (XIndexAccess)
|
/trunk/main/scripting/examples/beanshell/Capitalise/ |
H A D | capitalise.bsh | 53 count = xIndexAccess.getCount(); 58 UnoRuntime.queryInterface(XTextRange.class, xIndexAccess.getByIndex(i)); 109 xIndexAccess = (XIndexAccess)
|