21 #if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
22 #error "don't use this in new code"
48 static OUString GetToken(
const OUString &sStr, sal_Int32 &nIndex );
50 virtual void SetTabs()
override;
53 OUString GetTabEntryText(
sal_uLong nPos, sal_uInt16 nCol )
const;
60 virtual void dispose()
override;
61 void SetTabs(sal_uInt16 nTabs,
tools::Long const pTabPositions[],
MapUnit = MapUnit::MapAppFont);
66 bool bChildrenOnDemand =
false,
67 sal_uLong nPos=TREELIST_APPEND,
void* pUserData =
nullptr )
override;
70 const Image& rExpandedEntryBmp,
71 const Image& rCollapsedEntryBmp,
73 bool bChildrenOnDemand =
false,
74 sal_uLong nPos = TREELIST_APPEND,
void* pUserData =
nullptr )
override;
77 sal_uLong nPos, sal_uInt16 nCol,
void* pUserData =
nullptr );
80 sal_uLong nPos = TREELIST_APPEND, sal_uInt16 nCol = 0xffff,
void* pUserData =
nullptr );
82 virtual OUString GetEntryText(
SvTreeListEntry* pEntry )
const override;
84 OUString GetEntryText(
sal_uLong nPos, sal_uInt16 nCol = 0xffff )
const;
86 OUString GetCellText(
sal_uLong nPos, sal_uInt16 nCol )
const;
90 void SetTabEditable( sal_uInt16 nTab,
bool bEditable );
99 struct SvHeaderTabListBoxImpl;
108 std::unique_ptr<::vcl::SvHeaderTabListBoxImpl>
m_pImpl;
115 void RecalculateAccessibleChildren();
120 virtual void dispose()
override;
124 void InitHeaderBar(
HeaderBar* pHeaderBar);
129 sal_uLong nPos, sal_uInt16 nCol,
void* pUserData =
nullptr )
override;
132 sal_uLong nPos = TREELIST_APPEND, sal_uInt16 nCol = 0xffff,
void* pUserData =
nullptr )
override;
138 bool IsCellCheckBox( sal_Int32 _nRow, sal_uInt16 _nColumn,
TriState& _rState );
141 virtual sal_Int32 GetRowCount()
const override;
143 virtual sal_uInt16 GetColumnCount()
const override;
146 virtual sal_Int32 GetCurrRow()
const override;
152 virtual OUString GetRowDescription( sal_Int32 _nRow )
const override;
155 virtual OUString GetColumnDescription( sal_uInt16 _nColumn )
const override;
158 virtual bool HasRowHeader()
const override;
160 virtual bool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn )
override;
162 virtual void SetNoSelection()
override;
164 virtual void SelectAll()
override;
165 virtual void SelectRow( sal_Int32 _nRow,
bool _bSelect =
true,
bool bExpand =
true )
override;
166 virtual void SelectColumn( sal_uInt16 _nColumn,
bool _bSelect =
true )
override;
167 virtual sal_Int32 GetSelectedRowCount()
const override;
168 virtual sal_Int32 GetSelectedColumnCount()
const override;
170 virtual bool IsRowSelected( sal_Int32 _nRow )
const override;
171 virtual bool IsColumnSelected( sal_Int32 _nColumn )
const override;
172 virtual void GetAllSelectedRows( css::uno::Sequence< sal_Int32 >& _rRows )
const override;
173 virtual void GetAllSelectedColumns( css::uno::Sequence< sal_Int32 >& _rColumns )
const override;
176 virtual bool IsCellVisible( sal_Int32 _nRow, sal_uInt16 _nColumn )
const override;
177 virtual OUString GetAccessibleCellText( sal_Int32 _nRow, sal_uInt16 _nColumnPos )
const override;
179 virtual tools::Rectangle calcHeaderRect(
bool _bIsColumnBar,
bool _bOnScreen =
true )
override;
181 virtual tools::Rectangle GetFieldRectPixelAbs( sal_Int32 _nRow, sal_uInt16 _nColumn,
bool _bIsHeader,
bool _bOnScreen =
true )
override;
183 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCell( sal_Int32 _nRow, sal_uInt16 _nColumn )
override;
184 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader( sal_Int32 _nRow )
override;
185 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader( sal_uInt16 _nColumnPos )
override;
187 virtual sal_Int32 GetAccessibleControlCount()
const override;
188 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl( sal_Int32 _nIndex )
override;
189 virtual bool ConvertPointToControlIndex( sal_Int32& _rnIndex,
const Point& _rPoint )
override;
191 virtual bool ConvertPointToCellAddress( sal_Int32& _rnRow, sal_uInt16& _rnColPos,
const Point& _rPoint )
override;
192 virtual bool ConvertPointToRowHeader( sal_Int32& _rnRow,
const Point& _rPoint )
override;
193 virtual bool ConvertPointToColumnHeader( sal_uInt16& _rnColPos,
const Point& _rPoint )
override;
200 virtual void FillAccessibleStateSetForCell( ::
utl::AccessibleStateSetHelper& _rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumn )
const override;
201 virtual void GrabTableFocus()
override;
204 virtual bool GetGlyphBoundRects(
const Point& rOrigin,
const OUString& rStr,
int nIndex,
int nLen,
MetricVector& rVector )
override;
209 virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible()
override;
211 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
override;
212 virtual vcl::Window* GetAccessibleParentWindow()
const override;
214 virtual tools::Rectangle GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nColumnPos,sal_Int32 nIndex)
override;
215 virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumnPos,
const Point& _rPoint)
override;
std::vector< tools::Rectangle > MetricVector
void SetEntryText(SvTreeListEntry *, const OUString &)
This abstract class provides methods to implement an accessible table object.
HINSTANCE GetWindowInstance(HWND hWnd)
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
std::vector< SvLBoxTab > mvTabList
void SelectAll(bool bSelect)
interface for an implementation of a table control's Accessible component
SvLBoxTab * GetTab(SvTreeListEntry const *, SvLBoxItem const *) const
AccessibleBrowseBoxObjType
This enumeration contains a constant for each kind of accessible object of a BrowseBox.
SwLayoutFrame * GetCurrColumn(const SwLayoutFrame *pLayFrame)
#define DECL_DLLPRIVATE_LINK(Member, ArgType, RetType)