CWS-TOOLING: integrate CWS os150
[LibreOffice.git] / sd / inc / pres.hxx
bloba51083133185e609c762b20d3135176f0561cf2e
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef _PRESENTATION_HXX
28 #define _PRESENTATION_HXX
30 enum PresObjKind
32 PRESOBJ_NONE = 0,
33 PRESOBJ_TITLE,
34 PRESOBJ_OUTLINE,
35 PRESOBJ_TEXT,
36 PRESOBJ_GRAPHIC,
37 PRESOBJ_OBJECT,
38 PRESOBJ_CHART,
39 PRESOBJ_ORGCHART,
40 PRESOBJ_TABLE,
41 PRESOBJ_IMAGE,
42 PRESOBJ_PAGE,
43 PRESOBJ_HANDOUT,
44 PRESOBJ_NOTES,
45 PRESOBJ_HEADER,
46 PRESOBJ_FOOTER,
47 PRESOBJ_DATETIME,
48 PRESOBJ_SLIDENUMBER,
49 PRESOBJ_CALC,
50 PRESOBJ_MEDIA,
52 PRESOBJ_MAX
55 enum AutoLayout
57 // new layouts with enum/text/chart/org/clip merged to content
58 AUTOLAYOUT__START = 0,
59 AUTOLAYOUT_TITLE = 0, // Title Slide
60 AUTOLAYOUT_TITLE_CONTENT = 1, // Title, Content
61 AUTOLAYOUT_TITLE_2CONTENT = 3, // Title and 2 Content
62 AUTOLAYOUT_TITLE_ONLY = 19, // Title Only
63 AUTOLAYOUT_NONE = 20, // Blank Slide
64 AUTOLAYOUT_ONLY_TEXT = 32, // Centered Text
65 AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12, // Title, Content and 2 Content
66 AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15, // Title, 2 Content and Content
67 AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT = 16,// Title, 2 Content over Content
68 AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14, // Title, Content over Content
69 AUTOLAYOUT_TITLE_4CONTENT = 18, // Title, 4 Content
70 AUTOLAYOUT_TITLE_6CONTENT = 34, // Title, 6 Content
71 AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT = 27, // Vertical Title, Vertical Content over Vertical Content
72 AUTOLAYOUT_VTITLE_VCONTENT = 28, // Vertical Title, Vertical Content over Vertical Content
73 AUTOLAYOUT_TITLE_VCONTENT = 29, // Title, Vertical Content
74 AUTOLAYOUT_TITLE_2VTEXT = 30, // Title, 2 Vertical Content
76 // deprecated
77 AUTOLAYOUT_ENUM = 1,
78 AUTOLAYOUT_CHART = 2,
79 AUTOLAYOUT_2TEXT = 3,
80 AUTOLAYOUT_TEXTCHART = 4,
81 AUTOLAYOUT_ORG = 5,
82 AUTOLAYOUT_TEXTCLIP = 6,
83 AUTOLAYOUT_CHARTTEXT = 7,
84 AUTOLAYOUT_TAB = 8,
85 AUTOLAYOUT_CLIPTEXT = 9,
86 AUTOLAYOUT_TEXTOBJ = 10,
87 AUTOLAYOUT_OBJ = 11,
88 AUTOLAYOUT_TEXT2OBJ = 12,
89 AUTOLAYOUT_OBJTEXT = 13,
90 AUTOLAYOUT_OBJOVERTEXT = 14,
91 AUTOLAYOUT_2OBJTEXT = 15,
92 AUTOLAYOUT_2OBJOVERTEXT = 16,
93 AUTOLAYOUT_TEXTOVEROBJ = 17,
94 AUTOLAYOUT_4OBJ = 18,
95 AUTOLAYOUT_ONLY_TITLE = 19,
96 AUTOLAYOUT_NOTES = 21,
97 AUTOLAYOUT_HANDOUT1 = 22,
98 AUTOLAYOUT_HANDOUT2 = 23,
99 AUTOLAYOUT_HANDOUT3 = 24,
100 AUTOLAYOUT_HANDOUT4 = 25,
101 AUTOLAYOUT_HANDOUT6 = 26,
102 AUTOLAYOUT_VERTICAL_TITLE_TEXT_CHART = 27,
103 AUTOLAYOUT_VERTICAL_TITLE_VERTICAL_OUTLINE = 28,
104 AUTOLAYOUT_TITLE_VERTICAL_OUTLINE = 29,
105 AUTOLAYOUT_TITLE_VERTICAL_OUTLINE_CLIPART = 30,
106 AUTOLAYOUT_HANDOUT9 = 31,
107 AUTOLAYOUT_4CLIPART = 33,
108 AUTOLAYOUT_6CLIPART = 34,
109 AUTOLAYOUT__END
112 enum PageKind
114 PK_STANDARD,
115 PK_NOTES,
116 PK_HANDOUT
119 enum EditMode
121 EM_PAGE,
122 EM_MASTERPAGE
125 enum DocumentType
127 DOCUMENT_TYPE_IMPRESS,
128 DOCUMENT_TYPE_DRAW
131 enum NavigatorDragType
133 NAVIGATOR_DRAGTYPE_NONE,
134 NAVIGATOR_DRAGTYPE_URL,
135 NAVIGATOR_DRAGTYPE_LINK,
136 NAVIGATOR_DRAGTYPE_EMBEDDED
138 #define NAVIGATOR_DRAGTYPE_COUNT 4
140 #endif // _PRESENTATION_HXX