LibreOffice Module sc (master)
1
|
Accessible class representing the CSV grid control. More...
#include <AccessibleCsvControl.hxx>
Public Member Functions | |
ScAccessibleCsvGrid (ScCsvGrid &rGrid) | |
virtual | ~ScAccessibleCsvGrid () override |
virtual void SAL_CALL | disposing () override |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &rPoint) override |
Returns the cell at the specified point. More... | |
virtual OUString SAL_CALL | getAccessibleDescription () override |
virtual OUString SAL_CALL | getAccessibleName () override |
virtual sal_Int32 SAL_CALL | getForeground () override |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override |
virtual sal_Int32 SAL_CALL | getAccessibleChildCount () override |
Returns the child count (count of cells in the table). More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int32 nIndex) override |
Returns the specified child cell. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override |
Returns the relation to the ruler control. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL | getAccessibleStateSet () override |
Returns the current set of states. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleRowCount () override |
Returns the number of rows in the table. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleColumnCount () override |
Returns the number of columns in the table. More... | |
virtual OUString SAL_CALL | getAccessibleRowDescription (sal_Int32 nRow) override |
Returns the description of the specified row in the table. More... | |
virtual OUString SAL_CALL | getAccessibleColumnDescription (sal_Int32 nColumn) override |
Returns the description text of the specified column in the table. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleRowExtentAt (sal_Int32 nRow, sal_Int32 nColumn) override |
Returns the number of rows occupied at a specified row and column. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleColumnExtentAt (sal_Int32 nRow, sal_Int32 nColumn) override |
Returns the number of rows occupied at a specified row and column. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL | getAccessibleRowHeaders () override |
Returns the row headers as an AccessibleTable. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL | getAccessibleColumnHeaders () override |
Returns the column headers as an AccessibleTable. More... | |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | getSelectedAccessibleRows () override |
Returns the selected rows as a sequence. More... | |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | getSelectedAccessibleColumns () override |
Returns the selected columns as a sequence. More... | |
virtual sal_Bool SAL_CALL | isAccessibleRowSelected (sal_Int32 nRow) override |
Returns true, if the specified row is selected. More... | |
virtual sal_Bool SAL_CALL | isAccessibleColumnSelected (sal_Int32 nColumn) override |
Returns true, if the specified column is selected. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleCellAt (sal_Int32 nRow, sal_Int32 nColumn) override |
Returns the accessible cell object at the specified position. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleCaption () override |
Returns the caption object of the table. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleSummary () override |
Returns the summary description object of the table. More... | |
virtual sal_Bool SAL_CALL | isAccessibleSelected (sal_Int32 nRow, sal_Int32 nColumn) override |
Returns true, if the cell at a specified position is selected. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleIndex (sal_Int32 nRow, sal_Int32 nColumn) override |
Returns the child index of the cell at the specified position. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleRow (sal_Int32 nChildIndex) override |
Returns the row index of the specified child. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleColumn (sal_Int32 nChildIndex) override |
Returns the column index of the specified child. More... | |
virtual void SAL_CALL | selectAccessibleChild (sal_Int32 nChildIndex) override |
Selects the specified child (selects the entire column or the entire table). More... | |
virtual sal_Bool SAL_CALL | isAccessibleChildSelected (sal_Int32 nChildIndex) override |
Returns true, if the specified child is selected. More... | |
virtual void SAL_CALL | clearAccessibleSelection () override |
Deselects all cells. More... | |
virtual void SAL_CALL | selectAllAccessibleChildren () override |
Selects all cells. More... | |
virtual sal_Int32 SAL_CALL | getSelectedAccessibleChildCount () override |
Returns the count of selected children. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex) override |
Returns the child with the specified index in all selected children. More... | |
virtual void SAL_CALL | deselectAccessibleChild (sal_Int32 nSelectedChildIndex) override |
Deselects the child with the specified index in all selected children. More... | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () override throw () |
virtual void SAL_CALL | release () override throw () |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
Returns a sequence with all supported interface types. More... | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Returns an implementation ID. More... | |
virtual void | SendFocusEvent (bool bFocused) override |
Sends a GetFocus or LoseFocus event to all listeners. More... | |
virtual void | SendTableUpdateEvent (sal_uInt32 nFirstColumn, sal_uInt32 nLastColumn, bool bAllRows) override |
Sends a table model changed event for changed cell contents to all listeners. More... | |
virtual void | SendInsertColumnEvent (sal_uInt32 nFirstColumn, sal_uInt32 nLastColumn) override |
Sends a table model changed event for an inserted column to all listeners. More... | |
virtual void | SendRemoveColumnEvent (sal_uInt32 nFirstColumn, sal_uInt32 nLastColumn) override |
Sends a table model changed event for a removed column to all listeners. More... | |
![]() | |
ScAccessibleCsvControl (ScCsvControl &rControl) | |
Pointer to the VCL control. More... | |
virtual | ~ScAccessibleCsvControl () override |
virtual void SAL_CALL | grabFocus () override |
virtual void | SendCaretEvent () |
Sends a caret changed event to all listeners. More... | |
void | SendVisibleEvent () |
Sends a visible area changed event to all listeners. More... | |
void | SendSelectionEvent () |
Sends a selection changed event to all listeners. More... | |
![]() | |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &aPoint) override |
virtual css::awt::Point SAL_CALL | getLocation () override |
virtual css::awt::Point SAL_CALL | getLocationOnScreen () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual css::awt::Rectangle SAL_CALL | getBounds () override |
![]() | |
virtual void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual OUString SAL_CALL | getAccessibleId () override |
virtual sal_Int32 SAL_CALL | getAccessibleIndexInParent () override |
virtual css::lang::Locale SAL_CALL | getLocale () override |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
Protected Types | |
typedef std::map< sal_Int32, rtl::Reference< ScAccessibleCsvCell > > | XAccessibleSet |
Private Member Functions | |
void | ensureValidIndex (sal_Int32 nIndex) const |
void | ensureValidPosition (sal_Int32 nRow, sal_Int32 nColumn) const |
css::lang::IndexOutOfBoundsException if the specified position is invalid. More... | |
ScCsvGrid & | implGetGrid () const |
Returns the VCL grid control. More... | |
bool | implIsColumnSelected (sal_Int32 nColumn) const |
Returns true, if the specified column (including header) is selected. More... | |
void | implSelectColumn (sal_Int32 nColumn, bool bSelect) |
Selects the specified column (including header). More... | |
sal_Int32 | implGetRowCount () const |
Returns the count of visible rows in the table (including header). More... | |
sal_Int32 | implGetColumnCount () const |
Returns the total column count in the table (including header). More... | |
sal_Int32 | implGetSelColumnCount () const |
Returns the count of selected columns in the table. More... | |
sal_Int32 | implGetCellCount () const |
Returns the total cell count in the table (including header). More... | |
sal_Int32 | implGetRow (sal_Int32 nIndex) const |
Returns the row index from cell index (including header). More... | |
sal_Int32 | implGetColumn (sal_Int32 nIndex) const |
Returns the column index from cell index (including header). More... | |
sal_Int32 | implGetSelColumn (sal_Int32 nSelColumn) const |
Returns the absolute column index of the nSelColumn-th selected column. More... | |
sal_Int32 | implGetIndex (sal_Int32 nRow, sal_Int32 nColumn) const |
Returns the child index from cell position (including header). More... | |
OUString | implGetCellText (sal_Int32 nRow, sal_Int32 nColumn) const |
Returns the contents of the specified cell (including header). More... | |
ScAccessibleCsvCell * | implCreateCellObj (sal_Int32 nRow, sal_Int32 nColumn) |
Creates a new accessible object of the specified cell. More... | |
css::uno::Reference< css::accessibility::XAccessible > | getAccessibleCell (sal_Int32 nRow, sal_Int32 nColumn) |
Private Attributes | |
XAccessibleSet | maAccessibleChildren |
Additional Inherited Members | |
![]() | |
virtual css::awt::Rectangle | implGetBounds () override |
ScCsvControl & | implGetControl () const |
Returns the VCL control. More... | |
rtl::Reference<::utl::AccessibleStateSetHelper > | implCreateStateSet () |
Creates a StateSetHelper and fills it with DEFUNC, OPAQUE, ENABLED, SHOWING and VISIBLE. More... | |
![]() | |
OAccessibleComponentHelper () | |
![]() | |
OCommonAccessibleComponent () | |
virtual | ~OCommonAccessibleComponent () override |
bool | containsPoint (const css::awt::Point &aPoint) |
css::awt::Point | getLocation () |
css::awt::Point | getLocationOnScreen () |
css::awt::Size | getSize () |
css::awt::Rectangle | getBounds () |
![]() | |
virtual | ~OAccessibleContextHelper () override |
OAccessibleContextHelper () | |
void | lateInit (const css::uno::Reference< css::accessibility::XAccessible > &_rxAccessible) |
css::uno::Reference< css::accessibility::XAccessible > | getAccessibleCreator () const |
void | NotifyAccessibleEvent (const sal_Int16 _nEventId, const css::uno::Any &_rOldValue, const css::uno::Any &_rNewValue) |
bool | isAlive () const |
void | ensureAlive () const |
void | ensureDisposed () |
css::uno::Reference< css::accessibility::XAccessibleContext > | implGetParentContext () |
::osl::Mutex & | GetMutex () |
![]() | |
~OAccessibleComponentHelper_Base () | |
![]() | |
~ImplHelper3 () | |
Accessible class representing the CSV grid control.
Definition at line 234 of file AccessibleCsvControl.hxx.
|
protected |
Definition at line 237 of file AccessibleCsvControl.hxx.
|
explicit |
Definition at line 762 of file AccessibleCsvControl.cxx.
|
overridevirtual |
Definition at line 767 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureDisposed().
|
overridevirtual |
Definition at line 1112 of file AccessibleCsvControl.cxx.
|
overridevirtual |
Deselects all cells.
Definition at line 1058 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), implGetGrid(), and ScCsvGrid::SelectAll().
|
overridevirtual |
Deselects the child with the specified index in all selected children.
Definition at line 1090 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidPosition(), implGetSelColumn(), implGetSelColumnCount(), and implSelectColumn().
|
overridevirtual |
Reimplemented from ScAccessibleCsvControl.
Definition at line 772 of file AccessibleCsvControl.cxx.
References ScAccessibleCsvControl::disposing(), and maAccessibleChildren.
|
private |
css::lang::IndexOutOfBoundsException | if nIndex is not a valid child index. |
Definition at line 1199 of file AccessibleCsvControl.cxx.
References implGetCellCount().
Referenced by getAccessibleChild(), getAccessibleColumn(), getAccessibleRow(), isAccessibleChildSelected(), isAccessibleColumnSelected(), and selectAccessibleChild().
|
private |
css::lang::IndexOutOfBoundsException if the specified position is invalid.
Definition at line 1205 of file AccessibleCsvControl.cxx.
References implGetColumnCount(), and implGetRowCount().
Referenced by deselectAccessibleChild(), getAccessibleCellAt(), getAccessibleColumnDescription(), getAccessibleColumnExtentAt(), getAccessibleIndex(), getAccessibleRowDescription(), and getAccessibleRowExtentAt().
|
overridevirtual |
Returns the cell at the specified point.
Reimplemented from ScAccessibleCsvControl.
Definition at line 783 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleComponentHelper::containsPoint(), comphelper::OAccessibleContextHelper::ensureAlive(), getAccessibleCell(), ScCsvGrid::GetColumnFromX(), ScCsvControl::GetFirstVisLine(), ScCsvControl::GetFirstX(), ScCsvControl::GetHdrHeight(), ScCsvControl::GetLastX(), ScCsvControl::GetLineFromY(), implGetGrid(), and lcl_GetApiColumn().
|
overridevirtual |
Returns the caption object of the table.
Definition at line 994 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
private |
Definition at line 825 of file AccessibleCsvControl.cxx.
References implCreateCellObj(), implGetIndex(), maAccessibleChildren, and nIndex.
Referenced by getAccessibleAtPoint(), getAccessibleCellAt(), and getAccessibleChild().
|
overridevirtual |
Returns the accessible cell object at the specified position.
Definition at line 986 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidPosition(), and getAccessibleCell().
Referenced by getSelectedAccessibleChild(), and SendFocusEvent().
|
overridevirtual |
Returns the specified child cell.
Implements comphelper::OAccessibleContextHelper.
Definition at line 841 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidIndex(), getAccessibleCell(), implGetColumn(), and implGetRow().
|
overridevirtual |
Returns the child count (count of cells in the table).
Implements comphelper::OAccessibleContextHelper.
Definition at line 818 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), and implGetCellCount().
|
overridevirtual |
Returns the column index of the specified child.
Definition at line 1027 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidIndex(), and implGetColumn().
|
overridevirtual |
Returns the number of columns in the table.
Definition at line 900 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), and implGetColumnCount().
|
overridevirtual |
Returns the description text of the specified column in the table.
Definition at line 915 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidPosition(), and implGetCellText().
|
overridevirtual |
Returns the number of rows occupied at a specified row and column.
Returns always 1 (Merged cells not supported).
Definition at line 930 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), and ensureValidPosition().
|
overridevirtual |
Returns the column headers as an AccessibleTable.
Definition at line 943 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
inlineoverridevirtual |
Definition at line 248 of file AccessibleCsvControl.hxx.
|
overridevirtual |
Implements comphelper::OAccessibleContextHelper.
Definition at line 1194 of file AccessibleCsvControl.cxx.
References ScResId().
|
overridevirtual |
Returns the child index of the cell at the specified position.
Definition at line 1011 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidPosition(), and implGetIndex().
|
overridevirtual |
Implements comphelper::OAccessibleContextHelper.
Definition at line 1189 of file AccessibleCsvControl.cxx.
References ScResId().
|
overridevirtual |
Implements comphelper::OAccessibleContextHelper.
Definition at line 1278 of file AccessibleCsvControl.cxx.
References weld::DrawingArea::get_accessible_parent(), weld::CustomWidgetController::GetDrawingArea(), and ScAccessibleCsvControl::implGetControl().
|
overridevirtual |
Returns the relation to the ruler control.
Implements comphelper::OAccessibleContextHelper.
Definition at line 850 of file AccessibleCsvControl.cxx.
References aSeq, comphelper::OAccessibleContextHelper::ensureAlive(), ScCsvControl::GetAccessible(), ScCsvTableBox::GetRuler(), ScCsvGrid::GetTableBox(), implGetGrid(), and weld::CustomWidgetController::IsVisible().
|
inlineoverridevirtual |
Implements comphelper::OAccessibleContextHelper.
Definition at line 262 of file AccessibleCsvControl.hxx.
References TABLE.
|
overridevirtual |
Returns the row index of the specified child.
Definition at line 1019 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidIndex(), and implGetRow().
|
overridevirtual |
Returns the number of rows in the table.
Definition at line 893 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), and implGetRowCount().
|
overridevirtual |
Returns the description of the specified row in the table.
Definition at line 907 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidPosition(), and implGetCellText().
|
overridevirtual |
Returns the number of rows occupied at a specified row and column.
Returns always 1 (Merged cells not supported).
Definition at line 923 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), and ensureValidPosition().
|
overridevirtual |
Returns the row headers as an AccessibleTable.
Definition at line 937 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
overridevirtual |
Returns the current set of states.
Implements comphelper::OAccessibleContextHelper.
Definition at line 874 of file AccessibleCsvControl.cxx.
References ScAccessibleCsvControl::implCreateStateSet(), implGetGrid(), and comphelper::OAccessibleContextHelper::isAlive().
|
overridevirtual |
Returns the summary description object of the table.
Definition at line 1000 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
overridevirtual |
Definition at line 809 of file AccessibleCsvControl.cxx.
References svtools::DOCCOLOR, comphelper::OAccessibleContextHelper::ensureAlive(), and SC_MOD.
|
overridevirtual |
Definition at line 802 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), and Application::GetSettings().
Returns an implementation ID.
Reimplemented from cppu::ImplHelper3< class, class, class >.
Definition at line 1132 of file AccessibleCsvControl.cxx.
|
overridevirtual |
Returns the child with the specified index in all selected children.
Definition at line 1077 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), getAccessibleCellAt(), implGetSelColumn(), and implGetSelColumnCount().
|
overridevirtual |
Returns the count of selected children.
Definition at line 1070 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), implGetRowCount(), and implGetSelColumnCount().
|
overridevirtual |
Returns the selected columns as a sequence.
Definition at line 955 of file AccessibleCsvControl.cxx.
References aSeq, CSV_COLUMN_INVALID, comphelper::OAccessibleContextHelper::ensureAlive(), ScCsvGrid::GetFirstSelected(), ScCsvGrid::GetNextSelected(), implGetColumnCount(), implGetGrid(), and lcl_GetApiColumn().
|
overridevirtual |
Returns the selected rows as a sequence.
Definition at line 949 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
overridevirtual |
Returns a sequence with all supported interface types.
Reimplemented from cppu::ImplHelper3< class, class, class >.
Definition at line 1124 of file AccessibleCsvControl.cxx.
References cppu::UnoType< class >::get(), and Sequence.
|
private |
Creates a new accessible object of the specified cell.
Indexes must be valid.
Definition at line 1273 of file AccessibleCsvControl.cxx.
References implGetCellText(), and implGetGrid().
Referenced by getAccessibleCell().
|
inlineprivate |
Returns the total cell count in the table (including header).
Definition at line 412 of file AccessibleCsvControl.hxx.
Referenced by ensureValidIndex(), and getAccessibleChildCount().
|
private |
Returns the contents of the specified cell (including header).
Indexes must be valid.
Definition at line 1259 of file AccessibleCsvControl.cxx.
References ScCsvGrid::GetCellText(), ScCsvGrid::GetColumnTypeName(), ScCsvControl::GetFirstVisLine(), implGetGrid(), and lcl_GetGridColumn().
Referenced by getAccessibleColumnDescription(), getAccessibleRowDescription(), and implCreateCellObj().
|
inlineprivate |
Returns the column index from cell index (including header).
Definition at line 417 of file AccessibleCsvControl.hxx.
Referenced by getAccessibleChild(), getAccessibleColumn(), isAccessibleChildSelected(), and selectAccessibleChild().
|
private |
Returns the total column count in the table (including header).
Definition at line 1232 of file AccessibleCsvControl.cxx.
References ScCsvGrid::GetColumnCount(), and implGetGrid().
Referenced by ensureValidPosition(), getAccessibleColumnCount(), and getSelectedAccessibleColumns().
|
private |
Returns the VCL grid control.
Assumes a living object.
Definition at line 1211 of file AccessibleCsvControl.cxx.
References ScAccessibleCsvControl::implGetControl().
Referenced by clearAccessibleSelection(), getAccessibleAtPoint(), getAccessibleRelationSet(), getAccessibleStateSet(), getSelectedAccessibleColumns(), implCreateCellObj(), implGetCellText(), implGetColumnCount(), implGetRowCount(), implGetSelColumn(), implGetSelColumnCount(), implIsColumnSelected(), implSelectColumn(), selectAccessibleChild(), and SendFocusEvent().
|
inlineprivate |
Returns the child index from cell position (including header).
Definition at line 421 of file AccessibleCsvControl.hxx.
Referenced by getAccessibleCell(), and getAccessibleIndex().
|
inlineprivate |
Returns the row index from cell index (including header).
Definition at line 415 of file AccessibleCsvControl.hxx.
Referenced by getAccessibleChild(), and getAccessibleRow().
|
private |
Returns the count of visible rows in the table (including header).
Definition at line 1227 of file AccessibleCsvControl.cxx.
References ScCsvControl::GetFirstVisLine(), ScCsvControl::GetLastVisLine(), and implGetGrid().
Referenced by ensureValidPosition(), getAccessibleRowCount(), getSelectedAccessibleChildCount(), SendInsertColumnEvent(), SendRemoveColumnEvent(), and SendTableUpdateEvent().
|
private |
Returns the absolute column index of the nSelColumn-th selected column.
Definition at line 1246 of file AccessibleCsvControl.cxx.
References CSV_COLUMN_INVALID, ScCsvGrid::GetFirstSelected(), ScCsvGrid::GetNextSelected(), and implGetGrid().
Referenced by deselectAccessibleChild(), and getSelectedAccessibleChild().
|
private |
Returns the count of selected columns in the table.
Definition at line 1237 of file AccessibleCsvControl.cxx.
References CSV_COLUMN_INVALID, ScCsvGrid::GetFirstSelected(), ScCsvGrid::GetNextSelected(), implGetGrid(), and nCount.
Referenced by deselectAccessibleChild(), getSelectedAccessibleChild(), and getSelectedAccessibleChildCount().
|
private |
Returns true, if the specified column (including header) is selected.
Definition at line 1216 of file AccessibleCsvControl.cxx.
References implGetGrid(), ScCsvGrid::IsSelected(), and lcl_GetGridColumn().
Referenced by isAccessibleChildSelected(), and isAccessibleColumnSelected().
|
private |
Selects the specified column (including header).
Definition at line 1221 of file AccessibleCsvControl.cxx.
References implGetGrid(), lcl_GetGridColumn(), and ScCsvGrid::Select().
Referenced by deselectAccessibleChild(), and selectAccessibleChild().
|
overridevirtual |
Returns true, if the specified child is selected.
Definition at line 1049 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidIndex(), implGetColumn(), and implIsColumnSelected().
|
overridevirtual |
Returns true, if the specified column is selected.
Definition at line 978 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidIndex(), and implIsColumnSelected().
Referenced by isAccessibleSelected().
|
overridevirtual |
Returns true, if the specified row is selected.
Definition at line 972 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
overridevirtual |
Returns true, if the cell at a specified position is selected.
Definition at line 1006 of file AccessibleCsvControl.cxx.
References isAccessibleColumnSelected().
|
overridevirtual |
Definition at line 1106 of file AccessibleCsvControl.cxx.
References Any, and cppu::ImplHelper3< class, class, class >::queryInterface().
|
overridevirtual |
Definition at line 1117 of file AccessibleCsvControl.cxx.
|
overridevirtual |
Selects the specified child (selects the entire column or the entire table).
Definition at line 1037 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), ensureValidIndex(), implGetColumn(), implGetGrid(), implSelectColumn(), and ScCsvGrid::SelectAll().
Referenced by selectAllAccessibleChildren().
|
overridevirtual |
Selects all cells.
Definition at line 1065 of file AccessibleCsvControl.cxx.
References selectAccessibleChild().
|
overridevirtual |
Sends a GetFocus or LoseFocus event to all listeners.
Reimplemented from ScAccessibleCsvControl.
Definition at line 1139 of file AccessibleCsvControl.cxx.
References Any, getAccessibleCellAt(), implGetGrid(), lcl_GetApiColumn(), comphelper::OAccessibleContextHelper::NotifyAccessibleEvent(), and ScAccessibleCsvControl::SendFocusEvent().
|
overridevirtual |
Sends a table model changed event for an inserted column to all listeners.
Reimplemented from ScAccessibleCsvControl.
Definition at line 1161 of file AccessibleCsvControl.cxx.
References Any, implGetRowCount(), lcl_GetApiColumn(), and comphelper::OAccessibleContextHelper::NotifyAccessibleEvent().
|
overridevirtual |
Sends a table model changed event for a removed column to all listeners.
Reimplemented from ScAccessibleCsvControl.
Definition at line 1174 of file AccessibleCsvControl.cxx.
References Any, implGetRowCount(), lcl_GetApiColumn(), and comphelper::OAccessibleContextHelper::NotifyAccessibleEvent().
|
overridevirtual |
Sends a table model changed event for changed cell contents to all listeners.
Reimplemented from ScAccessibleCsvControl.
Definition at line 1148 of file AccessibleCsvControl.cxx.
References Any, implGetRowCount(), lcl_GetApiColumn(), and comphelper::OAccessibleContextHelper::NotifyAccessibleEvent().
|
private |
Definition at line 240 of file AccessibleCsvControl.hxx.
Referenced by disposing(), and getAccessibleCell().