offapi/UnoApi_offapi.mk | 3 offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl | 119 ------ offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl | 137 ------- offapi/com/sun/star/text/AccessibleTextDocumentView.idl | 173 ---------- sc/source/ui/Accessibility/AccessibleDocument.cxx | 7 sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx | 7 sc/source/ui/inc/AccessibleDocument.hxx | 5 sc/source/ui/inc/AccessiblePageHeaderArea.hxx | 3 sw/source/core/access/accdoc.cxx | 3 9 files changed, 1 insertion(+), 456 deletions(-)
New commits: commit 15dc0f109085946dd7ea40f6b6458386f4447bf1 Author: Michael Weghorn <[email protected]> AuthorDate: Mon Jun 23 16:42:52 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Tue Jun 24 08:00:47 2025 +0200 [API CHANGE]: a11y: Drop com.sun.star.sheet.AccessiblePageHeaderFooterAreasView Drop the unpublished service "com.sun.star.sheet.AccessiblePageHeaderFooterAreasView" because it's unused (apart from providing some documentation about internal implementation details of the a11y class implementing it). 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 unpublisheded 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: I18b7c0611cfcd5e507abfd8cbd6eac1ebfbf11ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186845 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 9b943973d151..c41860b828f1 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1148,7 +1148,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\ AccessibleCsvCell \ AccessibleCsvRuler \ AccessibleCsvTable \ - AccessiblePageHeaderFooterAreasView \ AccessibleSpreadsheet \ AddIn \ CellAnnotation \ diff --git a/offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl b/offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl deleted file mode 100644 index c9ea96d2d6c1..000000000000 --- a/offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl +++ /dev/null @@ -1,119 +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 sheet { - - -/** The accessible view of the Header/Footer in a spreadsheet page preview - - @since OOo 1.1.2 - - */ -service AccessiblePageHeaderFooterAreasView -{ - /** This interface gives access to the three Header/Footer areas in the - page preview. - - <ul> - <li>The parent returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent() - is the accessible spreadsheet page preview.</li> - <li>The children returned by - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild() - all support the interface - ::com::sun::star::accessibility::XAccessible. - Calling - ::com::sun::star::accessibility::XAccessible::getAccessibleContext() - for these children - returns an object that supports one of the following services.</li> - <ul> - <li>::com::sun::star::text::AccessibleHeaderFooterView: - A child where calling - ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild() - an object that supports this service is returned for - every header and footer that is at least partially visible.</li> - </ul> - <p>The following rules apply to the children order.</p> - <ul> - <li>The first is the left area, then the center area and the last - is the right area.</li> - </ul> - <li>The description is ???.</li> - <li>The name is Header or Footer respectively.</li> - <li>The role is ::com::sun::star::accessibility::AccessibleRole::HEADER - or ::com::sun::star::accessibility::AccessibleRole::FOOTER.</li> - <li>There are no relations.</li> - <li>The following states are supported: - <ul> - <li>::com::sun::star::accessibility::AccessibleStateType::DEFUNC - is always false until the preview is closed.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE - is always false, - because the document is not editable in the page preview. - So it is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED - is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE - makes no sense on - a document and so it is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE - is always - false, because in a page preview a selection is not - possible. So it is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE - is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::RESIZABLE - is always false, - because you can resize the window of the page preview, but - not the page preview itself. So it is left out of the - list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTABLE - is always false, - because in the page preview is no selection possible. So it - is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTED - is always false, - because in the page preview is no selection possible. So it - is left out of the list.</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 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/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx index 6230966837fe..46642865e45d 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx @@ -159,13 +159,6 @@ OUString SAL_CALL return u"ScAccessiblePageHeaderArea"_ustr; } -uno::Sequence< OUString> SAL_CALL - ScAccessiblePageHeaderArea::getSupportedServiceNames() -{ - const css::uno::Sequence<OUString> vals { u"com.sun.star.sheet.AccessiblePageHeaderFooterAreasView"_ustr }; - return comphelper::concatSequences(ScAccessibleContextBase::getSupportedServiceNames(), vals); -} - OUString ScAccessiblePageHeaderArea::createAccessibleDescription() { OUString sDesc; diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx index 9aecfd5b6d02..4be94b020ffe 100644 --- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx +++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx @@ -79,9 +79,6 @@ public: virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames() override; - protected: virtual OUString createAccessibleDescription() override; virtual OUString createAccessibleName() override; commit 1e8baf35bf9f7b403b7ee4a4fc63fd5c99108602 Author: Michael Weghorn <[email protected]> AuthorDate: Mon Jun 23 16:39:01 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Tue Jun 24 08:00:40 2025 +0200 [API CHANGE]: a11y: Drop com.sun.star.text.AccessibleTextDocumentView Drop the unpublished service "com.sun.star.text.AccessibleTextDocumentView" because it's unused (apart from providing some documentation about internal implementation details of the a11y class implementing it). 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 unpublisheded 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: If3fcc03720b5dfb62530c5efdaa954689f8efaf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186844 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 8dab7e8fd464..9b943973d151 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1309,7 +1309,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/text,\ AccessibleFootnoteView \ AccessibleHeaderFooterView \ AccessibleParagraphView \ - AccessibleTextDocumentView \ AccessibleTextEmbeddedObject \ AccessibleTextFrameView \ AccessibleTextGraphicObject \ diff --git a/offapi/com/sun/star/text/AccessibleTextDocumentView.idl b/offapi/com/sun/star/text/AccessibleTextDocumentView.idl deleted file mode 100644 index 77580a7aa6ef..000000000000 --- a/offapi/com/sun/star/text/AccessibleTextDocumentView.idl +++ /dev/null @@ -1,173 +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 a text document. - - @since OOo 1.1.2 - */ -service AccessibleTextDocumentView -{ - /** This interface gives access to any text, table, graphic, embedded - object and drawing that is at least partially visible on the screen. - The tree that arises from the children of this object reflects the - structure of the document as it is displayed. - - <ul> - <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 one of the - following services. - <ul> - <li>::com::sun::star::text::AccessibleHeaderFooterView: - A child of this kind is returned for every header - and footer that is at least partially visible. - <li>::com::sun::star::text::AccessibleFootnoteView: - A child of this kind is returned for every footnote - that is at least partially visible. - <li>::com::sun::star::text::AccessibleEndnoteView: - A child of this kind is returned for every endnote - that is at least partially visible. - <li>::com::sun::star::text::AccessibleParagraphView: - A child of this kind is returned for every paragraph - fragment that is contained in the document body and - is at least partially visible. A paragraph fragment is - the part of a paragraph that is displayed on a - certain page. - <li>::com::sun::star::table::AccessibleTableView: - A child of this kind is returned for every table - fragment that is contained in the document body - and is at least partially visible. A table fragment is - the part of a table that is displayed on a certain page. - <li>::com::sun::star::text::AccessibleTextFrameView: - A child of this - kind is returned for every text frame that is at - least partially visible. These objects are children - of the - AccessibleTextDocumentView regardless - whether they are bound to a page, a paragraph, a - frame, or a character. The only exception are text - frames that are bound as character. They are children - of the paragraph they are contained in. - <li>::com::sun::star::text::AccessibleTextGraphicObject: - A child of this kind is returned for every graphic that - is at least partially visible. These objects are - children of the AccessibleTextDocumentView - regardless whether they are bound to a page, paragraph, - a frame or a character. The only exception - are text frames that are bound as character. They are - children of the paragraph they are contained in. - <li>::com::sun::star::text::AccessibleTextEmbeddedObject: - A child of this kind is returned for every embedded - object that is at least partially visible. - These objects are children of the - AccessibleTextDocumentView regardless - whether they are bound to a page, a paragraph, a frame, - or a character. They are children of the paragraph they - are contained in. - <li>::com::sun::star::drawing::AccessibleShape: - A child of this kind (or a - derived interface) is returned for every shape that - is at least partially visible. These objects are - children of the - AccessibleTextDocumentView regardless - whether they are bound to a page, a paragraph, a - frame or a character. - </ul> - <p>The following rules apply to the children order: - <ul> - <li>The logical order of paragraph and table fragments is - never changed. - <li>Headers appear immediately before the first paragraph or - table fragment of the header's page. - <li>Footnotes appear immediately after the last paragraph or - table fragment of the footnote's page. The logical order - of footnotes isn't changed. - <li>Endnotes appear immediately after the last footnote of - the endnote's page or after the last paragraph or - table fragment of this page if there are no footnotes. - The logical order of endnotes isn't changed. - <li>Footers appear immediately after the last endnote, - footnote, paragraph or table fragment of the footer's - page. - <li>Text frames, graphics, embedded objects and shapes that - are painted in the background appear before any other - children. Their order reflects the z order. - <li>Text frames, graphics, embedded objects and shapes - that are painted in the foreground appear behind any - other children. Their order reflects the z order, - with the exception of controls that appear really last, - but also keep the z order. - </ul> - <li>The role is - ::com::sun::star::accessibility::AccessibleRole::DOCUMENT_TEXT. - <li>The name is "document view" (or the equivalent term - in application's language). - <li>The description also is "document view" (or the equivalent term - in application's language). - <li>There are no relation sets. - <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) - <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE - <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED - (always contained) - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE - (always contained) - <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE - (always contained) - <li>::com::sun::star::accessibility::AccessibleStateType::SHOWING - <li>::com::sun::star::accessibility::AccessibleStateType::VISIBLE - </ul> - <li>Depending of the application's region setting, the locale is - the western, Asian or complex default language of the document. - </ul> - - */ - interface ::com::sun::star::accessibility::XAccessibleContext; - - /** This interface describes the graphical representation of a text - document view. - */ - interface ::com::sun::star::accessibility::XAccessibleComponent; - - /** This interface is for selecting the document's children. Selectable - are any children with the exception of headers, footers, footnotes - and endnotes, where only the grandchildren might be selectable. - */ - 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/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index 78812c2ffebf..c93b5eed5552 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -51,7 +51,6 @@ #include <dview.hxx> #include <dcontact.hxx> #include <svx/svdmark.hxx> -constexpr OUString sServiceName = u"com.sun.star.text.AccessibleTextDocumentView"_ustr; using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; @@ -366,7 +365,7 @@ OUString SAL_CALL SwAccessibleDocument::getImplementationName() uno::Sequence< OUString > SAL_CALL SwAccessibleDocument::getSupportedServiceNames() { - return { sServiceName, sAccessibleServiceName }; + return { sAccessibleServiceName }; } // XAccessibleSelection commit 194ef0598cec4feb7b57df2b155c6aed3c299c40 Author: Michael Weghorn <[email protected]> AuthorDate: Mon Jun 23 16:33:13 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Tue Jun 24 08:00:34 2025 +0200 [API CHANGE]: a11y: Drop com.sun.star.sheet.AccessibleSpreadsheetDocumentView Drop the unpublished service "com.sun.star.sheet.AccessibleSpreadsheetDocumentView" because it's unused (apart from providing some documentation about internal implementation details of the a11y class implementing it). This is one step towards dropping the XServiceInfo implementation from sc 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 unpublisheded 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: Ia5f1009060c48015da91dee2a27496a8d24a27a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186843 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 3ccc4ffd386b..8dab7e8fd464 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1150,7 +1150,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\ AccessibleCsvTable \ AccessiblePageHeaderFooterAreasView \ AccessibleSpreadsheet \ - AccessibleSpreadsheetDocumentView \ AddIn \ CellAnnotation \ CellAnnotationShape \ diff --git a/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl b/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl deleted file mode 100644 index 166f2c5407a1..000000000000 --- a/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl +++ /dev/null @@ -1,137 +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 sheet { - - -/** The accessible view of a spreadsheet document - - @since OOo 1.1.2 - - */ -service AccessibleSpreadsheetDocumentView -{ - /** This interface gives access to any object that is contained in this - document. - - <ul> - <li>The parent returned by getAccessibleParent() - is the window which contains the view of these document.</li> - <li>The children returned by getAccessibleChild() all - support the interface XAccessible. Calling - getAccessibleContext() for these children returns - an object that supports one of the following services.</li> - <ul> - <li>::com::sun::star::sheet::AccessibleSpreadsheet: - A child where calling getAccessibleChild() - an object that supports this service is returned for - the current spreadsheet which is showing in this document - window. There is every time one child which supports this - service, because it is only possible to have one spreadsheet - in the current document window.</li> - <li>::com::sun::star::drawing::AccessibleShape: - A child where calling getAccessibleChild() - an object that supports this service is returned - for every shape that is at the current table. These - objects are children of the - AccessibleSpreadsheetDocumentView regardless - whether they are bound to a table or a cell.</li> - <li>::com::sun::star::text::AccessibleParagraphView: - A child where calling getAccessibleChild() - an object that supports this service is returned for - the current cell in edit mode. This is necessary to - have an object which allows event listeners. It exists - only if a cell is in edit mode.</li> - <li>::com::sun::star::accessibility::AccessibleContext: - A child where calling getAccessibleChild() - an object that supports this service is returned for - the current OLE object in edit mode. It exists - only if an OLE object is in edit mode.</li> - </ul> - <p>The following rules apply to the children order. General it - represents the paint order. The object in the background came - first and then all over lying objects. The last painted object - is also the last child.</p> - <ul> - <li>Graphics, embedded objects and shapes appear - before the other children if they are painted in the - background. Their order reflects the z order.</li> - <li>The current table is painted after the background and so it - comes after all background objects.</li> - <li>Graphics, embedded objects and shapes appear - behind any other children except controls if they are - painted in the foreground. Their order reflects the z order.</li> - <li>Controls appear behind the other graphic objects. Their order - reflects the z order.</li> - <li>The temporary object for the cell or OLE in edit mode (only - one can exist in the same time) is the last object.</li> - </ul> - <li>The description is ???.</li> - <li>The name is Spreadsheet Document View with a unique number.</li> - <li>The role is ::com::sun::star::accessibility::AccessibleRole::DOCUMENT_SPREADSHEET</li> - <li>There are no relations.</li> - <li>The following states are supported: - <ul> - <li>::com::sun::star::accessibility::AccessibleStateType::DEFUNC is always false until the document is - closed.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE makes no sense in on a document and - so it is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE is always false, because a - document is not selectable. Only the children are - selectable. So it is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE is always true.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::RESIZABLE is always false, because you can - resize the window, but not the document. So it is left out - of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTABLE is always false, because a - document is not selectable. Only the children are - selectable. So it is left out of the list.</li> - <li>::com::sun::star::accessibility::AccessibleStateType::SELECTED is always false, because a - document is not selectable. Only the children are - selectable. So it is left out of the list.</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 is for selecting the document's children like - shapes or the whole table. - */ - 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/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index d68448a597fa..e57bff6285a6 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -1886,13 +1886,6 @@ OUString SAL_CALL return u"ScAccessibleDocument"_ustr; } -uno::Sequence< OUString> SAL_CALL - ScAccessibleDocument::getSupportedServiceNames() -{ - const css::uno::Sequence<OUString> vals { u"com.sun.star.AccessibleSpreadsheetDocumentView"_ustr }; - return comphelper::concatSequences(ScAccessibleContextBase::getSupportedServiceNames(), vals); -} - ///===== IAccessibleViewForwarder ======================================== tools::Rectangle ScAccessibleDocument::GetVisibleArea_Impl() diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx index 1db26b561291..1d6b6213ab92 100644 --- a/sc/source/ui/inc/AccessibleDocument.hxx +++ b/sc/source/ui/inc/AccessibleDocument.hxx @@ -131,11 +131,6 @@ public: virtual OUString SAL_CALL getImplementationName() override; - /** Returns a list of all supported services. - */ - virtual css::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames() override; - ///===== IAccessibleViewForwarder ======================================== /** Returns the area of the underlying document that is visible in the
