| AccessibleContextBase.cxx (190118d0) | AccessibleContextBase.cxx (b1bc2d97) |
|---|---|
| 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 167 unchanged lines hidden (view full) --- 176 177 178void AccessibleContextBase::SetRelationSet ( 179 const uno::Reference<XAccessibleRelationSet>& rxNewRelationSet) 180 throw (::com::sun::star::uno::RuntimeException) 181{ 182 OSL_TRACE ("setting relation set"); 183 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 167 unchanged lines hidden (view full) --- 176 177 178void AccessibleContextBase::SetRelationSet ( 179 const uno::Reference<XAccessibleRelationSet>& rxNewRelationSet) 180 throw (::com::sun::star::uno::RuntimeException) 181{ 182 OSL_TRACE ("setting relation set"); 183 |
| 184 // Try to emit some meaningfull events indicating differing relations in | 184 // Try to emit some meaningful events indicating differing relations in |
| 185 // both sets. 186 typedef std::pair<short int,short int> RD; 187 const RD aRelationDescriptors[] = { 188 RD(AccessibleRelationType::CONTROLLED_BY, AccessibleEventId::CONTROLLED_BY_RELATION_CHANGED), 189 RD(AccessibleRelationType::CONTROLLER_FOR, AccessibleEventId::CONTROLLER_FOR_RELATION_CHANGED), 190 RD(AccessibleRelationType::LABELED_BY, AccessibleEventId::LABELED_BY_RELATION_CHANGED), 191 RD(AccessibleRelationType::LABEL_FOR, AccessibleEventId::LABEL_FOR_RELATION_CHANGED), 192 RD(AccessibleRelationType::MEMBER_OF, AccessibleEventId::MEMBER_OF_RELATION_CHANGED), --- 519 unchanged lines hidden --- | 185 // both sets. 186 typedef std::pair<short int,short int> RD; 187 const RD aRelationDescriptors[] = { 188 RD(AccessibleRelationType::CONTROLLED_BY, AccessibleEventId::CONTROLLED_BY_RELATION_CHANGED), 189 RD(AccessibleRelationType::CONTROLLER_FOR, AccessibleEventId::CONTROLLER_FOR_RELATION_CHANGED), 190 RD(AccessibleRelationType::LABELED_BY, AccessibleEventId::LABELED_BY_RELATION_CHANGED), 191 RD(AccessibleRelationType::LABEL_FOR, AccessibleEventId::LABEL_FOR_RELATION_CHANGED), 192 RD(AccessibleRelationType::MEMBER_OF, AccessibleEventId::MEMBER_OF_RELATION_CHANGED), --- 519 unchanged lines hidden --- |