LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwVbaBookmark Class Reference

#include <vbabookmark.hxx>

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

Public Member Functions

 SwVbaBookmark (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::frame::XModel > xModel, OUString aName)
 
virtual ~SwVbaBookmark () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &) override
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL Select () override
 
virtual css::uno::Any SAL_CALL Range () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void checkVality ()
 

Private Attributes

css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::text::XTextContent > mxBookmark
 
OUString maBookmarkName
 
bool mbValid
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 28 of file vbabookmark.hxx.

Constructor & Destructor Documentation

◆ SwVbaBookmark()

SwVbaBookmark::SwVbaBookmark ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::uno::Reference< css::frame::XModel >  xModel,
OUString  aName 
)
Exceptions
css::uno::RuntimeException

Definition at line 31 of file vbabookmark.cxx.

References maBookmarkName, mbValid, mxBookmark, mxModel, mxModel, and xModel.

◆ ~SwVbaBookmark()

SwVbaBookmark::~SwVbaBookmark ( )
overridevirtual

Definition at line 39 of file vbabookmark.cxx.

Member Function Documentation

◆ checkVality()

void SwVbaBookmark::checkVality ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 43 of file vbabookmark.cxx.

References mbValid.

Referenced by Delete(), and Select().

◆ Delete()

void SAL_CALL SwVbaBookmark::Delete ( )
overridevirtual

Definition at line 49 of file vbabookmark.cxx.

References checkVality(), mbValid, mxBookmark, and mxModel.

◆ getName()

OUString SAL_CALL SwVbaBookmark::getName ( )
overridevirtual

Definition at line 64 of file vbabookmark.cxx.

References maBookmarkName.

◆ getServiceImplName()

OUString SwVbaBookmark::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > SwVbaBookmark::getServiceNames ( )
overridevirtual

◆ Range()

uno::Any SAL_CALL SwVbaBookmark::Range ( )
overridevirtual

◆ Select()

void SAL_CALL SwVbaBookmark::Select ( )
overridevirtual

Definition at line 57 of file vbabookmark.cxx.

References checkVality(), mxBookmark, and mxModel.

◆ setName()

void SAL_CALL SwVbaBookmark::setName ( const OUString &  _name)
overridevirtual

Definition at line 69 of file vbabookmark.cxx.

References mxBookmark.

Member Data Documentation

◆ maBookmarkName

OUString SwVbaBookmark::maBookmarkName
private

Definition at line 33 of file vbabookmark.hxx.

Referenced by getName(), and SwVbaBookmark().

◆ mbValid

bool SwVbaBookmark::mbValid
private

Definition at line 34 of file vbabookmark.hxx.

Referenced by checkVality(), and Delete().

◆ mxBookmark

css::uno::Reference<css::text::XTextContent> SwVbaBookmark::mxBookmark
private

Definition at line 32 of file vbabookmark.hxx.

Referenced by Delete(), Range(), Select(), setName(), and SwVbaBookmark().

◆ mxModel

css::uno::Reference<css::frame::XModel> SwVbaBookmark::mxModel
private

Definition at line 31 of file vbabookmark.hxx.

Referenced by Delete(), Range(), Select(), and SwVbaBookmark().


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