tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / include / svx / SvxShapeTypes.hxx
blob36aa84c3eaeb5cf9a30770b1d1a0b3a8944f9d4a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 namespace accessibility
24 /** Register the SVX draw shape types with the ShapeTypeHandler singleton.
25 This method is usually called from the shape type handler constructor.
27 void RegisterDrawShapeTypes();
29 /** Enum describing all shape types known in the SVX project.
31 enum SvxShapeTypes
33 DRAWING_RECTANGLE = 1,
34 DRAWING_ELLIPSE,
35 DRAWING_CONTROL,
36 DRAWING_CONNECTOR,
37 DRAWING_MEASURE,
38 DRAWING_LINE,
39 DRAWING_POLY_POLYGON,
40 DRAWING_POLY_LINE,
41 DRAWING_OPEN_BEZIER,
42 DRAWING_CLOSED_BEZIER,
43 DRAWING_OPEN_FREEHAND,
44 DRAWING_CLOSED_FREEHAND,
45 DRAWING_POLY_POLYGON_PATH,
46 DRAWING_POLY_LINE_PATH,
47 DRAWING_GRAPHIC_OBJECT,
48 DRAWING_GROUP,
49 DRAWING_TEXT,
50 DRAWING_OLE,
51 DRAWING_PAGE,
52 DRAWING_CAPTION,
53 DRAWING_FRAME,
54 DRAWING_PLUGIN,
55 DRAWING_APPLET,
56 DRAWING_3D_SCENE,
57 DRAWING_3D_CUBE,
58 DRAWING_3D_SPHERE,
59 DRAWING_3D_LATHE,
60 DRAWING_3D_EXTRUDE,
61 DRAWING_CUSTOM,
62 DRAWING_TABLE, /* = 30 */
63 DRAWING_MEDIA, /* = 31 */
64 DRAWING_END = DRAWING_MEDIA
67 } // end of namespace accessibility
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */