LibreOffice Module sw (master) 1
|
#include <WW8TableInfo.hxx>
Public Types | |
typedef std::shared_ptr< WW8TableCellGrid > | Pointer_t |
Public Member Functions | |
WW8TableCellGrid () | |
~WW8TableCellGrid () | |
void | insert (const SwRect &rRect, WW8TableNodeInfo *pNodeInfo, tools::ULong const *pFormatFrameWidth=nullptr) |
void | addShadowCells () |
WW8TableNodeInfo * | connectCells (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::Long > | RowTops_t |
typedef std::map< tools::Long, WW8TableCellGridRow::Pointer_t > | Rows_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 |
Definition at line 255 of file WW8TableInfo.hxx.
typedef std::shared_ptr<WW8TableCellGrid> ww8::WW8TableCellGrid::Pointer_t |
Definition at line 270 of file WW8TableInfo.hxx.
|
private |
Definition at line 258 of file WW8TableInfo.hxx.
|
private |
Definition at line 257 of file WW8TableInfo.hxx.
ww8::WW8TableCellGrid::WW8TableCellGrid | ( | ) |
Definition at line 1025 of file WW8TableInfo.cxx.
ww8::WW8TableCellGrid::~WW8TableCellGrid | ( | ) |
Definition at line 1029 of file WW8TableInfo.cxx.
void ww8::WW8TableCellGrid::addShadowCells | ( | ) |
Definition at line 1087 of file WW8TableInfo.cxx.
References bottom, getCellsBegin(), getCellsEnd(), getRow(), getRowTopsBegin(), getRowTopsEnd(), insert(), SwRect::Left(), SAL_INFO, ww8::WW8TableNodeInfo::setVertMerge(), and SwRect::Top().
WW8TableNodeInfo * ww8::WW8TableCellGrid::connectCells | ( | RowEndInners_t & | rLastRowEnds | ) |
Definition at line 1161 of file WW8TableInfo.cxx.
References getCellsBegin(), getCellsEnd(), ww8::WW8TableNodeInfo::getNode(), getRow(), getRowTopsBegin(), getRowTopsEnd(), ww8::WW8TableNodeInfo::getTableBox(), SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), ww8::WW8TableNodeInfo::setCell(), ww8::WW8TableNodeInfo::setEndOfCell(), ww8::WW8TableNodeInfo::setEndOfLine(), ww8::WW8TableNodeInfo::setNext(), ww8::WW8TableNodeInfo::setNextNode(), ww8::WW8TableNodeInfo::setRow(), ww8::WW8TableNodeInfo::setShadowsAfter(), ww8::WW8TableNodeInfo::setShadowsBefore(), and ww8::updateFinalEndOfLine().
|
private |
Definition at line 1064 of file WW8TableInfo.cxx.
References getRow().
Referenced by addShadowCells(), connectCells(), and toString().
|
private |
Definition at line 1069 of file WW8TableInfo.cxx.
References getRow().
Referenced by addShadowCells(), connectCells(), and toString().
|
private |
Definition at line 1033 of file WW8TableInfo.cxx.
References m_aRows, and m_aRowTops.
Referenced by addShadowCells(), connectCells(), getCellsBegin(), getCellsEnd(), getRowSpansOfRow(), getTableBoxesOfRow(), getWidthsOfRow(), insert(), and toString().
RowSpansPtr ww8::WW8TableCellGrid::getRowSpansOfRow | ( | WW8TableNodeInfoInner const * | pNodeInfo | ) |
Definition at line 1383 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfoInner::getRect(), getRow(), and SwRect::Top().
|
private |
Definition at line 1054 of file WW8TableInfo.cxx.
References m_aRowTops.
Referenced by addShadowCells(), connectCells(), and toString().
|
private |
Definition at line 1059 of file WW8TableInfo.cxx.
References m_aRowTops.
Referenced by addShadowCells(), connectCells(), and toString().
TableBoxVectorPtr ww8::WW8TableCellGrid::getTableBoxesOfRow | ( | WW8TableNodeInfoInner const * | pNodeInfo | ) |
Definition at line 1352 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfoInner::getRect(), getRow(), and SwRect::Top().
WidthsPtr ww8::WW8TableCellGrid::getWidthsOfRow | ( | WW8TableNodeInfoInner const * | pNodeInfo | ) |
Definition at line 1367 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfoInner::getRect(), getRow(), and SwRect::Top().
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().
std::string ww8::WW8TableCellGrid::toString | ( | ) |
Definition at line 1270 of file WW8TableInfo.cxx.
References getCellsBegin(), getCellsEnd(), getRow(), getRowTopsBegin(), getRowTopsEnd(), and ww8::WW8TableNodeInfo::toString().
|
private |
Definition at line 261 of file WW8TableInfo.hxx.
Referenced by getRow().
|
private |
Definition at line 260 of file WW8TableInfo.hxx.
Referenced by getRow(), getRowTopsBegin(), and getRowTopsEnd().