LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
SwWriteTableRow Class Referencefinal

#include <wrtswtbl.hxx>

Collaboration diagram for SwWriteTableRow:
[legend]

Public Member Functions

 SwWriteTableRow (tools::Long nPos, bool bUseLayoutHeights)
 
SwWriteTableCellAddCell (const SwTableBox *pBox, sal_uInt16 nRow, sal_uInt16 nCol, sal_uInt16 nRowSpan, sal_uInt16 nColSpan, tools::Long nHeight, const SvxBrushItem *pBackground)
 
void SetBackground (const SvxBrushItem *pBGround)
 
const SvxBrushItemGetBackground () const
 
bool HasTopBorder () const
 
bool HasBottomBorder () const
 
const SwWriteTableCellsGetCells () const
 
bool operator== (const SwWriteTableRow &rRow) const
 
bool operator< (const SwWriteTableRow &rRow2) const
 

Public Attributes

sal_uInt16 m_nTopBorder
 
sal_uInt16 m_nBottomBorder
 
bool m_bTopBorder: 1
 
bool m_bBottomBorder: 1
 

Private Member Functions

SwWriteTableRowoperator= (const SwWriteTableRow &)=delete
 
 SwWriteTableRow (const SwWriteTableRow &)
 

Private Attributes

SwWriteTableCells m_Cells
 all cells of the rows More...
 
const SvxBrushItemm_pBackground
 
tools::Long m_nPos
 
bool mbUseLayoutHeights
 

Detailed Description

Definition at line 97 of file wrtswtbl.hxx.

Constructor & Destructor Documentation

◆ SwWriteTableRow() [1/2]

SwWriteTableRow::SwWriteTableRow ( const SwWriteTableRow )
private

◆ SwWriteTableRow() [2/2]

SwWriteTableRow::SwWriteTableRow ( tools::Long  nPos,
bool  bUseLayoutHeights 
)

Definition at line 55 of file wrtswtbl.cxx.

References m_nPos.

Member Function Documentation

◆ AddCell()

SwWriteTableCell * SwWriteTableRow::AddCell ( const SwTableBox pBox,
sal_uInt16  nRow,
sal_uInt16  nCol,
sal_uInt16  nRowSpan,
sal_uInt16  nColSpan,
tools::Long  nHeight,
const SvxBrushItem pBackground 
)

Definition at line 62 of file wrtswtbl.cxx.

References m_Cells.

Referenced by SwWriteTable::FillTableRowsCols(), and SwWriteTable::SwWriteTable().

◆ GetBackground()

const SvxBrushItem * SwWriteTableRow::GetBackground ( ) const
inline

Definition at line 130 of file wrtswtbl.hxx.

References m_pBackground.

Referenced by SwWriteTable::GetLineBrush().

◆ GetCells()

const SwWriteTableCells & SwWriteTableRow::GetCells ( ) const
inline

◆ HasBottomBorder()

bool SwWriteTableRow::HasBottomBorder ( ) const
inline

Definition at line 133 of file wrtswtbl.hxx.

References m_bBottomBorder.

Referenced by SwWriteTable::GetAbsHeight().

◆ HasTopBorder()

bool SwWriteTableRow::HasTopBorder ( ) const
inline

Definition at line 132 of file wrtswtbl.hxx.

References m_bTopBorder.

Referenced by SwWriteTable::GetAbsHeight().

◆ operator<()

bool SwWriteTableRow::operator< ( const SwWriteTableRow rRow2) const
inline

Definition at line 148 of file wrtswtbl.hxx.

References m_nPos, mbUseLayoutHeights, and ROWFUZZY.

◆ operator=()

SwWriteTableRow & SwWriteTableRow::operator= ( const SwWriteTableRow )
privatedelete

◆ operator==()

bool SwWriteTableRow::operator== ( const SwWriteTableRow rRow) const
inline

Definition at line 141 of file wrtswtbl.hxx.

References m_nPos, mbUseLayoutHeights, and ROWFUZZY.

◆ SetBackground()

void SwWriteTableRow::SetBackground ( const SvxBrushItem pBGround)
inline

Definition at line 126 of file wrtswtbl.hxx.

References m_pBackground.

Referenced by SwWriteTable::FillTableRowsCols(), and SwWriteTable::GetLineBrush().

Member Data Documentation

◆ m_bBottomBorder

bool SwWriteTableRow::m_bBottomBorder

◆ m_bTopBorder

bool SwWriteTableRow::m_bTopBorder

◆ m_Cells

SwWriteTableCells SwWriteTableRow::m_Cells
private

all cells of the rows

Definition at line 99 of file wrtswtbl.hxx.

Referenced by AddCell(), and GetCells().

◆ m_nBottomBorder

sal_uInt16 SwWriteTableRow::m_nBottomBorder

Definition at line 113 of file wrtswtbl.hxx.

Referenced by SwWriteTable::FillTableRowsCols().

◆ m_nPos

tools::Long SwWriteTableRow::m_nPos
private

Definition at line 102 of file wrtswtbl.hxx.

Referenced by operator<(), and operator==().

◆ m_nTopBorder

sal_uInt16 SwWriteTableRow::m_nTopBorder

Definition at line 112 of file wrtswtbl.hxx.

Referenced by SwWriteTable::FillTableRowsCols().

◆ m_pBackground

const SvxBrushItem* SwWriteTableRow::m_pBackground
private

Definition at line 100 of file wrtswtbl.hxx.

Referenced by GetBackground(), and SetBackground().

◆ mbUseLayoutHeights

bool SwWriteTableRow::mbUseLayoutHeights
private

Definition at line 103 of file wrtswtbl.hxx.

Referenced by operator<(), and operator==().


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