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 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 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. 19 * 20 *************************************************************/ 21 22 23 24 25 #ifndef _SD_ACCESSIBILITY_ACCESSIBLE_PRESENTATION_OLE_SHAPE_HXX 26 #define _SD_ACCESSIBILITY_ACCESSIBLE_PRESENTATION_OLE_SHAPE_HXX 27 28 #include <svx/AccessibleOLEShape.hxx> 29 30 //IAccessibility2 Implementation 2009----- 31 #include <com/sun/star/accessibility/AccessibleRole.hpp> 32 //-----IAccessibility2 Implementation 2009 33 namespace accessibility { 34 35 /** This class makes Impress shapes accessible. 36 */ 37 class AccessiblePresentationOLEShape 38 : public AccessibleOLEShape 39 { 40 public: 41 //===== internal ======================================================== 42 AccessiblePresentationOLEShape ( 43 const AccessibleShapeInfo& rShapeInfo, 44 const AccessibleShapeTreeInfo& rShapeTreeInfo); 45 virtual ~AccessiblePresentationOLEShape (void); 46 47 //===== XServiceInfo ==================================================== 48 49 /** Returns an identifier for the implementation of this object. 50 */ 51 virtual ::rtl::OUString SAL_CALL 52 getImplementationName (void) 53 throw (::com::sun::star::uno::RuntimeException); 54 55 //===== internal ======================================================== 56 57 /// Create a name string that contains the accessible name. 58 virtual ::rtl::OUString 59 CreateAccessibleBaseName () 60 throw (::com::sun::star::uno::RuntimeException); 61 62 /// Create a description string that contains the accessible description. 63 virtual ::rtl::OUString 64 CreateAccessibleDescription () 65 throw (::com::sun::star::uno::RuntimeException); 66 //IAccessibility2 Implementation 2009----- 67 /// Return this object's role. 68 virtual sal_Int16 SAL_CALL getAccessibleRole () throw (::com::sun::star::uno::RuntimeException); 69 //-----IAccessibility2 Implementation 2009 70 }; 71 72 } // end of namespace accessibility 73 74 #endif 75