LibreOffice Module sw (master)  1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SwXBookmark Class Reference

#include <unobookmark.hxx>

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

Classes

class  Impl
 

Public Member Functions

virtual ::sfx2::MetadatableGetCoreObject () override
 
virtual css::uno::Reference< css::frame::XModel > GetModel () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rIdentifier) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () 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 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 addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &rName) 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
 

Static Public Member Functions

static css::uno::Reference< css::text::XTextContent > CreateXBookmark (SwDoc &rDoc,::sw::mark::IMark *pBookmark)
 
::sw::mark::IMark const * GetBookmarkInDoc (SwDoc const *const pDoc, const css::uno::Reference< css::lang::XUnoTunnel > &xUT)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Protected Member Functions

void attachToRangeEx (const css::uno::Reference< css::text::XTextRange > &xTextRange, IDocumentMarkAccess::MarkType eType)
 
virtual void attachToRange (const css::uno::Reference< css::text::XTextRange > &xTextRange)
 
const ::sw::mark::IMarkGetBookmark () const
 
IDocumentMarkAccessGetIDocumentMarkAccess ()
 
void registerInMark (SwXBookmark &rXMark,::sw::mark::IMark *const pMarkBase)
 
virtual ~SwXBookmark () override
 
 SwXBookmark (SwDoc *const pDoc)
 
 SwXBookmark ()
 descriptor More...
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 

Detailed Description

Definition at line 49 of file unobookmark.hxx.

Constructor & Destructor Documentation

SwXBookmark::~SwXBookmark ( )
overrideprotectedvirtual

Definition at line 152 of file unobkm.cxx.

SwXBookmark::SwXBookmark ( SwDoc *const  pDoc)
protected

Definition at line 142 of file unobkm.cxx.

SwXBookmark::SwXBookmark ( )
protected

descriptor

Definition at line 147 of file unobkm.cxx.

Referenced by CreateXBookmark().

Member Function Documentation

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

Definition at line 306 of file unobkm.cxx.

References m_pImpl.

void SAL_CALL SwXBookmark::addPropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 495 of file unobkm.cxx.

void SAL_CALL SwXBookmark::addVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
overridevirtual

Definition at line 511 of file unobkm.cxx.

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

Definition at line 276 of file unobkm.cxx.

References attachToRange().

void SwXBookmark::attachToRange ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
protectedvirtual
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 271 of file unobkm.cxx.

References attachToRangeEx(), and IDocumentMarkAccess::BOOKMARK.

Referenced by attach().

void SwXBookmark::attachToRangeEx ( const css::uno::Reference< css::text::XTextRange > &  xTextRange,
IDocumentMarkAccess::MarkType  eType 
)
protected
uno::Reference< text::XTextContent > SwXBookmark::CreateXBookmark ( SwDoc rDoc,
::sw::mark::IMark pBookmark 
)
static
void SAL_CALL SwXBookmark::dispose ( void  )
overridevirtual

Definition at line 297 of file unobkm.cxx.

References m_pImpl.

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

Definition at line 282 of file unobkm.cxx.

References SwXTextRange::CreateXTextRange(), and m_pImpl.

const ::sw::mark::IMark * SwXBookmark::GetBookmark ( ) const
protected

Definition at line 132 of file unobkm.cxx.

References m_pImpl.

sw::mark::IMark const * SwXBookmark::GetBookmarkInDoc ( SwDoc const *const  pDoc,
const css::uno::Reference< css::lang::XUnoTunnel > &  xUT 
)
static
Returns
IMark for this, but only if it lives in pDoc

Definition at line 183 of file unobkm.cxx.

References m_pImpl.

Referenced by SwUnoCursorHelper::GetSelectableFromAny().

sfx2::Metadatable * SwXBookmark::GetCoreObject ( )
override

Definition at line 385 of file unobkm.cxx.

References m_pImpl.

IDocumentMarkAccess * SwXBookmark::GetIDocumentMarkAccess ( )
protected

Definition at line 137 of file unobkm.cxx.

References m_pImpl.

OUString SAL_CALL SwXBookmark::getImplementationName ( )
overridevirtual

Definition at line 359 of file unobkm.cxx.

uno::Reference< frame::XModel > SwXBookmark::GetModel ( )
overridevirtual

Definition at line 390 of file unobkm.cxx.

References SfxObjectShell::GetModel(), and m_pImpl.

OUString SAL_CALL SwXBookmark::getName ( )
overridevirtual

Definition at line 320 of file unobkm.cxx.

References m_pImpl.

Referenced by getPropertyValue(), and setName().

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXBookmark::getPropertySetInfo ( )
overridevirtual
uno::Any SAL_CALL SwXBookmark::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual
sal_Int64 SAL_CALL SwXBookmark::getSomething ( const css::uno::Sequence< sal_Int8 > &  rIdentifier)
overridevirtual

Definition at line 205 of file unobkm.cxx.

uno::Sequence< OUString > SAL_CALL SwXBookmark::getSupportedServiceNames ( )
overridevirtual
const uno::Sequence< sal_Int8 > & SwXBookmark::getUnoTunnelId ( )
static

Definition at line 200 of file unobkm.cxx.

References sw::proofreadingiterator::get().

void SwXBookmark::registerInMark ( SwXBookmark rXMark,
::sw::mark::IMark *const  pMarkBase 
)
protected

Definition at line 126 of file unobkm.cxx.

References m_pImpl.

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

Definition at line 313 of file unobkm.cxx.

References m_pImpl.

void SAL_CALL SwXBookmark::removePropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 503 of file unobkm.cxx.

void SAL_CALL SwXBookmark::removeVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
overridevirtual

Definition at line 519 of file unobkm.cxx.

void SAL_CALL SwXBookmark::setName ( const OUString &  rName)
overridevirtual
void SAL_CALL SwXBookmark::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
overridevirtual

Definition at line 412 of file unobkm.cxx.

References m_pImpl, UNO_NAME_BOOKMARK_CONDITION, and UNO_NAME_BOOKMARK_HIDDEN.

sal_Bool SAL_CALL SwXBookmark::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 372 of file unobkm.cxx.

References cppu::supportsService().

Member Data Documentation

::sw::UnoImplPtr<Impl> SwXBookmark::m_pImpl
private

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