1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
|
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
//-------------------------------------------------------------------------
enum SvxAdjust
{
SVX_ADJUST_LEFT,
SVX_ADJUST_RIGHT,
SVX_ADJUST_BLOCK,
SVX_ADJUST_CENTER,
SVX_ADJUST_BLOCKLINE,
SVX_ADJUST_END
};
item SvxAdjust SvxAdjustItem;
//-------------------------------------------------------------------------
enum SvxCaseMap
{
SVX_CASEMAP_NOT_MAPPED,
SVX_CASEMAP_VERSALIEN,
SVX_CASEMAP_GEMEINE,
SVX_CASEMAP_TITEL,
SVX_CASEMAP_KAPITAELCHEN,
SVX_CASEMAP_END
};
item SvxCaseMap SvxCaseMapItem;
//-------------------------------------------------------------------------
enum CharSet
{
CHARSET_DONTKNOW,
CHARSET_ANSI,
CHARSET_MAC,
CHARSET_IBMPC_437,
CHARSET_IBMPC_850,
CHARSET_IBMPC_860,
CHARSET_IBMPC_861,
CHARSET_IBMPC_863,
CHARSET_IBMPC_865,
CHARSET_SYSTEM,
CHARSET_SYMBOL
};
item CharSet CharSetItem;
//-------------------------------------------------------------------------
enum FontFamily
{
FAMILY_DONTKNOW,
FAMILY_DECORATIVE,
FAMILY_MODERN,
FAMILY_ROMAN,
FAMILY_SCRIPT,
FAMILY_SWISS,
FAMILY_SYSTEM
};
item FontFamily FontFamilyItem;
//-------------------------------------------------------------------------
enum FontPitch
{
PITCH_DONTKNOW,
PITCH_FIXED,
PITCH_VARIABLE
};
item FontPitch FontPitchItem;
//-------------------------------------------------------------------------
enum FontAlign
{
ALIGN_TOP,
ALIGN_BASELINE,
ALIGN_BOTTOM
};
item FontAlign FontAlignItem;
//-------------------------------------------------------------------------
enum FontWeight
{
WEIGHT_DONTKNOW,
WEIGHT_THIN,
WEIGHT_ULTRALIGHT,
WEIGHT_LIGHT,
WEIGHT_SEMILIGHT,
WEIGHT_NORMAL,
WEIGHT_MEDIUM,
WEIGHT_SEMIBOLD,
WEIGHT_BOLD,
WEIGHT_ULTRABOLD,
WEIGHT_BLACK
};
item FontWeight FontWeightItem;
//-------------------------------------------------------------------------
enum FontUnderline
{
UNDERLINE_NONE,
UNDERLINE_SINGLE,
UNDERLINE_DOUBLE,
UNDERLINE_DOTTED
};
item FontUnderline FontUnderlineItem;
//-------------------------------------------------------------------------
enum FontStrikeout
{
STRIKEOUT_NONE,
STRIKEOUT_SINGLE,
STRIKEOUT_DOUBLE
};
item FontStrikeout FontStrikeoutItem;
//-------------------------------------------------------------------------
enum FontItalic
{
ITALIC_NONE,
ITALIC_OBLIQUE,
ITALIC_NORMAL
};
item FontItalic FontItalicItem;
//-------------------------------------------------------------------------
enum SvxDbType
{
DBTYPE_STARBASE,
DBTYPE_ODBC,
DBTYPE_WATCOM
};
item SvxDbType SvxDbTypeItem;
//-------------------------------------------------------------------------
enum SvxLineSpace
{
SVX_LINE_SPACE_AUTO,
SVX_LINE_SPACE_MAX,
SVX_LINE_SPACE_MIN,
SVX_LINE_SPACE_END
};
item SvxLineSpace SvxLineSpaceItem;
//-------------------------------------------------------------------------
enum SvxInterLineSpace
{
SVX_INTER_LINE_SPACE_OFF,
SVX_INTER_LINE_SPACE_PROP,
SVX_INTER_LINE_SPACE_FIX,
SVX_INTER_LINE_SPACE_END
};
item SvxInterLineSpace SvxInterLineSpaceItem;
//-------------------------------------------------------------------------
enum SvxBreak
{
SVX_BREAK_NONE,
SVX_BREAK_COLUMN_BEFORE,
SVX_BREAK_COLUMN_AFTER,
SVX_BREAK_COLUMN_BOTH,
SVX_BREAK_PAGE_BEFORE,
SVX_BREAK_PAGE_AFTER,
SVX_BREAK_PAGE_BOTH,
SVX_BREAK_END
};
item SvxBreak SvxBreakItem;
//-------------------------------------------------------------------------
enum BrushStyle
{
BRUSH_NULL,
BRUSH_SOLID,
BRUSH_HORZ,
BRUSH_VERT,
BRUSH_CROSS,
BRUSH_DIAGCROSS,
BRUSH_UPDIAG,
BRUSH_DOWNDIAG,
BRUSH_25,
BRUSH_50,
BRUSH_75,
BRUSH_BITMAP
};
item BrushStyle BrushStyleItem;
//-------------------------------------------------------------------------
enum SvxNumType
{
SVX_CHARS_UPPER_LETTER,
SVX_CHARS_LOWER_LETTER,
SVX_ROMAN_UPPER,
SVX_ROMAN_LOWER,
SVX_ARABIC,
SVX_NUMBER_NONE,
SVX_CHAR_SPECIAL,
SVX_PAGEDESC
};
item SvxNumType SvxNumTypeItem;
//-------------------------------------------------------------------------
enum SvxShadowLocation
{
SVX_SHADOW_NONE,
SVX_SHADOW_TOPLEFT,
SVX_SHADOW_TOPRIGHT,
SVX_SHADOW_BOTTOMLEFT,
SVX_SHADOW_BOTTOMRIGHT,
SVX_SHADOW_END
};
item SvxShadowLocation SvxShadowLocationItem;
//-------------------------------------------------------------------------
struct SvxBrush
{
BrushStyle Style MID_BRUSHSTYLE;
BOOL Transparent MID_TRANSPARENT;
UINT32 BackColor MID_BG_COLOR;
UINT32 FillColor MID_FG_COLOR;
};
item SvxBrush SvxBrushItem;
//-------------------------------------------------------------------------
struct SvxCharSetColor
{
CharSet CharSet MID_CHARSET;
UINT32 Color MID_FG_COLOR;
};
item SvxCharSetColor SvxCharSetColorItem;
//-------------------------------------------------------------------------
item BOOL SvxAutoKernItem;
item UINT32 SvxColorItem;
item BOOL SvxContourItem;
item FontStrikeout SvxCrossedOutItem;
//-------------------------------------------------------------------------
struct SvxEscapement
{
INT16 Esc MID_ESCAPEMENT;
BYTE Prop MID_PROPORTIONAL;
};
item SvxEscapement SvxEscapementItem;
//-------------------------------------------------------------------------
struct SvxFmtBreak
{
BOOL Auto MID_AUTOBREAK;
UINT16 Break MID_BREAKxxx;
}
item SvxFmtBreak SvxFmtBreakItem;
//-------------------------------------------------------------------------
item BOOL SvxFmtKeepItem;
item BOOL SvxFmtSplitItem;
struct SvxFontHeight
{
UINT32 Height MID_HEIGHT;
BYTE Prop MID_PROPORTIONAL;
};
item SvxFontHeight SvxFontHeightItem;
//-------------------------------------------------------------------------
struct SvxFont
{
String StyleName MID_FONTSTYLE;
FontPitch Pitch MID_FONTPICTH;
CharSet CharSet MID_CHARSET;
FontFamily Family MID_FONTFAMILY;
String FamilyName MID_FONTFAMILYNAME;
};
item SvxFont SvxFontItem;
//-------------------------------------------------------------------------
struct SvxHyphenZone
{
BOOL Hyphen MID_HYPHEN;
BOOL PageEnd MID_PAGEEND;
BYTE MinLead MID_MINLEAD;
BYTE MinTrail MID_MINTRAIL;
BYTE MaxHyphens MID_MAXHYPHENS;
};
item SvxHyphenZone SvxHyphenZoneItem;
//-------------------------------------------------------------------------
item INT16 SvxKerningItem;
//-------------------------------------------------------------------------
struct SvxLine
{
UINT32 Color MID_FG_COLOR;
UINT16 OutWidth MID_OUTER_WIDTH;
UINT16 InWidth MID_INNER_WIDTH;
UINT16 Distance MID_DISTANCE;
};
item SvxLine SvxLineItem;
//-------------------------------------------------------------------------
struct SvxLRSpace
{
INT16 FirstLineOffset MID_FIRSTLINE_OFFSET; // % or direct
UINT16 LeftMargin MID_LEFT_MARGIN; // % or direct
UINT16 RightMargin MID_RIGHT_MARGIN; // % or direct
};
item SvxLRSpace SvxLRSpaceItem;
//-------------------------------------------------------------------------
item UINT16 SvxLanguage;
struct SvxLineSpacing
{
SvxLineSpace LineSpace MID_LINESPACE;
UINT16 LineHeight MID_HEIGHT; // % or direct
SvxInterLineSpace InterLineSpace MID_INTER_LINESPACE;
INT16 InterSpace MID_INTER_SPACE;
};
item SvxLineSpacing SvxLineSpacingItem;
//-------------------------------------------------------------------------
item BOOL SvxNoHyphenItem;
item BOOL SvxNoLinebreakItem;
item BOOL SvxOpaqueItem;
item BYTE SvxOrphansItem;
//-------------------------------------------------------------------------
struct SvxPage
{
String DescName MID_DESCNAMExxx;
BOOL Landscape MID_LANDSCAPE;
UINT16 Use MID_USExxx;
SvxNumType NumType MID_NUMTYPExxx;
};
item SvxPage SvxPageItem;
//-------------------------------------------------------------------------
item String SvxPageModelItem;
//-------------------------------------------------------------------------
struct SvxPagePosSize
{
INT32 XPos MID_X;
INT32 YPos MID_Y;
INT32 Width MID_WIDTH;
INT32 Height MID_HEIGHT;
};
item SvxPagePosSize SvxPagePosSizeItem;
//-------------------------------------------------------------------------
item BYTE SvxPaperBinItem;
//-------------------------------------------------------------------------
item String SvxPostItAuthorItem;
item String SvxPostItDateItem;
item String SvxPostItTextItem;
item FontItalic SvxPostureItem;
item BOOL SvxPrintItem;
item UINT16 SvxPropSizeItem;
//-------------------------------------------------------------------------
struct SvxProtect
{
BOOL Content MID_CONTENT;
BOOL Pos MID_POS;
BOOL Size MID_SIZE;
};
item SvxProtect SvxProtectItem;
//-------------------------------------------------------------------------
struct SvxSearch
{
UINT16 Command MID_COMMAND;
String SearchString MID_SEARCH_STRING;
String ReplaceString MID_REPLACE_STRING;
// W)ord, E)xact, B)ack, S)election, R)egExpr, P)attern
String Flags MID_FLAGS;
UINT16 Family MID_FAMILY;
UINT16 CellType MID_CELLTYPE;
BOOL RowDirection MID_ROW_DIRECTION;
UINT16 AppFlag MID_APPFLAG;
};
item SvxSearch SvxSearchItem;
//-------------------------------------------------------------------------
item BOOL SvxShadowedItem;
//-------------------------------------------------------------------------
struct SvxShadow
{
SvxShadowLocation Location MID_LOCATION;
UINT16 Width MID_WIDTH;
BrushStyle Style MID_BRUSHSTYLE;
BOOL Transparent MID_TRANSPARENT;
UINT32 BackColor MID_BG_COLOR;
UINT32 FillColor MID_FG_COLOR;
};
item SvxShadow SvxShadowItem;
//-------------------------------------------------------------------------
struct SvxSize
{
UINT32 Width MID_WIDTH;
UINT32 Height MID_HEIGHT;
};
item SvxSize SvxSizeItem;
//-------------------------------------------------------------------------
struct SvxULSpace
{
UINT16 Upper MID_UPPER; // % or direct
UINT16 Lower MID_LOWER; // % or direct
};
item SvxULSpace SvxULSpaceItem
//-------------------------------------------------------------------------
enum SvxChooseControlEnum
{
SVX_SNAP_PUSHBUTTON,
SVX_SNAP_CHECKBOX,
SVX_SNAP_RADIOBUTTON,
SVX_SNAP_SPINBUTTON,
SVX_SNAP_FIXEDTEXT,
SVX_SNAP_GROUPBOX,
SVX_SNAP_LISTBOX,
SVX_SNAP_COMBOBOX,
SVX_SNAP_EDIT,
SVX_SNAP_HSCROLLBAR,
SVX_SNAP_VSCROLLBAR,
SVX_SNAP_PREVIEW,
SVX_SNAP_SELECT,
SVX_SNAP_NOTHING
}
item SvxChooseControlEnum SvxChooseControlEnumItem;
//-------------------------------------------------------------------------
enum SvxDrawToolEnum
{
SVX_SNAP_DRAW_SELECT,
//
SVX_SNAP_DRAW_LINE,
SVX_SNAP_DRAW_RECT,
SVX_SNAP_DRAW_ELLIPSE,
SVX_SNAP_DRAW_POLYGON,
SVX_SNAP_DRAW_ARC,
SVX_SNAP_DRAW_PIE,
SVX_SNAP_DRAW_CIRCLECUT,
SVX_SNAP_DRAW_TEXT,
SVX_SNAP_DRAW_CAPTION,
SVX_SNAP_DRAW_NOTHING
}
item SvxDrawToolEnum SvxDrawToolEnumItem;
//-------------------------------------------------------------------------
item SvxChooseControlEnum SvxChooseControlItem;
item SvxDrawToolEnum SvxDrawToolItem;
item FontUnderline SvxUnderlineItem;
item FontWeight SvxWeightItem;
item BYTE SvxWidowsItem;
item BOOL SvxWordLineModeItem;
item String SvxBoxItem; //! Dummy
//-------------------------------------------------------------------------
enum SvxCellHorJustifyEnum
{
SVX_HOR_JUSTIFY_STANDARD,
SVX_HOR_JUSTIFY_LEFT,
SVX_HOR_JUSTIFY_CENTER,
SVX_HOR_JUSTIFY_RIGHT,
SVX_HOR_JUSTIFY_BLOCK,
SVX_HOR_JUSTIFY_REPEAT
};
item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
enum SvxCellVerJustifyEnum
{
SVX_VER_JUSTIFY_STANDARD,
SVX_VER_JUSTIFY_TOP,
SVX_VER_JUSTIFY_CENTER,
SVX_VER_JUSTIFY_BOTTOM
};
item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem;
//-------------------------------------------------------------------------
enum SvxCellOrientationEnum
{
SVX_ORIENTATION_STANDARD,
SVX_ORIENTATION_TOPBOTTOM,
SVX_ORIENTATION_BOTTOMTOP,
SVX_ORIENTATION_STACKED
};
item SvxCellOrientationEnum SvxCellOrientationEnumItem;
//-------------------------------------------------------------------------
item SvxCellHorJustifyEnum SvxHorJustifyItem;
item SvxCellVerJustifyEnum SvxVerJustifyItem;
item SvxCellOrientationEnum SvxOrientationItem;
//-------------------------------------------------------------------------
struct SvxLongLRSpace
{
INT32 Left MID_LEFT;
INT32 Right MID_RIGHT;
};
item SvxLongLRSpace SvxLongLRSpaceItem;
//-------------------------------------------------------------------------
struct SvxLongULSpace
{
INT32 Upper MID_UPPER;
INT32 Lower MID_LOWER;
};
item SvxLongULSpace SvxLongULSpaceItem;
//-------------------------------------------------------------------------
struct SvxZoom
{
INT32 Type MID_TYPE;
UINT16 ValueSet MID_VALUESET;
INT32 Percent MID_PERCENT;
};
item SvxZoom SvxZoomItem;
//-------------------------------------------------------------------------
item SbxObject SvxTabStopItem;
|