offapi/UnoApi_offapi.mk | 3 offapi/com/sun/star/table/AccessibleCellView.idl | 116 ------------ offapi/com/sun/star/table/AccessibleTableView.idl | 123 ------------- offapi/com/sun/star/text/AccessibleTextEmbeddedObject.idl | 97 ---------- sc/source/ui/Accessibility/AccessiblePreviewCell.cxx | 6 sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx | 6 sc/source/ui/Accessibility/AccessiblePreviewTable.cxx | 11 - sc/source/ui/inc/AccessiblePreviewCell.hxx | 1 sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx | 1 sc/source/ui/inc/AccessiblePreviewTable.hxx | 1 sw/source/core/access/acccell.cxx | 2 sw/source/core/access/accembedded.cxx | 2 sw/source/core/access/acctable.cxx | 2 13 files changed, 3 insertions(+), 368 deletions(-)
New commits: commit 9ce75b65c612f53719cc2024e7468ce4de1c0ee0 Author: Michael Weghorn <[email protected]> AuthorDate: Tue Jun 24 10:03:35 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Jun 25 07:39:26 2025 +0200 [API CHANGE]: a11y: Drop com.sun.star.text.AccessibleTextEmbeddedObject Drop the unpublished service "com.sun.star.text.AccessibleTextEmbeddedObject" because it's unused. (The IDL file only documents some internal implementation details of the a11y class implementing the service.) This is one step towards dropping the XServiceInfo implementation from a11y classes, which will also help avoid linker issues seen on Windows related to multiple classes subclassing cppu::ImplInheritanceHelper<class comphelper::OAccessibleComponentHelper,class com::sun::star::lang::XServiceInfo> seen with upcoming commit Change-Id: Ib56a9ddb1c36356943c2dfd7a5705351ee43e9d9 Author: Michael Weghorn <[email protected]> Date: Mon May 26 12:24:52 2025 +0200 vcl a11y: Let OAccessibleComponentHelper implement XAccessible (Gerrit change [1], Windows CI log: [2]). A search in Google and on Ask [3] didn't give any results that would suggest this unpublished service could be relevant for third party code. (Instances of the service couldn't be created by external code anyway.) [1] https://gerrit.libreoffice.org/c/core/+/185849/6 [2] https://ci.libreoffice.org/job/gerrit_windows/200107/console [3] https://ask.libreoffice.org/ Change-Id: I5e7ef3b2f8ca911b3c83ec0980bbfa85072ca11d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186875 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index cea9198e7799..844f9c69e058 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1302,7 +1302,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/task,\ )) $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/text,\ AccessibleParagraphView \ - AccessibleTextEmbeddedObject \ AccessibleTextGraphicObject \ AutoTextEntry \ AutoTextGroup \ diff --git a/offapi/com/sun/star/text/AccessibleTextEmbeddedObject.idl b/offapi/com/sun/star/text/AccessibleTextEmbeddedObject.idl deleted file mode 100644 index edb009b1cabb..000000000000 --- a/offapi/com/sun/star/text/AccessibleTextEmbeddedObject.idl +++ /dev/null @@ -1,97 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - - - - -module com { module sun { module star { module text { - - -/** The accessible view of an inactive embedded object. If an embedded - object gets active, the active document gets an accessible object - tree of its own. This tree is not a subtree of the object that supports - this service but of the document service itself. The tree exist only - until the object is deactivated. - - @since OOo 1.1.2 - */ -service AccessibleTextEmbeddedObject -{ - /** This interface comprises the basic accessibility of embedded objects. - - <ul> - <li>The parent returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent() - is the accessible view of a paragraph if the embedded object is - bound as character, and the accessible view of the document - (or of a page in the page preview) in any other case. - <li>There are no children returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild() - . See above. - <li>The role is - ::com::sun::star::accessibility::AccessibleRole::EMBEDDED_OBJECT - <li>The name is the one assigned to the object in the text - document. This means that it is not internationalized. - <li>The description is the one assigned to the object in the text - document. This means that it is not internationalized. If no - description has been set, the description equals the name. - <li>There are no relations. - <li>The following states might be contained in the state set - returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleStateSet(): - <ul> - <li>::com::sun::star::accessibility::AccessibleStateType::DEFUNC - (indicates that - the document window has been closed or the graphic - is not existing any longer) - <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE - <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED - (always contained) - <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTABLE - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTED - <li>::com::sun::star::accessibility::AccessibleStateType::FOCUSABLE - <li>::com::sun::star::accessibility::AccessibleStateType::FOCUSED - <li>::com::sun::star::accessibility::AccessibleStateType::SHOWING - <li>::com::sun::star::accessibility::AccessibleStateType::VISIBLE - </ul> - <li>The locale is the one the text document itself. - </ul> - - */ - interface ::com::sun::star::accessibility::XAccessibleContext; - - /** This interface describes the graphical representation of an - embedded object. - */ - interface ::com::sun::star::accessibility::XAccessibleComponent; - - /** This interface gives access to the object's size and its description. - */ - interface ::com::sun::star::accessibility::XAccessibleImage; - - /** This is the interface for listeners - */ - interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster; -}; - - -}; }; }; }; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/accembedded.cxx b/sw/source/core/access/accembedded.cxx index 9292980ddb1b..6ba2822a9140 100644 --- a/sw/source/core/access/accembedded.cxx +++ b/sw/source/core/access/accembedded.cxx @@ -73,7 +73,7 @@ OUString SAL_CALL SwAccessibleEmbeddedObject::getImplementationName() uno::Sequence< OUString > SAL_CALL SwAccessibleEmbeddedObject::getSupportedServiceNames() { - return { u"com.sun.star.text.AccessibleTextEmbeddedObject"_ustr, sAccessibleServiceName }; + return { sAccessibleServiceName }; } // XAccessibleExtendedAttributes commit 6568045fa2b98eb2a413823c1276cfa1e3852234 Author: Michael Weghorn <[email protected]> AuthorDate: Tue Jun 24 09:44:58 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Jun 25 07:39:20 2025 +0200 [API CHANGE]: a11y: Drop com.sun.star.table.AccessibleCellView Drop the unpublished service "com.sun.star.table.AccessibleCellView" because it's unused. (The IDL file only documents some internal implementation details of the a11y classes implementing the service.) This is one step towards dropping the XServiceInfo implementation from a11y classes, which will also help avoid linker issues seen on Windows related to multiple classes subclassing cppu::ImplInheritanceHelper<class comphelper::OAccessibleComponentHelper,class com::sun::star::lang::XServiceInfo> seen with upcoming commit Change-Id: Ib56a9ddb1c36356943c2dfd7a5705351ee43e9d9 Author: Michael Weghorn <[email protected]> Date: Mon May 26 12:24:52 2025 +0200 vcl a11y: Let OAccessibleComponentHelper implement XAccessible (Gerrit change [1], Windows CI log: [2]). A search in Google and on Ask [3] didn't give any results that would suggest this unpublished service could be relevant for third party code. (Instances of the service couldn't be created by external code anyway.) [1] https://gerrit.libreoffice.org/c/core/+/185849/6 [2] https://ci.libreoffice.org/job/gerrit_windows/200107/console [3] https://ask.libreoffice.org/ Change-Id: Iedce6bbf31ca0eb64e86de7239d44bd407d0dc7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186874 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 590a4df36a5b..cea9198e7799 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1277,7 +1277,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/style,\ StyleFamily \ )) $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/table,\ - AccessibleCellView \ Cell \ CellCursor \ CellProperties \ diff --git a/offapi/com/sun/star/table/AccessibleCellView.idl b/offapi/com/sun/star/table/AccessibleCellView.idl deleted file mode 100644 index c6141d6249ab..000000000000 --- a/offapi/com/sun/star/table/AccessibleCellView.idl +++ /dev/null @@ -1,116 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - - - -module com { module sun { module star { module table { - - -/** The accessible view of a cell in a text document or in the page preview - of a spreadsheet document. See - ::com::sun::star::sheet::AccessibleCell for cells in - the edit view of a spreadsheet. - @since OOo 1.1.2 -*/ -service AccessibleCellView -{ - /** This interface gives access to the visible content of a cell in a - accessible spreadsheet page preview or accessible text document view. - <ul> - <li>The parent returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent() - is the accessible table view.</li> - <li>The children returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild() - all support the interface XAccessible. Calling - ::com::sun::star::accessibility::XAccessible::getAccessibleContext() - for these children returns an object that supports the service - ::com::sun::star::text::AccessibleParagraphView: - A child of this kind is returned for every paragraph - fragment that is contained in the cell and - is at least partially visible. A paragraph fragment is - the part of a paragraph that is displayed on a - certain page. - <li>The name is something like A10 or B23 or so on.</li> - <li>The description is the name or the content of the given note.</li> - <li>The role is - ::com::sun::star::accessibility::AccessibleRole::TABLE_CELL</li> - <li>For spreadsheets, there are relations between the cell and the - shapes with an anchor on this cell.</li> - <li>The following states are supported: - <ul> - <li>::com::sun::star::accessibility::AccessibleStateType::DEFUNC - is always false if the - cell is shown, otherwise it is true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE - is false if the cell - is showed in a page preview or the cell or the table is - protected, otherwise it is true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED - is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE - is always true in spreadsheets and false otherwise.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE - is false if the cell - has no background color or graphic, otherwise it is true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTABLE - is true if the - cell is not showed in a page preview, otherwise is it - false.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTED - is true, if the cell - is selected. This is not possible in the page preview.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SHOWING - is true if the - Bounding Box lies in the Bounding Box of the parent. - Otherwise it is false.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::TRANSIENT - is true if the cell - is showed in a spreadsheet page preview. Otherwise it is - false.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::VISIBLE - is always true.</li> - </ul> - </li> - </ul> - */ - interface ::com::sun::star::accessibility::XAccessibleContext; - - /** This interface gives access to the visibility of the cell. - */ - interface ::com::sun::star::accessibility::XAccessibleComponent; - - /** This interface gives access to the value of the cell. - Only a readonly access is possible. - */ - interface ::com::sun::star::accessibility::XAccessibleValue; - - /** This interface is for selecting the text, value or parts of this in the - cell. This interface is optional. - */ - [optional] interface ::com::sun::star::accessibility::XAccessibleSelection; - - /** This is the interface for listeners */ - [optional] interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster; -}; - - -}; }; }; }; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx index 3045f3e9da83..4c5a14167399 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx @@ -173,12 +173,6 @@ OUString SAL_CALL ScAccessiblePreviewCell::getImplementationName() return u"ScAccessiblePreviewCell"_ustr; } -uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewCell::getSupportedServiceNames() -{ - const css::uno::Sequence<OUString> vals { u"com.sun.star.table.AccessibleCellView"_ustr }; - return comphelper::concatSequences(ScAccessibleContextBase::getSupportedServiceNames(), vals); -} - AbsoluteScreenPixelRectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() { tools::Rectangle aCellRect; diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index e8421dfcaa06..bf3aafc8da2e 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -240,12 +240,6 @@ OUString SAL_CALL ScAccessiblePreviewHeaderCell::getImplementationName() return u"ScAccessiblePreviewHeaderCell"_ustr; } -uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewHeaderCell::getSupportedServiceNames() -{ - const css::uno::Sequence<OUString> vals { u"com.sun.star.table.AccessibleCellView"_ustr }; - return comphelper::concatSequences(ScAccessibleContextBase::getSupportedServiceNames(), vals); -} - AbsoluteScreenPixelRectangle ScAccessiblePreviewHeaderCell::GetBoundingBoxOnScreen() { tools::Rectangle aCellRect; diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx index 45b139d14613..304f71f80707 100644 --- a/sc/source/ui/inc/AccessiblePreviewCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx @@ -67,7 +67,6 @@ public: //===== XServiceInfo ==================================================== virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; protected: virtual AbsoluteScreenPixelRectangle GetBoundingBoxOnScreen() override; diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx index 25054c2c7a38..bf8867117f10 100644 --- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx @@ -78,7 +78,6 @@ public: //===== XServiceInfo ==================================================== virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; protected: virtual OUString createAccessibleDescription() override; diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 1302e2b12d2b..bfb6fcbce066 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -235,7 +235,7 @@ OUString SAL_CALL SwAccessibleCell::getImplementationName() uno::Sequence< OUString > SAL_CALL SwAccessibleCell::getSupportedServiceNames() { - return { u"com.sun.star.table.AccessibleCellView"_ustr, sAccessibleServiceName }; + return { sAccessibleServiceName }; } void SwAccessibleCell::Dispose(bool bRecursive, bool bCanSkipInvisible) commit 56c46a92f607b55f9459acdb98269e40e4d939b8 Author: Michael Weghorn <[email protected]> AuthorDate: Tue Jun 24 09:39:17 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Jun 25 07:39:14 2025 +0200 [API CHANGE]: a11y: Drop com.sun.star.table.AccessibleTableView Drop the unpublished service "com.sun.star.table.AccessibleTableView" because it's unused. (The IDL file only documents some internal implementation details of the a11y classes implementing the service.) This is one step towards dropping the XServiceInfo implementation from a11y classes, which will also help avoid linker issues seen on Windows related to multiple classes subclassing cppu::ImplInheritanceHelper<class comphelper::OAccessibleComponentHelper,class com::sun::star::lang::XServiceInfo> seen with upcoming commit Change-Id: Ib56a9ddb1c36356943c2dfd7a5705351ee43e9d9 Author: Michael Weghorn <[email protected]> Date: Mon May 26 12:24:52 2025 +0200 vcl a11y: Let OAccessibleComponentHelper implement XAccessible (Gerrit change [1], Windows CI log: [2]). A search in Google and on Ask [3] didn't give any results that would suggest this unpublished service could be relevant for third party code. (Instances of the service couldn't be created by external code anyway.) [1] https://gerrit.libreoffice.org/c/core/+/185849/6 [2] https://ci.libreoffice.org/job/gerrit_windows/200107/console [3] https://ask.libreoffice.org/ Change-Id: I36b4b4089c98a1b1969a33cdb857ba8aea934f64 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186873 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 030678c434f1..590a4df36a5b 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1278,7 +1278,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/style,\ )) $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/table,\ AccessibleCellView \ - AccessibleTableView \ Cell \ CellCursor \ CellProperties \ diff --git a/offapi/com/sun/star/table/AccessibleTableView.idl b/offapi/com/sun/star/table/AccessibleTableView.idl deleted file mode 100644 index b00606d3470d..000000000000 --- a/offapi/com/sun/star/table/AccessibleTableView.idl +++ /dev/null @@ -1,123 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - - - -module com { module sun { module star { module table { - - -/** The accessible view of a table in a text document or in the page preview - of a spreadsheet document. - @since OOo 1.1.2 -*/ -service AccessibleTableView -{ - /** This interface gives access to any table cell that is contained in - a table fragment that is at least partially visible. A table fragment - is the part of a table that is displayed at a single page. - - <ul> - <li>The parent returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent() - is the accessible text document view, a page of the accessible - text document page preview, or the accessible spreadsheet - page preview.</li> - <li>The children returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild() - all support the interface XAccessible. Calling - ::com::sun::star::accessibility::XAccessible::getAccessibleContext() - for these children - returns an object that supports the service. - ::com::sun::star::table::AccessibleCellView: - A child where calling - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild() - an object that supports this service is returned for - every partially visible cell in this table. - <p>The following rules apply to the children order.</p> - <ul> - <li>All the children are cells. The order of this cells is to - the order on the screen. This means that the first cell is the - cell in the left top edge of the table and the last one is the - cell in the right bottom edge of the table. The second is the - cell in the first row and second column and so on.</li> - </ul> - <li>The description is ???.</li> - <li>The name is the given table name and a number to make it non-ambiguous.</li> - <li>The role is - ::com::sun::star::accessibility::AccessibleRole::TABLE</li> - <li>In a spreadsheet page preview there are relations between the - table and the shapes with an anchor - on this table (not with an anchor on a cell in this table).</li> - <li>The following states are supported: - <ul> - <li>::com::sun::star::accessibility::AccessibleStateType::DEFUNC - is always false if the - table is not deleted, the document is open. Also it is - false if the table was showed in a page preview and the - page preview is already opened, otherwise it is true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE - is false if the - table is showed in a page preview or the table is - protected, otherwise it is true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED - is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE - is false - if the table is showed in a page preview, otherwise it is - true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE - is false, if the table - has no background color or graphic, otherwise it is - false.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SHOWING - is true if the - Bounding Box lies in the Bounding Box of the parent. - Otherwise it is false.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::VISIBLE - is always true.</li> - </ul> - </li> - </ul> - - */ - interface ::com::sun::star::accessibility::XAccessibleContext; - - /** This interface gives access to the visibility of the document. - */ - interface ::com::sun::star::accessibility::XAccessibleComponent; - - /** This interface gives access to any cell that is at least partially - visible on the screen. So this interface gives access to the same - things like the XAccessibleContext interface. Therefore it use more - usable methods. Also it gives access to some table specific data. - */ - interface ::com::sun::star::accessibility::XAccessibleTable; - - /** This interface is for selecting the cells. This interface is optional. - */ - [optional] interface ::com::sun::star::accessibility::XAccessibleSelection; - - /** This is the interface for listeners */ - interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster; -}; - - -}; }; }; }; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index 10f8dcf322ad..d367e09406bf 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -504,17 +504,6 @@ OUString SAL_CALL ScAccessiblePreviewTable::getImplementationName() return u"ScAccessiblePreviewTable"_ustr; } -uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewTable::getSupportedServiceNames() -{ - uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames(); - sal_Int32 nOldSize(aSequence.getLength()); - aSequence.realloc(nOldSize + 1); - - aSequence.getArray()[nOldSize] = "com.sun.star.table.AccessibleTableView"; - - return aSequence; -} - OUString ScAccessiblePreviewTable::createAccessibleDescription() { return STR_ACC_TABLE_DESCR; diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index b54d61a33154..014fe8be6b91 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -90,7 +90,6 @@ public: //===== XServiceInfo ==================================================== virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; protected: virtual OUString createAccessibleDescription() override; diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 2596af9fdb3d..63c40f393650 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -1066,7 +1066,7 @@ OUString SAL_CALL SwAccessibleTable::getImplementationName() uno::Sequence< OUString > SAL_CALL SwAccessibleTable::getSupportedServiceNames() { - return { u"com.sun.star.table.AccessibleTableView"_ustr, sAccessibleServiceName }; + return { sAccessibleServiceName }; } void SwAccessibleTable::InvalidatePosOrSize( const SwRect& rOldBox )
