/* -*- 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 "a11ywrappercheckbox.h" #include "a11yvaluewrapper.h" #include "a11ytextwrapper.h" // Wrapper for AXCheckbox role @implementation AquaA11yWrapperCheckBox : AquaA11yWrapper -(id)valueAttribute { if ( [ self accessibleValue ] ) { return [ AquaA11yValueWrapper valueAttributeForElement: self ]; } return [ NSNumber numberWithInt: 0 ]; } -(BOOL)accessibilityIsAttributeSettable:(NSString *)attribute { if ( [ attribute isEqualToString: NSAccessibilityValueAttribute ] ) { return NO; } return [ super accessibilityIsAttributeSettable: attribute ]; } -(NSArray *)accessibilityAttributeNames { // Default Attributes NSMutableArray * attributeNames = [ NSMutableArray arrayWithArray: [ super accessibilityAttributeNames ] ]; // Remove text-specific attributes [ attributeNames removeObjectsInArray: [ AquaA11yTextWrapper specialAttributeNames ] ]; [ attributeNames addObject: NSAccessibilityValueAttribute ]; [ attributeNames addObject: NSAccessibilityMinValueAttribute ]; [ attributeNames addObject: NSAccessibilityMaxValueAttribute ]; return attributeNames; } @end /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -3.2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/unoxml/source/xpath
AgeCommit message (Expand)Author
2024-05-16loplugin:ostr in unoxmlNoel Grandin
2024-03-31tdf#146619 Drop unused 'using namespace' in: unoxml/Gabor Kelemen
2023-11-27tdf#158302 fix build against system-libxml-2.12Miklos Vajna
2023-10-19tdf#42982: Improve UNO API error reportingkhushishikhu
2023-03-30loplugin:stringadd in ucbhelper..uuiNoel Grandin
2023-01-15XUnoTunnel->dynamic_cast in CNodeNoel Grandin
2022-09-14libxml2: upgrade to release 2.10.2Michael Stahl
2022-06-27clang-tidy modernize-pass-by-value in unoxmlNoel Grandin
2022-04-12Recheck modules [uU]* with IWYUGabor Kelemen
2021-09-15Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 1Mike Kaganski
2021-08-03Consolidate on C++17 std::scoped_lock instead of std::lock_guardNoel Grandin
2021-07-31osl::Mutex->std::mutex in CXPathAPINoel Grandin
2021-03-23tdf#124176 Use pragma once in u*Vincent LE GARREC
2021-02-16loplugin:referencecasting in UnoControls..unoxmlNoel
2020-07-08unoxml: create instances with uno constructorsNoel Grandin
2020-01-09tdf#42949 Fix IWYU warnings in unoxml/Gabor Kelemen
2019-12-24sal_Char->char in unoxmlNoel Grandin
2019-10-28add some __attribute__ ((formatNoel Grandin
2019-08-18Simplify code in unoxml about initializationsJulien Nabet
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): unoxmlStephan Bergmann
2019-06-18tdf#39593 Remove DOM::CNode::GetImplementationArkadiy Illarionov
2019-04-19optimise find/insert patternNoel Grandin
2019-03-31tdf#120703 PVS: remove redundant static castsMike Kaganski
2018-12-06loplugin:singlevalfields in unoxmlNoel Grandin
2018-10-15Simplify containers iterations in unotools, unoxml, uui, vbahelperArkadiy Illarionov
2018-08-02Add missing sal/log.hxx headersGabor Kelemen
2018-01-12More loplugin:cstylecast: unoxmlStephan Bergmann
2017-11-20look for =() in loplugin:unnecessaryparenNoel Grandin
2017-10-23loplugin:includeform: unoxmlStephan Bergmann
2017-08-11convert std::map::insert to std::map::emplaceNoel Grandin
2017-07-14use more OUString::operator== in test..xmlsecurityNoel Grandin