LibreOffice Module sw (master) 1
|
#include <tblrwcl.hxx>
Public Member Functions | |
SwShareBoxFormats () | |
~SwShareBoxFormats () | |
SwFrameFormat * | GetFormat (const SwFrameFormat &rFormat, tools::Long nWidth) const |
SwFrameFormat * | GetFormat (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< SwShareBoxFormat > | m_ShareArr |
Definition at line 171 of file tblrwcl.hxx.
|
inline |
Definition at line 180 of file tblrwcl.hxx.
SwShareBoxFormats::~SwShareBoxFormats | ( | ) |
Definition at line 3231 of file tblrwcl.cxx.
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().
|
private |
Definition at line 3264 of file tblrwcl.cxx.
References SwTableBox::ChgFrameFormat(), SwTableLine::ChgFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), and RemoveFormat().
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().
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().
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().
|
private |
Definition at line 3341 of file tblrwcl.cxx.
References m_ShareArr.
Referenced by AddFormat(), and GetFormat().
void SwShareBoxFormats::SetAttr | ( | SwTableBox & | rBox, |
const SfxPoolItem & | rItem | ||
) |
Definition at line 3302 of file tblrwcl.cxx.
References AddFormat(), ChangeFrameFormat(), SwTableBox::ClaimFrameFormat(), GetFormat(), SwTableBox::GetFrameFormat(), and SwFormat::SetFormatAttr().
Referenced by DeleteBox_(), lcl_GCBorder_DelBorder(), lcl_SaveUpperLowerBorder(), and sw_GC_Line_Border().
void SwShareBoxFormats::SetAttr | ( | SwTableLine & | rLine, |
const SfxPoolItem & | rItem | ||
) |
Definition at line 3316 of file tblrwcl.cxx.
References AddFormat(), ChangeFrameFormat(), SwTableLine::ClaimFrameFormat(), GetFormat(), SwTableLine::GetFrameFormat(), and SwFormat::SetFormatAttr().
void SwShareBoxFormats::SetSize | ( | SwTableBox & | rBox, |
const SwFormatFrameSize & | rSz | ||
) |
Definition at line 3288 of file tblrwcl.cxx.
References AddFormat(), ChangeFrameFormat(), SwTableBox::ClaimFrameFormat(), GetFormat(), SwTableBox::GetFrameFormat(), SvxSizeItem::GetWidth(), and SwFormat::SetFormatAttr().
Referenced by DeleteBox_(), lcl_AdjustBox(), lcl_AdjustWidthsInLine(), and lcl_ProcessBoxSet().
|
private |
Definition at line 173 of file tblrwcl.hxx.
Referenced by AddFormat(), GetFormat(), RemoveFormat(), and Seek_Entry().