fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sd / inc / pres.hxx
blob3bc3db7f9938cc737537ec22c9ea3599aed790e9
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 .
19 #ifndef INCLUDED_SD_INC_PRES_HXX
20 #define INCLUDED_SD_INC_PRES_HXX
22 enum PresObjKind
24 PRESOBJ_NONE = 0,
25 PRESOBJ_TITLE,
26 PRESOBJ_OUTLINE,
27 PRESOBJ_TEXT,
28 PRESOBJ_GRAPHIC,
29 PRESOBJ_OBJECT,
30 PRESOBJ_CHART,
31 PRESOBJ_ORGCHART,
32 PRESOBJ_TABLE,
33 PRESOBJ_IMAGE,
34 PRESOBJ_PAGE,
35 PRESOBJ_HANDOUT,
36 PRESOBJ_NOTES,
37 PRESOBJ_HEADER,
38 PRESOBJ_FOOTER,
39 PRESOBJ_DATETIME,
40 PRESOBJ_SLIDENUMBER,
41 PRESOBJ_CALC,
42 PRESOBJ_MEDIA,
44 PRESOBJ_MAX
47 enum AutoLayout
49 // new layouts with enum/text/chart/org/clip merged to content
50 AUTOLAYOUT__START = 0,
51 AUTOLAYOUT_TITLE = 0, ///< Title Slide
52 AUTOLAYOUT_TITLE_CONTENT = 1, ///< Title, Content
53 AUTOLAYOUT_TITLE_2CONTENT = 3, ///< Title and 2 Content
54 AUTOLAYOUT_TITLE_ONLY = 19, ///< Title Only
55 AUTOLAYOUT_NONE = 20, ///< Blank Slide
56 AUTOLAYOUT_ONLY_TEXT = 32, ///< Centered Text
57 AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12, ///< Title, Content and 2 Content
58 AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15, ///< Title, 2 Content and Content
59 AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT = 16,///< Title, 2 Content over Content
60 AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14, ///< Title, Content over Content
61 AUTOLAYOUT_TITLE_4CONTENT = 18, ///< Title, 4 Content
62 AUTOLAYOUT_TITLE_6CONTENT = 34, ///< Title, 6 Content
63 AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT = 27, ///< Vertical Title, Vertical Content over Vertical Content
64 AUTOLAYOUT_VTITLE_VCONTENT = 28, ///< Vertical Title, Vertical Content over Vertical Content
65 AUTOLAYOUT_TITLE_VCONTENT = 29, ///< Title, Vertical Content
66 AUTOLAYOUT_TITLE_2VTEXT = 30, ///< Title, 2 Vertical Content
68 // deprecated
69 AUTOLAYOUT_ENUM = 1,
70 AUTOLAYOUT_CHART = 2,
71 AUTOLAYOUT_2TEXT = 3,
72 AUTOLAYOUT_TEXTCHART = 4,
73 AUTOLAYOUT_ORG = 5,
74 AUTOLAYOUT_TEXTCLIP = 6,
75 AUTOLAYOUT_CHARTTEXT = 7,
76 AUTOLAYOUT_TAB = 8,
77 AUTOLAYOUT_CLIPTEXT = 9,
78 AUTOLAYOUT_TEXTOBJ = 10,
79 AUTOLAYOUT_OBJ = 11,
80 AUTOLAYOUT_TEXT2OBJ = 12,
81 AUTOLAYOUT_OBJTEXT = 13,
82 AUTOLAYOUT_OBJOVERTEXT = 14,
83 AUTOLAYOUT_2OBJTEXT = 15,
84 AUTOLAYOUT_2OBJOVERTEXT = 16,
85 AUTOLAYOUT_TEXTOVEROBJ = 17,
86 AUTOLAYOUT_4OBJ = 18,
87 AUTOLAYOUT_ONLY_TITLE = 19,
88 AUTOLAYOUT_NOTES = 21,
89 AUTOLAYOUT_HANDOUT1 = 22,
90 AUTOLAYOUT_HANDOUT2 = 23,
91 AUTOLAYOUT_HANDOUT3 = 24,
92 AUTOLAYOUT_HANDOUT4 = 25,
93 AUTOLAYOUT_HANDOUT6 = 26,
94 AUTOLAYOUT_VERTICAL_TITLE_TEXT_CHART = 27,
95 AUTOLAYOUT_VERTICAL_TITLE_VERTICAL_OUTLINE = 28,
96 AUTOLAYOUT_TITLE_VERTICAL_OUTLINE = 29,
97 AUTOLAYOUT_TITLE_VERTICAL_OUTLINE_CLIPART = 30,
98 AUTOLAYOUT_HANDOUT9 = 31,
99 AUTOLAYOUT_4CLIPART = 33,
100 AUTOLAYOUT_6CLIPART = 34,
101 AUTOLAYOUT__END
104 enum PageKind
106 PK_STANDARD,
107 PK_NOTES,
108 PK_HANDOUT
111 enum EditMode
113 EM_PAGE,
114 EM_MASTERPAGE
117 enum DocumentType
119 DOCUMENT_TYPE_IMPRESS,
120 DOCUMENT_TYPE_DRAW
123 enum NavigatorDragType
125 NAVIGATOR_DRAGTYPE_NONE,
126 NAVIGATOR_DRAGTYPE_URL,
127 NAVIGATOR_DRAGTYPE_LINK,
128 NAVIGATOR_DRAGTYPE_EMBEDDED
130 #define NAVIGATOR_DRAGTYPE_COUNT 4
132 #endif // INCLUDED_SD_INC_PRES_HXX
134 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */