LibreOffice Module reportdesign (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
rptui::RectangleLess Struct Reference

#include <ViewsWindow.hxx>

Public Types

enum  CompareMode {
  POS_LEFT ,
  POS_RIGHT ,
  POS_UPPER ,
  POS_DOWN ,
  POS_CENTER_HORIZONTAL ,
  POS_CENTER_VERTICAL
}
 

Public Member Functions

 RectangleLess (CompareMode _eCompareMode, const Point &_rRefPoint)
 
bool operator() (const tools::Rectangle &lhs, const tools::Rectangle &rhs) const
 

Public Attributes

CompareMode m_eCompareMode
 
Point m_aRefPoint
 

Detailed Description

Definition at line 42 of file ViewsWindow.hxx.

Member Enumeration Documentation

◆ CompareMode

Enumerator
POS_LEFT 
POS_RIGHT 
POS_UPPER 
POS_DOWN 
POS_CENTER_HORIZONTAL 
POS_CENTER_VERTICAL 

Definition at line 44 of file ViewsWindow.hxx.

Constructor & Destructor Documentation

◆ RectangleLess()

rptui::RectangleLess::RectangleLess ( CompareMode  _eCompareMode,
const Point &  _rRefPoint 
)
inline

Definition at line 47 of file ViewsWindow.hxx.

Member Function Documentation

◆ operator()()

bool rptui::RectangleLess::operator() ( const tools::Rectangle lhs,
const tools::Rectangle rhs 
) const
inline

Member Data Documentation

◆ m_aRefPoint

Point rptui::RectangleLess::m_aRefPoint

Definition at line 46 of file ViewsWindow.hxx.

Referenced by operator()().

◆ m_eCompareMode

CompareMode rptui::RectangleLess::m_eCompareMode

Definition at line 45 of file ViewsWindow.hxx.

Referenced by operator()().


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