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

#include <vbacolumn.hxx>

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

Public Member Functions

 SwVbaColumn (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 nIndex)
 
virtual ~SwVbaColumn () override
 
virtual sal_Int32 SAL_CALL getWidth () override
 
virtual void SAL_CALL setWidth (sal_Int32 _width) override
 
virtual void SAL_CALL Select () 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
 

Static Public Member Functions

static void SelectColumn (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::text::XTextTable > &xTextTable, sal_Int32 nStartColumn, sal_Int32 nEndColumn)
 

Private Attributes

css::uno::Reference< css::text::XTextTable > mxTextTable
 
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 vbacolumn.hxx.

Constructor & Destructor Documentation

◆ SwVbaColumn()

SwVbaColumn::SwVbaColumn ( 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  nIndex 
)
Exceptions
css::uno::RuntimeException

Definition at line 30 of file vbacolumn.cxx.

References mnIndex, and nIndex.

◆ ~SwVbaColumn()

SwVbaColumn::~SwVbaColumn ( )
overridevirtual

Definition at line 35 of file vbacolumn.cxx.

Member Function Documentation

◆ getServiceImplName()

OUString SwVbaColumn::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getWidth()

sal_Int32 SAL_CALL SwVbaColumn::getWidth ( )
overridevirtual

Definition at line 40 of file vbacolumn.cxx.

References SwVbaTableHelper::GetColWidth(), mnIndex, and mxTextTable.

◆ Select()

void SAL_CALL SwVbaColumn::Select ( )
overridevirtual

◆ SelectColumn()

void SwVbaColumn::SelectColumn ( const css::uno::Reference< css::frame::XModel > &  xModel,
const css::uno::Reference< css::text::XTextTable > &  xTextTable,
sal_Int32  nStartColumn,
sal_Int32  nEndColumn 
)
static
Exceptions
css::uno::RuntimeException

Definition at line 60 of file vbacolumn.cxx.

References SwVbaTableHelper::getColumnStr(), and xModel.

Referenced by Select(), and SwVbaColumns::Select().

◆ setWidth()

void SAL_CALL SwVbaColumn::setWidth ( sal_Int32  _width)
overridevirtual

Definition at line 47 of file vbacolumn.cxx.

References mnIndex, mxTextTable, and SwVbaTableHelper::SetColWidth().

Member Data Documentation

◆ mnIndex

sal_Int32 SwVbaColumn::mnIndex
private

Definition at line 32 of file vbacolumn.hxx.

Referenced by getWidth(), Select(), and setWidth().

◆ mxTextTable

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

Definition at line 31 of file vbacolumn.hxx.

Referenced by getWidth(), Select(), and setWidth().


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