LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXFieldmark Class Referencefinal

UNO wrapper around an sw::mark::IFieldmark. More...

#include <unobookmark.hxx>

Inheritance diagram for SwXFieldmark:
Collaboration diagram for SwXFieldmark:

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< SwXBookmarkCreateXFieldmark (SwDoc &rDoc, ::sw::mark::IMark *pMark, bool isReplacementObject=false)

Private Member Functions

::sw::mark::ICheckboxFieldmarkgetCheckboxFieldmark ()
rtl::Reference< SwXTextRangeGetCommand (::sw::mark::IFieldmark const &rMark)
rtl::Reference< SwXTextRangeGetResult (::sw::mark::IFieldmark const &rMark)
 SwXFieldmark (bool isReplacementObject, SwDoc *pDoc)

Private Attributes

bool const m_bReplacementObject
bool m_isFieldmarkSeparatorAtStart = false

Detailed Description

UNO wrapper around an sw::mark::IFieldmark.

Definition at line 182 of file unobookmark.hxx.

Constructor & Destructor Documentation

◆ SwXFieldmark()

SwXFieldmark::SwXFieldmark ( bool  isReplacementObject,
SwDoc pDoc 

Definition at line 582 of file unobkm.cxx.

Referenced by CreateXFieldmark().

Member Function Documentation

◆ addEventListener()

void SAL_CALL SwXFieldmark::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)

Definition at line 782 of file unobkm.cxx.

References SwXBookmark::addEventListener().

◆ attach()

void SAL_CALL SwXFieldmark::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)

Definition at line 794 of file unobkm.cxx.

References SwXBookmark::attach().

◆ attachToRange()

void SwXFieldmark::attachToRange ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)

◆ CreateXFieldmark()

rtl::Reference< SwXBookmark > SwXFieldmark::CreateXFieldmark ( SwDoc rDoc,
::sw::mark::IMark pMark,
bool  isReplacementObject = false 

◆ dispose()

void SAL_CALL SwXFieldmark::dispose ( void  )

Definition at line 778 of file unobkm.cxx.

References SwXBookmark::dispose().

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL SwXFieldmark::getAnchor ( )

Definition at line 800 of file unobkm.cxx.

References SwXBookmark::getAnchor().

◆ getCheckboxFieldmark()

sw::mark::ICheckboxFieldmark * SwXFieldmark::getCheckboxFieldmark ( )

Definition at line 708 of file unobkm.cxx.

References getFieldType(), and ODF_FORMCHECKBOX.

Referenced by getPropertyValue(), and setPropertyValue().

◆ GetCommand()

rtl::Reference< SwXTextRange > SwXFieldmark::GetCommand ( ::sw::mark::IFieldmark const &  rMark)

Definition at line 806 of file unobkm.cxx.

References SwXTextRange::CreateXTextRange(), sw::mark::FindFieldSep(), and start.

Referenced by getPresentation().

◆ getFieldType()

OUString SwXFieldmark::getFieldType ( )

Definition at line 620 of file unobkm.cxx.

Referenced by getCheckboxFieldmark(), getPresentation(), and setFieldType().

◆ getImplementationName()

OUString SAL_CALL SwXFieldmark::getImplementationName ( )

Definition at line 589 of file unobkm.cxx.

◆ getParameters()

uno::Reference< container::XNameContainer > SwXFieldmark::getParameters ( )

Definition at line 664 of file unobkm.cxx.

◆ getPresentation()

OUString SAL_CALL SwXFieldmark::getPresentation ( sal_Bool  bShowCommand)

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXFieldmark::getPropertySetInfo ( )

◆ getPropertyValue()

uno::Any SAL_CALL SwXFieldmark::getPropertyValue ( const OUString &  rPropertyName)

◆ GetResult()

rtl::Reference< SwXTextRange > SwXFieldmark::GetResult ( ::sw::mark::IFieldmark const &  rMark)

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SwXFieldmark::getSupportedServiceNames ( )

Definition at line 595 of file unobkm.cxx.

References m_bReplacementObject.

◆ removeEventListener()

void SAL_CALL SwXFieldmark::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)

Definition at line 787 of file unobkm.cxx.

References SwXBookmark::removeEventListener().

◆ setFieldType()

void SwXFieldmark::setFieldType ( const OUString &  description)

◆ setPropertyValue()

void SAL_CALL SwXFieldmark::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 

Member Data Documentation

◆ m_bReplacementObject

bool const SwXFieldmark::m_bReplacementObject

◆ m_isFieldmarkSeparatorAtStart

bool SwXFieldmark::m_isFieldmarkSeparatorAtStart = false

Definition at line 187 of file unobookmark.hxx.

Referenced by attachToRange(), and setPropertyValue().

The documentation for this class was generated from the following files: