update dev300-m58
[ooovba.git] / sd / source / ui / inc / AccessiblePresentationShape.hxx
blob0438a15fc39cc76e1e5366be945dd16820074201
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: AccessiblePresentationShape.hxx,v $
10 * $Revision: 1.10 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SD_ACCESSIBILITY_ACCESSIBLE_PRESENTATION_SHAPE_HXX
32 #define _SD_ACCESSIBILITY_ACCESSIBLE_PRESENTATION_SHAPE_HXX
34 #include <svx/AccessibleShape.hxx>
36 namespace accessibility {
38 /** This class makes Impress shapes accessible.
40 class AccessiblePresentationShape
41 : public AccessibleShape
43 public:
44 //===== internal ========================================================
45 AccessiblePresentationShape (
46 const AccessibleShapeInfo& rShapeInfo,
47 const AccessibleShapeTreeInfo& rShapeTreeInfo);
48 virtual ~AccessiblePresentationShape (void);
50 //===== XServiceInfo ====================================================
52 /** Returns an identifier for the implementation of this object.
54 virtual ::rtl::OUString SAL_CALL
55 getImplementationName (void)
56 throw (::com::sun::star::uno::RuntimeException);
58 //===== internal ========================================================
60 /// Create a name string that contains the accessible name.
61 virtual ::rtl::OUString
62 CreateAccessibleBaseName ()
63 throw (::com::sun::star::uno::RuntimeException);
65 /// Create a description string that contains the accessible description.
66 virtual ::rtl::OUString
67 CreateAccessibleDescription ()
68 throw (::com::sun::star::uno::RuntimeException);
70 private:
71 /** Don't use the default constructor. Use the public constructor that
72 takes the original shape and the parent as arguments instead.
74 AccessiblePresentationShape (void);
76 /// Don't use the constructor. Not yet implemented.
77 AccessiblePresentationShape (const AccessiblePresentationShape&);
79 /// Don't use the assignment operator. Not yet implemented.
80 AccessiblePresentationShape& operator= (const AccessiblePresentationShape&);
83 } // end of namespace accessibility
85 #endif