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

#include <porlay.hxx>

Inheritance diagram for SwRepaint:
[legend]
Collaboration diagram for SwRepaint:
[legend]

Public Member Functions

 SwRepaint ()
 
SwTwips GetOffset () const
 
void SetOffset (const SwTwips nNew)
 
SwTwips GetRightOfst () const
 
void SetRightOfst (const SwTwips nNew)
 
- Public Member Functions inherited from SwRect
 SwRect ()
 
 SwRect (const SwRect &rRect)=default
 
 SwRect (const Point &rLT, const Size &rSize)
 
 SwRect (const Point &rLT, const Point &rRB)
 
 SwRect (tools::Long X, tools::Long Y, tools::Long Width, tools::Long Height)
 
 SwRect (const tools::Rectangle &rRect)
 
void Chg (const Point &rNP, const Size &rNS)
 
void Pos (const Point &rNew)
 
void Pos (const tools::Long nNewX, const tools::Long nNewY)
 
void SSize (const Size &rNew)
 
void SSize (const tools::Long nHeight, const tools::Long nWidth)
 
void Width (tools::Long nNew)
 
void Height (tools::Long nNew)
 
void Left (const tools::Long nLeft)
 
void Right (const tools::Long nRight)
 
void Top (const tools::Long nTop)
 
void Bottom (const tools::Long nBottom)
 
const PointPos () const
 
const SizeSSize () const
 
tools::Long Width () const
 
tools::Long Height () const
 
tools::Long Left () const
 
tools::Long Right () const
 
tools::Long Top () const
 
tools::Long Bottom () const
 
PointPos ()
 
Point Center () const
 
void Justify ()
 
SwRectUnion (const SwRect &rRect)
 
SwRectIntersection (const SwRect &rRect)
 
SwRect GetUnion (const SwRect &rRect) const
 
SwRect GetIntersection (const SwRect &rRect) const
 
SwRectIntersection_ (const SwRect &rRect)
 
bool Contains (const Point &rPOINT) const
 
bool Contains (const SwRect &rRect) const
 
bool Overlaps (const SwRect &rRect) const
 
bool IsNear (const Point &rPoint, tools::Long nTolerance) const
 
bool HasArea () const
 
bool IsEmpty () const
 
void Clear ()
 
SwRectoperator= (const SwRect &rRect)=default
 
bool operator== (const SwRect &rRect) const
 
bool operator!= (const SwRect &rRect) const
 
SwRectoperator+= (const Point &rPt)
 
SwRectoperator-= (const Point &rPt)
 
tools::Rectangle SVRect () const
 
void dumpAsXmlAttributes (xmlTextWriterPtr writer) const
 
void Top_ (const tools::Long nTop)
 
void Bottom_ (const tools::Long nBottom)
 
void Left_ (const tools::Long nLeft)
 
void Right_ (const tools::Long nRight)
 
void Width_ (const tools::Long nNew)
 
void Height_ (const tools::Long nNew)
 
tools::Long Top_ () const
 
tools::Long Bottom_ () const
 
tools::Long Left_ () const
 
tools::Long Right_ () const
 
tools::Long Width_ () const
 
tools::Long Height_ () const
 
void SubTop (const tools::Long nSub)
 
void AddTop (const tools::Long nAdd)
 
void AddBottom (const tools::Long nAdd)
 
void AddLeft (const tools::Long nAdd)
 
void SubLeft (const tools::Long nSub)
 
void AddRight (const tools::Long nAdd)
 
void AddWidth (const tools::Long nAdd)
 
void AddHeight (const tools::Long nAdd)
 
void SetPosX (const tools::Long nNew)
 
void SetPosY (const tools::Long nNew)
 
void SetLeftAndWidth (tools::Long nLeft, tools::Long nNew)
 
void SetTopAndHeight (tools::Long nTop, tools::Long nNew)
 
void SetRightAndWidth (tools::Long nRight, tools::Long nNew)
 
void SetBottomAndHeight (tools::Long nBottom, tools::Long nNew)
 
void SetUpperLeftCorner (const Point &rNew)
 
void SetUpperRightCorner (const Point &rNew)
 
void SetLowerLeftCorner (const Point &rNew)
 
Size Size_ () const
 
Point TopLeft () const
 
Point TopRight () const
 
Point BottomLeft () const
 
Point BottomRight () const
 
Size SwappedSize () const
 
tools::Long GetLeftDistance (tools::Long) const
 
tools::Long GetBottomDistance (tools::Long) const
 
tools::Long GetRightDistance (tools::Long) const
 
tools::Long GetTopDistance (tools::Long) const
 
bool OverStepLeft (tools::Long) const
 
bool OverStepBottom (tools::Long) const
 
bool OverStepTop (tools::Long) const
 
bool OverStepRight (tools::Long) const
 

Private Attributes

SwTwips m_nOffset
 
SwTwips m_nRightOffset
 

Detailed Description

Definition at line 63 of file porlay.hxx.

Constructor & Destructor Documentation

◆ SwRepaint()

SwRepaint::SwRepaint ( )
inline

Definition at line 68 of file porlay.hxx.

Member Function Documentation

◆ GetOffset()

SwTwips SwRepaint::GetOffset ( ) const
inline

◆ GetRightOfst()

SwTwips SwRepaint::GetRightOfst ( ) const
inline

Definition at line 72 of file porlay.hxx.

References m_nRightOffset.

Referenced by SwTextFrame::FormatLine(), and SwTextFrame::GetPaintSwRect().

◆ SetOffset()

void SwRepaint::SetOffset ( const SwTwips  nNew)
inline

◆ SetRightOfst()

void SwRepaint::SetRightOfst ( const SwTwips  nNew)
inline

Definition at line 73 of file porlay.hxx.

References m_nRightOffset.

Referenced by SwTextFrame::Format_(), and SwTextFrame::FormatLine().

Member Data Documentation

◆ m_nOffset

SwTwips SwRepaint::m_nOffset
private

Definition at line 65 of file porlay.hxx.

Referenced by GetOffset(), and SetOffset().

◆ m_nRightOffset

SwTwips SwRepaint::m_nRightOffset
private

Definition at line 66 of file porlay.hxx.

Referenced by GetRightOfst(), and SetRightOfst().


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