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

Public Member Functions

 HTMLTableCell ()
 
void Set (std::shared_ptr< HTMLTableCnts > const &rCnts, sal_uInt16 nRSpan, sal_uInt16 nCSpan, sal_Int16 eVertOri, std::shared_ptr< SvxBrushItem > const &rBGBrush, std::shared_ptr< SvxBoxItem > const &rBoxItem, bool bHasNumFormat, sal_uInt32 nNumFormat, bool bHasValue, double nValue, bool bNoWrap, bool bCovered)
 
void SetProtected ()
 
void SetContents (std::shared_ptr< HTMLTableCnts > const &rCnts)
 
const std::shared_ptr< HTMLTableCnts > & GetContents () const
 
void SetRowSpan (sal_uInt16 nRSpan)
 
sal_uInt16 GetRowSpan () const
 
void SetColSpan (sal_uInt16 nCSpan)
 
sal_uInt16 GetColSpan () const
 
void SetWidth (sal_uInt16 nWidth, bool bRelWidth)
 
const std::shared_ptr< SvxBrushItem > & GetBGBrush () const
 
const std::shared_ptr< SvxBoxItem > & GetBoxItem () const
 
bool GetNumFormat (sal_uInt32 &rNumFormat) const
 
bool GetValue (double &rValue) const
 
sal_Int16 GetVertOri () const
 
bool IsUsed () const
 
std::unique_ptr< SwHTMLTableLayoutCellCreateLayoutInfo ()
 
bool IsCovered () const
 

Private Attributes

std::shared_ptr< HTMLTableCntsm_xContents
 
std::shared_ptr< SvxBrushItemm_xBGBrush
 
std::shared_ptr< SvxBoxItemm_xBoxItem
 
double m_nValue
 
sal_uInt32 m_nNumFormat
 
sal_uInt16 m_nRowSpan
 
sal_uInt16 m_nColSpan
 
sal_uInt16 m_nWidth
 
sal_Int16 m_eVertOrient
 
bool m_bProtected: 1
 
bool m_bRelWidth: 1
 
bool m_bHasNumFormat: 1
 
bool m_bHasValue: 1
 
bool m_bNoWrap: 1
 
bool mbCovered: 1
 

Detailed Description

Definition at line 212 of file htmltab.cxx.

Constructor & Destructor Documentation

HTMLTableCell::HTMLTableCell ( )

Definition at line 691 of file htmltab.cxx.

References text().

Member Function Documentation

std::unique_ptr< SwHTMLTableLayoutCell > HTMLTableCell::CreateLayoutInfo ( )

Definition at line 763 of file htmltab.cxx.

References m_bNoWrap, m_bRelWidth, m_nColSpan, m_nRowSpan, m_nWidth, and m_xContents.

Referenced by HTMLTable::CreateLayoutInfo().

const std::shared_ptr<SvxBrushItem>& HTMLTableCell::GetBGBrush ( ) const
inline

Definition at line 258 of file htmltab.cxx.

References m_xBGBrush.

Referenced by HTMLTable::FixFrameFormat(), and HTMLTable::InheritBorders().

const std::shared_ptr<SvxBoxItem>& HTMLTableCell::GetBoxItem ( ) const
inline

Definition at line 259 of file htmltab.cxx.

References m_xBoxItem.

Referenced by HTMLTable::FixFrameFormat().

sal_uInt16 HTMLTableCell::GetColSpan ( ) const
inline

Definition at line 254 of file htmltab.cxx.

References m_nColSpan.

Referenced by HTMLTable::InsertCell(), HTMLTable::MakeTableLine(), and HTMLTableRow::Shrink().

const std::shared_ptr<HTMLTableCnts>& HTMLTableCell::GetContents ( ) const
inline
bool HTMLTableCell::GetNumFormat ( sal_uInt32 &  rNumFormat) const
inline

Definition at line 751 of file htmltab.cxx.

References m_bHasNumFormat, and m_nNumFormat.

Referenced by HTMLTable::FixFrameFormat().

sal_uInt16 HTMLTableCell::GetRowSpan ( ) const
inline
bool HTMLTableCell::GetValue ( double &  rValue) const
inline

Definition at line 757 of file htmltab.cxx.

References m_bHasValue, and m_nValue.

Referenced by HTMLTable::FixFrameFormat().

sal_Int16 HTMLTableCell::GetVertOri ( ) const
inline

Definition at line 264 of file htmltab.cxx.

References m_eVertOrient.

Referenced by HTMLTable::FixFrameFormat().

bool HTMLTableCell::IsCovered ( ) const
inline

Definition at line 271 of file htmltab.cxx.

References mbCovered.

Referenced by HTMLTable::MakeTableLine().

bool HTMLTableCell::IsUsed ( ) const
inline

Definition at line 267 of file htmltab.cxx.

References m_bProtected.

Referenced by HTMLTable::InsertCell().

void HTMLTableCell::Set ( std::shared_ptr< HTMLTableCnts > const &  rCnts,
sal_uInt16  nRSpan,
sal_uInt16  nCSpan,
sal_Int16  eVertOri,
std::shared_ptr< SvxBrushItem > const &  rBGBrush,
std::shared_ptr< SvxBoxItem > const &  rBoxItem,
bool  bHasNumFormat,
sal_uInt32  nNumFormat,
bool  bHasValue,
double  nValue,
bool  bNoWrap,
bool  bCovered 
)
void HTMLTableCell::SetColSpan ( sal_uInt16  nCSpan)
inline

Definition at line 253 of file htmltab.cxx.

Referenced by HTMLTable::CloseRow(), and HTMLTableRow::Shrink().

void HTMLTableCell::SetContents ( std::shared_ptr< HTMLTableCnts > const &  rCnts)
inline

Definition at line 246 of file htmltab.cxx.

Referenced by HTMLTable::MakeTableLine().

void HTMLTableCell::SetProtected ( )

Definition at line 735 of file htmltab.cxx.

References m_bProtected, m_nColSpan, m_nRowSpan, m_xBGBrush, and m_xContents.

Referenced by HTMLTable::ProtectRowSpan().

void HTMLTableCell::SetRowSpan ( sal_uInt16  nRSpan)
inline

Definition at line 250 of file htmltab.cxx.

Referenced by HTMLTable::FixRowSpan().

void HTMLTableCell::SetWidth ( sal_uInt16  nWidth,
bool  bRelWidth 
)
inline

Definition at line 729 of file htmltab.cxx.

References m_bRelWidth, and m_nWidth.

Referenced by HTMLTable::InsertCell().

Member Data Documentation

bool HTMLTableCell::m_bHasNumFormat
private

Definition at line 226 of file htmltab.cxx.

Referenced by GetNumFormat(), and Set().

bool HTMLTableCell::m_bHasValue
private

Definition at line 227 of file htmltab.cxx.

Referenced by GetValue(), and Set().

bool HTMLTableCell::m_bNoWrap
private

Definition at line 228 of file htmltab.cxx.

Referenced by CreateLayoutInfo(), and Set().

bool HTMLTableCell::m_bProtected
private

Definition at line 224 of file htmltab.cxx.

Referenced by IsUsed(), Set(), and SetProtected().

bool HTMLTableCell::m_bRelWidth
private

Definition at line 225 of file htmltab.cxx.

Referenced by CreateLayoutInfo(), and SetWidth().

sal_Int16 HTMLTableCell::m_eVertOrient
private

Definition at line 223 of file htmltab.cxx.

Referenced by GetVertOri(), and Set().

sal_uInt16 HTMLTableCell::m_nColSpan
private

Definition at line 221 of file htmltab.cxx.

Referenced by CreateLayoutInfo(), GetColSpan(), Set(), and SetProtected().

sal_uInt32 HTMLTableCell::m_nNumFormat
private

Definition at line 219 of file htmltab.cxx.

Referenced by GetNumFormat(), and Set().

sal_uInt16 HTMLTableCell::m_nRowSpan
private

Definition at line 220 of file htmltab.cxx.

Referenced by CreateLayoutInfo(), GetRowSpan(), Set(), and SetProtected().

double HTMLTableCell::m_nValue
private

Definition at line 218 of file htmltab.cxx.

Referenced by GetValue(), and Set().

sal_uInt16 HTMLTableCell::m_nWidth
private

Definition at line 222 of file htmltab.cxx.

Referenced by CreateLayoutInfo(), and SetWidth().

std::shared_ptr<SvxBrushItem> HTMLTableCell::m_xBGBrush
private

Definition at line 215 of file htmltab.cxx.

Referenced by GetBGBrush(), Set(), and SetProtected().

std::shared_ptr<SvxBoxItem> HTMLTableCell::m_xBoxItem
private

Definition at line 216 of file htmltab.cxx.

Referenced by GetBoxItem(), and Set().

std::shared_ptr<HTMLTableCnts> HTMLTableCell::m_xContents
private

Definition at line 214 of file htmltab.cxx.

Referenced by CreateLayoutInfo(), GetContents(), Set(), and SetProtected().

bool HTMLTableCell::mbCovered
private

Definition at line 229 of file htmltab.cxx.

Referenced by IsCovered(), and Set().


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