LibreOffice Module sw (master) 1
|
#include <vbaformfield.hxx>
Public Member Functions | |
SwVbaFormField (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, const uno::Reference< text::XTextDocument > &xTextDocument, sw::mark::IFieldmark &rFormField) | |
FormFields are inline text objects that are only found in MS Word. More... | |
~SwVbaFormField () override | |
OUString SAL_CALL | getDefaultPropertyName () override |
css::uno::Any SAL_CALL | CheckBox () override |
css::uno::Any SAL_CALL | DropDown () override |
css::uno::Any SAL_CALL | TextInput () override |
css::uno::Any SAL_CALL | Previous () override |
css::uno::Any SAL_CALL | Next () override |
css::uno::Reference< ooo::vba::word::XRange > SAL_CALL | Range () override |
sal_Int32 SAL_CALL | getType () override |
sal_Bool SAL_CALL | getCalculateOnExit () override |
void SAL_CALL | setCalculateOnExit (sal_Bool bSet) override |
sal_Bool SAL_CALL | getEnabled () override |
void SAL_CALL | setEnabled (sal_Bool bSet) override |
OUString SAL_CALL | getEntryMacro () override |
void SAL_CALL | setEntryMacro (const OUString &rSet) override |
OUString SAL_CALL | getExitMacro () override |
void SAL_CALL | setExitMacro (const OUString &rSet) override |
OUString SAL_CALL | getHelpText () override |
void SAL_CALL | setHelpText (const OUString &rSet) override |
sal_Bool SAL_CALL | getOwnHelp () override |
void SAL_CALL | setOwnHelp (sal_Bool bSet) override |
OUString SAL_CALL | getName () override |
void SAL_CALL | setName (const OUString &rSet) override |
OUString SAL_CALL | getResult () override |
void SAL_CALL | setResult (const OUString &rSet) override |
OUString SAL_CALL | getStatusText () override |
void SAL_CALL | setStatusText (const OUString &rSet) override |
sal_Bool SAL_CALL | getOwnStatus () override |
void SAL_CALL | setOwnStatus (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 | |
css::uno::Reference< css::text::XTextDocument > | m_xTextDocument |
sw::mark::IFieldmark & | m_rFormField |
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 20 of file vbaformfield.hxx.
SwVbaFormField::SwVbaFormField | ( | const css::uno::Reference< ooo::vba::XHelperInterface > & | rParent, |
const css::uno::Reference< css::uno::XComponentContext > & | rContext, | ||
const uno::Reference< text::XTextDocument > & | xTextDocument, | ||
sw::mark::IFieldmark & | rFormField | ||
) |
FormFields are inline text objects that are only found in MS Word.
css::uno::RuntimeException |
They cannot be created in Excel or in Calc.
There are three specific kinds of FormFields: CheckBox, DropDown, and TextInput.
Definition at line 34 of file vbaformfield.cxx.
Referenced by Next(), and Previous().
|
override |
Definition at line 44 of file vbaformfield.cxx.
|
override |
Definition at line 46 of file vbaformfield.cxx.
References m_rFormField, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxParent.
|
override |
Definition at line 52 of file vbaformfield.cxx.
References m_rFormField, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxParent.
|
override |
Definition at line 147 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 135 of file vbaformfield.cxx.
|
override |
Definition at line 158 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 169 of file vbaformfield.cxx.
References m_rFormField.
|
override |
Definition at line 181 of file vbaformfield.cxx.
References m_rFormField.
|
override |
Definition at line 193 of file vbaformfield.cxx.
References m_rFormField.
|
override |
Definition at line 208 of file vbaformfield.cxx.
References m_rFormField.
|
override |
Definition at line 197 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 236 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 215 of file vbaformfield.cxx.
References m_rFormField.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 247 of file vbaformfield.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 249 of file vbaformfield.cxx.
References aServiceNames.
|
override |
Definition at line 225 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 137 of file vbaformfield.cxx.
References IDocumentMarkAccess::CHECKBOX_FIELDMARK, IDocumentMarkAccess::GetType(), m_rFormField, and IDocumentMarkAccess::TEXT_FIELDMARK.
|
override |
Definition at line 92 of file vbaformfield.cxx.
References SwDocShell::GetDoc(), ooo::vba::word::getDocShell(), IDocumentMarkAccess::getFieldmarkAfter(), SwDoc::getIDocumentMarkAccess(), m_rFormField, m_xTextDocument, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxParent, and SwVbaFormField().
|
override |
Definition at line 64 of file vbaformfield.cxx.
References SwDocShell::GetDoc(), ooo::vba::word::getDocShell(), IDocumentMarkAccess::getFieldmarkBefore(), SwDoc::getIDocumentMarkAccess(), m_rFormField, m_xTextDocument, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxParent, and SwVbaFormField().
|
override |
Definition at line 120 of file vbaformfield.cxx.
References SwXTextRange::CreateXTextRange(), SwDocShell::GetDoc(), ooo::vba::word::getDocShell(), m_rFormField, m_xTextDocument, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxParent.
|
override |
Definition at line 153 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 164 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 176 of file vbaformfield.cxx.
References m_rFormField, and rSet.
|
override |
Definition at line 188 of file vbaformfield.cxx.
References m_rFormField, and rSet.
|
override |
Definition at line 195 of file vbaformfield.cxx.
References m_rFormField, and rSet.
|
override |
Definition at line 210 of file vbaformfield.cxx.
|
override |
Definition at line 203 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 242 of file vbaformfield.cxx.
References SAL_INFO.
|
override |
Definition at line 217 of file vbaformfield.cxx.
References m_rFormField, and rSet.
|
override |
Definition at line 231 of file vbaformfield.cxx.
|
override |
Definition at line 58 of file vbaformfield.cxx.
References m_rFormField, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxParent.
|
private |
Definition at line 24 of file vbaformfield.hxx.
Referenced by CheckBox(), DropDown(), getEntryMacro(), getExitMacro(), getHelpText(), getName(), getResult(), getType(), Next(), Previous(), Range(), setEntryMacro(), setExitMacro(), setHelpText(), setResult(), and TextInput().
|
private |
Definition at line 23 of file vbaformfield.hxx.
Referenced by Next(), Previous(), and Range().