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

Public Member Functions

 SwTabFramePainter (const SwTabFrame &rTabFrame)
 
void PaintLines (OutputDevice &rDev, const SwRect &rRect) const
 

Private Member Functions

void Insert (SwLineEntry &, bool bHori)
 
void Insert (const SwFrame &rFrame, const SvxBoxItem &rBoxItem, const SwRect &rPaintArea)
 
void HandleFrame (const SwLayoutFrame &rFrame, const SwRect &rPaintArea)
 
void FindStylesForLine (const Point &, const Point &, svx::frame::Style *, bool bHori) const
 Finds the lines that join the line defined by (StartPoint, EndPoint) in either StartPoint or Endpoint. More...
 

Private Attributes

SwLineEntryMap maVertLines
 
SwLineEntryMap maHoriLines
 
const SwTabFramemrTabFrame
 

Detailed Description

Definition at line 2306 of file paintfrm.cxx.

Constructor & Destructor Documentation

SwTabFramePainter::SwTabFramePainter ( const SwTabFrame rTabFrame)
explicit

Definition at line 2326 of file paintfrm.cxx.

References SwFrame::GetPaintArea(), SwFrame::GetUpper(), and HandleFrame().

Member Function Documentation

void SwTabFramePainter::FindStylesForLine ( const Point rStartPoint,
const Point rEndPoint,
svx::frame::Style pStyles,
bool  bHori 
) const
private

Finds the lines that join the line defined by (StartPoint, EndPoint) in either StartPoint or Endpoint.

The styles of these lines are required for DR's magic line painting functions

Definition at line 2598 of file paintfrm.cxx.

References if(), maHoriLines, maVertLines, Point::X(), and Point::Y().

Referenced by PaintLines().

void SwTabFramePainter::HandleFrame ( const SwLayoutFrame rFrame,
const SwRect rPaintArea 
)
private
void SwTabFramePainter::Insert ( SwLineEntry rNew,
bool  bHori 
)
private
void SwTabFramePainter::Insert ( const SwFrame rFrame,
const SvxBoxItem rBoxItem,
const SwRect rPaintArea 
)
private
void SwTabFramePainter::PaintLines ( OutputDevice rDev,
const SwRect rRect 
) const

Member Data Documentation

SwLineEntryMap SwTabFramePainter::maHoriLines
private

Definition at line 2309 of file paintfrm.cxx.

Referenced by FindStylesForLine(), Insert(), and PaintLines().

SwLineEntryMap SwTabFramePainter::maVertLines
private

Definition at line 2308 of file paintfrm.cxx.

Referenced by FindStylesForLine(), Insert(), and PaintLines().

const SwTabFrame& SwTabFramePainter::mrTabFrame
private

Definition at line 2310 of file paintfrm.cxx.

Referenced by Insert(), and PaintLines().


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