LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
SwSelPaintRects Class Referenceabstract

#include <viscrs.hxx>

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

Public Member Functions

 SwSelPaintRects (const SwCursorShell &rCSh)
 
virtual ~SwSelPaintRects ()
 
virtual void FillRects ()=0
 
virtual void FillStartEnd (SwRect &rStart, SwRect &rEnd) const =0
 Fill rStart and rEnd with a rectangle that represents the start and end for selection handles. More...
 
void swapContent (SwSelPaintRects &rSwap)
 
void Show (std::vector< OString > *pSelectionRectangles=nullptr)
 
void Hide ()
 
void Invalidate (const SwRect &rRect)
 
void SetShowTextInputFieldOverlay (const bool bShow)
 
const SwCursorShellGetShell () const
 

Static Public Member Functions

static void Get1PixelInLogic (const SwViewShell &rSh, long *pX=nullptr, long *pY=nullptr)
 

Private Member Functions

void HighlightInputField ()
 

Private Attributes

const SwCursorShellm_pCursorShell
 
bool m_bShowTextInputFieldOverlay
 
std::unique_ptr< sw::overlay::OverlayRangesOutlinem_pTextInputFieldOverlay
 

Static Private Attributes

static long s_nPixPtX = 0
 
static long s_nPixPtY = 0
 
static MapModes_pMapMode = nullptr
 

Friends

void InitCore ()
 
void FinitCore ()
 

Detailed Description

Definition at line 69 of file viscrs.hxx.

Constructor & Destructor Documentation

SwSelPaintRects::SwSelPaintRects ( const SwCursorShell rCSh)

Definition at line 246 of file viscrs.cxx.

References if().

SwSelPaintRects::~SwSelPaintRects ( )
virtual

Definition at line 255 of file viscrs.cxx.

References Hide().

Member Function Documentation

virtual void SwSelPaintRects::FillRects ( )
pure virtual

Implemented in SwShellTableCursor, and SwShellCursor.

Referenced by Show().

virtual void SwSelPaintRects::FillStartEnd ( SwRect rStart,
SwRect rEnd 
) const
pure virtual

Fill rStart and rEnd with a rectangle that represents the start and end for selection handles.

Implemented in SwShellTableCursor, and SwShellCursor.

Referenced by Show().

void SwSelPaintRects::Get1PixelInLogic ( const SwViewShell rSh,
long *  pX = nullptr,
long *  pY = nullptr 
)
static
const SwCursorShell* SwSelPaintRects::GetShell ( ) const
inline
void SwSelPaintRects::Hide ( )

Definition at line 272 of file viscrs.cxx.

References m_pTextInputFieldOverlay.

Referenced by ~SwSelPaintRects().

void SwSelPaintRects::HighlightInputField ( )
private
void SwSelPaintRects::Invalidate ( const SwRect rRect)
void SwSelPaintRects::SetShowTextInputFieldOverlay ( const bool  bShow)
inline

Definition at line 104 of file viscrs.hxx.

void SwSelPaintRects::Show ( std::vector< OString > *  pSelectionRectangles = nullptr)
void SwSelPaintRects::swapContent ( SwSelPaintRects rSwap)

Definition at line 260 of file viscrs.cxx.

References m_bShowTextInputFieldOverlay, and m_pTextInputFieldOverlay.

Referenced by SwCursorShell::CreateCursor().

Friends And Related Function Documentation

void FinitCore ( )
friend

Definition at line 672 of file init.cxx.

void InitCore ( )
friend

Definition at line 455 of file init.cxx.

Member Data Documentation

bool SwSelPaintRects::m_bShowTextInputFieldOverlay
private

Definition at line 83 of file viscrs.hxx.

Referenced by HighlightInputField(), and swapContent().

const SwCursorShell* SwSelPaintRects::m_pCursorShell
private

Definition at line 77 of file viscrs.hxx.

Referenced by GetShell(), and Show().

std::unique_ptr<sw::overlay::OverlayRangesOutline> SwSelPaintRects::m_pTextInputFieldOverlay
private

Definition at line 84 of file viscrs.hxx.

Referenced by Hide(), HighlightInputField(), and swapContent().

long SwSelPaintRects::s_nPixPtX = 0
staticprivate

Definition at line 74 of file viscrs.hxx.

Referenced by Get1PixelInLogic(), and Invalidate().

long SwSelPaintRects::s_nPixPtY = 0
staticprivate

Definition at line 74 of file viscrs.hxx.

Referenced by Get1PixelInLogic(), and Invalidate().

MapMode * SwSelPaintRects::s_pMapMode = nullptr
staticprivate

Definition at line 75 of file viscrs.hxx.

Referenced by FinitCore(), Get1PixelInLogic(), and InitCore().


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