LibreOffice Module writerfilter (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
writerfilter::dmapper::CellData Class Referencefinal

Class containing the data to describe a table cell. More...

#include <TableData.hxx>

Inheritance diagram for writerfilter::dmapper::CellData:
[legend]
Collaboration diagram for writerfilter::dmapper::CellData:
[legend]

Public Types

typedef tools::SvRef< CellDataPointer_t
 

Public Member Functions

 CellData (css::uno::Reference< css::text::XTextRange > const &start, TablePropertyMapPtr pProps)
 
void setEnd (css::uno::Reference< css::text::XTextRange > const &end)
 Set the end handle of a cell. More...
 
void insertProperties (TablePropertyMapPtr pProps)
 Adds properties to the cell. More...
 
const css::uno::Reference< css::text::XTextRange > & getStart () const
 Return start handle of the cell. More...
 
const css::uno::Reference< css::text::XTextRange > & getEnd () const
 Return end handle of the cell. More...
 
const TablePropertyMapPtrgetProperties () const
 Return properties of the cell. More...
 
bool isOpen () const
 
sal_uInt32 getGridSpan () const
 
void setGridSpan (sal_uInt32 nSpan)
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

css::uno::Reference< css::text::XTextRange > mStart
 Handle to start of cell. More...
 
css::uno::Reference< css::text::XTextRange > mEnd
 Handle to end of cell. More...
 
TablePropertyMapPtr mpProps
 Pointer to properties of cell. More...
 
bool mbOpen
 
sal_uInt32 m_nGridSpan
 number of grid columns in the parent table's table grid which this cell defines More...
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Class containing the data to describe a table cell.

Definition at line 35 of file TableData.hxx.

Member Typedef Documentation

◆ Pointer_t

Definition at line 57 of file TableData.hxx.

Constructor & Destructor Documentation

◆ CellData()

writerfilter::dmapper::CellData::CellData ( css::uno::Reference< css::text::XTextRange > const &  start,
TablePropertyMapPtr  pProps 
)
inline

Definition at line 59 of file TableData.hxx.

References start.

Member Function Documentation

◆ getEnd()

const css::uno::Reference< css::text::XTextRange > & writerfilter::dmapper::CellData::getEnd ( ) const
inline

Return end handle of the cell.

Definition at line 93 of file TableData.hxx.

References mEnd.

◆ getGridSpan()

sal_uInt32 writerfilter::dmapper::CellData::getGridSpan ( ) const
inline

Definition at line 102 of file TableData.hxx.

References m_nGridSpan.

◆ getProperties()

const TablePropertyMapPtr & writerfilter::dmapper::CellData::getProperties ( ) const
inline

Return properties of the cell.

Definition at line 98 of file TableData.hxx.

References mpProps.

◆ getStart()

const css::uno::Reference< css::text::XTextRange > & writerfilter::dmapper::CellData::getStart ( ) const
inline

Return start handle of the cell.

Definition at line 88 of file TableData.hxx.

References mStart.

◆ insertProperties()

void writerfilter::dmapper::CellData::insertProperties ( TablePropertyMapPtr  pProps)
inline

Adds properties to the cell.

Parameters
pPropsthe properties to add

Definition at line 77 of file TableData.hxx.

References tools::SvRef< typename T >::get(), and mpProps.

◆ isOpen()

bool writerfilter::dmapper::CellData::isOpen ( ) const
inline

Definition at line 100 of file TableData.hxx.

References mbOpen.

◆ setEnd()

void writerfilter::dmapper::CellData::setEnd ( css::uno::Reference< css::text::XTextRange > const &  end)
inline

Set the end handle of a cell.

Parameters
endthe end handle of the cell

Definition at line 70 of file TableData.hxx.

References end, mbOpen, and mEnd.

◆ setGridSpan()

void writerfilter::dmapper::CellData::setGridSpan ( sal_uInt32  nSpan)
inline

Definition at line 103 of file TableData.hxx.

References m_nGridSpan.

Member Data Documentation

◆ m_nGridSpan

sal_uInt32 writerfilter::dmapper::CellData::m_nGridSpan
private

number of grid columns in the parent table's table grid which this cell defines

Definition at line 54 of file TableData.hxx.

Referenced by getGridSpan(), and setGridSpan().

◆ mbOpen

bool writerfilter::dmapper::CellData::mbOpen
private

Definition at line 52 of file TableData.hxx.

Referenced by isOpen(), and setEnd().

◆ mEnd

css::uno::Reference<css::text::XTextRange> writerfilter::dmapper::CellData::mEnd
private

Handle to end of cell.

Definition at line 45 of file TableData.hxx.

Referenced by getEnd(), and setEnd().

◆ mpProps

TablePropertyMapPtr writerfilter::dmapper::CellData::mpProps
private

Pointer to properties of cell.

Definition at line 50 of file TableData.hxx.

Referenced by getProperties(), and insertProperties().

◆ mStart

css::uno::Reference<css::text::XTextRange> writerfilter::dmapper::CellData::mStart
private

Handle to start of cell.

Definition at line 40 of file TableData.hxx.

Referenced by getStart().


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