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 289 of file WW8TableInfo.hxx.
|
private |
Definition at line 295 of file WW8TableInfo.hxx.
|
private |
Definition at line 298 of file WW8TableInfo.hxx.
|
private |
Definition at line 292 of file WW8TableInfo.hxx.
typedef std::shared_ptr<WW8TableInfo> ww8::WW8TableInfo::Pointer_t |
Definition at line 336 of file WW8TableInfo.hxx.
ww8::WW8TableInfo::WW8TableInfo | ( | ) |
Definition at line 550 of file WW8TableInfo.cxx.
ww8::WW8TableInfo::~WW8TableInfo | ( | ) |
Definition at line 554 of file WW8TableInfo.cxx.
|
private |
Definition at line 879 of file WW8TableInfo.cxx.
References mCellGridMap.
Referenced by ww8::WW8TableNodeInfoInner::getColumnWidthsBasedOnAllRows(), ww8::WW8TableNodeInfoInner::getRowSpansOfRow(), ww8::WW8TableNodeInfoInner::getTableBoxesOfRow(), ww8::WW8TableNodeInfoInner::getWidthsOfRow(), insertTableNodeInfo(), processSwTable(), and reorderByLayout().
Definition at line 911 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 899 of file WW8TableInfo.cxx.
References mMap.
Referenced by getNextNode(), and insertTableNodeInfo().
|
private |
Definition at line 829 of file WW8TableInfo.cxx.
References getCellGridForTable(), getTableNodeInfo(), SwNode::IsTextNode(), mFirstInTableMap, mMap, and SAL_INFO.
Referenced by processSwTableByLayout(), processTableBox(), and processTableBoxLines().
void ww8::WW8TableInfo::processSwTable | ( | const SwTable * | pTable | ) |
Definition at line 604 of file WW8TableInfo.cxx.
References a, 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 559 of file WW8TableInfo.cxx.
References SwPosition::Adjust(), SwRect::Bottom(), SwNode::GetEndNode(), SwTableCellInfo::getNext(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTableCellInfo::getRect(), SwTableBox::GetSttNd(), SwTableCellInfo::getTableBox(), insertTableNodeInfo(), SwNode::IsEndNode(), SwRect::Left(), reorderByLayout(), SwRect::Right(), SAL_INFO, SwNode::StartOfSectionNode(), and SwRect::Top().
Referenced by processSwTable().
|
private |
Definition at line 732 of file WW8TableInfo.cxx.
References SwPosition::Adjust(), SwTableLines::empty(), SwNode::GetEndNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTableBox::GetSttNd(), SwTableBox::GetTabLines(), insertTableNodeInfo(), SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), n, processTableBoxLines(), processTableLine(), SAL_INFO, ww8::WW8TableNodeInfo::setNext(), SwTableLines::size(), SwNode::StartOfSectionNode(), and ww8::updateFinalEndOfLine().
Referenced by processTableLine().
|
private |
Definition at line 671 of file WW8TableInfo.cxx.
References SwPosition::Adjust(), SwTableLines::empty(), SwNode::EndOfSectionNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTableBox::GetTabLines(), insertTableNodeInfo(), n, processTableBoxLines(), SAL_INFO, and SwTableLines::size().
Referenced by processTableBox(), and processTableBoxLines().
|
private |
Definition at line 647 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 1013 of file WW8TableInfo.cxx.
References getCellGridForTable(), and SAL_INFO.
Referenced by processSwTableByLayout().
|
friend |
Definition at line 291 of file WW8TableInfo.hxx.
|
private |
Definition at line 296 of file WW8TableInfo.hxx.
Referenced by getCellGridForTable().
|
private |
Definition at line 299 of file WW8TableInfo.hxx.
Referenced by insertTableNodeInfo().
|
private |
Definition at line 293 of file WW8TableInfo.hxx.
Referenced by getTableNodeInfo(), and insertTableNodeInfo().