xref: /aoo4110/main/sd/inc/pres.hxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _PRESENTATION_HXX
24 #define _PRESENTATION_HXX
25 
26 enum PresObjKind
27 {
28 	PRESOBJ_NONE = 0,
29 	PRESOBJ_TITLE,
30 	PRESOBJ_OUTLINE,
31 	PRESOBJ_TEXT,
32 	PRESOBJ_GRAPHIC,
33 	PRESOBJ_OBJECT,
34 	PRESOBJ_CHART,
35 	PRESOBJ_ORGCHART,
36 	PRESOBJ_TABLE,
37 	PRESOBJ_IMAGE,
38 	PRESOBJ_PAGE,
39 	PRESOBJ_HANDOUT,
40 	PRESOBJ_NOTES,
41 	PRESOBJ_HEADER,
42 	PRESOBJ_FOOTER,
43 	PRESOBJ_DATETIME,
44 	PRESOBJ_SLIDENUMBER,
45 	PRESOBJ_CALC,
46 	PRESOBJ_MEDIA,
47 
48 	PRESOBJ_MAX
49 };
50 
51 enum AutoLayout
52 {
53 	// new layouts with enum/text/chart/org/clip merged to content
54     AUTOLAYOUT__START = 0,
55 	AUTOLAYOUT_TITLE = 0,						// Title Slide
56 	AUTOLAYOUT_TITLE_CONTENT = 1,				// Title, Content
57 	AUTOLAYOUT_TITLE_2CONTENT = 3,				// Title and 2 Content
58 	AUTOLAYOUT_TITLE_ONLY = 19,					// Title Only
59 	AUTOLAYOUT_NONE = 20,						// Blank Slide
60     AUTOLAYOUT_ONLY_TEXT = 32,					// Centered Text
61 	AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12,		// Title, Content and 2 Content
62 	AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15,		// Title, 2 Content and Content
63 	AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT = 16,// Title, 2 Content over Content
64 	AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14,	// Title, Content over Content
65 	AUTOLAYOUT_TITLE_4CONTENT = 18,				// Title, 4 Content
66 	AUTOLAYOUT_TITLE_6CONTENT = 34,				// Title, 6 Content
67 	AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT = 27, // Vertical Title, Vertical Content over Vertical Content
68 	AUTOLAYOUT_VTITLE_VCONTENT = 28,			// Vertical Title, Vertical Content over Vertical Content
69 	AUTOLAYOUT_TITLE_VCONTENT = 29,				// Title, Vertical Content
70 	AUTOLAYOUT_TITLE_2VTEXT = 30,				// Title, 2 Vertical Content
71 
72 	// deprecated
73 	AUTOLAYOUT_ENUM = 1,
74 	AUTOLAYOUT_CHART = 2,
75 	AUTOLAYOUT_2TEXT = 3,
76 	AUTOLAYOUT_TEXTCHART = 4,
77 	AUTOLAYOUT_ORG = 5,
78 	AUTOLAYOUT_TEXTCLIP = 6,
79 	AUTOLAYOUT_CHARTTEXT = 7,
80 	AUTOLAYOUT_TAB = 8,
81 	AUTOLAYOUT_CLIPTEXT = 9,
82 	AUTOLAYOUT_TEXTOBJ = 10,
83 	AUTOLAYOUT_OBJ = 11,
84 	AUTOLAYOUT_TEXT2OBJ = 12,
85 	AUTOLAYOUT_OBJTEXT = 13,
86 	AUTOLAYOUT_OBJOVERTEXT = 14,
87 	AUTOLAYOUT_2OBJTEXT = 15,
88 	AUTOLAYOUT_2OBJOVERTEXT = 16,
89 	AUTOLAYOUT_TEXTOVEROBJ = 17,
90 	AUTOLAYOUT_4OBJ = 18,
91 	AUTOLAYOUT_ONLY_TITLE = 19,
92 	AUTOLAYOUT_NOTES = 21,
93 	AUTOLAYOUT_HANDOUT1 = 22,
94 	AUTOLAYOUT_HANDOUT2 = 23,
95 	AUTOLAYOUT_HANDOUT3 = 24,
96 	AUTOLAYOUT_HANDOUT4 = 25,
97 	AUTOLAYOUT_HANDOUT6 = 26,
98 	AUTOLAYOUT_VERTICAL_TITLE_TEXT_CHART = 27,
99 	AUTOLAYOUT_VERTICAL_TITLE_VERTICAL_OUTLINE = 28,
100 	AUTOLAYOUT_TITLE_VERTICAL_OUTLINE = 29,
101 	AUTOLAYOUT_TITLE_VERTICAL_OUTLINE_CLIPART = 30,
102 	AUTOLAYOUT_HANDOUT9 = 31,
103     AUTOLAYOUT_4CLIPART = 33,
104     AUTOLAYOUT_6CLIPART = 34,
105     AUTOLAYOUT__END
106 };
107 
108 enum PageKind
109 {
110 	PK_STANDARD,
111 	PK_NOTES,
112 	PK_HANDOUT
113 };
114 
115 enum EditMode
116 {
117 	EM_PAGE,
118 	EM_MASTERPAGE
119 };
120 
121 enum DocumentType
122 {
123 	DOCUMENT_TYPE_IMPRESS,
124 	DOCUMENT_TYPE_DRAW
125 };
126 
127 enum NavigatorDragType
128 {
129 	NAVIGATOR_DRAGTYPE_NONE,
130 	NAVIGATOR_DRAGTYPE_URL,
131 	NAVIGATOR_DRAGTYPE_LINK,
132 	NAVIGATOR_DRAGTYPE_EMBEDDED
133 };
134 #define NAVIGATOR_DRAGTYPE_COUNT 4
135 
136 #endif	// _PRESENTATION_HXX
137 
138