LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwVbaContentControlListEntry Class Reference

#include <vbacontentcontrollistentry.hxx>

Inheritance diagram for SwVbaContentControlListEntry:
[legend]
Collaboration diagram for SwVbaContentControlListEntry:
[legend]

Public Member Functions

 SwVbaContentControlListEntry (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, std::shared_ptr< SwContentControl > pCC, size_t nZIndex)
 
 ~SwVbaContentControlListEntry () override
 
sal_Int32 SAL_CALL getIndex () override
 
void SAL_CALL setIndex (sal_Int32 nSet) override
 
OUString SAL_CALL getText () override
 
void SAL_CALL setText (const OUString &sSet) override
 
OUString SAL_CALL getValue () override
 
void SAL_CALL setValue (const OUString &sSet) override
 
void SAL_CALL Delete () override
 
void SAL_CALL MoveDown () override
 
void SAL_CALL MoveUp () override
 
void SAL_CALL Select () override
 
OUString getServiceImplName () override
 
css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Attributes

std::shared_ptr< SwContentControlm_pCC
 
size_t m_nZIndex
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 20 of file vbacontentcontrollistentry.hxx.

Constructor & Destructor Documentation

◆ SwVbaContentControlListEntry()

SwVbaContentControlListEntry::SwVbaContentControlListEntry ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
std::shared_ptr< SwContentControl pCC,
size_t  nZIndex 
)
Exceptions
css::uno::RuntimeException

Definition at line 15 of file vbacontentcontrollistentry.cxx.

◆ ~SwVbaContentControlListEntry()

SwVbaContentControlListEntry::~SwVbaContentControlListEntry ( )
override

Definition at line 25 of file vbacontentcontrollistentry.cxx.

Member Function Documentation

◆ Delete()

void SwVbaContentControlListEntry::Delete ( )
override

Definition at line 98 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, and m_pCC.

◆ getIndex()

sal_Int32 SwVbaContentControlListEntry::getIndex ( )
override

Definition at line 27 of file vbacontentcontrollistentry.cxx.

References m_nZIndex.

◆ getServiceImplName()

OUString SwVbaContentControlListEntry::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > SwVbaContentControlListEntry::getServiceNames ( )
overridevirtual

◆ getText()

OUString SwVbaContentControlListEntry::getText ( )
override

◆ getValue()

OUString SwVbaContentControlListEntry::getValue ( )
override

◆ MoveDown()

void SwVbaContentControlListEntry::MoveDown ( )
override

Definition at line 100 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, and m_pCC.

Referenced by setIndex().

◆ MoveUp()

void SwVbaContentControlListEntry::MoveUp ( )
override

Definition at line 120 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, and m_pCC.

Referenced by setIndex().

◆ Select()

void SwVbaContentControlListEntry::Select ( )
override

Definition at line 140 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, m_pCC, and size.

◆ setIndex()

void SwVbaContentControlListEntry::setIndex ( sal_Int32  nSet)
override

Definition at line 29 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, m_pCC, min(), MoveDown(), MoveUp(), and nIndex.

◆ setText()

void SwVbaContentControlListEntry::setText ( const OUString &  sSet)
override

Definition at line 51 of file vbacontentcontrollistentry.cxx.

References i, m_nZIndex, m_pCC, and rSet.

◆ setValue()

void SwVbaContentControlListEntry::setValue ( const OUString &  sSet)
override

Definition at line 85 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, m_pCC, rSet, and size.

Member Data Documentation

◆ m_nZIndex

size_t SwVbaContentControlListEntry::m_nZIndex
private

◆ m_pCC

std::shared_ptr<SwContentControl> SwVbaContentControlListEntry::m_pCC
private

The documentation for this class was generated from the following files: