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, unsigned long 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< long > RowTops_t
 
typedef std::map< long, WW8TableCellGridRow::Pointer_tRows_t
 

Private Member Functions

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

Private Attributes

RowTops_t m_aRowTops
 
Rows_t m_aRows
 

Detailed Description

Definition at line 256 of file WW8TableInfo.hxx.

Member Typedef Documentation

Definition at line 271 of file WW8TableInfo.hxx.

Definition at line 259 of file WW8TableInfo.hxx.

Definition at line 258 of file WW8TableInfo.hxx.

Constructor & Destructor Documentation

ww8::WW8TableCellGrid::WW8TableCellGrid ( )

Definition at line 1032 of file WW8TableInfo.cxx.

ww8::WW8TableCellGrid::~WW8TableCellGrid ( )

Definition at line 1036 of file WW8TableInfo.cxx.

Member Function Documentation

void ww8::WW8TableCellGrid::addShadowCells ( )
WW8TableNodeInfo * ww8::WW8TableCellGrid::connectCells ( RowEndInners_t rLastRowEnds)
CellInfoMultiSet::const_iterator ww8::WW8TableCellGrid::getCellsBegin ( long  nTop)
private

Definition at line 1071 of file WW8TableInfo.cxx.

References getRow().

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

CellInfoMultiSet::const_iterator ww8::WW8TableCellGrid::getCellsEnd ( long  nTop)
private

Definition at line 1076 of file WW8TableInfo.cxx.

References getRow().

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

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

Definition at line 1040 of file WW8TableInfo.cxx.

References m_aRows, and m_aRowTops.

Referenced by addShadowCells(), connectCells(), getCellsBegin(), getCellsEnd(), insert(), and toString().

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

Definition at line 1390 of file WW8TableInfo.cxx.

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

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

Definition at line 1061 of file WW8TableInfo.cxx.

References m_aRowTops.

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

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

Definition at line 1066 of file WW8TableInfo.cxx.

References m_aRowTops.

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

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

Definition at line 1359 of file WW8TableInfo.cxx.

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

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

Definition at line 1374 of file WW8TableInfo.cxx.

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

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

Definition at line 1081 of file WW8TableInfo.cxx.

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

Referenced by addShadowCells().

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

Member Data Documentation

Rows_t ww8::WW8TableCellGrid::m_aRows
private

Definition at line 262 of file WW8TableInfo.hxx.

Referenced by getRow().

RowTops_t ww8::WW8TableCellGrid::m_aRowTops
private

Definition at line 261 of file WW8TableInfo.hxx.

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


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