LibreOffice Module sw (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXTableRows Class Referencefinal

UNO API wrapper for SwTableLines. More...

#include <unotbl.hxx>

Inheritance diagram for SwXTableRows:
Collaboration diagram for SwXTableRows:


class  Impl

Public Member Functions

 SwXTableRows (SwFrameFormat &rFrameFormat)
virtual sal_Int32 SAL_CALL getCount () override
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
virtual css::uno::Type SAL_CALL getElementType () override
virtual sal_Bool SAL_CALL hasElements () override
virtual void SAL_CALL insertByIndex (sal_Int32 nIndex, sal_Int32 nCount) override
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex, sal_Int32 nCount) 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

SwFrameFormatGetFrameFormat ()
const SwFrameFormatGetFrameFormat () const
virtual ~SwXTableRows () override

Private Attributes

::sw::UnoImplPtr< Implm_pImpl

Detailed Description

UNO API wrapper for SwTableLines.

Definition at line 415 of file unotbl.hxx.

Constructor & Destructor Documentation

◆ ~SwXTableRows()

SwXTableRows::~SwXTableRows ( )

Definition at line 3822 of file unotbl.cxx.

◆ SwXTableRows()

SwXTableRows::SwXTableRows ( SwFrameFormat rFrameFormat)

Definition at line 3818 of file unotbl.cxx.

Member Function Documentation

◆ getByIndex()

uno::Any SwXTableRows::getByIndex ( sal_Int32  nIndex)
See also
SwXCell::CreateXCell (TODO: seems to be copy and paste programming here)

Definition at line 3841 of file unotbl.cxx.

References SwTable::FindTable(), GetFrameFormat(), SwTable::GetTabLines(), o3tl::make_unsigned(), nIndex, and SwTableLines::size().

◆ getCount()

sal_Int32 SwXTableRows::getCount ( )

◆ getElementType()

uno::Type SAL_CALL SwXTableRows::getElementType ( )

Definition at line 3859 of file unotbl.cxx.

References cppu::UnoType< typename T >::get().

◆ GetFrameFormat() [1/2]

SwFrameFormat * SwXTableRows::GetFrameFormat ( )

Definition at line 3825 of file unotbl.cxx.

References m_pImpl.

Referenced by getByIndex(), getCount(), hasElements(), insertByIndex(), and removeByIndex().

◆ GetFrameFormat() [2/2]

const SwFrameFormat * SwXTableRows::GetFrameFormat ( ) const

Definition at line 424 of file unotbl.hxx.

References GetFrameFormat().

Referenced by GetFrameFormat().

◆ getImplementationName()

OUString SwXTableRows::getImplementationName ( )

Definition at line 3808 of file unotbl.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SwXTableRows::getSupportedServiceNames ( )

Definition at line 3814 of file unotbl.cxx.

◆ hasElements()

sal_Bool SwXTableRows::hasElements ( )

Definition at line 3864 of file unotbl.cxx.

References GetFrameFormat().

◆ insertByIndex()

void SwXTableRows::insertByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 

◆ removeByIndex()

void SwXTableRows::removeByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 

◆ supportsService()

sal_Bool SwXTableRows::supportsService ( const OUString &  ServiceName)

Definition at line 3811 of file unotbl.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pImpl

::sw::UnoImplPtr<Impl> SwXTableRows::m_pImpl

Definition at line 422 of file unotbl.hxx.

Referenced by GetFrameFormat().

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