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

#include <tblrwcl.hxx>

Public Member Functions

 SwShareBoxFormats ()
 
 ~SwShareBoxFormats ()
 
SwFrameFormatGetFormat (const SwFrameFormat &rFormat, tools::Long nWidth) const
 
SwFrameFormatGetFormat (const SwFrameFormat &rFormat, const SfxPoolItem &) const
 
void AddFormat (const SwFrameFormat &rOld, SwFrameFormat &rNew)
 
void SetSize (SwTableBox &rBox, const SwFormatFrameSize &rSz)
 
void SetAttr (SwTableBox &rBox, const SfxPoolItem &rItem)
 
void SetAttr (SwTableLine &rLine, const SfxPoolItem &rItem)
 
void RemoveFormat (const SwFrameFormat &rFormat)
 

Private Member Functions

bool Seek_Entry (const SwFrameFormat &rFormat, sal_uInt16 *pPos) const
 
void ChangeFrameFormat (SwTableBox *pBox, SwTableLine *pLn, SwFrameFormat &rFormat)
 

Private Attributes

std::vector< SwShareBoxFormatm_ShareArr
 

Detailed Description

Definition at line 171 of file tblrwcl.hxx.

Constructor & Destructor Documentation

◆ SwShareBoxFormats()

SwShareBoxFormats::SwShareBoxFormats ( )
inline

Definition at line 180 of file tblrwcl.hxx.

◆ ~SwShareBoxFormats()

SwShareBoxFormats::~SwShareBoxFormats ( )

Definition at line 3231 of file tblrwcl.cxx.

Member Function Documentation

◆ AddFormat()

void SwShareBoxFormats::AddFormat ( const SwFrameFormat rOld,
SwFrameFormat rNew 
)

Definition at line 3251 of file tblrwcl.cxx.

References SwShareBoxFormat::AddFormat(), m_ShareArr, nPos, and Seek_Entry().

Referenced by lcl_LastBoxSetWidth(), SetAttr(), and SetSize().

◆ ChangeFrameFormat()

void SwShareBoxFormats::ChangeFrameFormat ( SwTableBox pBox,
SwTableLine pLn,
SwFrameFormat rFormat 
)
private

◆ GetFormat() [1/2]

SwFrameFormat * SwShareBoxFormats::GetFormat ( const SwFrameFormat rFormat,
const SfxPoolItem rItem 
) const

Definition at line 3242 of file tblrwcl.cxx.

References m_ShareArr, nPos, and Seek_Entry().

◆ GetFormat() [2/2]

SwFrameFormat * SwShareBoxFormats::GetFormat ( const SwFrameFormat rFormat,
tools::Long  nWidth 
) const

Definition at line 3235 of file tblrwcl.cxx.

References m_ShareArr, nPos, and Seek_Entry().

Referenced by lcl_LastBoxSetWidth(), SetAttr(), and SetSize().

◆ RemoveFormat()

void SwShareBoxFormats::RemoveFormat ( const SwFrameFormat rFormat)

Definition at line 3330 of file tblrwcl.cxx.

References i, m_ShareArr, and RemoveFormat().

Referenced by ChangeFrameFormat(), DeleteBox_(), and RemoveFormat().

◆ Seek_Entry()

bool SwShareBoxFormats::Seek_Entry ( const SwFrameFormat rFormat,
sal_uInt16 *  pPos 
) const
private

Definition at line 3341 of file tblrwcl.cxx.

References m_ShareArr.

Referenced by AddFormat(), and GetFormat().

◆ SetAttr() [1/2]

void SwShareBoxFormats::SetAttr ( SwTableBox rBox,
const SfxPoolItem rItem 
)

◆ SetAttr() [2/2]

void SwShareBoxFormats::SetAttr ( SwTableLine rLine,
const SfxPoolItem rItem 
)

◆ SetSize()

void SwShareBoxFormats::SetSize ( SwTableBox rBox,
const SwFormatFrameSize rSz 
)

Member Data Documentation

◆ m_ShareArr

std::vector<SwShareBoxFormat> SwShareBoxFormats::m_ShareArr
private

Definition at line 173 of file tblrwcl.hxx.

Referenced by AddFormat(), GetFormat(), RemoveFormat(), and Seek_Entry().


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