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, const css::uno::Reference< css::frame::XModel > &rModel, const OUString &rName)
 
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< 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, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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 const 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 ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
const css::uno::Reference< css::frame::XModel > &  rModel,
const OUString &  rName 
)
Exceptions
css::uno::RuntimeException

Definition at line 35 of file vbabookmark.cxx.

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

SwVbaBookmark::~SwVbaBookmark ( )
overridevirtual

Definition at line 43 of file vbabookmark.cxx.

Member Function Documentation

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

Definition at line 47 of file vbabookmark.cxx.

References mbValid.

Referenced by Delete(), and Select().

void SAL_CALL SwVbaBookmark::Delete ( )
overridevirtual

Definition at line 53 of file vbabookmark.cxx.

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

OUString SAL_CALL SwVbaBookmark::getName ( )
overridevirtual

Definition at line 68 of file vbabookmark.cxx.

References maBookmarkName.

OUString SwVbaBookmark::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > SwVbaBookmark::getServiceNames ( )
overridevirtual
uno::Any SAL_CALL SwVbaBookmark::Range ( )
overridevirtual
void SAL_CALL SwVbaBookmark::Select ( )
overridevirtual

Definition at line 61 of file vbabookmark.cxx.

References checkVality(), mxBookmark, and mxModel.

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

Definition at line 73 of file vbabookmark.cxx.

References mxBookmark.

Member Data Documentation

OUString const SwVbaBookmark::maBookmarkName
private

Definition at line 33 of file vbabookmark.hxx.

Referenced by getName(), and SwVbaBookmark().

bool SwVbaBookmark::mbValid
private

Definition at line 34 of file vbabookmark.hxx.

Referenced by checkVality(), and Delete().

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().

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: