LibreOffice Module svtools (master) 1
|
Utility class storing the border line width, style and colors. More...
#include <ctrlbox.hxx>
Public Member Functions | |
ImpLineListData (BorderWidthImpl aWidthImpl, SvxBorderLineStyle nStyle, tools::Long nMinWidth, Color(*pColor1Fn)(Color), Color(*pColor2Fn)(Color), Color(*pColorDistFn)(Color, Color)) | |
tools::Long | GetLine1ForWidth (tools::Long nWidth) const |
Returns the computed width of the line 1 in twips. More... | |
tools::Long | GetLine2ForWidth (tools::Long nWidth) const |
Returns the computed width of the line 2 in twips. More... | |
tools::Long | GetDistForWidth (tools::Long nWidth) const |
Returns the computed width of the gap in twips. More... | |
Color | GetColorLine1 (const Color &rMain) const |
Color | GetColorLine2 (const Color &rMain) const |
Color | GetColorDist (const Color &rMain, const Color &rDefault) const |
tools::Long | GetMinWidth () const |
Returns the minimum width in twips. More... | |
SvxBorderLineStyle | GetStyle () const |
Private Attributes | |
BorderWidthImpl const | m_aWidthImpl |
Color(* | m_pColor1Fn )(Color) |
Color(* | m_pColor2Fn )(Color) |
Color(* | m_pColorDistFn )(Color, Color) |
tools::Long | m_nMinWidth |
SvxBorderLineStyle | m_nStyle |
Utility class storing the border line width, style and colors.
The widths are defined in Twips.
Definition at line 42 of file ctrlbox.hxx.
|
inline |
Definition at line 55 of file ctrlbox.hxx.
Definition at line 86 of file ctrlbox.hxx.
References m_pColorDistFn.
Definition at line 76 of file ctrlbox.hxx.
References m_pColor1Fn.
Definition at line 81 of file ctrlbox.hxx.
References m_pColor2Fn.
|
inline |
Returns the computed width of the gap in twips.
Definition at line 74 of file ctrlbox.hxx.
References BorderWidthImpl::GetGap(), and m_aWidthImpl.
|
inline |
Returns the computed width of the line 1 in twips.
Definition at line 68 of file ctrlbox.hxx.
References BorderWidthImpl::GetLine1(), and m_aWidthImpl.
|
inline |
Returns the computed width of the line 2 in twips.
Definition at line 71 of file ctrlbox.hxx.
References BorderWidthImpl::GetLine2(), and m_aWidthImpl.
|
inline |
Returns the minimum width in twips.
Definition at line 92 of file ctrlbox.hxx.
References m_nMinWidth.
|
inline |
Definition at line 93 of file ctrlbox.hxx.
References m_nStyle.
|
private |
Definition at line 45 of file ctrlbox.hxx.
Referenced by GetDistForWidth(), GetLine1ForWidth(), and GetLine2ForWidth().
|
private |
Definition at line 51 of file ctrlbox.hxx.
Referenced by GetMinWidth().
|
private |
Definition at line 52 of file ctrlbox.hxx.
Referenced by GetStyle().
Definition at line 47 of file ctrlbox.hxx.
Referenced by GetColorLine1().
Definition at line 48 of file ctrlbox.hxx.
Referenced by GetColorLine2().
Definition at line 49 of file ctrlbox.hxx.
Referenced by GetColorDist().