LibreOffice Module sw (master) 1
|
#include <vbabookmarks.hxx>
Public Member Functions | |
SwVbaBookmarks (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xBookmarks, css::uno::Reference< css::frame::XModel > xModel) | |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
virtual sal_Int32 SAL_CALL | getDefaultSorting () override |
virtual void SAL_CALL | setDefaultSorting (sal_Int32 _type) override |
virtual sal_Bool SAL_CALL | getShowHidden () override |
virtual void SAL_CALL | setShowHidden (sal_Bool _hidden) override |
virtual css::uno::Any SAL_CALL | Add (const OUString &rName, const css::uno::Any &rRange) override |
virtual sal_Bool SAL_CALL | Exists (const OUString &rName) override |
Public Member Functions inherited from CollTestImplHelper< typename... Ifc > | |
CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false) | |
Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false) | |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &) override |
OUString SAL_CALL | getDefaultMethodName () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override=0 |
virtual css::uno::Type SAL_CALL | getElementType () override=0 |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource)=0 |
Public Member Functions inherited from InheritedHelperInterfaceImpl< 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 |
Static Public Member Functions | |
static void | addBookmarkByName (const css::uno::Reference< css::frame::XModel > &xModel, const OUString &rName, const css::uno::Reference< css::text::XTextRange > &rTextRange) |
Private Member Functions | |
void | removeBookmarkByName (const OUString &rName) |
Private Attributes | |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::text::XBookmarksSupplier > | mxBookmarksSupplier |
Additional Inherited Members | |
Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
virtual css::uno::Any | getItemByStringIndex (const OUString &sIndex) |
virtual css::uno::Any | getItemByIntIndex (const sal_Int32 nIndex) |
void | UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess) |
Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::Reference< css::container::XIndexAccess > | m_xIndexAccess |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
bool | mbIgnoreCase |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 30 of file vbabookmarks.hxx.
SwVbaBookmarks::SwVbaBookmarks | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::container::XIndexAccess > & | xBookmarks, | ||
css::uno::Reference< css::frame::XModel > | xModel | ||
) |
Definition at line 115 of file vbabookmarks.cxx.
References mxBookmarksSupplier, mxModel, mxModel, Reference, and xModel.
|
overridevirtual |
Definition at line 157 of file vbabookmarks.cxx.
References addBookmarkByName(), InheritedHelperInterfaceImpl< Ifc... >::getParent(), SwVbaRange::getXTextRange(), ooo::vba::word::getXTextViewCursor(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xNameAccess, InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxModel, and removeBookmarkByName().
|
static |
css::uno::RuntimeException |
Definition at line 147 of file vbabookmarks.cxx.
References xModel.
Referenced by Add(), and SwVbaRange::setText().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 134 of file vbabookmarks.cxx.
References aName, InheritedHelperInterfaceImpl< Ifc... >::getParent(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, and mxModel.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 127 of file vbabookmarks.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::getParent(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, InheritedHelperInterfaceImpl< Ifc... >::mxContext, and mxModel.
|
overridevirtual |
Definition at line 207 of file vbabookmarks.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xNameAccess.
|
overridevirtual |
Definition at line 183 of file vbabookmarks.cxx.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 122 of file vbabookmarks.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 214 of file vbabookmarks.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 220 of file vbabookmarks.cxx.
|
overridevirtual |
Definition at line 195 of file vbabookmarks.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 141 of file vbabookmarks.cxx.
References ooo::vba::word::getXTextViewCursor(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xNameAccess, and mxModel.
Referenced by Add().
|
overridevirtual |
Definition at line 189 of file vbabookmarks.cxx.
|
overridevirtual |
Definition at line 201 of file vbabookmarks.cxx.
|
private |
Definition at line 34 of file vbabookmarks.hxx.
Referenced by SwVbaBookmarks().
|
private |
Definition at line 33 of file vbabookmarks.hxx.
Referenced by Add(), createCollectionObject(), createEnumeration(), removeBookmarkByName(), and SwVbaBookmarks().