LibreOffice Module sw (master) 1
|
#include <vbacontentcontrol.hxx>
Public Member Functions | |
SwVbaContentControl (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Reference< css::text::XTextDocument > &xTextDocument, std::shared_ptr< SwContentControl > pContentControl) | |
Content controls are the modern version of FormFields, providing inline functionality similar to that of ActiveX form controls. More... | |
~SwVbaContentControl () override | |
sal_Bool SAL_CALL | getAllowInsertDeleteSection () override |
void SAL_CALL | setAllowInsertDeleteSection (sal_Bool bSet) override |
sal_Int32 SAL_CALL | getAppearance () override |
void SAL_CALL | setAppearance (sal_Int32 nSet) override |
OUString SAL_CALL | getBuildingBlockCategory () override |
void SAL_CALL | setBuildingBlockCategory (const OUString &sSet) override |
sal_Int32 SAL_CALL | getBuildingBlockType () override |
void SAL_CALL | setBuildingBlockType (sal_Int32 nSet) override |
sal_Bool SAL_CALL | getChecked () override |
void SAL_CALL | setChecked (sal_Bool bSet) override |
sal_Int32 SAL_CALL | getColor () override |
void SAL_CALL | setColor (sal_Int32 nSet) override |
sal_Int32 SAL_CALL | getDateCalendarType () override |
void SAL_CALL | setDateCalendarType (sal_Int32 nSet) override |
OUString SAL_CALL | getDateDisplayFormat () override |
void SAL_CALL | setDateDisplayFormat (const OUString &sSet) override |
sal_Int32 SAL_CALL | getDateDisplayLocale () override |
sal_Int32 SAL_CALL | getDateStorageFormat () override |
void SAL_CALL | setDateStorageFormat (sal_Int32 nSet) override |
css::uno::Any SAL_CALL | getDropdownListEntries () override |
OUString SAL_CALL | getID () override |
sal_Int32 SAL_CALL | getLevel () override |
sal_Bool SAL_CALL | getLockContentControl () override |
void SAL_CALL | setLockContentControl (sal_Bool bSet) override |
sal_Bool SAL_CALL | getLockContents () override |
void SAL_CALL | setLockContents (sal_Bool bSet) override |
sal_Bool SAL_CALL | getMultiLine () override |
void SAL_CALL | setMultiLine (sal_Bool bSet) override |
OUString SAL_CALL | getPlaceholderText () override |
sal_Bool SAL_CALL | getShowingPlaceholderText () override |
OUString SAL_CALL | getRepeatingSectionItemTitle () override |
void SAL_CALL | setRepeatingSectionItemTitle (const OUString &rSet) override |
css::uno::Reference< ooo::vba::word::XRange > SAL_CALL | getRange () override |
OUString SAL_CALL | getTag () override |
void SAL_CALL | setTag (const OUString &rSet) override |
sal_Bool SAL_CALL | getTemporary () override |
void SAL_CALL | setTemporary (sal_Bool bSet) override |
OUString SAL_CALL | getTitle () override |
void SAL_CALL | setTitle (const OUString &rSet) override |
sal_Int32 SAL_CALL | getType () override |
void SAL_CALL | setType (sal_Int32 nSet) override |
void SAL_CALL | Copy () override |
void SAL_CALL | Cut () override |
void SAL_CALL | Delete (const css::uno::Any &bDeleteContents) override |
void SAL_CALL | SetCheckedSymbol (sal_Int32 Character, const css::uno::Any &sFont) override |
void SAL_CALL | SetUnCheckedSymbol (sal_Int32 Character, const css::uno::Any &sFont) override |
void SAL_CALL | SetPlaceholderText (const css::uno::Any &BuildingBlock, const css::uno::Any &Range, const css::uno::Any &sText) override |
void SAL_CALL | Ungroup () 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 > | mxTextDocument |
std::shared_ptr< SwContentControl > | m_pCC |
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 vbacontentcontrol.hxx.
SwVbaContentControl::SwVbaContentControl | ( | const css::uno::Reference< ooo::vba::XHelperInterface > & | rParent, |
const css::uno::Reference< css::uno::XComponentContext > & | rContext, | ||
const css::uno::Reference< css::text::XTextDocument > & | xTextDocument, | ||
std::shared_ptr< SwContentControl > | pContentControl | ||
) |
Content controls are the modern version of FormFields, providing inline functionality similar to that of ActiveX form controls.
css::uno::RuntimeException |
Individual content controls may contain contents such as dates, lists, or paragraphs of formatted text.
Not all functions are applicable to each type of control, so use getType verification liberally.
Definition at line 34 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 45 of file vbacontentcontrol.cxx.
|
override |
Definition at line 659 of file vbacontentcontrol.cxx.
|
override |
Definition at line 664 of file vbacontentcontrol.cxx.
References getID(), getLockContentControl(), getLockContents(), m_pCC, and SAL_INFO.
|
override |
Definition at line 675 of file vbacontentcontrol.cxx.
References getLockContentControl(), getLockContents(), and m_pCC.
|
override |
Definition at line 47 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 58 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 70 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 81 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 93 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 113 of file vbacontentcontrol.cxx.
|
override |
Definition at line 424 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 436 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 452 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 440 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 459 of file vbacontentcontrol.cxx.
References m_pCC, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext.
|
override |
Definition at line 468 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 474 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 481 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 493 of file vbacontentcontrol.cxx.
References CHECKBOX, DROP_DOWN_LIST, m_pCC, and PICTURE.
Referenced by Cut(), Delete(), setChecked(), and SetPlaceholderText().
|
override |
Definition at line 528 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 539 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
|
override |
Definition at line 567 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 745 of file vbacontentcontrol.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 747 of file vbacontentcontrol.cxx.
References aServiceNames.
|
override |
Definition at line 546 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 578 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 582 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 594 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 598 of file vbacontentcontrol.cxx.
References CHECKBOX, COMBO_BOX, DATE, DROP_DOWN_LIST, eType, m_pCC, PICTURE, PLAIN_TEXT, and RICH_TEXT.
|
override |
Definition at line 53 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 65 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 76 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 88 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 95 of file vbacontentcontrol.cxx.
References getLockContents(), and m_pCC.
|
override |
Definition at line 686 of file vbacontentcontrol.cxx.
References Character, Font, m_pCC, SAL_INFO_IF, and SAL_MAX_UINT16.
|
override |
Definition at line 239 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 431 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 438 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 447 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 487 of file vbacontentcontrol.cxx.
References m_pCC.
|
override |
Definition at line 512 of file vbacontentcontrol.cxx.
References CHECKBOX, DROP_DOWN_LIST, m_pCC, and PICTURE.
|
override |
Definition at line 534 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 716 of file vbacontentcontrol.cxx.
References getLockContents(), uno::Any::hasValue(), m_pCC, SAL_INFO, and Text.
|
override |
Definition at line 573 of file vbacontentcontrol.cxx.
|
override |
Definition at line 580 of file vbacontentcontrol.cxx.
|
override |
Definition at line 589 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 596 of file vbacontentcontrol.cxx.
|
override |
Definition at line 629 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
override |
Definition at line 701 of file vbacontentcontrol.cxx.
References Character, Font, m_pCC, SAL_INFO_IF, and SAL_MAX_UINT16.
|
override |
Definition at line 743 of file vbacontentcontrol.cxx.
References SAL_INFO.
|
private |
Definition at line 24 of file vbacontentcontrol.hxx.
Referenced by Cut(), Delete(), getChecked(), getColor(), getDateDisplayFormat(), getDropdownListEntries(), getID(), getLockContentControl(), getLockContents(), getRange(), getShowingPlaceholderText(), getTag(), getTitle(), getType(), setChecked(), SetCheckedSymbol(), setColor(), setDateDisplayFormat(), setLockContentControl(), setLockContents(), SetPlaceholderText(), setTag(), setTitle(), SetUnCheckedSymbol(), and SwVbaContentControl().
|
private |
Definition at line 23 of file vbacontentcontrol.hxx.
Referenced by getRange().