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