merge the formfield patch from ooo-build
[ooovba.git] / sd / source / filter / eppt / epptdef.hxx
blob8c4c00f519e3c02dd2e27397968d9778967a7f0d
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: epptdef.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _EPPT_DEF_HXX
32 #define _EPPT_DEF_HXX
34 #include <tools/solar.h>
36 #define EPP_FLAG_CONTAINER 0x0F // If the version field of a record
37 // header takes on this value, the
38 // record header marks the start of
39 // a container.
41 #define EPP_Unknown 0
42 #define EPP_SubContainerCompleted 1
43 #define EPP_IRRAtom 2
44 #define EPP_PSS 3
45 #define EPP_SubContainerException 4
46 #define EPP_ClientSignal1 6
47 #define EPP_ClientSignal2 7
48 #define EPP_PowerPointStateInfoAtom 10
49 #define EPP_Document 1000
50 #define EPP_DocumentAtom 1001
51 #define EPP_EndDocument 1002
52 #define EPP_SlidePersist 1003
53 #define EPP_SlideBase 1004
54 #define EPP_SlideBaseAtom 1005
55 #define EPP_Slide 1006
56 #define EPP_SlideAtom 1007
57 #define EPP_Notes 1008
58 #define EPP_NotesAtom 1009
59 #define EPP_Environment 1010
60 #define EPP_SlidePersistAtom 1011 //0x03F3
61 #define EPP_Scheme 1012
62 #define EPP_SchemeAtom 1013
63 #define EPP_DocViewInfo 1014
64 #define EPP_SslideLayoutAtom 1015
65 #define EPP_MainMaster 1016
66 #define EPP_SSSlideInfoAtom 1017
67 #define EPP_SlideViewInfo 1018
68 #define EPP_GuideAtom 1019
69 #define EPP_ViewInfo 1020
70 #define EPP_ViewInfoAtom 1021
71 #define EPP_SlideViewInfoAtom 1022
72 #define EPP_VBAInfo 1023
73 #define EPP_VBAInfoAtom 1024
74 #define EPP_SSDocInfoAtom 1025
75 #define EPP_Summary 1026
76 #define EPP_Texture 1027
77 #define EPP_VBASlideInfo 1028
78 #define EPP_VBASlideInfoAtom 1029
79 #define EPP_DocRoutingSlip 1030
80 #define EPP_OutlineViewInfo 1031
81 #define EPP_SorterViewInfo 1032
82 #define EPP_ExObjList 1033
83 #define EPP_ExObjListAtom 1034
84 #define EPP_PPDrawingGroup 1035
85 #define EPP_PPDrawing 1036
86 #define EPP_NamedShows 1040
87 #define EPP_NamedShow 1041
88 #define EPP_NamedShowSlides 1042
89 #define EPP_List 2000
90 #define EPP_FontCollection 2005
91 #define EPP_ListPlaceholder 2017
92 #define EPP_BookmarkCollection 2019
93 #define EPP_SoundCollection 2020
94 #define EPP_SoundCollAtom 2021
95 #define EPP_Sound 2022
96 #define EPP_SoundData 2023
97 #define EPP_BookmarkSeedAtom 2025
98 #define EPP_GuideList 2026
99 #define EPP_RunArray 2028
100 #define EPP_RunArrayAtom 2029
101 #define EPP_ArrayElementAtom 2030
102 #define EPP_Int4ArrayAtom 2031
103 #define EPP_ColorSchemeAtom 2032
105 // these atoms first was seen in ppt2000 in a private Tag atom
106 #define EPP_PST_ExtendedBuGraContainer 2040 // consist of 4041
107 #define EPP_PST_ExtendedBuGraAtom 2041 // the instance of this atom indices the current graphic
109 #define EPP_OEShape 3008
110 #define EPP_ExObjRefAtom 3009
111 #define EPP_OEPlaceholderAtom 3011
112 #define EPP_GrColor 3020
113 #define EPP_GrectAtom 3025
114 #define EPP_GratioAtom 3031
115 #define EPP_Gscaling 3032
116 #define EPP_GpointAtom 3034
117 #define EPP_OEShapeAtom 3035
118 #define EPP_OutlineTextRefAtom 3998
119 #define EPP_TextHeaderAtom 3999
120 #define EPP_TextCharsAtom 4000
121 #define EPP_StyleTextPropAtom 4001
122 #define EPP_BaseTextPropAtom 4002
123 #define EPP_TxMasterStyleAtom 4003
124 #define EPP_TxCFStyleAtom 4004
125 #define EPP_TxPFStyleAtom 4005
126 #define EPP_TextRulerAtom 4006
127 #define EPP_TextBookmarkAtom 4007
128 #define EPP_TextBytesAtom 4008
129 #define EPP_TxSIStyleAtom 4009
130 #define EPP_TextSpecInfoAtom 4010
131 #define EPP_DefaultRulerAtom 4011
133 // these atoms first was seen in ppt2000 in a private Tag atom
134 #define EPP_PST_ExtendedParagraphAtom 4012
135 #define EPP_PST_ExtendedParagraphMasterAtom 4013
136 #define EPP_PST_ExtendedPresRuleContainer 4014 // consist of 4012, 4015,
137 #define EPP_PST_ExtendedParagraphHeaderAtom 4015 // the instance of this atom indices the current presobj
138 // the first UINT32 in this atom indices the current slideId
140 #define EPP_FontEnityAtom 4023
141 #define EPP_FontEmbedData 4024
142 #define EPP_TypeFace 4025
143 #define EPP_CString 4026
144 #define EPP_ExternalObject 4027
145 #define EPP_MetaFile 4033
146 #define EPP_ExOleObj 4034
147 #define EPP_ExOleObjAtom 4035
148 #define EPP_ExPlainLinkAtom 4036
149 #define EPP_CorePict 4037
150 #define EPP_CorePictAtom 4038
151 #define EPP_ExPlainAtom 4039
152 #define EPP_SrKinsoku 4040
153 #define EPP_Handout 4041
154 #define EPP_ExEmbed 4044
155 #define EPP_ExEmbedAtom 4045
156 #define EPP_ExLink 4046
157 #define EPP_ExLinkAtom_old 4047
158 #define EPP_BookmarkEntityAtom 4048
159 #define EPP_ExLinkAtom 4049
160 #define EPP_SrKinsokuAtom 4050
161 #define EPP_ExHyperlinkAtom 4051
162 #define EPP_ExPlain 4053
163 #define EPP_ExPlainLink 4054
164 #define EPP_ExHyperlink 4055
165 #define EPP_SlideNumberMCAtom 4056
166 #define EPP_HeadersFooters 4057
167 #define EPP_HeadersFootersAtom 4058
168 #define EPP_RecolorEntryAtom 4062
169 #define EPP_TxInteractiveInfoAtom 4063
170 #define EPP_EmFormatAtom 4065
171 #define EPP_CharFormatAtom 4066
172 #define EPP_ParaFormatAtom 4067
173 #define EPP_MasterText 4068
174 #define EPP_RecolorInfoAtom 4071
175 #define EPP_ExQuickTime 4073
176 #define EPP_ExQuickTimeMovie 4074
177 #define EPP_ExQuickTimeMovieData 4075
178 #define EPP_ExSubscription 4076
179 #define EPP_ExSubscriptionSection 4077
180 #define EPP_ExControl 4078
181 #define EPP_ExControlAtom 4091
182 #define EPP_SlideListWithText 4080 // 0x0FF0
183 #define EPP_AnimationInfoAtom 4081
184 #define EPP_InteractiveInfo 4082
185 #define EPP_InteractiveInfoAtom 4083
186 #define EPP_SlideList 4084
187 #define EPP_UserEditAtom 4085
188 #define EPP_CurrentUserAtom 4086
189 #define EPP_DateTimeMCAtom 4087
190 #define EPP_GenericDateMCAtom 4088
191 #define EPP_HeaderMCAtom 4089
192 #define EPP_FooterMCAtom 4090
193 #define EPP_ExMediaAtom 4100
194 #define EPP_ExVideo 4101
195 #define EPP_ExAviMovie 4102
196 #define EPP_ExMCIMovie 4103
197 #define EPP_ExMIDIAudio 4109
198 #define EPP_ExCDAudio 4110
199 #define EPP_ExWAVAudioEmbedded 4111
200 #define EPP_ExWAVAudioLink 4112
201 #define EPP_ExOleObjStg 4113
202 #define EPP_ExCDAudioAtom 4114
203 #define EPP_ExWAVAudioEmbeddedAtom 4115
204 #define EPP_AnimationInfo 4116
205 #define EPP_RTFDateTimeMCAtom 4117
206 #define EPP_ProgTags 5000
207 #define EPP_ProgStringTag 5001
208 #define EPP_ProgBinaryTag 5002
209 #define EPP_BinaryTagData 5003
210 #define EPP_PrintOptions 6000
211 #define EPP_PersistPtrFullBlock 6001
212 #define EPP_PersistPtrIncrementalBlock 6002
213 #define EPP_RulerIndentAtom 10000
214 #define EPP_GscalingAtom 10001
215 #define EPP_GrColorAtom 10002
216 #define EPP_GLPointAtom 10003
217 #define EPP_Comment10 12000
218 #define EPP_CommentAtom10 12001
221 #define EPP_PLACEHOLDER_NONE 0 // 0 None
222 #define EPP_PLACEHOLDER_MASTERTITLE 1 // 1 Master title
223 #define EPP_PLACEHOLDER_MASTERBODY 2 // 2 Master body
224 #define EPP_PLACEHOLDER_MASTERCENTEREDTITLE 3 // 3 Master centered title
225 #define EPP_PLACEHOLDER_MASTERSUBTITLE 4 // 10 Master subtitle
226 #define EPP_PLACEHOLDER_MASTERNOTESSLIDEIMAGE 5 // 4 Master notes slide image
227 #define EPP_PLACEHOLDER_MASTERNOTESBODYIMAGE 6 // 5 Master notes body image
228 #define EPP_PLACEHOLDER_MASTERDATE 7 // 6 Master date
229 #define EPP_PLACEHOLDER_MASTERSLIDENUMBER 8 // 7 Master slide number
230 #define EPP_PLACEHOLDER_MASTERFOOTER 9 // 8 Master footer
231 #define EPP_PLACEHOLDER_MASTERHEADER 10 // 9 Master header
232 #define EPP_PLACEHOLDER_GENERICTEXTOBJECT // 11 Generic text object
233 #define EPP_PLACEHOLDER_TITLE 13 // 12 Title
234 #define EPP_PLACEHOLDER_BODY 14 // 13 Body
235 #define EPP_PLACEHOLDER_NOTESBODY 12 // 14 Notes body
236 #define EPP_PLACEHOLDER_CENTEREDTITLE 15 // 15 Centered title
237 #define EPP_PLACEHOLDER_SUBTITLE 16 // 16 Subtitle
238 #define EPP_PLACEHOLDER_VERTICALTEXTTITLE 17 // 17 Vertical text title
239 #define EPP_PLACEHOLDER_VERTICALTEXTBODY 18 // 18 Vertical text body
240 #define EPP_PLACEHOLDER_NOTESSLIDEIMAGE 11 // 19 Notes slide image
241 #define EPP_PLACEHOLDER_OBJECT 19 // 20 Object (no matter the size)
242 #define EPP_PLACEHOLDER_GRAPH 20 // 21 Graph
243 #define EPP_PLACEHOLDER_TABLE 21 // 22 Table
244 #define EPP_PLACEHOLDER_CLIPART 22 // 23 Clip Art
245 #define EPP_PLACEHOLDER_ORGANISZATIONCHART 23 // 24 Organization Chart
246 #define EPP_PLACEHOLDER_MEDIACLIP 24 // 25 Media Clip
248 #define EPP_TEXTTYPE_Title 0
249 #define EPP_TEXTTYPE_Body 1
250 #define EPP_TEXTTYPE_Notes 2
251 #define EPP_TEXTTYPE_notUsed 3
252 #define EPP_TEXTTYPE_Other 4 // ( Text in a shape )
253 #define EPP_TEXTTYPE_CenterBody 5 // ( subtitle in title slide )
254 #define EPP_TEXTTYPE_CenterTitle 6 // ( title in title slide )
255 #define EPP_TEXTTYPE_HalfBody 7 // ( body in two-column slide )
256 #define EPP_TEXTTYPE_QuarterBody 8 // ( body in four-body slide )
258 #define EPP_SLIDESIZE_TYPEONSCREEN 0
259 #define EPP_SLIDESIZE_TYPELETTERSIZERPAPER 1
260 #define EPP_SLIDESIZE_TYPEA4PAPER 2
261 #define EPP_SLIDESIZE_TYPE35MM 3
262 #define EPP_SLIDESIZE_TYPEOVERHEAD 4
263 #define EPP_SLIDESIZE_TYPEBANNER 5
264 #define EPP_SLIDESIZE_TYPECUSTOM 6
266 #endif