LibreOffice Module vcl (master)  1
Classes | Namespaces | Enumerations
salnativewidgets.hxx File Reference
#include <vcl/dllapi.h>
#include <tools/gen.hxx>
#include <o3tl/typed_flags_set.hxx>
Include dependency graph for salnativewidgets.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< ControlState >
 
class  ImplControlValue
 
class  ScrollbarValue
 
class  SliderValue
 
class  TabPaneValue
 
struct  o3tl::typed_flags< TabitemFlags >
 
class  TabitemValue
 
class  SpinbuttonValue
 
class  ToolbarValue
 
class  MenubarValue
 
class  MenupopupValue
 
class  PushButtonValue
 

Namespaces

 o3tl
 

Enumerations

enum  ControlType {
  ControlType::Generic = 0,
  ControlType::Pushbutton = 1,
  ControlType::Radiobutton = 2,
  ControlType::Checkbox = 10,
  ControlType::Combobox = 20,
  ControlType::Editbox = 30,
  ControlType::EditboxNoBorder = 31,
  ControlType::MultilineEditbox = 32,
  ControlType::Listbox = 35,
  ControlType::Spinbox = 40,
  ControlType::SpinButtons = 45,
  ControlType::TabItem = 50,
  ControlType::TabPane = 55,
  ControlType::TabHeader = 56,
  ControlType::TabBody = 57,
  ControlType::Scrollbar = 60,
  ControlType::Slider = 65,
  ControlType::Fixedline = 80,
  ControlType::Toolbar = 100,
  ControlType::Menubar = 120,
  ControlType::MenuPopup = 121,
  ControlType::Progress = 131,
  ControlType::IntroProgress = 132,
  ControlType::Tooltip = 140,
  ControlType::WindowBackground = 150,
  ControlType::Frame = 160,
  ControlType::ListNode = 170,
  ControlType::ListNet = 171,
  ControlType::ListHeader = 172,
  ControlType::Generic = 0,
  ControlType::Pushbutton = 1,
  ControlType::Radiobutton = 2,
  ControlType::Checkbox = 10,
  ControlType::Combobox = 20,
  ControlType::Editbox = 30,
  ControlType::EditboxNoBorder = 31,
  ControlType::MultilineEditbox = 32,
  ControlType::Listbox = 35,
  ControlType::Spinbox = 40,
  ControlType::SpinButtons = 45,
  ControlType::TabItem = 50,
  ControlType::TabPane = 55,
  ControlType::TabHeader = 56,
  ControlType::TabBody = 57,
  ControlType::Scrollbar = 60,
  ControlType::Slider = 65,
  ControlType::Fixedline = 80,
  ControlType::Toolbar = 100,
  ControlType::Menubar = 120,
  ControlType::MenuPopup = 121,
  ControlType::Progress = 131,
  ControlType::IntroProgress = 132,
  ControlType::Tooltip = 140,
  ControlType::WindowBackground = 150,
  ControlType::Frame = 160,
  ControlType::ListNode = 170,
  ControlType::ListNet = 171,
  ControlType::ListHeader = 172
}
 
enum  ControlPart {
  ControlPart::NONE = 0,
  ControlPart::Entire = 1,
  ControlPart::ListboxWindow = 5,
  ControlPart::Button = 100,
  ControlPart::ButtonUp = 101,
  ControlPart::ButtonDown = 102,
  ControlPart::ButtonLeft = 103,
  ControlPart::ButtonRight = 104,
  ControlPart::AllButtons = 105,
  ControlPart::SeparatorHorz = 106,
  ControlPart::SeparatorVert = 107,
  ControlPart::TrackHorzLeft = 200,
  ControlPart::TrackVertUpper = 201,
  ControlPart::TrackHorzRight = 202,
  ControlPart::TrackVertLower = 203,
  ControlPart::TrackHorzArea = 204,
  ControlPart::TrackVertArea = 205,
  ControlPart::Arrow = 220,
  ControlPart::ThumbHorz = 210,
  ControlPart::ThumbVert = 211,
  ControlPart::MenuItem = 250,
  ControlPart::MenuItemCheckMark = 251,
  ControlPart::MenuItemRadioMark = 252,
  ControlPart::Separator = 253,
  ControlPart::SubmenuArrow = 254,
  ControlPart::SubEdit = 300,
  ControlPart::DrawBackgroundHorz = 1000,
  ControlPart::DrawBackgroundVert = 1001,
  ControlPart::TabsDrawRtl = 3000,
  ControlPart::HasBackgroundTexture = 4000,
  ControlPart::HasThreeButtons = 5000,
  ControlPart::BackgroundWindow = 6000,
  ControlPart::BackgroundDialog = 6001,
  ControlPart::Border = 7000,
  ControlPart::Focus = 8000,
  ControlPart::NONE = 0,
  ControlPart::Entire = 1,
  ControlPart::ListboxWindow = 5,
  ControlPart::Button = 100,
  ControlPart::ButtonUp = 101,
  ControlPart::ButtonDown = 102,
  ControlPart::ButtonLeft = 103,
  ControlPart::ButtonRight = 104,
  ControlPart::AllButtons = 105,
  ControlPart::SeparatorHorz = 106,
  ControlPart::SeparatorVert = 107,
  ControlPart::TrackHorzLeft = 200,
  ControlPart::TrackVertUpper = 201,
  ControlPart::TrackHorzRight = 202,
  ControlPart::TrackVertLower = 203,
  ControlPart::TrackHorzArea = 204,
  ControlPart::TrackVertArea = 205,
  ControlPart::Arrow = 220,
  ControlPart::ThumbHorz = 210,
  ControlPart::ThumbVert = 211,
  ControlPart::MenuItem = 250,
  ControlPart::MenuItemCheckMark = 251,
  ControlPart::MenuItemRadioMark = 252,
  ControlPart::Separator = 253,
  ControlPart::SubmenuArrow = 254,
  ControlPart::SubEdit = 300,
  ControlPart::DrawBackgroundHorz = 1000,
  ControlPart::DrawBackgroundVert = 1001,
  ControlPart::TabsDrawRtl = 3000,
  ControlPart::TabPaneWithHeader = 3001,
  ControlPart::HasBackgroundTexture = 4000,
  ControlPart::HasThreeButtons = 5000,
  ControlPart::BackgroundWindow = 6000,
  ControlPart::BackgroundDialog = 6001,
  ControlPart::Border = 7000,
  ControlPart::Focus = 8000
}
 
enum  ControlState {
  ControlState::NONE = 0,
  ControlState::ENABLED = 0x0001,
  ControlState::FOCUSED = 0x0002,
  ControlState::PRESSED = 0x0004,
  ControlState::ROLLOVER = 0x0008,
  ControlState::DEFAULT = 0x0020,
  ControlState::SELECTED = 0x0040,
  ControlState::DOUBLEBUFFERING = 0x4000,
  ControlState::CACHING_ALLOWED = 0x8000,
  ControlState::NONE = 0,
  ControlState::ENABLED = 0x0001,
  ControlState::FOCUSED = 0x0002,
  ControlState::PRESSED = 0x0004,
  ControlState::ROLLOVER = 0x0008,
  ControlState::DEFAULT = 0x0020,
  ControlState::SELECTED = 0x0040,
  ControlState::DOUBLEBUFFERING = 0x4000,
  ControlState::CACHING_ALLOWED = 0x8000
}
 
enum  ButtonValue {
  ButtonValue::DontKnow,
  ButtonValue::On,
  ButtonValue::Off,
  ButtonValue::Mixed,
  ButtonValue::DontKnow,
  ButtonValue::On,
  ButtonValue::Off,
  ButtonValue::Mixed
}
 
enum  TabitemFlags {
  TabitemFlags::NONE = 0x00,
  TabitemFlags::LeftAligned = 0x01,
  TabitemFlags::RightAligned = 0x02,
  TabitemFlags::FirstInGroup = 0x04,
  TabitemFlags::LastInGroup = 0x08
}
 

Enumeration Type Documentation

enum ButtonValue
strong
Enumerator
DontKnow 
On 
Off 
Mixed 
DontKnow 
On 
Off 
Mixed 

Definition at line 237 of file salnativewidgets.hxx.

enum ControlPart
strong
Enumerator
NONE 
Entire 
ListboxWindow 
Button 
ButtonUp 
ButtonDown 
ButtonLeft 
ButtonRight 
AllButtons 
SeparatorHorz 
SeparatorVert 
TrackHorzLeft 
TrackVertUpper 
TrackHorzRight 
TrackVertLower 
TrackHorzArea 
TrackVertArea 
Arrow 
ThumbHorz 
ThumbVert 
MenuItem 
MenuItemCheckMark 
MenuItemRadioMark 
Separator 
SubmenuArrow 
SubEdit 

The edit field part of a control, e.g.

of the combo box.

Currently used just for combo boxes and just for GetNativeControlRegion(). It is valid only if GetNativeControlRegion() supports ControlPart::ButtonDown as well.

DrawBackgroundHorz 
DrawBackgroundVert 
TabsDrawRtl 
HasBackgroundTexture 
HasThreeButtons 
BackgroundWindow 
BackgroundDialog 
Border 
Focus 
NONE 
Entire 
ListboxWindow 
Button 
ButtonUp 
ButtonDown 
ButtonLeft 
ButtonRight 
AllButtons 
SeparatorHorz 
SeparatorVert 
TrackHorzLeft 
TrackVertUpper 
TrackHorzRight 
TrackVertLower 
TrackHorzArea 
TrackVertArea 
Arrow 
ThumbHorz 
ThumbVert 
MenuItem 
MenuItemCheckMark 
MenuItemRadioMark 
Separator 
SubmenuArrow 
SubEdit 

The edit field part of a control, e.g.

of the combo box.

Currently used just for combo boxes and just for GetNativeControlRegion(). It is valid only if GetNativeControlRegion() supports ControlPart::ButtonDown as well.

DrawBackgroundHorz 
DrawBackgroundVert 
TabsDrawRtl 
TabPaneWithHeader 
HasBackgroundTexture 
HasThreeButtons 
BackgroundWindow 
BackgroundDialog 
Border 
Focus 

Definition at line 118 of file salnativewidgets.hxx.

enum ControlState
strong
Enumerator
NONE 
ENABLED 
FOCUSED 
PRESSED 
ROLLOVER 
DEFAULT 
SELECTED 
DOUBLEBUFFERING 

Set when the control is painted using double-buffering via VirtualDevice.

CACHING_ALLOWED 

Set when the control is completely visible (i.e. not clipped).

NONE 
ENABLED 
FOCUSED 
PRESSED 
ROLLOVER 
DEFAULT 
SELECTED 
DOUBLEBUFFERING 

Set when the control is painted using double-buffering via VirtualDevice.

CACHING_ALLOWED 

Set when the control is completely visible (i.e. not clipped).

Definition at line 215 of file salnativewidgets.hxx.

enum ControlType
strong
Enumerator
Generic 
Pushbutton 
Radiobutton 
Checkbox 
Combobox 
Editbox 
EditboxNoBorder 
MultilineEditbox 
Listbox 
Spinbox 
SpinButtons 
TabItem 
TabPane 
TabHeader 
TabBody 
Scrollbar 
Slider 
Fixedline 
Toolbar 
Menubar 
MenuPopup 
Progress 
IntroProgress 
Tooltip 
WindowBackground 
Frame 
ListNode 
ListNet 
ListHeader 
Generic 
Pushbutton 
Radiobutton 
Checkbox 
Combobox 
Editbox 
EditboxNoBorder 
MultilineEditbox 
Listbox 
Spinbox 
SpinButtons 
TabItem 
TabPane 
TabHeader 
TabBody 
Scrollbar 
Slider 
Fixedline 
Toolbar 
Menubar 
MenuPopup 
Progress 
IntroProgress 
Tooltip 
WindowBackground 
Frame 
ListNode 
ListNet 
ListHeader 

Definition at line 34 of file salnativewidgets.hxx.

enum TabitemFlags
strong
Enumerator
NONE 
LeftAligned 
RightAligned 
FirstInGroup 
LastInGroup 

Definition at line 375 of file salnativewidgets.hxx.