1 /*************************************************************************
3 * The Contents of this file are made available subject to the terms of
4 * either of the following licenses
6 * - GNU Lesser General Public License Version 2.1
7 * - Sun Industry Standards Source License Version 1.1
9 * Sun Microsystems Inc., October, 2000
11 * GNU Lesser General Public License Version 2.1
12 * =============================================
13 * Copyright 2000 by Sun Microsystems, Inc.
14 * 901 San Antonio Road, Palo Alto, CA 94303, USA
16 * This library is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU Lesser General Public
18 * License version 2.1, as published by the Free Software Foundation.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31 * Sun Industry Standards Source License Version 1.1
32 * =================================================
33 * The contents of this file are subject to the Sun Industry Standards
34 * Source License Version 1.1 (the "License"); You may not use this file
35 * except in compliance with the License. You may obtain a copy of the
36 * License at http://www.openoffice.org/license.html.
38 * Software provided under this License is provided on an "AS IS" basis,
39 * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
40 * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
41 * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
42 * See the License for the specific provisions governing your rights and
43 * obligations concerning the Software.
45 * The Initial Developer of the Original Code is: IBM Corporation
47 * Copyright: 2008 by IBM Corporation
49 * All Rights Reserved.
51 * Contributor(s): _______________________________________
54 ************************************************************************/
55 /*************************************************************************
57 * definitions for all object types VO_TYPE
58 ************************************************************************/
59 /*************************************************************************
62 ************************************************************************/
67 #define BAD_OFFSET 0xFFFFFFFFUL
68 #define BAD_ATOM ((sal_Int32)(-1)) // Invalid Atom ID
70 //Please remove the item from the commented defines after you add the tag to the following enum.
85 VO_HEADERLAYOUT
= 139,
86 VO_FOOTERLAYOUT
= 140,
88 VO_TOCSUPERTABLELAYOUT
= 149,
89 VO_TOCLEVELDATA
= 171,
90 VO_LAYOUTGEOMETRY
= 185,
92 VO_LAYOUTMARGINS
= 187,
93 VO_LAYOUTCOLUMNS
= 188,
94 VO_LAYOUTBORDERSTUFF
= 189,
95 VO_LAYOUTGUTTERSTUFF
= 190,
96 VO_LAYOUTBACKGROUNDSTUFF
= 191,
97 VO_LAYOUTJOINSTUFF
= 192,
98 VO_LAYOUTSHADOW
= 193,
99 VO_LAYOUTNUMERICS
= 194,
100 VO_LAYOUTRELATIVITY
= 195,
101 VO_LAYOUTEXTERNALBORDERSTUFF
= 219,
107 VO_CHARACTERSTYLE
= 106,
108 VO_SILVERBULLET
= 127,
109 VO_ALIGNMENTPIECE
= 196,
110 VO_INDENTPIECE
= 197,
111 VO_SPACINGPIECE
= 199,
112 VO_CHARBORDERPIECE
= 202,
113 VO_AMIKAKEPIECE
= 203,
118 VO_PARABORDERPIECE
= 198,
119 VO_BREAKSPIECE
= 200,
120 VO_NUMBERINGPIECE
= 201,
122 VO_PARABACKGROUNDPIECE
= 218,
126 VO_INDEXSECTION
= 48,
127 VO_HEADTAILHOLDER
= 169,
129 VO_OBJECTHOLDER
= 98,
130 VO_POBJECTHOLDER
= 133,
138 VO_SUPERTABLELAYOUT
= 109,
144 VO_NUMERICVALUE
= 123,
146 VO_COLUMNLAYOUT
= 35,
151 VO_CONNECTEDCELLLAYOUT
= 28,
152 VO_HIDDENCELLLAYOUT
= 29,
153 VO_TABLEHEADINGLAYOUT
= 117,
154 VO_ROWHEADINGLAYOUT
= 118,
155 VO_TABLEHEADING
= 209,
160 VO_DROPCAPLAYOUT
= 217,
169 VO_FOOTNOTEOPTS
= 177,
170 VO_FOOTNOTELAYOUT
= 65,
172 VO_FNCELLLAYOUT
= 61,
173 VO_ENDNOTELAYOUT
= 138,
174 VO_ENSUPERTABLELAYOUT
= 113,
175 VO_FNSUPERTABLELAYOUT
= 111,
176 VO_FOOTNOTETABLE
= 58,
177 VO_CONTONLAYOUT
= 145,
178 VO_CONTFROMLAYOUT
= 146,
181 VO_GROUPLAYOUT
= 108,
185 VO_ROOTLEAFOBJINDEX
= 0xFFFB, // Root Index with no kids
186 VO_ROOTOBJINDEX
= 0xFFFC, // Root Index with kids
188 //Add new type of index
189 VO_OBJINDEX
= 0xFFFD, // Obj Index with kids
191 VO_LEAFOBJINDEX
= 0xFFFE , // Leaf Index
197 VO_NOTEHEADERLAYOUT
= 178,
198 VO_NOTETEXTLAYOUT
= 166,
201 // for parallel column
202 VO_SUPERPARALLELCOLUMNLAYOUT
= 174,
205 VO_PARALLELCOLUMNS
= 163,
212 VO_SUPERGLOSSARYLAYOUT
= 175,
213 //for default tab distance
214 VO_VERDOCUMENT
= 161,
222 static const VO_OBJINDEX = 0xFFFD ; // Intermediate Level Index
229 #define VO_PAGECONTAINER 6
231 #define VO_CELLGADGET 9
232 #define VO_PAGEHINT 10
234 #define VO_SUBPAGECONTAINER 12
236 #define VO_FRAMECONTAINER 15
237 #define VO_LINEHINT 16
239 #define VO_CELLLAYOUT 18
240 #define VO_TABLEHINT 19
241 #define VO_CELLCONTAINER 20
242 #define VO_TABLECONTAINER 21
243 #define VO_ROWCONTAINER 22
245 #define VO_COVERCELLCONTAINER 24
246 #define VO_HIDDENCELLCONTAINER 25
247 #define VO_SPACESHAPE 26
248 #define VO_TABLEHEADINGCONTAINER 27
249 #define VO_CONNECTEDCELLLAYOUT 28
250 #define VO_HIDDENCELLLAYOUT 29
251 #define VO_SUPERLINE 30
252 #define VO_TABLELAYOUT 31
253 #define VO_ROWLAYOUT 32
254 #define VO_TABLEROWCACHE 33
255 #define VO_TABLECOLUMNCACHE 34
256 #define VO_COLUMNLAYOUT 35
257 #define VO_HANDLENODE 36
258 #define VO_FORMATLISTNODE 37
260 #define VO_TEMPPAGEHINT 39
262 #define VO_COLLAPSEGADGET 42
263 #define VO_PERMISSIVELAYOUT 43
264 #define VO_ELEVATORGADGET 44
265 #define VO_STORYMARKER 45
266 #define VO_HEADCONTAINER 46
269 #define VO_NAMEDOUTLINESEQ 49
270 #define VO_VIEWPORTCONTAINER 50
271 #define VO_PRESENTATIONINFO 51
272 #define VO_OBJECTINDEX 52
274 #define VO_OLEOBJECT 54
275 #define VO_FOOTNOTECONTAINER 55
276 #define VO_LITTLEPAGEGADGET 56
277 #define VO_OUTLINEBUTTONGADGET 57
279 #define VO_FNROWLAYOUT 59
280 #define VO_FNROWCONTAINER 60
281 #define VO_FNCELLLAYOUT 61
282 #define VO_FNCELLCONTAINER 62
283 #define VO_3DBUTTONGADGET 63
284 #define VO_BOOKMARK 64
286 #define VO_TABLERANGE 66
287 #define VO_CELLRANGE 67
288 #define VO_REVLINEGADGET 68
289 #define VO_REVCHARGADGET 69
290 #define VO_SCROLLBUTTONGADGET 70
291 #define VO_VSCROLLBARGADGET 71
292 #define VO_HSCROLLBARGADGET 72
293 #define VO_SCROLLBARGADGET 73
294 #define VO_CELLLIST 74
296 #define VO_ROWLIST 76
297 #define VO_DEPENDENT 77
298 #define VO_NUMBERHINT 78
300 #define VO_NOTEGADGET 80
301 #define VO_DDELINK 81
302 #define VO_FORMULAINFO 82
303 #define VO_THUMBGADGET 83
304 #define VO_GHOSTTHUMBGADGET 84
305 #define VO_BOOKMARKGADGET 85
306 #define VO_LINKGADGET 86
308 #define VO_CHECKPOINT 88
309 #define VO_STORYCHECKPOINT 89
311 #define VO_TABLEMARKER 91
312 #define VO_TABLECHECKPOINT 92
313 #define VO_FOOTNOTELISTLIST 93
314 #define VO_CHBLKMARKER 94
315 #define VO_ROWGADGET 95
316 #define VO_COLUMNGADGET 96
317 #define VO_CORNERGADGET 97
319 #define VO_GRAPHICOLECHECKPOINT 99
321 #define VO_DEMANDLOADER 101
322 #define VO_COLUMNSIZEGADGET 102
323 #define VO_ROWSIZEGADGET 103
324 #define VO_CELLMOVEGADGET 104
325 #define VO_CELLSELECTIONGADGET 105
326 #define VO_CHARACTERSTYLE 106
327 #define VO_GROUPCONTAINER 107
329 #define VO_SUPERTABLELAYOUT 109
330 #define VO_SUPERTABLECONTAINER 110
332 #define VO_FNSUPERTABLECONTAINER 112
334 #define VO_ENSUPERTABLECONTAINER 114
335 #define VO_SUPERTABLE 115
336 #define VO_ROWCOLUMNSIZEGADGET 116
337 #define VO_TABLEHEADINGLAYOUT 117
338 #define VO_ROWHEADINGLAYOUT 118
339 #define VO_TOMBSTONE 119
340 #define VO_CAPTION 120
341 #define VO_VERCONTROL 121
342 #define VO_ANCHORGADGET 122
343 #define VO_NUMERICVALUE 123
344 #define VO_TEXTVALUE 124
345 #define VO_REFERENCEVALUE 125
346 #define VO_DLTREENODE 126
348 #define VO_PARADATAHOLDER 128
349 #define VO_NOTIFYPERSISTENT 129
350 #define VO_TYPVERCONTROL 130
351 #define VO_USRVERCONTROL 131
352 #define VO_POBJECTHOLDER 133
353 #define VO_CELLNUMBERHINT 134
354 #define VO_STXINFO 135 // SmarText object
362 #define VO_MARKERLIST 144
364 #define VO_NAMEDVERCONTROL 147
365 #define VO_DIRTBAG 148
367 #define VO_OBJPTRHOLDER 150
368 #define VO_COLUMNWIDTHCACHE 151
369 #define VO_NOTIFYLISTHOLDER 152
370 #define VO_OBJECTHOLDERNV 153
371 #define VO_BASELINEGADGET 154
373 #define VO_DLVOLISTHEADHOLDER 156
374 #define VO_DELETEDTEXTGADGET 158
376 #define VO_FOOTNOTESEEN 160
378 #define VO_OUTLINESEQITEM 162
380 #define VO_CHBGADGET 164
381 #define VO_PROPLIST 165
382 #define VO_STXMANAGER 167 // SmarText object
383 #define VO_STXLINK 168 // SmarText object
385 #define VO_VERPTR 170
387 #define VO_VERDOCINFO 172
392 #define VO_RUBYGADGET 181
394 #define VO_OLEGADGET 182
395 #define VO_AMIASWPSEUDOOBJHOLDER 183
396 #define VO_LONGHOLDER 184
399 #define VO_REVA_MAXTYPES 186
403 #define VO_CONNECTEDBLOCK 208
404 #define VO_TABLEHEADING 209
405 #define VO_BOOKMARKMARKERLIST 210
406 #define VO_FIELDMARKERLIST 211
407 #define VO_CHBMARKERLIST 212
408 #define VO_DDEMARKERLIST 213
409 #define VO_RUBYMARKERLIST 214
411 #define VO_RUBYMARKERGADGET 215
413 #define VO_DROPCAPCONTAINER 216
417 #define VO_LAYOUTEXTERNALJOINSTUFF 220
420 #define VO_OBJINDEX 0xFFFD // Intermediate Level Index