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

#include <vbatableofcontents.hxx>

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

Public Member Functions

 SwVbaTableOfContents (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::text::XTextDocument > xDoc, css::uno::Reference< css::text::XDocumentIndex > xDocumentIndex)
 
virtual ~SwVbaTableOfContents () override
 
virtual ::sal_Int32 SAL_CALL getLowerHeadingLevel () override
 
virtual void SAL_CALL setLowerHeadingLevel (::sal_Int32 _lowerheadinglevel) override
 
virtual ::sal_Int32 SAL_CALL getTabLeader () override
 
virtual void SAL_CALL setTabLeader (::sal_Int32 _tableader) override
 
virtual sal_Bool SAL_CALL getUseFields () override
 
virtual void SAL_CALL setUseFields (sal_Bool _useFields) override
 
virtual sal_Bool SAL_CALL getUseOutlineLevels () override
 
virtual void SAL_CALL setUseOutlineLevels (sal_Bool _useOutlineLevels) override
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL Update () 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 Attributes

css::uno::Reference< css::text::XTextDocument > mxTextDocument
 
css::uno::Reference< css::text::XDocumentIndex > mxDocumentIndex
 
css::uno::Reference< css::beans::XPropertySetmxTocProps
 

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 29 of file vbatableofcontents.hxx.

Constructor & Destructor Documentation

◆ SwVbaTableOfContents()

SwVbaTableOfContents::SwVbaTableOfContents ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::uno::Reference< css::text::XTextDocument >  xDoc,
css::uno::Reference< css::text::XDocumentIndex >  xDocumentIndex 
)
Exceptions
css::uno::RuntimeException

Definition at line 27 of file vbatableofcontents.cxx.

References mxDocumentIndex, and mxTocProps.

◆ ~SwVbaTableOfContents()

SwVbaTableOfContents::~SwVbaTableOfContents ( )
overridevirtual

Definition at line 33 of file vbatableofcontents.cxx.

Member Function Documentation

◆ Delete()

void SAL_CALL SwVbaTableOfContents::Delete ( )
overridevirtual

Definition at line 84 of file vbatableofcontents.cxx.

References mxDocumentIndex, and mxTextDocument.

◆ getLowerHeadingLevel()

sal_Int32 SAL_CALL SwVbaTableOfContents::getLowerHeadingLevel ( )
override

Definition at line 37 of file vbatableofcontents.cxx.

References mxTocProps.

◆ getServiceImplName()

OUString SwVbaTableOfContents::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getTabLeader()

sal_Int32 SAL_CALL SwVbaTableOfContents::getTabLeader ( )
override

Definition at line 49 of file vbatableofcontents.cxx.

◆ getUseFields()

sal_Bool SAL_CALL SwVbaTableOfContents::getUseFields ( )
overridevirtual

Definition at line 60 of file vbatableofcontents.cxx.

References mxTocProps.

◆ getUseOutlineLevels()

sal_Bool SAL_CALL SwVbaTableOfContents::getUseOutlineLevels ( )
overridevirtual

Definition at line 72 of file vbatableofcontents.cxx.

References mxTocProps.

◆ setLowerHeadingLevel()

void SAL_CALL SwVbaTableOfContents::setLowerHeadingLevel ( ::sal_Int32  _lowerheadinglevel)
overridevirtual

Definition at line 44 of file vbatableofcontents.cxx.

References mxTocProps.

◆ setTabLeader()

void SAL_CALL SwVbaTableOfContents::setTabLeader ( ::sal_Int32  _tableader)
overridevirtual

Definition at line 55 of file vbatableofcontents.cxx.

◆ setUseFields()

void SAL_CALL SwVbaTableOfContents::setUseFields ( sal_Bool  _useFields)
overridevirtual

Definition at line 67 of file vbatableofcontents.cxx.

References mxTocProps.

◆ setUseOutlineLevels()

void SAL_CALL SwVbaTableOfContents::setUseOutlineLevels ( sal_Bool  _useOutlineLevels)
overridevirtual

Definition at line 79 of file vbatableofcontents.cxx.

References mxTocProps.

◆ Update()

void SAL_CALL SwVbaTableOfContents::Update ( )
overridevirtual

Definition at line 90 of file vbatableofcontents.cxx.

References mxDocumentIndex.

Member Data Documentation

◆ mxDocumentIndex

css::uno::Reference< css::text::XDocumentIndex > SwVbaTableOfContents::mxDocumentIndex
private

Definition at line 33 of file vbatableofcontents.hxx.

Referenced by Delete(), SwVbaTableOfContents(), and Update().

◆ mxTextDocument

css::uno::Reference< css::text::XTextDocument > SwVbaTableOfContents::mxTextDocument
private

Definition at line 32 of file vbatableofcontents.hxx.

Referenced by Delete().

◆ mxTocProps

css::uno::Reference< css::beans::XPropertySet > SwVbaTableOfContents::mxTocProps
private

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