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

#include <vbacell.hxx>

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

Public Member Functions

 SwVbaCell (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::text::XTextTable > xTextTable, sal_Int32 nColumn, sal_Int32 nRow)
 
virtual ~SwVbaCell () override
 
virtual ::sal_Int32 SAL_CALL getWidth () override
 
virtual void SAL_CALL setWidth (::sal_Int32 _width) override
 
virtual css::uno::Any SAL_CALL getHeight () override
 
virtual void SAL_CALL setHeight (const css::uno::Any &_height) override
 
virtual ::sal_Int32 SAL_CALL getHeightRule () override
 
virtual void SAL_CALL setHeightRule (::sal_Int32 _heightrule) override
 
virtual void SAL_CALL SetWidth (float width, sal_Int32 rulestyle) override
 
virtual void SAL_CALL SetHeight (float height, sal_Int32 heightrule) 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::XTextTable > mxTextTable
 
sal_Int32 mnColumn
 
sal_Int32 mnRow
 

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

Constructor & Destructor Documentation

◆ SwVbaCell()

SwVbaCell::SwVbaCell ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::uno::Reference< css::text::XTextTable >  xTextTable,
sal_Int32  nColumn,
sal_Int32  nRow 
)
Exceptions
css::uno::RuntimeException

Definition at line 28 of file vbacell.cxx.

References mnRow.

◆ ~SwVbaCell()

SwVbaCell::~SwVbaCell ( )
overridevirtual

Definition at line 33 of file vbacell.cxx.

Member Function Documentation

◆ getHeight()

uno::Any SAL_CALL SwVbaCell::getHeight ( )
overridevirtual

◆ getHeightRule()

sal_Int32 SAL_CALL SwVbaCell::getHeightRule ( )
override

◆ getServiceImplName()

OUString SwVbaCell::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getWidth()

sal_Int32 SAL_CALL SwVbaCell::getWidth ( )
override

Definition at line 37 of file vbacell.cxx.

References SwVbaTableHelper::GetColWidth(), mnColumn, mnRow, and mxTextTable.

◆ setHeight()

void SAL_CALL SwVbaCell::setHeight ( const css::uno::Any &  _height)
overridevirtual

◆ SetHeight()

void SAL_CALL SwVbaCell::SetHeight ( float  height,
sal_Int32  heightrule 
)
overridevirtual

Definition at line 79 of file vbacell.cxx.

References setHeight(), and setHeightRule().

◆ setHeightRule()

void SAL_CALL SwVbaCell::setHeightRule ( ::sal_Int32  _heightrule)
overridevirtual

◆ setWidth()

void SAL_CALL SwVbaCell::setWidth ( ::sal_Int32  _width)
overridevirtual

Definition at line 43 of file vbacell.cxx.

References mnColumn, mnRow, mxTextTable, and SwVbaTableHelper::SetColWidth().

Referenced by SetWidth().

◆ SetWidth()

void SAL_CALL SwVbaCell::SetWidth ( float  width,
sal_Int32  rulestyle 
)
overridevirtual

Definition at line 73 of file vbacell.cxx.

References setWidth().

Member Data Documentation

◆ mnColumn

sal_Int32 SwVbaCell::mnColumn
private

Definition at line 32 of file vbacell.hxx.

Referenced by getWidth(), and setWidth().

◆ mnRow

sal_Int32 SwVbaCell::mnRow
private

Definition at line 33 of file vbacell.hxx.

Referenced by getHeight(), getHeightRule(), getWidth(), setHeight(), setHeightRule(), and setWidth().

◆ mxTextTable

css::uno::Reference< css::text::XTextTable > SwVbaCell::mxTextTable
private

Definition at line 31 of file vbacell.hxx.

Referenced by getHeight(), getHeightRule(), getWidth(), setHeight(), setHeightRule(), and setWidth().


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