LibreOffice Module sw (master) 1
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ww8::WW8TableCellGrid Class Reference

#include <WW8TableInfo.hxx>

Public Types

typedef std::shared_ptr< WW8TableCellGridPointer_t
 

Public Member Functions

 WW8TableCellGrid ()
 
 ~WW8TableCellGrid ()
 
void insert (const SwRect &rRect, WW8TableNodeInfo *pNodeInfo, tools::ULong const *pFormatFrameWidth=nullptr)
 
void addShadowCells ()
 
WW8TableNodeInfoconnectCells (RowEndInners_t &rLastRowEnds)
 
std::string toString ()
 
TableBoxVectorPtr getTableBoxesOfRow (WW8TableNodeInfoInner const *pNodeInfo)
 
WidthsPtr getWidthsOfRow (WW8TableNodeInfoInner const *pNodeInfo)
 
RowSpansPtr getRowSpansOfRow (WW8TableNodeInfoInner const *pNodeInfo)
 

Private Types

typedef std::set< tools::LongRowTops_t
 
typedef std::map< tools::Long, WW8TableCellGridRow::Pointer_tRows_t
 

Private Member Functions

WW8TableCellGridRow::Pointer_t getRow (tools::Long nTop, bool bCreate=true)
 
RowTops_t::const_iterator getRowTopsBegin () const
 
RowTops_t::const_iterator getRowTopsEnd () const
 
CellInfoMultiSet::const_iterator getCellsBegin (tools::Long nTop)
 
CellInfoMultiSet::const_iterator getCellsEnd (tools::Long nTop)
 

Private Attributes

RowTops_t m_aRowTops
 
Rows_t m_aRows
 

Detailed Description

Definition at line 255 of file WW8TableInfo.hxx.

Member Typedef Documentation

◆ Pointer_t

Definition at line 270 of file WW8TableInfo.hxx.

◆ Rows_t

Definition at line 258 of file WW8TableInfo.hxx.

◆ RowTops_t

Definition at line 257 of file WW8TableInfo.hxx.

Constructor & Destructor Documentation

◆ WW8TableCellGrid()

ww8::WW8TableCellGrid::WW8TableCellGrid ( )

Definition at line 1025 of file WW8TableInfo.cxx.

◆ ~WW8TableCellGrid()

ww8::WW8TableCellGrid::~WW8TableCellGrid ( )

Definition at line 1029 of file WW8TableInfo.cxx.

Member Function Documentation

◆ addShadowCells()

void ww8::WW8TableCellGrid::addShadowCells ( )

◆ connectCells()

WW8TableNodeInfo * ww8::WW8TableCellGrid::connectCells ( RowEndInners_t rLastRowEnds)

◆ getCellsBegin()

CellInfoMultiSet::const_iterator ww8::WW8TableCellGrid::getCellsBegin ( tools::Long  nTop)
private

Definition at line 1064 of file WW8TableInfo.cxx.

References getRow().

Referenced by addShadowCells(), connectCells(), and toString().

◆ getCellsEnd()

CellInfoMultiSet::const_iterator ww8::WW8TableCellGrid::getCellsEnd ( tools::Long  nTop)
private

Definition at line 1069 of file WW8TableInfo.cxx.

References getRow().

Referenced by addShadowCells(), connectCells(), and toString().

◆ getRow()

WW8TableCellGridRow::Pointer_t ww8::WW8TableCellGrid::getRow ( tools::Long  nTop,
bool  bCreate = true 
)
private

◆ getRowSpansOfRow()

RowSpansPtr ww8::WW8TableCellGrid::getRowSpansOfRow ( WW8TableNodeInfoInner const *  pNodeInfo)

Definition at line 1383 of file WW8TableInfo.cxx.

References ww8::WW8TableNodeInfoInner::getRect(), getRow(), and SwRect::Top().

◆ getRowTopsBegin()

WW8TableCellGrid::RowTops_t::const_iterator ww8::WW8TableCellGrid::getRowTopsBegin ( ) const
private

Definition at line 1054 of file WW8TableInfo.cxx.

References m_aRowTops.

Referenced by addShadowCells(), connectCells(), and toString().

◆ getRowTopsEnd()

WW8TableCellGrid::RowTops_t::const_iterator ww8::WW8TableCellGrid::getRowTopsEnd ( ) const
private

Definition at line 1059 of file WW8TableInfo.cxx.

References m_aRowTops.

Referenced by addShadowCells(), connectCells(), and toString().

◆ getTableBoxesOfRow()

TableBoxVectorPtr ww8::WW8TableCellGrid::getTableBoxesOfRow ( WW8TableNodeInfoInner const *  pNodeInfo)

Definition at line 1352 of file WW8TableInfo.cxx.

References ww8::WW8TableNodeInfoInner::getRect(), getRow(), and SwRect::Top().

◆ getWidthsOfRow()

WidthsPtr ww8::WW8TableCellGrid::getWidthsOfRow ( WW8TableNodeInfoInner const *  pNodeInfo)

Definition at line 1367 of file WW8TableInfo.cxx.

References ww8::WW8TableNodeInfoInner::getRect(), getRow(), and SwRect::Top().

◆ insert()

void ww8::WW8TableCellGrid::insert ( const SwRect rRect,
WW8TableNodeInfo pNodeInfo,
tools::ULong const *  pFormatFrameWidth = nullptr 
)

Definition at line 1074 of file WW8TableInfo.cxx.

References getRow(), ww8::CellInfo::setFormatFrameWidth(), and SwRect::Top().

Referenced by addShadowCells().

◆ toString()

std::string ww8::WW8TableCellGrid::toString ( )

Member Data Documentation

◆ m_aRows

Rows_t ww8::WW8TableCellGrid::m_aRows
private

Definition at line 261 of file WW8TableInfo.hxx.

Referenced by getRow().

◆ m_aRowTops

RowTops_t ww8::WW8TableCellGrid::m_aRowTops
private

Definition at line 260 of file WW8TableInfo.hxx.

Referenced by getRow(), getRowTopsBegin(), and getRowTopsEnd().


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