xref: /aoo41x/main/svx/inc/svx/SvxShapeTypes.hxx (revision 3334a7e6)
1*3334a7e6SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*3334a7e6SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*3334a7e6SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*3334a7e6SAndrew Rist  * distributed with this work for additional information
6*3334a7e6SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*3334a7e6SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*3334a7e6SAndrew Rist  * "License"); you may not use this file except in compliance
9*3334a7e6SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*3334a7e6SAndrew Rist  *
11*3334a7e6SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*3334a7e6SAndrew Rist  *
13*3334a7e6SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*3334a7e6SAndrew Rist  * software distributed under the License is distributed on an
15*3334a7e6SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3334a7e6SAndrew Rist  * KIND, either express or implied.  See the License for the
17*3334a7e6SAndrew Rist  * specific language governing permissions and limitations
18*3334a7e6SAndrew Rist  * under the License.
19*3334a7e6SAndrew Rist  *
20*3334a7e6SAndrew Rist  *************************************************************/
21*3334a7e6SAndrew Rist 
22*3334a7e6SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _SVX_ACCESSIBILITY_SVX_SHAPE_TYPES_HXX
25cdf0e10cSrcweir #define _SVX_ACCESSIBILITY_SVX_SHAPE_TYPES_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #ifndef _SVX_ACCESSIBILITY_ACCESSIBLE_SHAPE_HXX
28cdf0e10cSrcweir #include <svx/ShapeTypeHandler.hxx>
29cdf0e10cSrcweir #endif
30cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessible.hpp>
31cdf0e10cSrcweir 
32cdf0e10cSrcweir namespace accessibility {
33cdf0e10cSrcweir 
34cdf0e10cSrcweir /** Register the SVX draw shape types with the ShapeTypeHandler singleton.
35cdf0e10cSrcweir     This method is usually called from the shape type handler constructor.
36cdf0e10cSrcweir */
37cdf0e10cSrcweir void RegisterDrawShapeTypes (void);
38cdf0e10cSrcweir 
39cdf0e10cSrcweir /** Enum describing all shape types known in the SVX project.
40cdf0e10cSrcweir */
41cdf0e10cSrcweir enum SvxShapeTypes
42cdf0e10cSrcweir {
43cdf0e10cSrcweir     DRAWING_RECTANGLE = 1,
44cdf0e10cSrcweir     DRAWING_ELLIPSE,
45cdf0e10cSrcweir     DRAWING_CONTROL,
46cdf0e10cSrcweir     DRAWING_CONNECTOR,
47cdf0e10cSrcweir     DRAWING_MEASURE,
48cdf0e10cSrcweir     DRAWING_LINE,
49cdf0e10cSrcweir     DRAWING_POLY_POLYGON,
50cdf0e10cSrcweir     DRAWING_POLY_LINE,
51cdf0e10cSrcweir     DRAWING_OPEN_BEZIER,
52cdf0e10cSrcweir     DRAWING_CLOSED_BEZIER,
53cdf0e10cSrcweir     DRAWING_OPEN_FREEHAND,
54cdf0e10cSrcweir     DRAWING_CLOSED_FREEHAND,
55cdf0e10cSrcweir     DRAWING_POLY_POLYGON_PATH,
56cdf0e10cSrcweir     DRAWING_POLY_LINE_PATH,
57cdf0e10cSrcweir     DRAWING_GRAPHIC_OBJECT,
58cdf0e10cSrcweir     DRAWING_GROUP,
59cdf0e10cSrcweir     DRAWING_TEXT,
60cdf0e10cSrcweir     DRAWING_OLE,
61cdf0e10cSrcweir     DRAWING_PAGE,
62cdf0e10cSrcweir     DRAWING_CAPTION,
63cdf0e10cSrcweir     DRAWING_FRAME,
64cdf0e10cSrcweir     DRAWING_PLUGIN,
65cdf0e10cSrcweir     DRAWING_APPLET,
66cdf0e10cSrcweir     DRAWING_3D_SCENE,
67cdf0e10cSrcweir     DRAWING_3D_CUBE,
68cdf0e10cSrcweir     DRAWING_3D_SPHERE,
69cdf0e10cSrcweir     DRAWING_3D_LATHE,
70cdf0e10cSrcweir     DRAWING_3D_EXTRUDE,
71cdf0e10cSrcweir     DRAWING_CUSTOM,
72cdf0e10cSrcweir 	DRAWING_TABLE, /* = 30 */
73cdf0e10cSrcweir     DRAWING_MEDIA, /* = 31 */
74cdf0e10cSrcweir     DRAWING_END = DRAWING_MEDIA
75cdf0e10cSrcweir };
76cdf0e10cSrcweir 
77cdf0e10cSrcweir /** List of shape type descriptors corresponding to the
78cdf0e10cSrcweir     <type>SvxShapeTypes</type> enum.
79cdf0e10cSrcweir */
80cdf0e10cSrcweir extern ShapeTypeDescriptor aSvxShapeTypeList[];
81cdf0e10cSrcweir 
82cdf0e10cSrcweir } // end of namespace accessibility
83cdf0e10cSrcweir 
84cdf0e10cSrcweir #endif
85