LibreOffice Module sw (master) 1
|
#include <vbacontentcontrollistentries.hxx>
Public Member Functions | |
SwVbaContentControlListEntries (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, std::shared_ptr< SwContentControl > pCC) | |
DropDownLists and ComboBoxes contain a list of name/value pairs to choose from. More... | |
css::uno::Reference< ooo::vba::word::XContentControlListEntry > SAL_CALL | Add (const OUString &rName, const css::uno::Any &rValue, const css::uno::Any &rIndex) override |
void SAL_CALL | Clear () override |
sal_Int32 SAL_CALL | getCount () override |
css::uno::Type SAL_CALL | getElementType () override |
css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
css::uno::Any | createCollectionObject (const css::uno::Any &aSource) override |
OUString | getServiceImplName () override |
css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from CollTestImplHelper< typename... Ifc > | |
CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false) | |
Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false) | |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &) override |
OUString SAL_CALL | getDefaultMethodName () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override=0 |
virtual css::uno::Type SAL_CALL | getElementType () override=0 |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource)=0 |
Public Member Functions inherited from InheritedHelperInterfaceImpl< 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< SwContentControl > | m_pCC |
Additional Inherited Members | |
Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
virtual css::uno::Any | getItemByStringIndex (const OUString &sIndex) |
virtual css::uno::Any | getItemByIntIndex (const sal_Int32 nIndex) |
void | UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess) |
Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::Reference< css::container::XIndexAccess > | m_xIndexAccess |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
bool | mbIgnoreCase |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 24 of file vbacontentcontrollistentries.hxx.
SwVbaContentControlListEntries::SwVbaContentControlListEntries | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
std::shared_ptr< SwContentControl > | pCC | ||
) |
DropDownLists and ComboBoxes contain a list of name/value pairs to choose from.
css::uno::RuntimeException |
Use of DropDownListEntries from any other control is invalid.
Definition at line 94 of file vbacontentcontrollistentries.cxx.
References Reference.
|
override |
Definition at line 106 of file vbacontentcontrollistentries.cxx.
References m_pCC, min(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, InheritedHelperInterfaceImpl< Ifc... >::mxParent, and SAL_MAX_INT32.
|
override |
Definition at line 134 of file vbacontentcontrollistentries.cxx.
References m_pCC.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 150 of file vbacontentcontrollistentries.cxx.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 144 of file vbacontentcontrollistentries.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess.
|
override |
Definition at line 136 of file vbacontentcontrollistentries.cxx.
References m_pCC.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 139 of file vbacontentcontrollistentries.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 155 of file vbacontentcontrollistentries.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 160 of file vbacontentcontrollistentries.cxx.
|
private |
Definition at line 27 of file vbacontentcontrollistentries.hxx.
Referenced by Add(), Clear(), and getCount().