svxrectctaccessiblecontext.cxx (4d7c9de0) | svxrectctaccessiblecontext.cxx (3ea0c3d5) |
---|---|
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 --- 353 unchanged lines hidden (view full) --- 362{ 363 //return AccessibleRole::GROUP_BOX; 364 return AccessibleRole::PANEL; 365} 366 367::rtl::OUString SAL_CALL SvxRectCtlAccessibleContext::getAccessibleDescription( void ) throw( RuntimeException ) 368{ 369 ::osl::MutexGuard aGuard( m_aMutex ); | 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 --- 353 unchanged lines hidden (view full) --- 362{ 363 //return AccessibleRole::GROUP_BOX; 364 return AccessibleRole::PANEL; 365} 366 367::rtl::OUString SAL_CALL SvxRectCtlAccessibleContext::getAccessibleDescription( void ) throw( RuntimeException ) 368{ 369 ::osl::MutexGuard aGuard( m_aMutex ); |
370 //return msDescription; | |
371 return msDescription +::rtl::OUString::createFromAscii(" Please use arrow key to selection."); 372} 373 374::rtl::OUString SAL_CALL SvxRectCtlAccessibleContext::getAccessibleName( void ) throw( RuntimeException ) 375{ 376 ::osl::MutexGuard aGuard( m_aMutex ); 377 return msName; 378} 379 380/** Return empty reference to indicate that the relation set is not 381 supported. 382*/ 383Reference< XAccessibleRelationSet > SAL_CALL SvxRectCtlAccessibleContext::getAccessibleRelationSet( void ) throw( RuntimeException ) 384{ | 370 return msDescription +::rtl::OUString::createFromAscii(" Please use arrow key to selection."); 371} 372 373::rtl::OUString SAL_CALL SvxRectCtlAccessibleContext::getAccessibleName( void ) throw( RuntimeException ) 374{ 375 ::osl::MutexGuard aGuard( m_aMutex ); 376 return msName; 377} 378 379/** Return empty reference to indicate that the relation set is not 380 supported. 381*/ 382Reference< XAccessibleRelationSet > SAL_CALL SvxRectCtlAccessibleContext::getAccessibleRelationSet( void ) throw( RuntimeException ) 383{ |
385 //return Reference< XAccessibleRelationSet >(); | |
386 utl::AccessibleRelationSetHelper* pRelationSetHelper = new utl::AccessibleRelationSetHelper; 387 uno::Reference< accessibility::XAccessibleRelationSet > xSet = pRelationSetHelper; 388 Window* pWindow = mpRepr; 389 if ( pWindow ) 390 { 391 // Window *pLabeledBy = pWindow->GetAccRelationLabeledBy(); 392 Window *pLabeledBy = pWindow->GetAccessibleRelationLabeledBy(); 393 if ( pLabeledBy && pLabeledBy != pWindow ) --- 946 unchanged lines hidden --- | 384 utl::AccessibleRelationSetHelper* pRelationSetHelper = new utl::AccessibleRelationSetHelper; 385 uno::Reference< accessibility::XAccessibleRelationSet > xSet = pRelationSetHelper; 386 Window* pWindow = mpRepr; 387 if ( pWindow ) 388 { 389 // Window *pLabeledBy = pWindow->GetAccRelationLabeledBy(); 390 Window *pLabeledBy = pWindow->GetAccessibleRelationLabeledBy(); 391 if ( pLabeledBy && pLabeledBy != pWindow ) --- 946 unchanged lines hidden --- |