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)
 
 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)
 
SwRectIntersection_ (const SwRect &rRect)
 
bool IsInside (const Point &rPOINT) const
 
bool IsNear (const Point &rPoint, tools::Long nTolerance) const
 
bool IsInside (const SwRect &rRect) const
 
bool IsOver (const SwRect &rRect) const
 
bool HasArea () const
 
bool IsEmpty () const
 
void Clear ()
 
SwRectoperator= (const SwRect &rRect)
 
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 nOfst
 
SwTwips nRightOfst
 

Detailed Description

Definition at line 64 of file porlay.hxx.

Constructor & Destructor Documentation

SwRepaint::SwRepaint ( )
inline

Definition at line 69 of file porlay.hxx.

Member Function Documentation

SwTwips SwRepaint::GetOffset ( ) const
inline
SwTwips SwRepaint::GetRightOfst ( ) const
inline

Definition at line 73 of file porlay.hxx.

References nRightOfst.

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

void SwRepaint::SetOffset ( const SwTwips  nNew)
inline
void SwRepaint::SetRightOfst ( const SwTwips  nNew)
inline

Definition at line 74 of file porlay.hxx.

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

Member Data Documentation

SwTwips SwRepaint::nOfst
private

Definition at line 66 of file porlay.hxx.

Referenced by GetOffset().

SwTwips SwRepaint::nRightOfst
private

Definition at line 67 of file porlay.hxx.

Referenced by GetRightOfst().


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