22#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23#error "don't use this in new code"
49 static std::u16string_view GetToken( std::u16string_view sStr, sal_Int32 &nIndex );
51 virtual void SetTabs()
override;
54 OUString GetTabEntryText( sal_uInt32 nPos, sal_uInt16 nCol )
const;
61 virtual void dispose()
override;
67 bool bChildrenOnDemand =
false,
68 sal_uInt32 nPos=TREELIST_APPEND,
void* pUserData =
nullptr )
override;
71 sal_uInt32 nPos, sal_uInt16 nCol,
void* pUserData =
nullptr );
75 OUString
GetEntryText( sal_uInt32 nPos, sal_uInt16 nCol = 0xffff )
const;
77 OUString GetCellText( sal_uInt32 nPos, sal_uInt16 nCol )
const;
81 void SetTabEditable( sal_uInt16 nTab,
bool bEditable );
90 struct SvHeaderTabListBoxImpl;
96 typedef ::std::vector< css::uno::Reference< css::accessibility::XAccessible > >
AccessibleChildren;
99 std::unique_ptr<::vcl::SvHeaderTabListBoxImpl>
m_pImpl;
106 void RecalculateAccessibleChildren();
111 virtual void dispose()
override;
115 void InitHeaderBar(
HeaderBar* pHeaderBar);
120 sal_uInt32 nPos, sal_uInt16 nCol,
void* pUserData =
nullptr )
override;
122 virtual sal_uInt32
Insert(
SvTreeListEntry* pEntry, sal_uInt32 nRootPos = TREELIST_APPEND )
override;
126 bool IsCellCheckBox( sal_Int32 _nRow, sal_uInt16 _nColumn,
TriState& _rState )
const;
129 virtual sal_Int32 GetRowCount()
const override;
131 virtual sal_uInt16 GetColumnCount()
const override;
134 virtual sal_Int32 GetCurrRow()
const override;
140 virtual OUString GetRowDescription( sal_Int32 _nRow )
const override;
143 virtual OUString GetColumnDescription( sal_uInt16 _nColumn )
const override;
146 virtual bool HasRowHeader()
const override;
148 virtual bool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn )
override;
150 virtual void SetNoSelection()
override;
153 virtual void SelectRow( sal_Int32 _nRow,
bool _bSelect =
true,
bool bExpand =
true )
override;
154 virtual void SelectColumn( sal_uInt16 _nColumn,
bool _bSelect =
true )
override;
155 virtual sal_Int32 GetSelectedRowCount()
const override;
156 virtual sal_Int32 GetSelectedColumnCount()
const override;
158 virtual bool IsRowSelected( sal_Int32 _nRow )
const override;
159 virtual bool IsColumnSelected( sal_Int32 _nColumn )
const override;
160 virtual void GetAllSelectedRows( css::uno::Sequence< sal_Int32 >& _rRows )
const override;
161 virtual void GetAllSelectedColumns( css::uno::Sequence< sal_Int32 >& _rColumns )
const override;
164 virtual bool IsCellVisible( sal_Int32 _nRow, sal_uInt16 _nColumn )
const override;
165 virtual OUString GetAccessibleCellText( sal_Int32 _nRow, sal_uInt16 _nColumnPos )
const override;
167 virtual tools::Rectangle calcHeaderRect(
bool _bIsColumnBar,
bool _bOnScreen =
true )
override;
169 virtual tools::Rectangle GetFieldRectPixel( sal_Int32 _nRow, sal_uInt16 _nColumn,
bool _bIsHeader,
bool _bOnScreen )
override;
171 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCell( sal_Int32 _nRow, sal_uInt16 _nColumn )
override;
172 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader( sal_Int32 _nRow )
override;
173 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader( sal_uInt16 _nColumnPos )
override;
175 virtual sal_Int32 GetAccessibleControlCount()
const override;
176 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl( sal_Int32 _nIndex )
override;
177 virtual bool ConvertPointToControlIndex( sal_Int32& _rnIndex,
const Point& _rPoint )
override;
179 virtual bool ConvertPointToCellAddress( sal_Int32& _rnRow, sal_uInt16& _rnColPos,
const Point& _rPoint )
override;
180 virtual bool ConvertPointToRowHeader( sal_Int32& _rnRow,
const Point& _rPoint )
override;
181 virtual bool ConvertPointToColumnHeader( sal_uInt16& _rnColPos,
const Point& _rPoint )
override;
188 virtual void FillAccessibleStateSetForCell( sal_Int64& _rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumn )
const override;
189 virtual void GrabTableFocus()
override;
192 virtual bool GetGlyphBoundRects(
const Point& rOrigin,
const OUString& rStr,
int nIndex,
int nLen, std::vector< tools::Rectangle >& rVector )
override;
198 virtual css::uno::Reference< css::accessibility::XAccessible >
GetAccessible()
override;
200 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
203 virtual tools::Rectangle GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nColumnPos,sal_Int32 nIndex)
override;
204 virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumnPos,
const Point& _rPoint)
override;
AccessibleBrowseBoxObjType
This enumeration contains a constant for each kind of accessible object of a BrowseBox.
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
std::vector< SvLBoxTab > mvTabList
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override
Creates and returns the accessible object of the Box.
virtual SvTreeListEntry * InsertEntry(const OUString &rText, SvTreeListEntry *pParent=nullptr, bool bChildrenOnDemand=false, sal_uInt32 nPos=TREELIST_APPEND, void *pUserData=nullptr)
virtual void InitEntry(SvTreeListEntry *, const OUString &, const Image &, const Image &)
virtual OUString GetEntryText(SvTreeListEntry *pEntry) const
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
void SelectAll(bool bSelect)
void SetEntryText(SvTreeListEntry *, const OUString &)
virtual sal_uInt32 Insert(SvTreeListEntry *pEnt, SvTreeListEntry *pPar, sal_uInt32 nPos=TREELIST_APPEND)
SvLBoxTab * GetTab(SvTreeListEntry const *, SvLBoxItem const *) const
interface for an implementation of a table control's Accessible component
This abstract class provides methods to implement an accessible table object.
tools::Rectangle GetWindowExtentsAbsolute() const
vcl::Window * GetAccessibleParentWindow() const
virtual void DumpAsPropertyTree(tools::JsonWriter &)
Dumps itself and potentially its children to a property tree, to be written easily to JSON.
css::uno::Reference< css::accessibility::XAccessible > GetAccessible(bool bCreate=true)
tools::Rectangle GetWindowExtentsRelative(const vcl::Window &rRelativeWindow) const
SwLayoutFrame * GetCurrColumn(const SwLayoutFrame *pLayFrame)
HINSTANCE GetWindowInstance(HWND hWnd)