/* -*- 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 . */ #include #include #include #include #include using namespace css; using namespace css::uno; namespace sfx2 { namespace sidebar { Reference AccessibleTitleBar::Create (TitleBar& rTitleBar) { rTitleBar.GetComponentInterface(); VCLXWindow* pWindow = rTitleBar.GetWindowPeer(); if (pWindow != nullptr) return new Accessible(new AccessibleTitleBar(pWindow)); else return nullptr; } AccessibleTitleBar::AccessibleTitleBar (VCLXWindow* pWindow) : VCLXAccessibleComponent(pWindow) { } AccessibleTitleBar::~AccessibleTitleBar() { } void AccessibleTitleBar::FillAccessibleStateSet (utl::AccessibleStateSetHelper& rStateSet) { VCLXAccessibleComponent::FillAccessibleStateSet(rStateSet); rStateSet.AddState(accessibility::AccessibleStateType::FOCUSABLE); } } } // end of namespace sfx2::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ tro/collabora/cd-5.3-3.1'>distro/collabora/cd-5.3-3.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-01-13tdf#131386 writerfilter: RTF import paragraph mark formattingMichael Stahl
2022-11-09SwModelTestBase: inherit from UnoApiXmlTestXisco Fauli
2020-07-31sw: introduce a Library_swqahelperMiklos Vajna
2019-11-08sw: no reason why SwModelTestBase can be used only by "extras" testsMiklos Vajna
2019-10-14remove -bigobj usage from sw rtf unittestsLuboš Luňák
2019-10-04use the common system PCH header in sw/Luboš Luňák
2019-03-08sw: replace long lists of components with services.rdbMichael Stahl
2018-10-01Change all font-based tests to depend on ooo_fontsJan-Marek Glogowski
2018-05-31SwModule is a convenient (?) place for passing events to Automation clientsTor Lillqvist
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl
2017-09-20Missing dependencyStephan Bergmann
2017-07-18No reason to silently misbehave when these UNO services are missingStephan Bergmann
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2017-04-17Avoid C1128Tor Lillqvist
2017-03-08make SfxGetpApp just get and move GetOrCreate to the peripheryCaolán McNamara
2016-07-27add uui component to some other placesCaolán McNamara
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko
2016-01-06sw: remove include of sw/source/inc/uibase/dbui.hxx from dbmgr.hxxMichael Stahl
2015-12-21tdf93236 N-UP printing in combination with mailmerge broken file-print 1/4Juergen Funk
2015-02-27gbuild: CppunitTest: always use unittest configurationMichael Stahl
2014-06-04DeInitVCL at end of testsStephan Bergmann
2014-05-01Simplify type detectorsMaxim Monastirsky