LibreOffice Module sw (master)  1
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
ww8::WW8TableInfo Class Referencefinal

#include <WW8TableInfo.hxx>

Public Types

typedef std::shared_ptr< WW8TableInfoPointer_t
 

Public Member Functions

 WW8TableInfo ()
 
 ~WW8TableInfo ()
 
void processSwTable (const SwTable *pTable)
 
WW8TableNodeInfoprocessSwTableByLayout (const SwTable *pTable, RowEndInners_t &rLastRowEnds)
 
WW8TableNodeInfo::Pointer_t getTableNodeInfo (const SwNode *pNode)
 
const SwNodegetNextNode (const SwNode *pNode)
 
WW8TableNodeInforeorderByLayout (const SwTable *pTable, RowEndInners_t &rLastRowEnds)
 

Private Types

typedef std::unordered_map< const SwNode *, WW8TableNodeInfo::Pointer_t, hashNodeMap_t
 
typedef std::unordered_map< const SwTable *, WW8TableCellGrid::Pointer_t, hashTableCellGridMap_t
 
typedef std::unordered_map< const SwTable *, const SwNode *, hashTableFirstInTableMap_t
 

Private Member Functions

WW8TableNodeInfoprocessTableLine (const SwTable *pTable, const SwTableLine *pTableLine, sal_uInt32 nRow, sal_uInt32 nDepth, WW8TableNodeInfo *pPrev, RowEndInners_t &rLastRowEnds)
 
WW8TableNodeInfoprocessTableBox (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
 

Detailed Description

Definition at line 290 of file WW8TableInfo.hxx.

Member Typedef Documentation

typedef std::unordered_map<const SwTable *, WW8TableCellGrid::Pointer_t, hashTable > ww8::WW8TableInfo::CellGridMap_t
private

Definition at line 296 of file WW8TableInfo.hxx.

typedef std::unordered_map<const SwTable *, const SwNode *, hashTable > ww8::WW8TableInfo::FirstInTableMap_t
private

Definition at line 299 of file WW8TableInfo.hxx.

typedef std::unordered_map<const SwNode *, WW8TableNodeInfo::Pointer_t, hashNode > ww8::WW8TableInfo::Map_t
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.

Constructor & Destructor Documentation

ww8::WW8TableInfo::WW8TableInfo ( )

Definition at line 554 of file WW8TableInfo.cxx.

ww8::WW8TableInfo::~WW8TableInfo ( )

Definition at line 558 of file WW8TableInfo.cxx.

Member Function Documentation

WW8TableCellGrid::Pointer_t ww8::WW8TableInfo::getCellGridForTable ( const SwTable pTable,
bool  bCreate = true 
)
private
const SwNode * ww8::WW8TableInfo::getNextNode ( const SwNode pNode)
WW8TableNodeInfo::Pointer_t ww8::WW8TableInfo::getTableNodeInfo ( const SwNode pNode)

Definition at line 906 of file WW8TableInfo.cxx.

Referenced by getNextNode().

WW8TableNodeInfo::Pointer_t ww8::WW8TableInfo::insertTableNodeInfo ( const SwNode pNode,
const SwTable pTable,
const SwTableBox pTableBox,
sal_uInt32  nRow,
sal_uInt32  nCell,
sal_uInt32  nDepth,
SwRect const *  pRect = nullptr 
)
private

Definition at line 836 of file WW8TableInfo.cxx.

References SwNode::IsTextNode(), and SAL_INFO.

Referenced by processSwTableByLayout(), processTableBox(), and processTableBoxLines().

void ww8::WW8TableInfo::processSwTable ( const SwTable pTable)
WW8TableNodeInfo * ww8::WW8TableInfo::processSwTableByLayout ( const SwTable pTable,
RowEndInners_t rLastRowEnds 
)
WW8TableNodeInfo * ww8::WW8TableInfo::processTableBox ( const SwTable pTable,
const SwTableBox pTableBox,
sal_uInt32  nRow,
sal_uInt32  nCell,
sal_uInt32  nDepth,
bool  bEndOfLine,
WW8TableNodeInfo pPrev,
RowEndInners_t rLastRowEnds 
)
private
WW8TableNodeInfo::Pointer_t ww8::WW8TableInfo::processTableBoxLines ( const SwTableBox pBox,
const SwTable pTable,
const SwTableBox pBoxToSet,
sal_uInt32  nRow,
sal_uInt32  nCell,
sal_uInt32  nDepth 
)
private
WW8TableNodeInfo * ww8::WW8TableInfo::processTableLine ( const SwTable pTable,
const SwTableLine pTableLine,
sal_uInt32  nRow,
sal_uInt32  nDepth,
WW8TableNodeInfo pPrev,
RowEndInners_t rLastRowEnds 
)
private

Definition at line 651 of file WW8TableInfo.cxx.

References SwTableLine::GetTabBoxes(), processTableBox(), and SAL_INFO.

Referenced by processSwTable(), and processTableBox().

WW8TableNodeInfo * ww8::WW8TableInfo::reorderByLayout ( const SwTable pTable,
RowEndInners_t rLastRowEnds 
)

Definition at line 1019 of file WW8TableInfo.cxx.

References getCellGridForTable(), and SAL_INFO.

Referenced by processSwTableByLayout().

Friends And Related Function Documentation

friend class WW8TableNodeInfoInner
friend

Definition at line 292 of file WW8TableInfo.hxx.

Member Data Documentation

CellGridMap_t ww8::WW8TableInfo::mCellGridMap
private

Definition at line 297 of file WW8TableInfo.hxx.

FirstInTableMap_t ww8::WW8TableInfo::mFirstInTableMap
private

Definition at line 300 of file WW8TableInfo.hxx.

Map_t ww8::WW8TableInfo::mMap
private

Definition at line 294 of file WW8TableInfo.hxx.


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