/* -*- 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 . */ #ifndef INCLUDED_EDITENG_ACCESSIBLECOMPONENTBASE_HXX #define INCLUDED_EDITENG_ACCESSIBLECOMPONENTBASE_HXX #include #include namespace com::sun::star::accessibility { class XAccessible; } namespace accessibility { /** @descr This base class provides (will provice) a base implementation of the XAccessibleComponent and the XAccessibleExtendedComponent for all shapes. For more detailed documentation about the methods refer to the interface descriptions of XAccessible, XAccessibleContext, XInterface, XServiceInfo, and XTypeProvider. */ class EDITENG_DLLPUBLIC AccessibleComponentBase : public css::accessibility::XAccessibleExtendedComponent { public: //===== internal ======================================================== AccessibleComponentBase(); virtual ~AccessibleComponentBase(); //===== XAccessibleComponent ================================================ /** The default implementation uses the result of getBounds to determine whether the given point lies inside this object. */ virtual sal_Bool SAL_CALL containsPoint ( const css::awt::Point& aPoint) override; /** The default implementation returns an empty reference. */ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint ( const css::awt::Point& aPoint) override; /** The default implementation returns an empty rectangle. */ virtual css::awt::Rectangle SAL_CALL getBounds() override; /** The default implementation uses the result of getBounds to determine the location. */ virtual css::awt::Point SAL_CALL getLocation() override; /** The default implementation returns an empty position, i.e. the * result of the default constructor of css::awt::Point. */ virtual css::awt::Point SAL_CALL getLocationOnScreen() override; /** The default implementation uses the result of getBounds to determine the size. */ virtual css::awt::Size SAL_CALL getSize() override; /** The default implementation does nothing. */ virtual void SAL_CALL grabFocus() override; /** Returns black as the default foreground color. */ virtual sal_Int32 SAL_CALL getForeground() override; /** Returns white as the default background color. */ virtual sal_Int32 SAL_CALL getBackground() override; //===== XAccessibleExtendedComponent ==================================== virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont() override; virtual OUString SAL_CALL getTitledBorderText() override; virtual OUString SAL_CALL getToolTipText() override; //===== XTypeProvider =================================================== /// @throws css::uno::RuntimeException virtual css::uno::Sequence< css::uno::Type> SAL_CALL getTypes(); }; } // end of namespace accessibility #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ tion value='distro/collabora/cp-6.0-29'>distro/collabora/cp-6.0-29 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
2012-04-23Unused code removalJavier Silva Sanahuja
2012-04-20Remove unused method ArgInput::GetArgSelectionJaime Navarro
2012-04-09add package deps for resourcesDavid Tardon
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
2012-04-02remove static objects from static_initialization_and_destruction chainCaolán McNamara
2012-03-27more dependencies and include pathsMatúš Kukan
2012-03-23.html files don't need executable bitsMichael Stahl
2012-03-23.component files don't need executable bitsMichael Stahl
2012-03-23.hrc files don't need executable bitsMichael Stahl
2012-03-23.h files don't need executable bitsMichael Stahl
2012-03-22restructure the code a bit moreMarkus Mohrhard
2012-03-22prevent call to virtual method in destructor, fdo#47589Markus Mohrhard
2012-03-21No FORMULA_DLLPUBLIC needed hereStephan Bergmann
2012-03-21Ensure ResMgr outlives ResourcesStephan Bergmann
2012-03-21chmod -xTor Lillqvist
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-03-05WaE: expression result unusedTor Lillqvist
2012-03-01More IMPL_LINK_NOARG fixesStephan Bergmann
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan
2012-02-08Added READMEs for modules which used to be in libs-coreJosh Heidenreich
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-01-24callcatcher: update list, remove newly unused methodsCaolán McNamara
2012-01-20Mempool size args are unused.Stephan Bergmann
2012-01-19remove unused methodsThomas Arnhold
2012-01-19remove unused macrosThomas Arnhold
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz