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

#include <vbaheaderfooter.hxx>

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

Public Member Functions

 SwVbaHeaderFooter (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::frame::XModel > xModel, css::uno::Reference< css::beans::XPropertySet > xProps, bool isHeader, sal_Int32 index)
 
virtual sal_Bool SAL_CALL getIsHeader () override
 
virtual sal_Bool SAL_CALL getLinkToPrevious () override
 
virtual void SAL_CALL setLinkToPrevious (sal_Bool _linktoprevious) override
 
virtual css::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL getRange () override
 
virtual css::uno::Any SAL_CALL Shapes (const css::uno::Any &aIndex) 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::frame::XModel > mxModel
 
css::uno::Reference< css::beans::XPropertySetmxPageStyleProps
 
bool mbHeader
 
sal_Int32 mnIndex
 

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 vbaheaderfooter.hxx.

Constructor & Destructor Documentation

◆ SwVbaHeaderFooter()

SwVbaHeaderFooter::SwVbaHeaderFooter ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::uno::Reference< css::frame::XModel >  xModel,
css::uno::Reference< css::beans::XPropertySet xProps,
bool  isHeader,
sal_Int32  index 
)
Exceptions
css::uno::RuntimeException

Definition at line 32 of file vbaheaderfooter.cxx.

References index, mnIndex, mxModel, and xModel.

Member Function Documentation

◆ getIsHeader()

sal_Bool SAL_CALL SwVbaHeaderFooter::getIsHeader ( )
overridevirtual

Definition at line 36 of file vbaheaderfooter.cxx.

References mbHeader.

◆ getLinkToPrevious()

sal_Bool SAL_CALL SwVbaHeaderFooter::getLinkToPrevious ( )
overridevirtual

Definition at line 41 of file vbaheaderfooter.cxx.

◆ getRange()

uno::Reference< word::XRange > SAL_CALL SwVbaHeaderFooter::getRange ( )
overridevirtual

◆ getServiceImplName()

OUString SwVbaHeaderFooter::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ setLinkToPrevious()

void SAL_CALL SwVbaHeaderFooter::setLinkToPrevious ( sal_Bool  _linktoprevious)
overridevirtual

Definition at line 47 of file vbaheaderfooter.cxx.

◆ Shapes()

uno::Any SAL_CALL SwVbaHeaderFooter::Shapes ( const css::uno::Any &  aIndex)
overridevirtual

Member Data Documentation

◆ mbHeader

bool SwVbaHeaderFooter::mbHeader
private

Definition at line 33 of file vbaheaderfooter.hxx.

Referenced by getIsHeader(), and getRange().

◆ mnIndex

sal_Int32 SwVbaHeaderFooter::mnIndex
private

Definition at line 34 of file vbaheaderfooter.hxx.

Referenced by getRange().

◆ mxModel

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

Definition at line 31 of file vbaheaderfooter.hxx.

Referenced by getRange(), and Shapes().

◆ mxPageStyleProps

css::uno::Reference< css::beans::XPropertySet > SwVbaHeaderFooter::mxPageStyleProps
private

Definition at line 32 of file vbaheaderfooter.hxx.

Referenced by getRange().


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