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

#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
 

Detailed Description

Definition at line 54 of file borderline.hxx.

Constructor & Destructor Documentation

◆ BorderWidthImpl()

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.

Member Function Documentation

◆ GetGap()

tools::Long BorderWidthImpl::GetGap ( tools::Long  nWidth) const

◆ GetLine1()

tools::Long BorderWidthImpl::GetLine1 ( tools::Long  nWidth) const

◆ GetLine2()

tools::Long BorderWidthImpl::GetLine2 ( tools::Long  nWidth) const

◆ GuessWidth()

tools::Long BorderWidthImpl::GuessWidth ( tools::Long  nLine1,
tools::Long  nLine2,
tools::Long  nGap 
)

◆ IsDouble()

bool BorderWidthImpl::IsDouble ( ) const
inline

Definition at line 75 of file borderline.hxx.

◆ IsEmpty()

bool BorderWidthImpl::IsEmpty ( ) const
inline

Definition at line 74 of file borderline.hxx.

◆ operator==()

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.

Member Data Documentation

◆ m_nFlags

BorderWidthImplFlags BorderWidthImpl::m_nFlags
private

Definition at line 56 of file borderline.hxx.

Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().

◆ m_nRate1

double BorderWidthImpl::m_nRate1
private

Definition at line 57 of file borderline.hxx.

Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().

◆ m_nRate2

double BorderWidthImpl::m_nRate2
private

Definition at line 58 of file borderline.hxx.

Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().

◆ m_nRateGap

double BorderWidthImpl::m_nRateGap
private

Definition at line 59 of file borderline.hxx.

Referenced by GetGap(), GetLine1(), GetLine2(), GuessWidth(), and operator==().


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