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