LibreOffice Module sw (master)
1
|
#include <WW8TableInfo.hxx>
Public Types | |
typedef std::shared_ptr< WW8TableInfo > | Pointer_t |
Public Member Functions | |
WW8TableInfo () | |
~WW8TableInfo () | |
void | processSwTable (const SwTable *pTable) |
WW8TableNodeInfo * | processSwTableByLayout (const SwTable *pTable, RowEndInners_t &rLastRowEnds) |
WW8TableNodeInfo::Pointer_t | getTableNodeInfo (const SwNode *pNode) |
const SwNode * | getNextNode (const SwNode *pNode) |
WW8TableNodeInfo * | reorderByLayout (const SwTable *pTable, RowEndInners_t &rLastRowEnds) |
Private Types | |
typedef std::unordered_map< const SwNode *, WW8TableNodeInfo::Pointer_t, hashNode > | Map_t |
typedef std::unordered_map< const SwTable *, WW8TableCellGrid::Pointer_t, hashTable > | CellGridMap_t |
typedef std::unordered_map< const SwTable *, const SwNode *, hashTable > | FirstInTableMap_t |
Private Member Functions | |
WW8TableNodeInfo * | processTableLine (const SwTable *pTable, const SwTableLine *pTableLine, sal_uInt32 nRow, sal_uInt32 nDepth, WW8TableNodeInfo *pPrev, RowEndInners_t &rLastRowEnds) |
WW8TableNodeInfo * | processTableBox (const SwTable *pTable, const SwTableBox *pTableBox, sal_uInt32 nRow, sal_uInt32 nCell, sal_uInt32 nDepth, bool bEndOfLine, WW8TableNodeInfo *pPrev, RowEndInners_t &rLastRowEnds) |
WW8TableNodeInfo::Pointer_t | processTableBoxLines (const SwTableBox *pBox, const SwTable *pTable, const SwTableBox *pBoxToSet, sal_uInt32 nRow, sal_uInt32 nCell, sal_uInt32 nDepth) |
WW8TableNodeInfo::Pointer_t | insertTableNodeInfo (const SwNode *pNode, const SwTable *pTable, const SwTableBox *pTableBox, sal_uInt32 nRow, sal_uInt32 nCell, sal_uInt32 nDepth, SwRect const *pRect=nullptr) |
WW8TableCellGrid::Pointer_t | getCellGridForTable (const SwTable *pTable, bool bCreate=true) |
Private Attributes | |
Map_t | mMap |
CellGridMap_t | mCellGridMap |
FirstInTableMap_t | mFirstInTableMap |
Friends | |
class | WW8TableNodeInfoInner |
Definition at line 290 of file WW8TableInfo.hxx.
|
private |
Definition at line 296 of file WW8TableInfo.hxx.
|
private |
Definition at line 299 of file WW8TableInfo.hxx.
|
private |
Definition at line 293 of file WW8TableInfo.hxx.
typedef std::shared_ptr<WW8TableInfo> ww8::WW8TableInfo::Pointer_t |
Definition at line 337 of file WW8TableInfo.hxx.
ww8::WW8TableInfo::WW8TableInfo | ( | ) |
Definition at line 553 of file WW8TableInfo.cxx.
ww8::WW8TableInfo::~WW8TableInfo | ( | ) |
Definition at line 557 of file WW8TableInfo.cxx.
|
private |
Definition at line 883 of file WW8TableInfo.cxx.
Referenced by ww8::WW8TableNodeInfoInner::getColumnWidthsBasedOnAllRows(), ww8::WW8TableNodeInfoInner::getRowSpansOfRow(), ww8::WW8TableNodeInfoInner::getTableBoxesOfRow(), ww8::WW8TableNodeInfoInner::getWidthsOfRow(), processSwTable(), and reorderByLayout().
Definition at line 914 of file WW8TableInfo.cxx.
References ww8::WW8TableNodeInfo::getNext(), ww8::WW8TableNodeInfo::getNode(), and getTableNodeInfo().
WW8TableNodeInfo::Pointer_t ww8::WW8TableInfo::getTableNodeInfo | ( | const SwNode * | pNode | ) |
Definition at line 903 of file WW8TableInfo.cxx.
Referenced by getNextNode().
|
private |
Definition at line 833 of file WW8TableInfo.cxx.
References SwNode::IsTextNode(), and SAL_INFO.
Referenced by processSwTableByLayout(), processTableBox(), and processTableBoxLines().
Definition at line 607 of file WW8TableInfo.cxx.
References a, assert(), SwNode::EndOfSectionNode(), getCellGridForTable(), SwTable::GetTableNode(), SwTable::GetTabLines(), SwTable::HasLayout(), SwTable::IsTableComplex(), n, processSwTableByLayout(), processTableLine(), SAL_INFO, ww8::WW8TableNodeInfo::setNextNode(), SwTableLines::size(), and toString().
WW8TableNodeInfo * ww8::WW8TableInfo::processSwTableByLayout | ( | const SwTable * | pTable, |
RowEndInners_t & | rLastRowEnds | ||
) |
Definition at line 562 of file WW8TableInfo.cxx.
References SwRect::Bottom(), SwNode::GetEndNode(), SwTableCellInfo::getNext(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTableCellInfo::getRect(), SwTableCellInfo::getTableBox(), insertTableNodeInfo(), SwNode::IsEndNode(), SwRect::Left(), SwPosition::nNode, reorderByLayout(), SwRect::Right(), SAL_INFO, SwNode::StartOfSectionNode(), and SwRect::Top().
Referenced by processSwTable().
|
private |
Definition at line 735 of file WW8TableInfo.cxx.
References SwTableLines::empty(), SwNode::GetEndNode(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTableBox::GetSttNd(), SwTableBox::GetTabLines(), insertTableNodeInfo(), SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), n, SwPosition::nNode, processTableBoxLines(), processTableLine(), SAL_INFO, ww8::WW8TableNodeInfo::setNext(), SwTableLines::size(), SwNode::StartOfSectionNode(), and ww8::updateFinalEndOfLine().
Referenced by processTableLine().
|
private |
Definition at line 674 of file WW8TableInfo.cxx.
References SwTableLines::empty(), SwNode::EndOfSectionNode(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTableBox::GetTabLines(), insertTableNodeInfo(), n, SwPosition::nNode, SAL_INFO, and SwTableLines::size().
Referenced by processTableBox().
|
private |
Definition at line 650 of file WW8TableInfo.cxx.
References SwTableLine::GetTabBoxes(), n, processTableBox(), and SAL_INFO.
Referenced by processSwTable(), and processTableBox().
WW8TableNodeInfo * ww8::WW8TableInfo::reorderByLayout | ( | const SwTable * | pTable, |
RowEndInners_t & | rLastRowEnds | ||
) |
Definition at line 1016 of file WW8TableInfo.cxx.
References getCellGridForTable(), and SAL_INFO.
Referenced by processSwTableByLayout().
|
friend |
Definition at line 292 of file WW8TableInfo.hxx.
|
private |
Definition at line 297 of file WW8TableInfo.hxx.
|
private |
Definition at line 300 of file WW8TableInfo.hxx.
|
private |
Definition at line 294 of file WW8TableInfo.hxx.