/aoo4110/main/sc/source/ui/vba/ |
H A D | vbaoleobjects.cxx | 83 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in EnumWrapper 86 …ss >& xIndexAccess ) : m_xParent( xParent ), m_xContext( xContext), m_xIndexAccess( xIndexAccess … in EnumWrapper() 90 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 95 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 97 …uno::Reference< drawing::XControlShape > xControlShape ( m_xIndexAccess->getByIndex( nIndex++ ), … in nextElement() 117 return new EnumWrapper( getParent(), mxContext, m_xIndexAccess ); in createEnumeration() 141 … uno::Reference< container::XIndexAccess > xIndexAccess( m_xIndexAccess, uno::UNO_QUERY_THROW ); in getItemByStringIndex()
|
H A D | vbapagebreaks.cxx | 191 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in RangePageBreaksEnumWrapper 194 …r( const uno::Reference< container::XIndexAccess >& xIndexAccess ) : m_xIndexAccess( xIndexAccess … in RangePageBreaksEnumWrapper() 197 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 202 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 203 return m_xIndexAccess->getByIndex( nIndex++ ); in nextElement() 218 RangePageBreaks* pPageBreaks = dynamic_cast< RangePageBreaks* >( m_xIndexAccess.get() ); in Add() 229 return new RangePageBreaksEnumWrapper( m_xIndexAccess ); in createEnumeration() 279 RangePageBreaks* pPageBreaks = dynamic_cast< RangePageBreaks* >( m_xIndexAccess.get() ); in Add() 290 return new RangePageBreaksEnumWrapper( m_xIndexAccess ); in createEnumeration()
|
H A D | vbastyles.cxx | 74 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in EnumWrapper 81 …ontext >& xContext, const uno::Reference<frame::XModel >& xModel ) : m_xIndexAccess( xIndexAccess … in EnumWrapper() 84 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 88 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 89 …return lcl_createAPIStyleToVBAObject( m_xIndexAccess->getByIndex( nIndex++ ), m_xParent, m_xContex… in nextElement() 97 return new EnumWrapper( m_xIndexAccess, mxParent, mxContext, mxModel ); in createEnumeration()
|
H A D | vbaaxes.cxx | 48 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in EnumWrapper 51 …r( const uno::Reference< container::XIndexAccess >& xIndexAccess ) : m_xIndexAccess( xIndexAccess … in EnumWrapper() 54 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 59 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 60 return m_xIndexAccess->getByIndex( nIndex++ ); in nextElement() 155 return new EnumWrapper( m_xIndexAccess ); in createEnumeration()
|
H A D | vbaformatconditions.cxx | 104 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in EnumWrapper 113 …xCollection, const uno::Reference<beans::XPropertySet >& xProps ) : m_xIndexAccess( xIndexAccess … in EnumWrapper() 116 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 121 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 122 …QUERY_THROW ), m_xContext, m_xStyles, m_xParentCollection, m_xProps, m_xIndexAccess->getByIndex( n… in nextElement() 213 …return new EnumWrapper( m_xIndexAccess, mxRangeParent, mxContext, mxStyles, this, mxParentRangePro… in createEnumeration()
|
H A D | vbaborders.cxx | 362 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in RangeBorderEnumWrapper 365 …r( const uno::Reference< container::XIndexAccess >& xIndexAccess ) : m_xIndexAccess( xIndexAccess … in RangeBorderEnumWrapper() 368 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 373 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 374 return m_xIndexAccess->getByIndex( nIndex++ ); in nextElement() 390 return new RangeBorderEnumWrapper( m_xIndexAccess ); in createEnumeration() 408 return createCollectionObject( m_xIndexAccess->getByIndex( nIndex ) ); in getItemByIntIndex()
|
H A D | vbaworksheets.cxx | 191 uno::Reference< container::XEnumerationAccess > xAccess( m_xIndexAccess, uno::UNO_QUERY_THROW ); in createEnumeration() 256 nCount = static_cast< SCTAB >( m_xIndexAccess->getCount() ); in Add() 259 uno::Reference< sheet::XSpreadsheet > xSheet(m_xIndexAccess->getByIndex(i), uno::UNO_QUERY); in Add()
|
H A D | vbapivottables.cxx | 57 …uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW … in createEnumeration()
|
H A D | vbacomments.cxx | 79 …uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW … in createEnumeration()
|
H A D | vbahyperlinks.cxx | 267 return new SimpleIndexAccessToEnumeration( m_xIndexAccess ); in createEnumeration()
|
/aoo4110/main/sw/source/ui/vba/ |
H A D | vbapanes.cxx | 65 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in PanesEnumWrapper 68 …PanesEnumWrapper( const uno::Reference< container::XIndexAccess >& xIndexAccess ) : m_xIndexAccess… in PanesEnumWrapper() 71 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 76 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 77 return m_xIndexAccess->getByIndex( nIndex++ ); in nextElement() 94 return new PanesEnumWrapper( m_xIndexAccess ); in createEnumeration()
|
H A D | vbaborders.cxx | 298 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in RangeBorderEnumWrapper 301 …r( const uno::Reference< container::XIndexAccess >& xIndexAccess ) : m_xIndexAccess( xIndexAccess … in RangeBorderEnumWrapper() 304 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 309 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 310 return m_xIndexAccess->getByIndex( nIndex++ ); in nextElement() 324 return new RangeBorderEnumWrapper( m_xIndexAccess ); in createEnumeration() 342 return createCollectionObject( m_xIndexAccess->getByIndex( nIndex ) ); in getItemByIntIndex()
|
H A D | vbasections.cxx | 136 if( m_xIndexAccess->getCount() ) in PageSetup() 139 …uno::Reference< word::XSection > xSection( m_xIndexAccess->getByIndex( 0 ), uno::UNO_QUERY_THROW ); in PageSetup() 155 …uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW … in createEnumeration()
|
H A D | vbadocumentproperties.cxx | 601 …uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW … in createEnumeration() 731 m_xIndexAccess.set( new CustomPropertiesImpl( xParent, xContext, xModel ) ); in SwVbaCustomDocumentProperties() 732 m_xNameAccess.set( m_xIndexAccess, uno::UNO_QUERY_THROW ); in SwVbaCustomDocumentProperties() 738 …CustomPropertiesImpl* pCustomProps = dynamic_cast< CustomPropertiesImpl* > ( m_xIndexAccess.get() … in Add()
|
H A D | vbaaddins.cxx | 76 …uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY… in createEnumeration()
|
H A D | vbavariables.cxx | 57 …uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY… in createEnumeration()
|
H A D | vbaautotextentry.cxx | 94 …uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY… in createEnumeration()
|
H A D | vbaparagraph.cxx | 142 …uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY… in createEnumeration()
|
H A D | vbadocuments.cxx | 100 …uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY… in createEnumeration()
|
H A D | vbatables.cxx | 116 return new TableEnumerationImpl( mxParent, mxContext, mxDocument, m_xIndexAccess ); in createEnumeration()
|
/aoo4110/main/vbahelper/source/vbahelper/ |
H A D | vbacommandbarcontrols.cxx | 128 m_xIndexAccess->getByIndex( nPosition ) >>= aProps; in createCollectionObject() 133 …pNewCommandBarControl = new ScVbaCommandBarPopup( this, mxContext, m_xIndexAccess, pCBarHelper, m_… in createCollectionObject() 135 …pNewCommandBarControl = new ScVbaCommandBarButton( this, mxContext, m_xIndexAccess, pCBarHelper, m… in createCollectionObject() 149 nPosition = VbaCommandBarHelper::findControlByName( m_xIndexAccess, sName, m_bIsMenu ); in Item() 192 nPosition = m_xIndexAccess->getCount(); in Add() 221 …uno::Reference< container::XIndexContainer > xIndexContainer( m_xIndexAccess, uno::UNO_QUERY_THROW… in Add() 228 …pNewCommandBarControl = new ScVbaCommandBarPopup( this, mxContext, m_xIndexAccess, pCBarHelper, m_… in Add() 230 …pNewCommandBarControl = new ScVbaCommandBarButton( this, mxContext, m_xIndexAccess, pCBarHelper, m… in Add()
|
H A D | vbashapes.cxx | 52 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in VbShapeEnumHelper 55 …e< container::XIndexAccess >& xIndexAccess ) : m_xParent( xParent ), m_xIndexAccess( xIndexAccess … in VbShapeEnumHelper() 58 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 64 … return pShapes->createCollectionObject( m_xIndexAccess->getByIndex( nIndex++ ) ); in nextElement() 76 sal_Int32 nLen = m_xIndexAccess->getCount(); in initBaseCollection() 79 …mShapes.push_back( uno::Reference< drawing::XShape >( m_xIndexAccess->getByIndex( index ) , uno::U… in initBaseCollection() 81 m_xIndexAccess.set( xShapes, uno::UNO_QUERY ); in initBaseCollection() 95 return new VbShapeEnumHelper( this, m_xIndexAccess ); in createEnumeration() 161 xShape.set( m_xIndexAccess->getByIndex( nIndex - 1 ), uno::UNO_QUERY ); in getShapesByArrayIndices()
|
H A D | vbashaperange.cxx | 36 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in VbShapeRangeEnumHelper 39 …e< container::XIndexAccess >& xIndexAccess ) : m_xParent( xParent ), m_xIndexAccess( xIndexAccess … in VbShapeRangeEnumHelper() 42 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 48 … return pCollectionImpl->createCollectionObject( m_xIndexAccess->getByIndex( nIndex++ ) ); in nextElement() 82 sal_Int32 nLen = m_xIndexAccess->getCount(); in getShapes() 84 …m_xShapes->add( uno::Reference< drawing::XShape >( m_xIndexAccess->getByIndex( index ), uno::UNO_Q… in getShapes() 345 return new VbShapeRangeEnumHelper( this, m_xIndexAccess ); in createEnumeration()
|
/aoo4110/main/vbahelper/inc/vbahelper/ |
H A D | vbacollectionimpl.hxx | 240 css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess; member in ScVbaCollectionBase 253 if ( !m_xIndexAccess.is() ) in getItemByIntIndex() 263 return createCollectionObject( m_xIndexAccess->getByIndex( nIndex - 1 ) ); in getItemByIntIndex() 269 m_xIndexAccess = xIndexAccess; in UpdateCollectionIndex() 274 …ccess ) : BaseColBase( xParent, xContext ), m_xIndexAccess( xIndexAccess ){ m_xNameAccess.set(m_xI… in ScVbaCollectionBase() 278 return m_xIndexAccess->getCount(); in getCount() 316 return ( m_xIndexAccess->getCount() > 0 ); in hasElements()
|
/aoo4110/main/vbahelper/source/msforms/ |
H A D | vbacontrols.cxx | 155 uno::Reference<container::XIndexAccess > m_xIndexAccess; member in ControlsEnumWrapper 173 m_xIndexAccess( xIndexAccess ), in ControlsEnumWrapper() 182 return ( nIndex < m_xIndexAccess->getCount() ); in hasMoreElements() 187 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 190 m_xIndexAccess->getByIndex( nIndex++ ) >>= xControl; in nextElement() 226 …:XEnumeration > xEnum( new ControlsEnumWrapper( mxParent, mxContext, m_xIndexAccess, mxDialog, mxM… in createEnumeration() 451 … && !( ( StringKeyOrIndex >>= nIndex ) && nIndex >= 0 && nIndex < m_xIndexAccess->getCount() ) ) in Remove() 462 m_xIndexAccess->getByIndex( nIndex ) >>= xControl; in Remove()
|