/* -*- 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 "a11ywrapperbutton.h" #include "a11ytextwrapper.h" // Wrapper for AXButton role @implementation AquaA11yWrapperButton : AquaA11yWrapper -(id)valueAttribute { return [ NSString string ]; // we propagate AXTitle, that's enough } -(id)descriptionAttribute { return [ NSString string ]; // we propagate AXTitle, that's enough } -(NSArray *)accessibilityAttributeNames { // Default Attributes NSMutableArray * attributeNames = [ NSMutableArray arrayWithArray: [ super accessibilityAttributeNames ] ]; // Special Attributes and removing unwanted attributes depending on role if ( [ attributeNames containsObject: NSAccessibilityTitleAttribute ] ) { [ attributeNames removeObject: NSAccessibilityDescriptionAttribute ]; } else { [ attributeNames addObject: NSAccessibilityTitleAttribute ]; } // Remove text-specific attributes [ attributeNames removeObjectsInArray: [ AquaA11yTextWrapper specialAttributeNames ] ]; return attributeNames; } @end /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 5.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/source/treelist/svlbitm.cxx
AgeCommit message (Expand)Author
2022-08-01Fix typo in codeAndrea Gelmini
2022-07-22tdf#117276 sc: Show hidden filter elements as inactive elementsBalazs Varga
2022-07-13clang-tidy modernize-pass-by-value in vclNoel Grandin
2022-07-11tools: rename getHeight/Width() to GetOpenHeight/Width()Chris Sherlock
2021-09-06clang-tidy:readability-redundant-member-initNoel Grandin
2021-05-17split OutputDevice from WindowNoel Grandin
2020-10-19use tools::Long in vclNoel
2020-08-16loplugin:unusedmethodsNoel Grandin
2020-08-12SvTreeListBox can move into toolkit headers nowCaolán McNamara
2020-08-12svlbitm.hxx can be toolkit only nowCaolán McNamara
2020-08-07nothing calls EnableEntryMnemonics anymoreCaolán McNamara
2020-06-02add separators to TreeViewCaolán McNamara
2020-05-08split button.hxx into toolkit-only pieceCaolán McNamara
2020-04-04add ability to have custom renderer treeview rowsCaolán McNamara
2020-04-04fix SvLBoxString::Clone wrt newly added entriesCaolán McNamara
2020-03-27add text alignment support to treeview entriesCaolán McNamara
2019-08-26enum SvLBoxButtonKind is effectively unusedNoel Grandin
2019-08-22loplugin:constmethod in vclNoel Grandin
2019-07-24remove unused SvLBoxButtonKind::StaticImageNoel Grandin
2019-05-20calc item width on requestCaolán McNamara
2019-05-20split width/height to allow intercept of how width is calculatedCaolán McNamara
2019-04-06weld OTableSubscriptionPageCaolán McNamara
2019-03-26loplugin:unusedmethodsNoel Grandin
2019-03-05weld SfxAcceleratorConfigPageCaolán McNamara
2018-12-12weld SwAddStylesDlgCaolán McNamara
2018-12-05loplugin:unnecessaryparen include more assignmentsNoel Grandin
2018-11-07move SvTreeListBox to vclCaolán McNamara