20 #ifndef INCLUDED_SVX_FRMSEL_HXX
21 #define INCLUDED_SVX_FRMSEL_HXX
65 struct FrameSelectorImpl;
66 namespace a11y {
class AccFrameSelectorChild; }
79 class AccFrameSelector;
97 sal_Int32 GetEnabledBorderCount()
const;
104 bool SupportsDontCareState()
const;
117 bool IsAnyBorderVisible()
const;
119 void HideAllBorders();
128 bool GetVisibleColor(
Color& rColor )
const;
142 bool IsAnyBorderSelected()
const;
144 void SelectAllBorders(
bool bSelect );
149 void SelectAllVisibleBorders();
154 void SetColorToSelection(
const Color& rColor );
160 css::uno::Reference<css::accessibility::XAccessible>
getAccessibleParent()
const {
return GetDrawingArea()->get_accessible_parent(); }
161 virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible()
override;
168 css::uno::Reference< css::accessibility::XAccessible >
169 GetChildAccessible( sal_Int32 nIndex );
171 css::uno::Reference< css::accessibility::XAccessible >
172 GetChildAccessible(
const Point& rPos );
183 virtual void StyleUpdated()
override;
184 virtual void Resize()
override;
187 std::unique_ptr< FrameSelectorImpl >
mxImpl;
If set, the top frame border is enabled.
If set, the inner horizontal frame border is enabled.
css::uno::Reference< css::accessibility::XAccessibleRelationSet > a11yrelationset
If set, the right frame border is enabled.
If set, the inner vertical frame border is enabled.
If set, the bottom-left to top-right diagonal frame border is enabled.
Frame border has a visible style.
FrameBorderState
All possible states of a frame border.
Frame border is hidden (off).
If set, the top-left to bottom-right diagonal frame border is enabled.
a11yrelationset get_accessible_relation_set() const
std::unique_ptr< FrameSelectorImpl > mxImpl
Pointer to accessibility object of the control.
If set, the bottom frame border is enabled.
FrameBorderType
Enumerates all borders a frame selection control can contain.
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParent() const
If set, all four outer frame borders are enabled.
If set, the left frame border is enabled.
rtl::Reference< a11y::AccFrameSelector > mxAccess
void DeselectAllBorders()
Deselects all frame borders.