LibreOffice Module sw (master) 1
|
#include <vbaformfieldcheckbox.hxx>
Public Member Functions | |
SwVbaFormFieldCheckBox (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, sw::mark::IFieldmark &rFormField) | |
CheckBoxes are inline text objects that are only found in MS Word. More... | |
~SwVbaFormFieldCheckBox () override | |
OUString SAL_CALL | getDefaultPropertyName () override |
sal_Bool SAL_CALL | getValid () override |
sal_Bool SAL_CALL | getAutoSize () override |
void SAL_CALL | setAutoSize (sal_Bool bSet) override |
sal_Bool SAL_CALL | getDefault () override |
void SAL_CALL | setDefault (sal_Bool bSet) override |
sal_Int32 SAL_CALL | getSize () override |
void SAL_CALL | setSize (sal_Int32 nSet) override |
sal_Bool SAL_CALL | getValue () override |
void SAL_CALL | setValue (sal_Bool bSet) 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::ICheckboxFieldmark * | m_pCheckBox |
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 vbaformfieldcheckbox.hxx.
SwVbaFormFieldCheckBox::SwVbaFormFieldCheckBox | ( | const css::uno::Reference< ooo::vba::XHelperInterface > & | rParent, |
const css::uno::Reference< css::uno::XComponentContext > & | rContext, | ||
sw::mark::IFieldmark & | rFormField | ||
) |
CheckBoxes 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 Checkbox, but it might not actually be one, so make good use of getValid()
Definition at line 24 of file vbaformfieldcheckbox.cxx.
|
override |
Definition at line 32 of file vbaformfieldcheckbox.cxx.
|
override |
Definition at line 43 of file vbaformfieldcheckbox.cxx.
References getValid(), and SAL_INFO.
|
override |
Definition at line 60 of file vbaformfieldcheckbox.cxx.
References getValid(), and getValue().
|
override |
Definition at line 34 of file vbaformfieldcheckbox.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 109 of file vbaformfieldcheckbox.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 111 of file vbaformfieldcheckbox.cxx.
References aServiceNames.
|
override |
Definition at line 82 of file vbaformfieldcheckbox.cxx.
References getValid(), and SAL_INFO.
|
override |
Definition at line 36 of file vbaformfieldcheckbox.cxx.
References IDocumentMarkAccess::CHECKBOX_FIELDMARK, IDocumentMarkAccess::GetType(), and m_pCheckBox.
Referenced by getAutoSize(), getDefault(), getSize(), getValue(), setAutoSize(), setDefault(), setSize(), and setValue().
|
override |
Definition at line 99 of file vbaformfieldcheckbox.cxx.
References getValid(), sw::mark::ICheckboxFieldmark::IsChecked(), and m_pCheckBox.
Referenced by getDefault(), and setValue().
|
override |
Definition at line 52 of file vbaformfieldcheckbox.cxx.
References getValid(), and SAL_INFO.
|
override |
Definition at line 68 of file vbaformfieldcheckbox.cxx.
References getValid(), and setValue().
|
override |
Definition at line 91 of file vbaformfieldcheckbox.cxx.
References getValid(), and SAL_INFO.
|
override |
Definition at line 101 of file vbaformfieldcheckbox.cxx.
References getValid(), getValue(), m_pCheckBox, and sw::mark::ICheckboxFieldmark::SetChecked().
Referenced by setDefault().
|
private |
Definition at line 22 of file vbaformfieldcheckbox.hxx.
Referenced by getValid(), getValue(), and setValue().