[API CHANGE] a11y: Drop com.sun.star.awt.AccessibleTabBarPage
Drop the unpublished service "com.sun.star.awt.AccessibleTabBarPage" because it's unused. (The IDL file only documents some internal implementation details of the a11y class implementing the service.) Change-Id: I7af89ae1202b6e33248587f71dd8a5b0e3558e7c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210307 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
@@ -494,7 +494,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/awt,\
|
||||
AccessibleStatusBar \
|
||||
AccessibleStatusBarItem \
|
||||
AccessibleTabBar \
|
||||
AccessibleTabBarPage \
|
||||
AccessibleTabControl \
|
||||
AccessibleTabPage \
|
||||
AccessibleWindow \
|
||||
|
||||
@@ -1,74 +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 awt {
|
||||
|
||||
/** specifies accessibility support for a tabbar page.
|
||||
|
||||
@since OOo 1.1.2
|
||||
*/
|
||||
service AccessibleTabBarPage
|
||||
{
|
||||
/** This interface gives access to the structural information of a
|
||||
tabbar page:
|
||||
|
||||
<ul>
|
||||
<li>Role: The role of a tabbar page is
|
||||
com::sun::star::accessibility::AccessibleRole::PAGE_TAB.</li>
|
||||
<li>Name: The name of a tabbar page is the localized
|
||||
tabbar page text.</li>
|
||||
<li>Description: The description of a tabbar page is its localized
|
||||
help text.</li>
|
||||
<li>Children: There are no children.</li>
|
||||
<li>Parent: The parent of a tabbar page is the tabbar page list.</li>
|
||||
<li>Relations: There are no relations.</li>
|
||||
<li>States: The states supported by this service are
|
||||
<ul>
|
||||
<li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
|
||||
is set if the object has already been disposed
|
||||
and subsequent calls to this object result in
|
||||
com::sun::star::lang::DisposedException
|
||||
exceptions.</li>
|
||||
<li>com::sun::star::accessibility::AccessibleStateType::ENABLED
|
||||
is set if the object is enabled.</li>
|
||||
<li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
|
||||
is always set.</li>
|
||||
<li>com::sun::star::accessibility::AccessibleStateType::SELECTED
|
||||
is set if the object is selected.</li>
|
||||
<li>com::sun::star::accessibility::AccessibleStateType::SHOWING
|
||||
is set if the object is displayed on the screen.</li>
|
||||
<li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
|
||||
is always set.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
*/
|
||||
interface ::com::sun::star::accessibility::XAccessibleContext;
|
||||
|
||||
interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
|
||||
|
||||
interface ::com::sun::star::accessibility::XAccessibleComponent;
|
||||
|
||||
interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
|
||||
|
||||
};
|
||||
|
||||
}; }; }; };
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
@@ -42,11 +42,11 @@ using namespace ::com::sun::star::lang;
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::comphelper;
|
||||
|
||||
|
||||
AccessibleTabBarPage::AccessibleTabBarPage( TabBar* pTabBar, sal_uInt16 nPageId, const Reference< XAccessible >& rxParent )
|
||||
:ImplInheritanceHelper( pTabBar )
|
||||
,m_nPageId( nPageId )
|
||||
,m_xParent( rxParent )
|
||||
AccessibleTabBarPage::AccessibleTabBarPage(TabBar* pTabBar, sal_uInt16 nPageId,
|
||||
const Reference<XAccessible>& rxParent)
|
||||
: AccessibleTabBarBase(pTabBar)
|
||||
, m_nPageId(nPageId)
|
||||
, m_xParent(rxParent)
|
||||
{
|
||||
m_bShowing = IsShowing();
|
||||
m_bSelected = IsSelected();
|
||||
@@ -191,27 +191,6 @@ void AccessibleTabBarPage::disposing()
|
||||
m_sPageText.clear();
|
||||
}
|
||||
|
||||
|
||||
// XServiceInfo
|
||||
|
||||
|
||||
OUString AccessibleTabBarPage::getImplementationName()
|
||||
{
|
||||
return u"com.sun.star.comp.svtools.AccessibleTabBarPage"_ustr;
|
||||
}
|
||||
|
||||
|
||||
sal_Bool AccessibleTabBarPage::supportsService( const OUString& rServiceName )
|
||||
{
|
||||
return cppu::supportsService(this, rServiceName);
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames()
|
||||
{
|
||||
return { u"com.sun.star.awt.AccessibleTabBarPage"_ustr };
|
||||
}
|
||||
|
||||
// XAccessibleContext
|
||||
|
||||
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
namespace accessibility
|
||||
{
|
||||
|
||||
class AccessibleTabBarPage final
|
||||
: public cppu::ImplInheritanceHelper<AccessibleTabBarBase, css::lang::XServiceInfo>
|
||||
class AccessibleTabBarPage final : public AccessibleTabBarBase
|
||||
{
|
||||
friend class AccessibleTabBarPageList;
|
||||
|
||||
@@ -61,11 +60,6 @@ public:
|
||||
AccessibleTabBarPage( TabBar* pTabBar, sal_uInt16 nPageId,
|
||||
const css::uno::Reference< css::accessibility::XAccessible >& rxParent );
|
||||
|
||||
// XServiceInfo
|
||||
virtual OUString SAL_CALL getImplementationName() override;
|
||||
virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override;
|
||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||
|
||||
// XAccessibleContext
|
||||
virtual sal_Int64 SAL_CALL getAccessibleChildCount( ) override;
|
||||
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int64 i ) override;
|
||||
|
||||
Reference in New Issue
Block a user