LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwExtraPainter Class Reference
Collaboration diagram for SwExtraPainter:
[legend]

Public Member Functions

 SwExtraPainter (const SwTextFrame *pFrame, SwViewShell *pVwSh, const SwLineNumberInfo &rLnInf, const SwRect &rRct, sal_Int16 eHor, bool bLnNm)
 
SwFontGetFont () const
 
void IncLineNr ()
 
bool HasNumber () const
 
bool HasDivider () const
 
void PaintExtra (SwTwips nY, long nAsc, long nMax, bool bRed)
 
void PaintRedline (SwTwips nY, long nMax)
 

Private Member Functions

bool IsClipChg () const
 
 SwExtraPainter (const SwExtraPainter &)=delete
 
SwExtraPainteroperator= (const SwExtraPainter &)=delete
 

Private Attributes

SwSaveClip m_aClip
 
SwRect m_aRect
 
const SwTextFramem_pTextFrame
 
SwViewShellm_pSh
 
std::unique_ptr< SwFontm_pFnt
 
const SwLineNumberInfom_rLineInf
 
SwTwips m_nX
 
SwTwips m_nRedX
 
sal_uLong m_nLineNr
 
sal_uInt16 m_nDivider
 
bool m_bGoLeft
 

Detailed Description

Definition at line 62 of file frmpaint.cxx.

Constructor & Destructor Documentation

SwExtraPainter::SwExtraPainter ( const SwExtraPainter )
privatedelete
SwExtraPainter::SwExtraPainter ( const SwTextFrame pFrame,
SwViewShell pVwSh,
const SwLineNumberInfo rLnInf,
const SwRect rRct,
sal_Int16  eHor,
bool  bLnNm 
)

Member Function Documentation

SwFont* SwExtraPainter::GetFont ( ) const
inline

Definition at line 84 of file frmpaint.cxx.

Referenced by PaintExtra().

bool SwExtraPainter::HasDivider ( ) const
inline

Definition at line 87 of file frmpaint.cxx.

References SwLineNumberInfo::GetDividerCountBy().

bool SwExtraPainter::HasNumber ( ) const
inline

Definition at line 86 of file frmpaint.cxx.

References SwLineNumberInfo::GetCountBy().

Referenced by PaintExtra().

void SwExtraPainter::IncLineNr ( )
inline

Definition at line 85 of file frmpaint.cxx.

References m_nLineNr.

bool SwExtraPainter::IsClipChg ( ) const
inlineprivate

Definition at line 75 of file frmpaint.cxx.

References SwSaveClip::IsChg().

Referenced by PaintExtra(), and PaintRedline().

SwExtraPainter& SwExtraPainter::operator= ( const SwExtraPainter )
privatedelete
void SwExtraPainter::PaintExtra ( SwTwips  nY,
long  nAsc,
long  nMax,
bool  bRed 
)
void SwExtraPainter::PaintRedline ( SwTwips  nY,
long  nMax 
)

Member Data Documentation

SwSaveClip SwExtraPainter::m_aClip
private

Definition at line 64 of file frmpaint.cxx.

Referenced by PaintExtra(), and PaintRedline().

SwRect SwExtraPainter::m_aRect
private

Definition at line 65 of file frmpaint.cxx.

Referenced by PaintExtra(), PaintRedline(), and SwExtraPainter().

bool SwExtraPainter::m_bGoLeft
private

Definition at line 74 of file frmpaint.cxx.

Referenced by PaintExtra(), and SwExtraPainter().

sal_uInt16 SwExtraPainter::m_nDivider
private

Definition at line 73 of file frmpaint.cxx.

Referenced by SwExtraPainter().

sal_uLong SwExtraPainter::m_nLineNr
private

Definition at line 72 of file frmpaint.cxx.

Referenced by IncLineNr(), PaintExtra(), and SwExtraPainter().

SwTwips SwExtraPainter::m_nRedX
private

Definition at line 71 of file frmpaint.cxx.

Referenced by PaintExtra(), PaintRedline(), and SwExtraPainter().

SwTwips SwExtraPainter::m_nX
private

Definition at line 70 of file frmpaint.cxx.

Referenced by PaintExtra(), and SwExtraPainter().

std::unique_ptr<SwFont> SwExtraPainter::m_pFnt
private

Definition at line 68 of file frmpaint.cxx.

Referenced by PaintExtra(), and SwExtraPainter().

SwViewShell* SwExtraPainter::m_pSh
private

Definition at line 67 of file frmpaint.cxx.

Referenced by PaintExtra(), PaintRedline(), and SwExtraPainter().

const SwTextFrame* SwExtraPainter::m_pTextFrame
private

Definition at line 66 of file frmpaint.cxx.

Referenced by PaintExtra(), and PaintRedline().

const SwLineNumberInfo& SwExtraPainter::m_rLineInf
private

Definition at line 69 of file frmpaint.cxx.

Referenced by PaintExtra(), and SwExtraPainter().


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