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 1024 of file WW8TableInfo.cxx.
ww8::WW8TableCellGrid::~WW8TableCellGrid | ( | ) |
Definition at line 1028 of file WW8TableInfo.cxx.
void ww8::WW8TableCellGrid::addShadowCells | ( | ) |
Definition at line 1086 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 1160 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 1063 of file WW8TableInfo.cxx.
References getRow().
Referenced by addShadowCells(), connectCells(), and toString().
|
private |
Definition at line 1068 of file WW8TableInfo.cxx.
References getRow().
Referenced by addShadowCells(), connectCells(), and toString().
|
private |
Definition at line 1032 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 1382 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfoInner::getRect(), and SwRect::Top().
|
private |
Definition at line 1053 of file WW8TableInfo.cxx.
References m_aRowTops.
Referenced by addShadowCells(), connectCells(), and toString().
|
private |
Definition at line 1058 of file WW8TableInfo.cxx.
References m_aRowTops.
Referenced by addShadowCells(), connectCells(), and toString().
TableBoxVectorPtr ww8::WW8TableCellGrid::getTableBoxesOfRow | ( | WW8TableNodeInfoInner const * | pNodeInfo | ) |
Definition at line 1351 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfoInner::getRect(), and SwRect::Top().
WidthsPtr ww8::WW8TableCellGrid::getWidthsOfRow | ( | WW8TableNodeInfoInner const * | pNodeInfo | ) |
Definition at line 1366 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfoInner::getRect(), and SwRect::Top().
void ww8::WW8TableCellGrid::insert | ( | const SwRect & | rRect, |
WW8TableNodeInfo * | pNodeInfo, | ||
tools::ULong const * | pFormatFrameWidth = nullptr |
||
) |
Definition at line 1073 of file WW8TableInfo.cxx.
References getRow(), ww8::CellInfo::setFormatFrameWidth(), and SwRect::Top().
Referenced by addShadowCells().
std::string ww8::WW8TableCellGrid::toString | ( | ) |
Definition at line 1269 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().