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

#include <vbacolumns.hxx>

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

Public Member Functions

 SwVbaColumns (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::text::XTextTable > &xTextTable, const css::uno::Reference< css::table::XTableColumns > &xTableColumns)
 
 SwVbaColumns (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::text::XTextTable > &xTextTable, const css::uno::Reference< css::table::XTableColumns > &xTableColumns, sal_Int32 nStartCol, sal_Int32 nEndCol)
 
virtual sal_Int32 SAL_CALL getWidth () override
 
virtual void SAL_CALL setWidth (sal_Int32 _width) override
 
virtual void SAL_CALL Select () override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from CollTestImplHelper< Ifc >
 CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
- Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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 Member Functions

css::uno::Reference< ooo::vba::word::XColumn > getColumnAtIndex (sal_Int32 index)
 

Private Attributes

css::uno::Reference< css::text::XTextTable > mxTextTable
 
sal_Int32 mnStartColumnIndex
 
sal_Int32 mnEndColumnIndex
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByStringIndex (const OUString &sIndex)
 
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 
- Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool const mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 31 of file vbacolumns.hxx.

Constructor & Destructor Documentation

SwVbaColumns::SwVbaColumns ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::text::XTextTable > &  xTextTable,
const css::uno::Reference< css::table::XTableColumns > &  xTableColumns 
)
Exceptions
css::uno::RuntimeException
SwVbaColumns::SwVbaColumns ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::text::XTextTable > &  xTextTable,
const css::uno::Reference< css::table::XTableColumns > &  xTableColumns,
sal_Int32  nStartCol,
sal_Int32  nEndCol 
)
Exceptions
css::uno::RuntimeException

Member Function Documentation

uno::Any SwVbaColumns::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual
uno::Reference< container::XEnumeration > SwVbaColumns::createEnumeration ( )
overridevirtual
uno::Reference< word::XColumn > SwVbaColumns::getColumnAtIndex ( sal_Int32  index)
private
Exceptions
css::uno::RuntimeException

Definition at line 72 of file vbacolumns.cxx.

References InheritedHelperInterfaceImpl< Ifc... >::mxContext, and mxTextTable.

Referenced by getWidth(), and setWidth().

sal_Int32 SAL_CALL SwVbaColumns::getCount ( )
override

Definition at line 95 of file vbacolumns.cxx.

References mnEndColumnIndex, and mnStartColumnIndex.

Referenced by Item().

uno::Type SwVbaColumns::getElementType ( )
overridevirtual
OUString SwVbaColumns::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 133 of file vbacolumns.cxx.

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

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 139 of file vbacolumns.cxx.

sal_Int32 SAL_CALL SwVbaColumns::getWidth ( )
overridevirtual

Definition at line 77 of file vbacolumns.cxx.

References getColumnAtIndex(), and mnStartColumnIndex.

uno::Any SAL_CALL SwVbaColumns::Item ( const css::uno::Any &  Index1,
const css::uno::Any &   
)
overridevirtual
void SAL_CALL SwVbaColumns::Select ( )
overridevirtual
void SAL_CALL SwVbaColumns::setWidth ( sal_Int32  _width)
overridevirtual

Definition at line 82 of file vbacolumns.cxx.

References getColumnAtIndex(), index, mnEndColumnIndex, and mnStartColumnIndex.

Member Data Documentation

sal_Int32 SwVbaColumns::mnEndColumnIndex
private

Definition at line 36 of file vbacolumns.hxx.

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

sal_Int32 SwVbaColumns::mnStartColumnIndex
private

Definition at line 35 of file vbacolumns.hxx.

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

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

Definition at line 34 of file vbacolumns.hxx.

Referenced by createEnumeration(), getColumnAtIndex(), Item(), and Select().


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