LibreOffice Module sw (master) 1
|
UNO wrapper around an sw::mark::IFieldmark. More...
#include <unobookmark.hxx>
Public Member Functions | |
virtual void | attachToRange (const css::uno::Reference< css::text::XTextRange > &xTextRange) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &rPropertyName) override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getAnchor () override |
virtual OUString SAL_CALL | getPresentation (sal_Bool bShowCommand) override |
virtual OUString SAL_CALL | getFieldType () override |
virtual void SAL_CALL | setFieldType (const OUString &description) override |
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL | getParameters () override |
Static Public Member Functions | |
static rtl::Reference< SwXBookmark > | CreateXFieldmark (SwDoc &rDoc, ::sw::mark::IMark *pMark, bool isReplacementObject=false) |
Private Member Functions | |
::sw::mark::ICheckboxFieldmark * | getCheckboxFieldmark () |
rtl::Reference< SwXTextRange > | GetCommand (::sw::mark::IFieldmark const &rMark) |
rtl::Reference< SwXTextRange > | GetResult (::sw::mark::IFieldmark const &rMark) |
SwXFieldmark (bool isReplacementObject, SwDoc *pDoc) | |
Private Attributes | |
bool const | m_bReplacementObject |
bool | m_isFieldmarkSeparatorAtStart = false |
UNO wrapper around an sw::mark::IFieldmark.
Definition at line 182 of file unobookmark.hxx.
|
private |
Definition at line 582 of file unobkm.cxx.
Referenced by CreateXFieldmark().
|
overridevirtual |
Definition at line 782 of file unobkm.cxx.
References SwXBookmark::addEventListener().
|
overridevirtual |
Definition at line 794 of file unobkm.cxx.
References SwXBookmark::attach().
|
overridevirtual |
Definition at line 612 of file unobkm.cxx.
References IDocumentMarkAccess::CHECKBOX_FIELDMARK, m_bReplacementObject, m_isFieldmarkSeparatorAtStart, and IDocumentMarkAccess::TEXT_FIELDMARK.
|
static |
Definition at line 674 of file unobkm.cxx.
References sw::mark::MarkBase::GetXBookmark(), and SwXFieldmark().
Referenced by lcl_ExportFieldMark(), SwXServiceProvider::MakeInstance(), and SwXFieldEnumeration::SwXFieldEnumeration().
|
overridevirtual |
Definition at line 778 of file unobkm.cxx.
References SwXBookmark::dispose().
|
overridevirtual |
Definition at line 800 of file unobkm.cxx.
References SwXBookmark::getAnchor().
|
private |
Definition at line 708 of file unobkm.cxx.
References getFieldType(), and ODF_FORMCHECKBOX.
Referenced by getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 806 of file unobkm.cxx.
References SwXTextRange::CreateXTextRange(), sw::mark::FindFieldSep(), and start.
Referenced by getPresentation().
|
overridevirtual |
Definition at line 620 of file unobkm.cxx.
Referenced by getCheckboxFieldmark(), getPresentation(), and setFieldType().
|
overridevirtual |
Definition at line 589 of file unobkm.cxx.
|
overridevirtual |
Definition at line 664 of file unobkm.cxx.
|
overridevirtual |
Definition at line 825 of file unobkm.cxx.
References sw::mark::ExpandFieldmark(), GetCommand(), getFieldType(), GetResult(), m_bReplacementObject, ODF_FORMCHECKBOX, ODF_FORMDROPDOWN, and type.
|
overridevirtual |
Definition at line 767 of file unobkm.cxx.
References aSwMapProvider, SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertySet::getPropertySetInfo(), and PROPERTY_MAP_FIELDMARK.
|
overridevirtual |
Definition at line 752 of file unobkm.cxx.
References getCheckboxFieldmark(), and sw::mark::ICheckboxFieldmark::IsChecked().
|
private |
Definition at line 815 of file unobkm.cxx.
References SwPosition::AdjustContent(), SwXTextRange::CreateXTextRange(), and sw::mark::FindFieldSep().
Referenced by getPresentation().
|
overridevirtual |
Definition at line 595 of file unobkm.cxx.
References m_bReplacementObject.
|
overridevirtual |
Definition at line 787 of file unobkm.cxx.
References SwXBookmark::removeEventListener().
|
overridevirtual |
Definition at line 629 of file unobkm.cxx.
References getFieldType(), m_bReplacementObject, ODF_FORMCHECKBOX, ODF_FORMDATE, ODF_FORMDROPDOWN, ODF_FORMTEXT, and ODF_UNHANDLED.
|
overridevirtual |
Definition at line 725 of file unobkm.cxx.
References getCheckboxFieldmark(), m_isFieldmarkSeparatorAtStart, and sw::mark::ICheckboxFieldmark::SetChecked().
|
private |
Definition at line 186 of file unobookmark.hxx.
Referenced by attachToRange(), getPresentation(), getSupportedServiceNames(), and setFieldType().
|
private |
Definition at line 187 of file unobookmark.hxx.
Referenced by attachToRange(), and setPropertyValue().