LibreOffice Module svx (master) 1
|
#include <frmselimpl.hxx>
Static Public Member Functions | |
static double | GetDefaultPatternScale () |
Private Attributes | |
const FrameBorderType | meType |
FrameBorderState | meState |
Frame border type (position in control). More... | |
editeng::SvxBorderLine | maCoreStyle |
Frame border state (on/off/don't care). More... | |
frame::Style | maUIStyle |
Core style from application. More... | |
FrameBorderType | meKeyLeft |
Internal style to draw lines. More... | |
FrameBorderType | meKeyRight |
Left neighbor for keyboard control. More... | |
FrameBorderType | meKeyTop |
Right neighbor for keyboard control. More... | |
FrameBorderType | meKeyBottom |
Upper neighbor for keyboard control. More... | |
tools::PolyPolygon | maFocusArea |
Lower neighbor for keyboard control. More... | |
tools::PolyPolygon | maClickArea |
Focus drawing areas. More... | |
bool | mbEnabled: 1 |
Mouse click areas. More... | |
bool | mbSelected: 1 |
true = Border enabled in control. More... | |
Definition at line 37 of file frmselimpl.hxx.
|
explicit |
Definition at line 117 of file frmsel.cxx.
void svx::FrameBorder::AddClickRect | ( | const tools::Rectangle & | rRect | ) |
Definition at line 177 of file frmsel.cxx.
References maClickArea.
Referenced by svx::FrameSelectorImpl::InitBorderGeometry().
void svx::FrameBorder::AddFocusPolygon | ( | const tools::Polygon & | rFocus | ) |
Definition at line 167 of file frmsel.cxx.
References maFocusArea.
Referenced by svx::FrameSelectorImpl::InitBorderGeometry().
|
inline |
Definition at line 74 of file frmselimpl.hxx.
References tools::PolyPolygon::Clear(), and maClickArea.
|
inline |
Definition at line 70 of file frmselimpl.hxx.
References tools::PolyPolygon::Clear(), and maFocusArea.
Referenced by svx::FrameSelectorImpl::InitBorderGeometry().
bool svx::FrameBorder::ContainsClickPoint | ( | const Point & | rPos | ) | const |
Definition at line 182 of file frmsel.cxx.
References vcl::Region::Contains(), and maClickArea.
void svx::FrameBorder::Enable | ( | FrameSelFlags | nFlags | ) |
Definition at line 129 of file frmsel.cxx.
References svx::Hide, mbEnabled, meType, and SetState().
tools::Rectangle svx::FrameBorder::GetClickBoundRect | ( | ) | const |
Definition at line 187 of file frmsel.cxx.
References tools::PolyPolygon::GetBoundRect(), and maClickArea.
Referenced by svx::FrameSelector::GetClickBoundRect().
|
inline |
Definition at line 63 of file frmselimpl.hxx.
References maCoreStyle.
|
inlinestatic |
Definition at line 41 of file frmselimpl.hxx.
Referenced by SetCoreStyle(), and SetState().
FrameBorderType svx::FrameBorder::GetKeyboardNeighbor | ( | sal_uInt16 | nKeyCode | ) | const |
Definition at line 201 of file frmsel.cxx.
References KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_UP, meKeyBottom, meKeyLeft, meKeyRight, meKeyTop, svx::NONE, and SAL_WARN.
|
inline |
Definition at line 54 of file frmselimpl.hxx.
References meState.
Referenced by svx::FrameBorderVisible_Pred::operator()(), and svx::FrameSelectorImpl::ToggleBorderState().
|
inline |
Definition at line 43 of file frmselimpl.hxx.
References meType.
Referenced by svx::FrameSelectorImpl::DrawArrows(), and svx::FrameSelectorImpl::SetBorderState().
|
inline |
Definition at line 68 of file frmselimpl.hxx.
References maUIStyle.
Referenced by svx::FrameSelectorImpl::DrawAllFrameBorders().
|
inline |
Definition at line 48 of file frmselimpl.hxx.
References mbEnabled.
Referenced by svx::FrameSelectorImpl::DrawArrows(), svx::FrameSelector::GetClickBoundRect(), svx::FrameSelectorImpl::Initialize(), svx::FrameSelectorImpl::SelectBorder(), svx::FrameSelectorImpl::SetBorderCoreStyle(), and svx::FrameSelectorImpl::SetBorderState().
|
inline |
Definition at line 60 of file frmselimpl.hxx.
References mbSelected.
Referenced by svx::FrameSelectorImpl::DrawArrows(), and svx::FrameBorderSelected_Pred::operator()().
void svx::FrameBorder::MergeFocusToPolyPolygon | ( | tools::PolyPolygon & | rPPoly | ) | const |
Definition at line 172 of file frmsel.cxx.
References maFocusArea.
|
inline |
Definition at line 61 of file frmselimpl.hxx.
References mbSelected.
Referenced by svx::FrameSelectorImpl::SelectBorder().
void svx::FrameBorder::SetCoreStyle | ( | const editeng::SvxBorderLine * | pStyle | ) |
Definition at line 136 of file frmsel.cxx.
References GetDefaultPatternScale(), svx::Hide, svx::frame::Style::IsUsed(), maCoreStyle, maUIStyle, meState, svx::frame::Style::Set(), and svx::Show.
Referenced by svx::FrameSelectorImpl::SetBorderCoreStyle().
void svx::FrameBorder::SetKeyboardNeighbors | ( | FrameBorderType | eLeft, |
FrameBorderType | eRight, | ||
FrameBorderType | eTop, | ||
FrameBorderType | eBottom | ||
) |
Definition at line 192 of file frmsel.cxx.
References meKeyBottom, meKeyLeft, meKeyRight, and meKeyTop.
Referenced by svx::FrameSelectorImpl::FrameSelectorImpl().
void svx::FrameBorder::SetState | ( | FrameBorderState | eState | ) |
Definition at line 148 of file frmsel.cxx.
References svx::frame::Style::Clear(), svx::DontCare, GetDefaultPatternScale(), svx::Hide, maCoreStyle, maUIStyle, meState, SAL_WARN, and svx::Show.
Referenced by Enable(), and svx::FrameSelectorImpl::SetBorderState().
|
inline |
Definition at line 66 of file frmselimpl.hxx.
References maUIStyle, and svx::frame::Style::SetColorPrim().
|
inline |
Definition at line 67 of file frmselimpl.hxx.
References maUIStyle, and svx::frame::Style::SetColorSecn().
|
private |
Focus drawing areas.
Definition at line 93 of file frmselimpl.hxx.
Referenced by AddClickRect(), ClearClickArea(), ContainsClickPoint(), and GetClickBoundRect().
|
private |
Frame border state (on/off/don't care).
Definition at line 86 of file frmselimpl.hxx.
Referenced by GetCoreStyle(), SetCoreStyle(), and SetState().
|
private |
Lower neighbor for keyboard control.
Definition at line 92 of file frmselimpl.hxx.
Referenced by AddFocusPolygon(), ClearFocusArea(), and MergeFocusToPolyPolygon().
|
private |
Core style from application.
Definition at line 87 of file frmselimpl.hxx.
Referenced by GetUIStyle(), SetCoreStyle(), SetState(), SetUIColorPrim(), and SetUIColorSecn().
|
private |
Mouse click areas.
Definition at line 94 of file frmselimpl.hxx.
Referenced by Enable(), and IsEnabled().
|
private |
true = Border enabled in control.
Definition at line 95 of file frmselimpl.hxx.
Referenced by IsSelected(), and Select().
|
private |
Upper neighbor for keyboard control.
Definition at line 91 of file frmselimpl.hxx.
Referenced by GetKeyboardNeighbor(), and SetKeyboardNeighbors().
|
private |
Internal style to draw lines.
Definition at line 88 of file frmselimpl.hxx.
Referenced by GetKeyboardNeighbor(), and SetKeyboardNeighbors().
|
private |
Left neighbor for keyboard control.
Definition at line 89 of file frmselimpl.hxx.
Referenced by GetKeyboardNeighbor(), and SetKeyboardNeighbors().
|
private |
Right neighbor for keyboard control.
Definition at line 90 of file frmselimpl.hxx.
Referenced by GetKeyboardNeighbor(), and SetKeyboardNeighbors().
|
private |
Frame border type (position in control).
Definition at line 85 of file frmselimpl.hxx.
Referenced by GetState(), SetCoreStyle(), and SetState().
|
private |
Definition at line 84 of file frmselimpl.hxx.