LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sdr::properties::CellTextProvider Class Referencefinal

#include <cellproperties.hxx>

Inheritance diagram for sdr::properties::CellTextProvider:
[legend]
Collaboration diagram for sdr::properties::CellTextProvider:
[legend]

Public Member Functions

 CellTextProvider (sdr::table::CellRef xCell)
 
virtual ~CellTextProvider ()
 
virtual sal_Int32 getTextCount () const =0
 Return the number of texts available for this object. More...
 
virtual SdrTextgetText (sal_Int32 nIndex) const =0
 Return the nth available text. More...
 

Private Member Functions

virtual sal_Int32 getTextCount () const override
 Return the number of texts available for this object. More...
 
virtual SdrTextgetText (sal_Int32 nIndex) const override
 Return the nth available text. More...
 

Private Attributes

const sdr::table::CellRef m_xCell
 

Additional Inherited Members

- Protected Member Functions inherited from svx::ITextProvider
 ~ITextProvider ()
 

Detailed Description

Definition at line 33 of file cellproperties.hxx.

Constructor & Destructor Documentation

◆ CellTextProvider()

sdr::properties::CellTextProvider::CellTextProvider ( sdr::table::CellRef  xCell)
explicit

Definition at line 115 of file cell.cxx.

◆ ~CellTextProvider()

sdr::properties::CellTextProvider::~CellTextProvider ( )
virtual

Definition at line 120 of file cell.cxx.

Member Function Documentation

◆ getText()

SdrText * sdr::properties::CellTextProvider::getText ( sal_Int32  nIndex) const
overrideprivatevirtual

Return the nth available text.

Implements svx::ITextProvider.

Definition at line 129 of file cell.cxx.

References m_xCell, and nIndex.

◆ getTextCount()

sal_Int32 sdr::properties::CellTextProvider::getTextCount ( ) const
overrideprivatevirtual

Return the number of texts available for this object.

Implements svx::ITextProvider.

Definition at line 124 of file cell.cxx.

Member Data Documentation

◆ m_xCell

const sdr::table::CellRef sdr::properties::CellTextProvider::m_xCell
private

Definition at line 44 of file cellproperties.hxx.

Referenced by getText().


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