vclxaccessiblecombobox.cxx (c82f2877) | vclxaccessiblecombobox.cxx (15466770) |
---|---|
1/************************************************************** | 1/************************************************************** |
2 * | 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 9 * with the License. You may obtain a copy of the License at | 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 9 * with the License. You may obtain a copy of the License at |
10 * | 10 * |
11 * http://www.apache.org/licenses/LICENSE-2.0 | 11 * http://www.apache.org/licenses/LICENSE-2.0 |
12 * | 12 * |
13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. | 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. |
19 * | 19 * |
20 *************************************************************/ 21 22 23 24// MARKER(update_precomp.py): autogen include statement, do not remove 25#include "precompiled_accessibility.hxx" 26#include <accessibility/standard/vclxaccessiblecombobox.hxx> 27#include <accessibility/standard/vclxaccessiblelist.hxx> --- 5 unchanged lines hidden (view full) --- 33using namespace ::com::sun::star; 34using namespace ::com::sun::star::uno; 35using namespace ::com::sun::star::lang; 36using namespace ::com::sun::star::beans; 37using namespace ::com::sun::star::accessibility; 38 39 40VCLXAccessibleComboBox::VCLXAccessibleComboBox (VCLXWindow* pVCLWindow) | 20 *************************************************************/ 21 22 23 24// MARKER(update_precomp.py): autogen include statement, do not remove 25#include "precompiled_accessibility.hxx" 26#include <accessibility/standard/vclxaccessiblecombobox.hxx> 27#include <accessibility/standard/vclxaccessiblelist.hxx> --- 5 unchanged lines hidden (view full) --- 33using namespace ::com::sun::star; 34using namespace ::com::sun::star::uno; 35using namespace ::com::sun::star::lang; 36using namespace ::com::sun::star::beans; 37using namespace ::com::sun::star::accessibility; 38 39 40VCLXAccessibleComboBox::VCLXAccessibleComboBox (VCLXWindow* pVCLWindow) |
41 : VCLXAccessibleBox (pVCLWindow, VCLXAccessibleBox::COMBOBOX, false) | 41 : VCLXAccessibleBox (pVCLWindow, VCLXAccessibleBox::COMBOBOX, false) |
42{ 43} 44 45 46 47 48VCLXAccessibleComboBox::~VCLXAccessibleComboBox (void) 49{ 50} 51 52 53 54 55bool VCLXAccessibleComboBox::IsValid (void) const 56{ | 42{ 43} 44 45 46 47 48VCLXAccessibleComboBox::~VCLXAccessibleComboBox (void) 49{ 50} 51 52 53 54 55bool VCLXAccessibleComboBox::IsValid (void) const 56{ |
57 return static_cast<ComboBox*>(GetWindow()) != NULL; 58 | 57 return static_cast<ComboBox*>(GetWindow()) != NULL; 58 |
59} 60 61 62 63 64void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) 65{ | 59} 60 61 62 63 64void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) 65{ |
66 VCLXAccessibleBox::ProcessWindowEvent( rVclWindowEvent ); | 66 VCLXAccessibleBox::ProcessWindowEvent( rVclWindowEvent ); |
67} 68 69 70 71 72//===== XServiceInfo ======================================================== 73 | 67} 68 69 70 71 72//===== XServiceInfo ======================================================== 73 |
74::rtl::OUString VCLXAccessibleComboBox::getImplementationName (void) 75 throw (RuntimeException) | 74::rtl::OUString VCLXAccessibleComboBox::getImplementationName (void) 75 throw (RuntimeException) |
76{ 77 return ::rtl::OUString::createFromAscii ("com.sun.star.comp.toolkit.AccessibleComboBox"); 78} 79 80 81 82 | 76{ 77 return ::rtl::OUString::createFromAscii ("com.sun.star.comp.toolkit.AccessibleComboBox"); 78} 79 80 81 82 |
83Sequence< ::rtl::OUString > VCLXAccessibleComboBox::getSupportedServiceNames (void) 84 throw (RuntimeException) | 83Sequence< ::rtl::OUString > VCLXAccessibleComboBox::getSupportedServiceNames (void) 84 throw (RuntimeException) |
85{ 86 Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); 87 sal_Int32 nLength = aNames.getLength(); 88 aNames.realloc( nLength + 1 ); 89 aNames[nLength] = ::rtl::OUString::createFromAscii( | 85{ 86 Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); 87 sal_Int32 nLength = aNames.getLength(); 88 aNames.realloc( nLength + 1 ); 89 aNames[nLength] = ::rtl::OUString::createFromAscii( |
90 "com.sun.star.accessibility.AccessibleComboBox" ); | 90 "com.sun.star.accessibility.AccessibleComboBox" ); |
91 return aNames; 92} | 91 return aNames; 92} |