LibreOffice Module svx (master) 1
svdobjkind.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#pragma once
21
22#include <com/sun/star/form/FormComponentType.hpp>
23
24enum class SdrObjKind : sal_uInt16
25{
26 NONE = 0,
27 Group = 1,
28 Line = 2,
29 Rectangle = 3,
30 CircleOrEllipse = 4,
31 CircleSection = 5,
32 CircleArc = 6,
33 CircleCut = 7,
34 Polygon = 8,
35 PolyLine = 9,
36 PathLine = 10,
37 PathFill = 11,
38 FreehandLine = 12,
39 FreehandFill = 13,
40 Text = 16,
41 TitleText = 20,
42 OutlineText = 21,
43 Graphic = 22,
44 OLE2 = 23,
45 Edge = 24,
46 Caption = 25,
47 PathPoly = 26,
48 PathPolyLine = 27,
49 Page = 28,
50 Measure = 29,
51 OLEPluginFrame = 31,
52 UNO = 32,
53 CustomShape = 33,
54 Media = 34,
55 Table = 35,
56
57 OLE2Applet = 100,
58 OLE2Plugin = 101,
59
60 // engine3d, arbitrarily place at 200
61 E3D_Scene = 202,
62 // E3D_OBJECT_ID should not be used, it's only a helper class for E3DScene and E3DCompoundObject
63 E3D_Object = 203,
64 E3D_Cube = 204,
65 E3D_Sphere = 205,
66 E3D_Extrusion = 206,
67 E3D_Lathe = 207,
69 E3D_Polygon = 209,
72
73 // for form components, arbitrarily place at 300
74 FormControl = 300 + css::form::FormComponentType::CONTROL,
75 FormEdit = 300 + css::form::FormComponentType::TEXTFIELD,
76 FormButton = 300 + css::form::FormComponentType::COMMANDBUTTON,
77 FormFixedText = 300 + css::form::FormComponentType::FIXEDTEXT,
78 FormListbox = 300 + css::form::FormComponentType::LISTBOX,
79 FormCheckbox = 300 + css::form::FormComponentType::CHECKBOX,
80 FormCombobox = 300 + css::form::FormComponentType::COMBOBOX,
81 FormRadioButton = 300 + css::form::FormComponentType::RADIOBUTTON,
82 FormGroupBox = 300 + css::form::FormComponentType::GROUPBOX,
83 FormGrid = 300 + css::form::FormComponentType::GRIDCONTROL,
84 FormImageButton = 300 + css::form::FormComponentType::IMAGEBUTTON,
85 FormFileControl = 300 + css::form::FormComponentType::FILECONTROL,
86 FormDateField = 300 + css::form::FormComponentType::DATEFIELD,
87 FormTimeField = 300 + css::form::FormComponentType::TIMEFIELD,
88 FormNumericField = 300 + css::form::FormComponentType::NUMERICFIELD,
89 FormCurrencyField = 300 + css::form::FormComponentType::CURRENCYFIELD,
90 FormPatternField = 300 + css::form::FormComponentType::PATTERNFIELD,
91 FormHidden = 300 + css::form::FormComponentType::HIDDENCONTROL,
92 FormImageControl = 300 + css::form::FormComponentType::IMAGECONTROL,
93 FormFormattedField = 300 + css::form::FormComponentType::PATTERNFIELD + 1,
94 FormScrollbar = 300 + css::form::FormComponentType::PATTERNFIELD + 2,
95 FormSpinButton = 300 + css::form::FormComponentType::PATTERNFIELD + 3,
96 FormNavigationBar = 300 + css::form::FormComponentType::PATTERNFIELD + 4,
97
98 // basctl, arbitrarily place at 400
100 BasicDialogDialog = 402,
104 BasicDialogListbox = 406,
107 BasicDialogEdit = 409,
126
134
135 // reportdesign, arbitrarily place at 500
142
143 // writer, arbitrarily place at 600
145 NewFrame = 602
146};
147
148inline constexpr bool IsInventorE3D(SdrObjKind e)
149{
151}
152
153/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _ADOGroup Group
NONE
constexpr bool IsInventorE3D(SdrObjKind e)
Definition: svdobjkind.hxx:148
SdrObjKind
Definition: svdobjkind.hxx:25
@ ReportDesignHorizontalFixedLine
@ Measure
object that represents a SdrPage
@ BasicDialogCombobox
@ BasicDialogProgressbar
@ Caption
connector object
@ BasicDialogHorizontalFixedLine
@ BasicDialogVerticalScrollbar
@ ReportDesignVerticalFixedLine
@ ReportDesignImageControl
@ PathFill
open Bezier-curve
@ OLE2Applet
table
@ BasicDialogVerticalFixedLine
@ BasicDialogHyperlinkControl
@ FreehandLine
closed Bezier-curve
@ BasicDialogGridControl
@ UNO
continuously activated OLE (PlugIn-Frame or similar)
@ PathLine
PolyLine.
@ E3D_INVENTOR_FIRST
@ BasicDialogFormRadio
@ ReportDesignFormattedField
@ CustomShape
Universal Network Object packed into SvDraw object.
@ BasicDialogHorizontalScrollbar
@ CircleOrEllipse
rectangle (round corners optional)
@ BasicDialogPatternField
@ BasicDialogControl
@ BasicDialogSpinButton
@ BasicDialogRadioButton
@ ReportDesignFixedText
@ BasicDialogFormHorizontalScroll
@ BasicDialogFormVerticalScroll
@ PathPoly
caption object
@ BasicDialogNumericField
@ BasicDialogFormList
@ ReportDesignSubReport
@ FormFormattedField
@ OLE2
foreign graphic (StarView Graphic)
@ BasicDialogCheckbox
@ BasicDialogFormCheck
@ BasicDialogTimeField
@ OLEPluginFrame
measurement object
@ CircleCut
circle arc
@ BasicDialogImageControl
@ BasicDialogPushButton
@ BasicDialogFormattedField
@ BasicDialogFormSpin
@ BasicDialogFormCombo
@ BasicDialogTreeControl
@ BasicDialogListbox
@ PathPolyLine
Polygon/PolyPolygon represented by SdrPathObj.
@ E3D_CompoundObject
@ BasicDialogFixedText
@ SwFlyDrawObjIdentifier
@ BasicDialogCurencyField
@ CircleSection
circle, ellipse
@ OutlineText
TitleText, special text object for StarDraw.
@ BasicDialogGroupBox
@ CircleArc
circle section
@ BasicDialogDateField
@ TitleText
text object
@ FreehandFill
open free-hand line
@ BasicDialogFileControl
Page