LibreOffice Module svtools (master) 1
|
#include <borderline.hxx>
Public Member Functions | |
BorderWidthImpl (BorderWidthImplFlags nFlags=BorderWidthImplFlags::CHANGE_LINE1, double nRate1=0.0, double nRate2=0.0, double nRateGap=0.0) | |
bool | operator== (const BorderWidthImpl &r) const |
tools::Long | GetLine1 (tools::Long nWidth) const |
tools::Long | GetLine2 (tools::Long nWidth) const |
tools::Long | GetGap (tools::Long nWidth) const |
tools::Long | GuessWidth (tools::Long nLine1, tools::Long nLine2, tools::Long nGap) |
bool | IsEmpty () const |
bool | IsDouble () const |
Private Attributes | |
BorderWidthImplFlags | m_nFlags |
double | m_nRate1 |
double | m_nRate2 |
double | m_nRateGap |
Definition at line 54 of file borderline.hxx.
BorderWidthImpl::BorderWidthImpl | ( | BorderWidthImplFlags | nFlags = BorderWidthImplFlags::CHANGE_LINE1 , |
double | nRate1 = 0.0 , |
||
double | nRate2 = 0.0 , |
||
double | nRateGap = 0.0 |
||
) |
Definition at line 69 of file ctrlbox.cxx.
References m_nFlags.
tools::Long BorderWidthImpl::GetGap | ( | tools::Long | nWidth | ) | const |
Definition at line 117 of file ctrlbox.cxx.
References CHANGE_DIST, CHANGE_LINE1, CHANGE_LINE2, m_nFlags, m_nRate1, m_nRate2, m_nRateGap, MINGAPWIDTH, and result.
Referenced by ImpLineListData::GetDistForWidth().
tools::Long BorderWidthImpl::GetLine1 | ( | tools::Long | nWidth | ) | const |
Definition at line 85 of file ctrlbox.cxx.
References CHANGE_DIST, CHANGE_LINE1, CHANGE_LINE2, m_nFlags, m_nRate1, m_nRate2, m_nRateGap, and result.
Referenced by ImpLineListData::GetLine1ForWidth().
tools::Long BorderWidthImpl::GetLine2 | ( | tools::Long | nWidth | ) | const |
Definition at line 103 of file ctrlbox.cxx.
References CHANGE_DIST, CHANGE_LINE1, CHANGE_LINE2, m_nFlags, m_nRate1, m_nRate2, m_nRateGap, and result.
Referenced by ImpLineListData::GetLine2ForWidth().
tools::Long BorderWidthImpl::GuessWidth | ( | tools::Long | nLine1, |
tools::Long | nLine2, | ||
tools::Long | nGap | ||
) |
Definition at line 150 of file ctrlbox.cxx.
References CHANGE_DIST, CHANGE_LINE1, CHANGE_LINE2, lcl_getGuessedWidth(), m_nFlags, m_nRate1, m_nRate2, m_nRateGap, and MINGAPWIDTH.
|
inline |
Definition at line 75 of file borderline.hxx.
|
inline |
Definition at line 74 of file borderline.hxx.
bool BorderWidthImpl::operator== | ( | const BorderWidthImpl & | r | ) | const |
Definition at line 77 of file ctrlbox.cxx.
References m_nFlags, m_nRate1, m_nRate2, and m_nRateGap.
|
private |
Definition at line 56 of file borderline.hxx.
Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().
|
private |
Definition at line 57 of file borderline.hxx.
Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().
|
private |
Definition at line 58 of file borderline.hxx.
Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().
|
private |
Definition at line 59 of file borderline.hxx.
Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().