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

#include <vbacell.hxx>

Inheritance diagram for SwVbaCell:
Collaboration diagram for SwVbaCell:

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 

Definition at line 28 of file vbacell.cxx.

References mnRow.

◆ ~SwVbaCell()

SwVbaCell::~SwVbaCell ( )

Definition at line 33 of file vbacell.cxx.

Member Function Documentation

◆ getHeight()

uno::Any SAL_CALL SwVbaCell::getHeight ( )

◆ getHeightRule()

sal_Int32 SAL_CALL SwVbaCell::getHeightRule ( )

◆ getServiceImplName()

OUString SwVbaCell::getServiceImplName ( )

◆ getServiceNames()

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

◆ getWidth()

sal_Int32 SAL_CALL SwVbaCell::getWidth ( )

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)

◆ SetHeight()

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

Definition at line 79 of file vbacell.cxx.

References setHeight(), and setHeightRule().

◆ setHeightRule()

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

◆ setWidth()

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

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 

Definition at line 73 of file vbacell.cxx.

References setWidth().

Member Data Documentation

◆ mnColumn

sal_Int32 SwVbaCell::mnColumn

Definition at line 32 of file vbacell.hxx.

Referenced by getWidth(), and setWidth().

◆ mnRow

sal_Int32 SwVbaCell::mnRow

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

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: