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

#include <tblrwcl.hxx>

Collaboration diagram for SwShareBoxFormat:
[legend]

Public Member Functions

 SwShareBoxFormat (const SwFrameFormat &rFormat)
 
const SwFrameFormatGetOldFormat () const
 
SwFrameFormatGetFormat (tools::Long nWidth) const
 
SwFrameFormatGetFormat (const SfxPoolItem &rItem) const
 
void AddFormat (SwFrameFormat &rFormat)
 
bool RemoveFormat (const SwFrameFormat &rFormat)
 

Private Attributes

const SwFrameFormatm_pOldFormat
 
std::vector< SwFrameFormat * > m_aNewFormats
 

Detailed Description

Definition at line 152 of file tblrwcl.hxx.

Constructor & Destructor Documentation

◆ SwShareBoxFormat()

SwShareBoxFormat::SwShareBoxFormat ( const SwFrameFormat rFormat)
inline

Definition at line 158 of file tblrwcl.hxx.

Member Function Documentation

◆ AddFormat()

void SwShareBoxFormat::AddFormat ( SwFrameFormat rFormat)

Definition at line 3214 of file tblrwcl.cxx.

References m_aNewFormats.

Referenced by SwShareBoxFormats::AddFormat().

◆ GetFormat() [1/2]

SwFrameFormat * SwShareBoxFormat::GetFormat ( const SfxPoolItem rItem) const

◆ GetFormat() [2/2]

SwFrameFormat * SwShareBoxFormat::GetFormat ( tools::Long  nWidth) const

Definition at line 3184 of file tblrwcl.cxx.

References m_aNewFormats, and n.

◆ GetOldFormat()

const SwFrameFormat & SwShareBoxFormat::GetOldFormat ( ) const
inline

Definition at line 162 of file tblrwcl.hxx.

References m_pOldFormat.

◆ RemoveFormat()

bool SwShareBoxFormat::RemoveFormat ( const SwFrameFormat rFormat)
Returns
true, if we can delete

Definition at line 3219 of file tblrwcl.cxx.

References m_aNewFormats, and m_pOldFormat.

Member Data Documentation

◆ m_aNewFormats

std::vector<SwFrameFormat*> SwShareBoxFormat::m_aNewFormats
private

Definition at line 155 of file tblrwcl.hxx.

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

◆ m_pOldFormat

const SwFrameFormat* SwShareBoxFormat::m_pOldFormat
private

Definition at line 154 of file tblrwcl.hxx.

Referenced by GetFormat(), GetOldFormat(), and RemoveFormat().


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