LibreOffice Module sw (master) 1
|
#include <colmgr.hxx>
Public Member Functions | |
SwColMgr (const SfxItemSet &rSet) | |
~SwColMgr () | |
sal_uInt16 | GetCount () const |
void | SetCount (sal_uInt16 nCount, sal_uInt16 nGutterWidth) |
sal_uInt16 | GetGutterWidth (sal_uInt16 nPos=USHRT_MAX) const |
void | SetGutterWidth (sal_uInt16 nWidth, sal_uInt16 nPos=USHRT_MAX) |
sal_uInt16 | GetColWidth (sal_uInt16 nIdx) const |
void | SetColWidth (sal_uInt16 nIdx, sal_uInt16 nWidth) |
bool | IsAutoWidth () const |
void | SetAutoWidth (bool bOn, sal_uInt16 lGutterWidth=0) |
bool | HasLine () const |
void | SetNoLine () |
void | SetLineWidthAndColor (SvxBorderLineStyle eStyle, sal_uLong nWidth, const Color &rCol) |
SvxBorderLineStyle | GetLineStyle () const |
sal_uLong | GetLineWidth () const |
const Color & | GetLineColor () const |
SwColLineAdj | GetAdjust () const |
void | SetAdjust (SwColLineAdj) |
short | GetLineHeightPercent () const |
void | SetLineHeightPercent (short nPercent) |
void | NoCols () |
const SwFormatCol & | GetColumns () const |
void | SetActualWidth (sal_uInt16 nW) |
sal_uInt16 | GetActualSize () const |
Private Attributes | |
SwFormatCol | m_aFormatCol |
sal_uInt16 | m_nWidth |
Definition at line 29 of file colmgr.hxx.
SwColMgr::SwColMgr | ( | const SfxItemSet & | rSet | ) |
Definition at line 137 of file colmgr.cxx.
References FitToActualSize(), Get(), SfxItemSet::Get(), SvxLRSpaceItem::GetLeft(), SvxLRSpaceItem::GetRight(), m_aFormatCol, m_nWidth, MINLAY, RES_FRM_SIZE(), RES_LR_SPACE(), and rSet.
SwColMgr::~SwColMgr | ( | ) |
Definition at line 149 of file colmgr.cxx.
|
inline |
Definition at line 66 of file colmgr.hxx.
Referenced by GetMaxWidth().
|
inline |
Definition at line 92 of file colmgr.hxx.
References SwFormatCol::GetLineAdj(), and m_aFormatCol.
Referenced by SwColExample::DrawPage(), and HasLine().
|
inline |
Definition at line 63 of file colmgr.hxx.
sal_uInt16 SwColMgr::GetColWidth | ( | sal_uInt16 | nIdx | ) | const |
Definition at line 117 of file colmgr.cxx.
References SwFormatCol::CalcPrtColWidth(), GetCount(), m_aFormatCol, and m_nWidth.
Referenced by SwColExample::DrawPage().
|
inline |
Definition at line 73 of file colmgr.hxx.
References SwFormatCol::GetNumCols(), and m_aFormatCol.
Referenced by SwColExample::DrawPage(), GetColWidth(), GetGutterWidth(), SetColWidth(), and SetGutterWidth().
sal_uInt16 SwColMgr::GetGutterWidth | ( | sal_uInt16 | nPos = USHRT_MAX | ) | const |
Definition at line 77 of file colmgr.cxx.
References DEF_GUTTER_WIDTH, SwFormatCol::GetColumns(), GetCount(), SwFormatCol::GetGutterWidth(), m_aFormatCol, and nPos.
Referenced by SwColExample::DrawPage(), and GetMaxWidth().
|
inline |
Definition at line 87 of file colmgr.hxx.
References SwFormatCol::GetLineColor(), and m_aFormatCol.
short SwColMgr::GetLineHeightPercent | ( | ) | const |
Definition at line 106 of file colmgr.cxx.
References SwFormatCol::GetLineHeight(), and m_aFormatCol.
Referenced by SwColExample::DrawPage().
|
inline |
Definition at line 78 of file colmgr.hxx.
References SwFormatCol::GetLineStyle(), and m_aFormatCol.
|
inline |
Definition at line 82 of file colmgr.hxx.
References SwFormatCol::GetLineWidth(), and m_aFormatCol.
|
inline |
Definition at line 114 of file colmgr.hxx.
References COLADJ_NONE, and GetAdjust().
Referenced by SwColExample::DrawPage().
|
inline |
Definition at line 101 of file colmgr.hxx.
References SwFormatCol::IsOrtho(), and m_aFormatCol.
Referenced by SwColExample::DrawPage().
|
inline |
Definition at line 110 of file colmgr.hxx.
References SwFormatCol::GetColumns(), and m_aFormatCol.
void SwColMgr::SetActualWidth | ( | sal_uInt16 | nW | ) |
Definition at line 130 of file colmgr.cxx.
References FitToActualSize(), m_aFormatCol, and m_nWidth.
|
inline |
Definition at line 97 of file colmgr.hxx.
References m_aFormatCol, and SwFormatCol::SetLineAdj().
Referenced by SetNoLine().
|
inline |
Definition at line 105 of file colmgr.hxx.
References m_aFormatCol, m_nWidth, and SwFormatCol::SetOrtho().
void SwColMgr::SetColWidth | ( | sal_uInt16 | nIdx, |
sal_uInt16 | nWidth | ||
) |
Definition at line 123 of file colmgr.cxx.
References SwFormatCol::GetColumns(), GetCount(), and m_aFormatCol.
void SwColMgr::SetCount | ( | sal_uInt16 | nCount, |
sal_uInt16 | nGutterWidth | ||
) |
Definition at line 70 of file colmgr.cxx.
References SwFormatCol::Init(), m_aFormatCol, m_nWidth, nCount, SwFormatCol::SetGutterWidth(), and SwFormatCol::SetWishWidth().
void SwColMgr::SetGutterWidth | ( | sal_uInt16 | nWidth, |
sal_uInt16 | nPos = USHRT_MAX |
||
) |
Definition at line 91 of file colmgr.cxx.
References SwFormatCol::GetColumns(), GetCount(), m_aFormatCol, m_nWidth, nPos, and SwFormatCol::SetGutterWidth().
void SwColMgr::SetLineHeightPercent | ( | short | nPercent | ) |
Definition at line 110 of file colmgr.cxx.
References m_aFormatCol, and SwFormatCol::SetLineHeight().
void SwColMgr::SetLineWidthAndColor | ( | SvxBorderLineStyle | eStyle, |
sal_uLong | nWidth, | ||
const Color & | rCol | ||
) |
Definition at line 151 of file colmgr.cxx.
References m_aFormatCol, SwFormatCol::SetLineColor(), SwFormatCol::SetLineStyle(), and SwFormatCol::SetLineWidth().
|
inline |
Definition at line 119 of file colmgr.hxx.
References COLADJ_NONE, and SetAdjust().
|
private |
Definition at line 69 of file colmgr.hxx.
Referenced by GetAdjust(), GetColWidth(), GetCount(), GetGutterWidth(), GetLineColor(), GetLineHeightPercent(), GetLineStyle(), GetLineWidth(), IsAutoWidth(), NoCols(), SetActualWidth(), SetAdjust(), SetAutoWidth(), SetColWidth(), SetCount(), SetGutterWidth(), SetLineHeightPercent(), SetLineWidthAndColor(), and SwColMgr().
|
private |
Definition at line 70 of file colmgr.hxx.
Referenced by GetColWidth(), SetActualWidth(), SetAutoWidth(), SetCount(), SetGutterWidth(), and SwColMgr().