Drop the com.sun.star.accessibility.GetStandardAccessibleFactoryService UNO service that was used to create instances of the a11y classes for (mainly vcl) widgets. The service was needed to break a dependency cycle. However, with Change-Id: Ib46c87446dc9121d3b8e735e0e5a40594da73cc5 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Tue Dec 17 12:04:04 2024 +0100 a11y: Merge accessibility module into vcl and all the preparatory commits in place, there is no more dependency cycle, as the a11y classes for vcl widgets no longer depend on any modules "above" vcl. Therefore, drop the UNO service and the abstract vcl::IAccessibleFactory class and other related classes. Make all methods in the AccessibleFactory class (that was previously subclassing the abstract IAccessibleFactory) static helper methods, and call them directly. The UNO service dropped in this commit was introduced in commit 1af510e95147374e5289ae1c12f1f280931919f4 Date: Wed Feb 21 11:30:47 2024 +0200 Create an UNO service to do the symbol lookup in toolkit::AccessibilityClient and its documentation was already clearly stating that it's only meant for LibreOffice internal use: > /** > The toolkit module uses this to get a pointer to the AccessibleFactory from the acc module. > Because we have a dependency in our modules that goes the "wrong" way. > > @since LibreOffice 24.8 > > @internal > > ATTENTION: This is marked <em>internal</em> and does not > have the <em>published</em> flag, which means it is subject to > change without notice and should not be used outside the LibreOffice core. > */ Change-Id: Ib97396a4bad486d9530361dd851ad3ee0f9681b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178689 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
90 lines
4.1 KiB
XML
90 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
* 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 .
|
|
-->
|
|
|
|
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
|
|
prefix="vcl" xmlns="http://openoffice.org/2010/uno-components">
|
|
<implementation name="com.sun.star.comp.datatransfer.dnd.OleDragSource_V1">
|
|
<service name="com.sun.star.datatransfer.dnd.OleDragSource"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1">
|
|
<service name="com.sun.star.datatransfer.dnd.OleDropTarget"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.comp.graphic.GraphicMapper"
|
|
constructor="com_sun_star_comp_graphic_GraphicMapper_get_implementation">
|
|
<service name="com.sun.star.graphic.GraphicMapper"/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.comp.graphic.GraphicProvider"
|
|
constructor="com_sun_star_comp_graphic_GraphicProvider_get_implementation">
|
|
<service name="com.sun.star.graphic.GraphicProvider"/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.clipboard.AquaClipboard"
|
|
constructor="vcl_SystemClipboard_get_implementation">
|
|
<service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.clipboard.iOSClipboard"
|
|
constructor="vcl_SystemClipboard_get_implementation">
|
|
<service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.dnd.XdndDropTarget">
|
|
<service name="com.sun.star.datatransfer.dnd.X11DropTarget"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.dnd.XdndSupport">
|
|
<service name="com.sun.star.datatransfer.dnd.X11DragSource"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.MimeCntTypeFactory"
|
|
constructor="dtrans_CMimeContentTypeFactory_get_implementation">
|
|
<service name="com.sun.star.datatransfer.MimeContentTypeFactory"/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.VCLGenericClipboard"
|
|
constructor="vcl_SystemClipboard_get_implementation">
|
|
<service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.datatransfer.X11ClipboardSupport"
|
|
constructor="vcl_SystemClipboard_get_implementation">
|
|
<service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.frame.VCLSessionManagerClient"
|
|
constructor="com_sun_star_frame_VCLSessionManagerClient_get_implementation">
|
|
<service name="com.sun.star.frame.SessionManagerClient"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="com.sun.star.graphic.GraphicObject"
|
|
constructor="com_sun_star_graphic_GraphicObject_get_implementation">
|
|
<service name="com.sun.star.graphic.GraphicObject"/>
|
|
</implementation>
|
|
<implementation name="org.libreoffice.uitest.UITest"
|
|
constructor="UITest_get_implementation">
|
|
<service name="com.sun.star.ui.test.UITest"/>
|
|
<optional/>
|
|
</implementation>
|
|
<implementation name="vcl::FontIdentificator"
|
|
constructor="vcl_FontIdentificator_get_implementation">
|
|
<service name="com.sun.star.awt.FontIdentificator"/>
|
|
<optional/>
|
|
</implementation>
|
|
</component>
|