LibreOffice Module svtools (master) 1
Classes | Namespaces | Enumerations | Variables
ruler.hxx File Reference
#include <memory>
#include <map>
#include <vector>
#include <svtools/svtdllapi.h>
#include <rtl/ref.hxx>
#include <tools/fldunit.hxx>
#include <tools/link.hxx>
#include <tools/fract.hxx>
#include <vcl/window.hxx>
#include <vcl/glyphitem.hxx>
Include dependency graph for ruler.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< RulerMarginStyle >
 
struct  o3tl::typed_flags< RulerBorderStyle >
 
struct  RulerBorder
 
struct  RulerIndent
 
struct  RulerTab
 
struct  RulerLine
 
struct  RulerSelection
 
struct  RulerUnitData
 
struct  RulerTabData
 
class  Ruler
 

Namespaces

namespace  o3tl
 

Enumerations

enum class  RulerType {
  DontKnow ,
  Outside ,
  Margin1 ,
  Margin2 ,
  Border ,
  Indent ,
  Tab
}
 
enum class  RulerExtra {
  DontKnow ,
  NullOffset ,
  Tab
}
 
enum class  RulerDragSize {
  Move ,
  N1 ,
  N2
}
 
enum class  RulerMarginStyle {
  NONE = 0x0000 ,
  Sizeable = 0x0001 ,
  Invisible = 0x0002
}
 
enum class  RulerBorderStyle {
  Sizeable = 0x0001 ,
  Moveable = 0x0002 ,
  Variable = 0x0004 ,
  Invisible = 0x0008
}
 
enum class  RulerIndentStyle {
  Top ,
  Bottom
}
 

Variables

constexpr WinBits WB_EXTRAFIELD = 0x00004000
 
constexpr WinBits WB_RIGHT_ALIGNED = 0x00008000
 
constexpr auto WB_STDRULER = WB_HORZ
 
constexpr sal_uInt16 RULER_STYLE_HIGHLIGHT = 0x8000
 
constexpr sal_uInt16 RULER_STYLE_DONTKNOW = 0x4000
 
constexpr sal_uInt16 RULER_STYLE_INVISIBLE = 0x2000
 
constexpr auto RULER_MOUSE_BORDERMOVE = 5
 
constexpr auto RULER_MOUSE_BORDERWIDTH = 5
 
constexpr auto RULER_MOUSE_MARGINWIDTH = 3
 
constexpr sal_uInt16 RULER_TAB_LEFT = 0x0000
 
constexpr sal_uInt16 RULER_TAB_RIGHT = 0x0001
 
constexpr sal_uInt16 RULER_TAB_CENTER = 0x0002
 
constexpr sal_uInt16 RULER_TAB_DECIMAL = 0x0003
 
constexpr sal_uInt16 RULER_TAB_DEFAULT = 0x0004
 
constexpr sal_uInt16 RULER_TAB_STYLE = 0x000F
 
constexpr sal_uInt16 RULER_TAB_RTL = 0x0010
 

Enumeration Type Documentation

◆ RulerBorderStyle

enum class RulerBorderStyle
strong
Enumerator
Sizeable 
Moveable 
Variable 
Invisible 

Definition at line 498 of file ruler.hxx.

◆ RulerDragSize

enum class RulerDragSize
strong
Enumerator
Move 
N1 
N2 

Definition at line 477 of file ruler.hxx.

◆ RulerExtra

enum class RulerExtra
strong
Enumerator
DontKnow 
NullOffset 
Tab 

Definition at line 471 of file ruler.hxx.

◆ RulerIndentStyle

enum class RulerIndentStyle
strong
Enumerator
Top 
Bottom 

Definition at line 517 of file ruler.hxx.

◆ RulerMarginStyle

enum class RulerMarginStyle
strong
Enumerator
NONE 
Sizeable 
Invisible 

Definition at line 488 of file ruler.hxx.

◆ RulerType

enum class RulerType
strong
Enumerator
DontKnow 
Outside 
Margin1 
Margin2 
Border 
Indent 
Tab 

Definition at line 467 of file ruler.hxx.

Variable Documentation

◆ RULER_MOUSE_BORDERMOVE

constexpr auto RULER_MOUSE_BORDERMOVE = 5
constexpr

Definition at line 483 of file ruler.hxx.

Referenced by Ruler::ImplDoHitTest().

◆ RULER_MOUSE_BORDERWIDTH

constexpr auto RULER_MOUSE_BORDERWIDTH = 5
constexpr

Definition at line 484 of file ruler.hxx.

Referenced by Ruler::ImplDoHitTest().

◆ RULER_MOUSE_MARGINWIDTH

constexpr auto RULER_MOUSE_MARGINWIDTH = 3
constexpr

Definition at line 485 of file ruler.hxx.

Referenced by Ruler::ImplDoHitTest().

◆ RULER_STYLE_DONTKNOW

constexpr sal_uInt16 RULER_STYLE_DONTKNOW = 0x4000
constexpr

Definition at line 474 of file ruler.hxx.

Referenced by Ruler::ImplDrawTab().

◆ RULER_STYLE_HIGHLIGHT

constexpr sal_uInt16 RULER_STYLE_HIGHLIGHT = 0x8000
constexpr

Definition at line 473 of file ruler.hxx.

Referenced by Ruler::ImplDrawExtra().

◆ RULER_STYLE_INVISIBLE

constexpr sal_uInt16 RULER_STYLE_INVISIBLE = 0x2000
constexpr

◆ RULER_TAB_CENTER

constexpr sal_uInt16 RULER_TAB_CENTER = 0x0002
constexpr

Definition at line 531 of file ruler.hxx.

◆ RULER_TAB_DECIMAL

constexpr sal_uInt16 RULER_TAB_DECIMAL = 0x0003
constexpr

Definition at line 532 of file ruler.hxx.

Referenced by ImplDrawRulerTab().

◆ RULER_TAB_DEFAULT

constexpr sal_uInt16 RULER_TAB_DEFAULT = 0x0004
constexpr

Definition at line 533 of file ruler.hxx.

Referenced by Ruler::ImplDoHitTest(), and ImplDrawRulerTab().

◆ RULER_TAB_LEFT

constexpr sal_uInt16 RULER_TAB_LEFT = 0x0000
constexpr

Definition at line 529 of file ruler.hxx.

Referenced by ImplCenterTabPos(), Ruler::ImplDoHitTest(), and ImplDrawRulerTab().

◆ RULER_TAB_RIGHT

constexpr sal_uInt16 RULER_TAB_RIGHT = 0x0001
constexpr

Definition at line 530 of file ruler.hxx.

Referenced by ImplCenterTabPos(), Ruler::ImplDoHitTest(), and ImplDrawRulerTab().

◆ RULER_TAB_RTL

constexpr sal_uInt16 RULER_TAB_RTL = 0x0010
constexpr

◆ RULER_TAB_STYLE

constexpr sal_uInt16 RULER_TAB_STYLE = 0x000F
constexpr

◆ WB_EXTRAFIELD

constexpr WinBits WB_EXTRAFIELD = 0x00004000
constexpr

Definition at line 462 of file ruler.hxx.

Referenced by Ruler::ImplInitExtraField(), Ruler::Paint(), and Ruler::SetExtraType().

◆ WB_RIGHT_ALIGNED

constexpr WinBits WB_RIGHT_ALIGNED = 0x00008000
constexpr

◆ WB_STDRULER

constexpr auto WB_STDRULER = WB_HORZ
constexpr

Definition at line 464 of file ruler.hxx.