LibreOffice Module sw (master) 1
|
#include <vbaformfielddropdown.hxx>
Public Member Functions | |
SwVbaFormFieldDropDown (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, sw::mark::IFieldmark &rFormField) | |
DropDown formfields are inline text objects that are only found in MS Word. More... | |
~SwVbaFormFieldDropDown () override | |
OUString SAL_CALL | getDefaultPropertyName () override |
sal_Bool SAL_CALL | getValid () override |
sal_Int32 SAL_CALL | getDefault () override |
void SAL_CALL | setDefault (sal_Int32 nSet) override |
sal_Int32 SAL_CALL | getValue () override |
void SAL_CALL | setValue (sal_Int32 nIndex) override |
css::uno::Any SAL_CALL | ListEntries (const css::uno::Any &rIndex) 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 | |
sw::mark::IDropdownFieldmark * | m_pDropDown |
Additional Inherited Members | |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 19 of file vbaformfielddropdown.hxx.
SwVbaFormFieldDropDown::SwVbaFormFieldDropDown | ( | const css::uno::Reference< ooo::vba::XHelperInterface > & | rParent, |
const css::uno::Reference< css::uno::XComponentContext > & | rContext, | ||
sw::mark::IFieldmark & | rFormField | ||
) |
DropDown formfields are inline text objects that are only found in MS Word.
css::uno::RuntimeException |
They cannot be created in Excel or in Calc.
Note that VBA might call this a DropDown, but it might not actually be one, so make good use of getValid()
Definition at line 25 of file vbaformfielddropdown.cxx.
|
override |
Definition at line 33 of file vbaformfielddropdown.cxx.
|
override |
Definition at line 44 of file vbaformfielddropdown.cxx.
References getValue().
|
override |
Definition at line 35 of file vbaformfielddropdown.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 91 of file vbaformfielddropdown.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 93 of file vbaformfielddropdown.cxx.
References aServiceNames.
|
override |
Definition at line 37 of file vbaformfielddropdown.cxx.
References IDocumentMarkAccess::DROPDOWN_FIELDMARK, IDocumentMarkAccess::GetType(), and m_pDropDown.
Referenced by getValue(), ListEntries(), and setValue().
|
override |
Definition at line 56 of file vbaformfielddropdown.cxx.
References sw::mark::IDropdownFieldmark::GetContent(), getValid(), and m_pDropDown.
Referenced by getDefault(), and setValue().
|
override |
Definition at line 77 of file vbaformfielddropdown.cxx.
References getValid(), uno::Any::hasValue(), m_pDropDown, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext.
|
override |
Definition at line 46 of file vbaformfielddropdown.cxx.
References setValue().
|
override |
Definition at line 67 of file vbaformfielddropdown.cxx.
References getValid(), getValue(), m_pDropDown, nIndex, and sw::mark::IDropdownFieldmark::ReplaceContent().
Referenced by setDefault().
|
private |
Definition at line 22 of file vbaformfielddropdown.hxx.
Referenced by getValid(), getValue(), ListEntries(), and setValue().