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

#include <unobookmark.hxx>

Inheritance diagram for SwXFieldmark:
[legend]
Collaboration diagram for SwXFieldmark:
[legend]

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

Definition at line 186 of file unobookmark.hxx.

Constructor & Destructor Documentation

SwXFieldmark::SwXFieldmark ( bool  isReplacementObject,
SwDoc pDoc 
)
private

Definition at line 592 of file unobkm.cxx.

Referenced by CreateXFieldmark().

Member Function Documentation

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

Definition at line 783 of file unobkm.cxx.

References SwXBookmark::addEventListener().

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

Definition at line 795 of file unobkm.cxx.

References SwXBookmark::attach().

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

Definition at line 779 of file unobkm.cxx.

References SwXBookmark::dispose().

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

Definition at line 801 of file unobkm.cxx.

References SwXBookmark::getAnchor().

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

Definition at line 717 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)
private

Definition at line 807 of file unobkm.cxx.

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

Referenced by getPresentation().

OUString SwXFieldmark::getFieldType ( )
overridevirtual

Definition at line 629 of file unobkm.cxx.

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

OUString SAL_CALL SwXFieldmark::getImplementationName ( )
overridevirtual

Definition at line 599 of file unobkm.cxx.

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

Definition at line 673 of file unobkm.cxx.

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

Definition at line 605 of file unobkm.cxx.

References m_bReplacementObject.

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

Definition at line 788 of file unobkm.cxx.

References SwXBookmark::removeEventListener().

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

Member Data Documentation

bool const SwXFieldmark::m_bReplacementObject
private

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