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 289 of file WW8TableInfo.hxx.

Member Typedef Documentation

◆ CellGridMap_t

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

Definition at line 295 of file WW8TableInfo.hxx.

◆ FirstInTableMap_t

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

Definition at line 298 of file WW8TableInfo.hxx.

◆ Map_t

typedef std::unordered_map<const SwNode *, WW8TableNodeInfo::Pointer_t, hashNode > ww8::WW8TableInfo::Map_t
private

Definition at line 292 of file WW8TableInfo.hxx.

◆ Pointer_t

typedef std::shared_ptr<WW8TableInfo> ww8::WW8TableInfo::Pointer_t

Definition at line 336 of file WW8TableInfo.hxx.

Constructor & Destructor Documentation

◆ WW8TableInfo()

ww8::WW8TableInfo::WW8TableInfo ( )

Definition at line 550 of file WW8TableInfo.cxx.

◆ ~WW8TableInfo()

ww8::WW8TableInfo::~WW8TableInfo ( )

Definition at line 554 of file WW8TableInfo.cxx.

Member Function Documentation

◆ getCellGridForTable()

WW8TableCellGrid::Pointer_t ww8::WW8TableInfo::getCellGridForTable ( const SwTable pTable,
bool  bCreate = true 
)
private

◆ getNextNode()

const SwNode * ww8::WW8TableInfo::getNextNode ( const SwNode pNode)

◆ 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().

◆ insertTableNodeInfo()

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

◆ processSwTable()

void ww8::WW8TableInfo::processSwTable ( const SwTable pTable)

◆ processSwTableByLayout()

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

◆ processTableBox()

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

◆ processTableBoxLines()

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

◆ processTableLine()

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 647 of file WW8TableInfo.cxx.

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

Referenced by processSwTable(), and processTableBox().

◆ reorderByLayout()

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().

Friends And Related Function Documentation

◆ WW8TableNodeInfoInner

friend class WW8TableNodeInfoInner
friend

Definition at line 291 of file WW8TableInfo.hxx.

Member Data Documentation

◆ mCellGridMap

CellGridMap_t ww8::WW8TableInfo::mCellGridMap
private

Definition at line 296 of file WW8TableInfo.hxx.

Referenced by getCellGridForTable().

◆ mFirstInTableMap

FirstInTableMap_t ww8::WW8TableInfo::mFirstInTableMap
private

Definition at line 299 of file WW8TableInfo.hxx.

Referenced by insertTableNodeInfo().

◆ mMap

Map_t ww8::WW8TableInfo::mMap
private

Definition at line 293 of file WW8TableInfo.hxx.

Referenced by getTableNodeInfo(), and insertTableNodeInfo().


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