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

#include <vbacontentcontrollistentry.hxx>

Inheritance diagram for SwVbaContentControlListEntry:
Collaboration diagram for SwVbaContentControlListEntry:

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 

Definition at line 15 of file vbacontentcontrollistentry.cxx.

◆ ~SwVbaContentControlListEntry()

SwVbaContentControlListEntry::~SwVbaContentControlListEntry ( )

Definition at line 25 of file vbacontentcontrollistentry.cxx.

Member Function Documentation

◆ Delete()

void SwVbaContentControlListEntry::Delete ( )

Definition at line 98 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, and m_pCC.

◆ getIndex()

sal_Int32 SwVbaContentControlListEntry::getIndex ( )

Definition at line 27 of file vbacontentcontrollistentry.cxx.

References m_nZIndex.

◆ getServiceImplName()

OUString SwVbaContentControlListEntry::getServiceImplName ( )

◆ getServiceNames()

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

◆ getText()

OUString SwVbaContentControlListEntry::getText ( )

◆ getValue()

OUString SwVbaContentControlListEntry::getValue ( )

◆ MoveDown()

void SwVbaContentControlListEntry::MoveDown ( )

Definition at line 100 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, and m_pCC.

Referenced by setIndex().

◆ MoveUp()

void SwVbaContentControlListEntry::MoveUp ( )

Definition at line 120 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, and m_pCC.

Referenced by setIndex().

◆ Select()

void SwVbaContentControlListEntry::Select ( )

Definition at line 140 of file vbacontentcontrollistentry.cxx.

References m_nZIndex, m_pCC, and size.

◆ setIndex()

void SwVbaContentControlListEntry::setIndex ( sal_Int32  nSet)

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)

Definition at line 51 of file vbacontentcontrollistentry.cxx.

References i, m_nZIndex, m_pCC, and rSet.

◆ setValue()

void SwVbaContentControlListEntry::setValue ( const OUString &  sSet)

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

◆ m_pCC

std::shared_ptr<SwContentControl> SwVbaContentControlListEntry::m_pCC

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