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 css::uno::Reference< css::text::XTextContent > CreateXFieldmark (SwDoc &rDoc,::sw::mark::IMark *pMark, bool isReplacementObject=false)

Private Member Functions

::sw::mark::ICheckboxFieldmarkgetCheckboxFieldmark ()
css::uno::Reference< css::text::XTextRange > GetCommand (::sw::mark::IFieldmark const &rMark)
css::uno::Reference< css::text::XTextRange > GetResult (::sw::mark::IFieldmark const &rMark)
 SwXFieldmark (bool isReplacementObject, SwDoc *pDoc)

Private Attributes

bool const m_bReplacementObject

Detailed Description

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

Definition at line 188 of file unobookmark.hxx.

Constructor & Destructor Documentation

SwXFieldmark::SwXFieldmark ( bool  isReplacementObject,
SwDoc pDoc 

Definition at line 591 of file unobkm.cxx.

Referenced by CreateXFieldmark().

Member Function Documentation

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

Definition at line 782 of file unobkm.cxx.

References SwXBookmark::addEventListener().

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

Definition at line 794 of file unobkm.cxx.

References SwXBookmark::attach().

void SwXFieldmark::attachToRange ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
uno::Reference< text::XTextContent > SwXFieldmark::CreateXFieldmark ( SwDoc rDoc,
::sw::mark::IMark pMark,
bool  isReplacementObject = false 
void SAL_CALL SwXFieldmark::dispose ( void  )

Definition at line 778 of file unobkm.cxx.

References SwXBookmark::dispose().

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

Definition at line 800 of file unobkm.cxx.

References SwXBookmark::getAnchor().

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

Definition at line 716 of file unobkm.cxx.

References getFieldType(), and ODF_FORMCHECKBOX.

Referenced by getPropertyValue(), and setPropertyValue().

uno::Reference< text::XTextRange > 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().

OUString SwXFieldmark::getFieldType ( )

Definition at line 628 of file unobkm.cxx.

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

OUString SAL_CALL SwXFieldmark::getImplementationName ( )

Definition at line 598 of file unobkm.cxx.

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

Definition at line 672 of file unobkm.cxx.

OUString SAL_CALL SwXFieldmark::getPresentation ( sal_Bool  bShowCommand)
uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXFieldmark::getPropertySetInfo ( )
uno::Any SAL_CALL SwXFieldmark::getPropertyValue ( const OUString &  rPropertyName)
uno::Reference< text::XTextRange > SwXFieldmark::GetResult ( ::sw::mark::IFieldmark const &  rMark)
uno::Sequence< OUString > SAL_CALL SwXFieldmark::getSupportedServiceNames ( )

Definition at line 604 of file unobkm.cxx.

References m_bReplacementObject.

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

Definition at line 787 of file unobkm.cxx.

References SwXBookmark::removeEventListener().

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

Member Data Documentation

bool const SwXFieldmark::m_bReplacementObject

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