update dev300-m58
[ooovba.git] / starmath / sdi / svxitems.sdi
bloba071a52f83556c2538560e4169ef5ba7639aca04
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: svxitems.sdi,v $
10  * $Revision: 1.4 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
30 //-------------------------------------------------------------------------
32 enum SvxAdjust
34     SVX_ADJUST_LEFT,
35     SVX_ADJUST_RIGHT,
36     SVX_ADJUST_BLOCK,
37     SVX_ADJUST_CENTER,
38     SVX_ADJUST_BLOCKLINE,
39     SVX_ADJUST_END
41 item SvxAdjust SvxAdjustItem;
43 //-------------------------------------------------------------------------
45 enum SvxCaseMap
47     SVX_CASEMAP_NOT_MAPPED,
48     SVX_CASEMAP_VERSALIEN,
49     SVX_CASEMAP_GEMEINE,
50     SVX_CASEMAP_TITEL,
51     SVX_CASEMAP_KAPITAELCHEN,
52     SVX_CASEMAP_END
54 item SvxCaseMap SvxCaseMapItem;
56 //-------------------------------------------------------------------------
58 enum CharSet
60     CHARSET_DONTKNOW,
61     CHARSET_ANSI,
62     CHARSET_MAC,
63     CHARSET_IBMPC_437,
64     CHARSET_IBMPC_850,
65     CHARSET_IBMPC_860,
66     CHARSET_IBMPC_861,
67     CHARSET_IBMPC_863,
68     CHARSET_IBMPC_865,
69     CHARSET_SYSTEM,
70     CHARSET_SYMBOL
72 item CharSet CharSetItem;
74 //-------------------------------------------------------------------------
76 enum FontFamily
78     FAMILY_DONTKNOW,
79     FAMILY_DECORATIVE,
80     FAMILY_MODERN,
81     FAMILY_ROMAN,
82     FAMILY_SCRIPT,
83     FAMILY_SWISS,
84     FAMILY_SYSTEM
86 item FontFamily FontFamilyItem;
88 //-------------------------------------------------------------------------
90 enum FontPitch
92     PITCH_DONTKNOW,
93     PITCH_FIXED,
94     PITCH_VARIABLE
96 item FontPitch FontPitchItem;
98 //-------------------------------------------------------------------------
100 enum FontAlign
102     ALIGN_TOP,
103     ALIGN_BASELINE,
104     ALIGN_BOTTOM
106 item FontAlign FontAlignItem;
108 //-------------------------------------------------------------------------
110 enum FontWeight
112     WEIGHT_DONTKNOW,
113     WEIGHT_THIN,
114     WEIGHT_ULTRALIGHT,
115     WEIGHT_LIGHT,
116     WEIGHT_SEMILIGHT,
117     WEIGHT_NORMAL,
118     WEIGHT_MEDIUM,
119     WEIGHT_SEMIBOLD,
120     WEIGHT_BOLD,
121     WEIGHT_ULTRABOLD,
122     WEIGHT_BLACK
124 item FontWeight FontWeightItem;
126 //-------------------------------------------------------------------------
128 enum FontUnderline
130     UNDERLINE_NONE,
131     UNDERLINE_SINGLE,
132     UNDERLINE_DOUBLE,
133     UNDERLINE_DOTTED
135 item FontUnderline FontUnderlineItem;
137 //-------------------------------------------------------------------------
139 enum FontStrikeout
141     STRIKEOUT_NONE,
142     STRIKEOUT_SINGLE,
143     STRIKEOUT_DOUBLE
145 item FontStrikeout FontStrikeoutItem;
147 //-------------------------------------------------------------------------
149 enum FontItalic
151     ITALIC_NONE,
152     ITALIC_OBLIQUE,
153     ITALIC_NORMAL
155 item FontItalic FontItalicItem;
157 //-------------------------------------------------------------------------
159 enum SvxDbType
161     DBTYPE_STARBASE,
162     DBTYPE_ODBC,
163     DBTYPE_WATCOM
165 item SvxDbType SvxDbTypeItem;
167 //-------------------------------------------------------------------------
169 enum SvxLineSpace
171     SVX_LINE_SPACE_AUTO,
172     SVX_LINE_SPACE_MAX,
173     SVX_LINE_SPACE_MIN,
174     SVX_LINE_SPACE_END
176 item SvxLineSpace SvxLineSpaceItem;
178 //-------------------------------------------------------------------------
180 enum SvxInterLineSpace
182     SVX_INTER_LINE_SPACE_OFF,
183     SVX_INTER_LINE_SPACE_PROP,
184     SVX_INTER_LINE_SPACE_FIX,
185     SVX_INTER_LINE_SPACE_END
187 item SvxInterLineSpace SvxInterLineSpaceItem;
189 //-------------------------------------------------------------------------
191 enum SvxBreak
193     SVX_BREAK_NONE,
194     SVX_BREAK_COLUMN_BEFORE,
195     SVX_BREAK_COLUMN_AFTER,
196     SVX_BREAK_COLUMN_BOTH,
197     SVX_BREAK_PAGE_BEFORE,
198     SVX_BREAK_PAGE_AFTER,
199     SVX_BREAK_PAGE_BOTH,
200     SVX_BREAK_END
202 item SvxBreak SvxBreakItem;
204 //-------------------------------------------------------------------------
206 enum BrushStyle
208     BRUSH_NULL,
209     BRUSH_SOLID,
210     BRUSH_HORZ,
211     BRUSH_VERT,
212     BRUSH_CROSS,
213     BRUSH_DIAGCROSS,
214     BRUSH_UPDIAG,
215     BRUSH_DOWNDIAG,
216     BRUSH_25,
217     BRUSH_50,
218     BRUSH_75,
219     BRUSH_BITMAP
221 item BrushStyle BrushStyleItem;
223 //-------------------------------------------------------------------------
225 enum SvxNumType
227     SVX_CHARS_UPPER_LETTER,
228     SVX_CHARS_LOWER_LETTER,
229     SVX_ROMAN_UPPER,
230     SVX_ROMAN_LOWER,
231     SVX_ARABIC,
232     SVX_NUMBER_NONE,
233     SVX_CHAR_SPECIAL,
234     SVX_PAGEDESC
236 item SvxNumType SvxNumTypeItem;
238 //-------------------------------------------------------------------------
240 enum SvxShadowLocation
242     SVX_SHADOW_NONE,
243     SVX_SHADOW_TOPLEFT,
244     SVX_SHADOW_TOPRIGHT,
245     SVX_SHADOW_BOTTOMLEFT,
246     SVX_SHADOW_BOTTOMRIGHT,
247     SVX_SHADOW_END
249 item SvxShadowLocation SvxShadowLocationItem;
251 //-------------------------------------------------------------------------
253 struct SvxBrush
255     BrushStyle  Style                   MID_BRUSHSTYLE;
256     BOOL                Transparent     MID_TRANSPARENT;
257     UINT32              BackColor               MID_BG_COLOR;
258     UINT32              FillColor               MID_FG_COLOR;
260 item SvxBrush SvxBrushItem;
262 //-------------------------------------------------------------------------
264 struct SvxCharSetColor
266     CharSet     CharSet                 MID_CHARSET;
267     UINT32              Color                   MID_FG_COLOR;
269 item SvxCharSetColor SvxCharSetColorItem;
271 //-------------------------------------------------------------------------
273 item BOOL                       SvxAutoKernItem;
274 item UINT32         SvxColorItem;
275 item BOOL                       SvxContourItem;
276 item FontStrikeout      SvxCrossedOutItem;
278 //-------------------------------------------------------------------------
280 struct SvxEscapement
282     INT16               Esc             MID_ESCAPEMENT;
283     BYTE                Prop            MID_PROPORTIONAL;
285 item SvxEscapement SvxEscapementItem;
287 //-------------------------------------------------------------------------
289 struct SvxFmtBreak
291     BOOL                Auto            MID_AUTOBREAK;
292     UINT16              Break           MID_BREAKxxx;
294 item SvxFmtBreak SvxFmtBreakItem;
296 //-------------------------------------------------------------------------
298 item BOOL SvxFmtKeepItem;
299 item BOOL SvxFmtSplitItem;
301 struct SvxFontHeight
303     UINT32              Height          MID_HEIGHT;
304     BYTE                Prop            MID_PROPORTIONAL;
306 item SvxFontHeight SvxFontHeightItem;
308 //-------------------------------------------------------------------------
310 struct SvxFont
312     String              StyleName       MID_FONTSTYLE;
313     FontPitch   Pitch           MID_FONTPICTH;
314     CharSet     CharSet         MID_CHARSET;
315     FontFamily  Family          MID_FONTFAMILY;
316     String              FamilyName      MID_FONTFAMILYNAME;
318 item SvxFont SvxFontItem;
320 //-------------------------------------------------------------------------
322 struct SvxHyphenZone
324     BOOL                Hyphen          MID_HYPHEN;
325     BOOL                PageEnd         MID_PAGEEND;
326     BYTE                MinLead         MID_MINLEAD;
327     BYTE                MinTrail        MID_MINTRAIL;
328     BYTE                MaxHyphens      MID_MAXHYPHENS;
330 item SvxHyphenZone SvxHyphenZoneItem;
332 //-------------------------------------------------------------------------
334 item INT16 SvxKerningItem;
336 //-------------------------------------------------------------------------
338 struct SvxLine
340     UINT32              Color           MID_FG_COLOR;
341     UINT16              OutWidth        MID_OUTER_WIDTH;
342     UINT16              InWidth         MID_INNER_WIDTH;
343     UINT16              Distance        MID_DISTANCE;
345 item SvxLine SvxLineItem;
347 //-------------------------------------------------------------------------
349 struct SvxLRSpace
351     INT16               FirstLineOffset MID_FIRSTLINE_OFFSET;   // % or direct
352     UINT16              LeftMargin              MID_LEFT_MARGIN;                // % or direct
353     UINT16              RightMargin     MID_RIGHT_MARGIN;               // % or direct
355 item SvxLRSpace SvxLRSpaceItem;
357 //-------------------------------------------------------------------------
359 item UINT16 SvxLanguage;
361 struct SvxLineSpacing
363     SvxLineSpace                LineSpace               MID_LINESPACE;
364     UINT16                              LineHeight              MID_HEIGHT;     // % or direct
365     SvxInterLineSpace   InterLineSpace  MID_INTER_LINESPACE;
366     INT16                               InterSpace              MID_INTER_SPACE;
368 item SvxLineSpacing SvxLineSpacingItem;
370 //-------------------------------------------------------------------------
372 item BOOL SvxNoHyphenItem;
373 item BOOL SvxNoLinebreakItem;
374 item BOOL SvxOpaqueItem;
375 item BYTE SvxOrphansItem;
377 //-------------------------------------------------------------------------
379 struct SvxPage
381     String                              DescName                MID_DESCNAMExxx;
382     BOOL                                Landscape               MID_LANDSCAPE;
383     UINT16                              Use                     MID_USExxx;
384     SvxNumType                  NumType                 MID_NUMTYPExxx;
386 item SvxPage SvxPageItem;
388 //-------------------------------------------------------------------------
390 item String SvxPageModelItem;
392 //-------------------------------------------------------------------------
394 struct SvxPagePosSize
396     INT32                               XPos                    MID_X;
397     INT32                               YPos                    MID_Y;
398     INT32                               Width                   MID_WIDTH;
399     INT32                               Height                  MID_HEIGHT;
401 item SvxPagePosSize SvxPagePosSizeItem;
403 //-------------------------------------------------------------------------
405 item BYTE SvxPaperBinItem;
407 //-------------------------------------------------------------------------
409 item String     SvxPostItAuthorItem;
410 item String     SvxPostItDateItem;
411 item String     SvxPostItTextItem;
412 item FontItalic SvxPostureItem;
413 item BOOL               SvxPrintItem;
414 item UINT16     SvxPropSizeItem;
416 //-------------------------------------------------------------------------
418 struct SvxProtect
420     BOOL                        Content                 MID_CONTENT;
421     BOOL                        Pos                     MID_POS;
422     BOOL                        Size                    MID_SIZE;
424 item SvxProtect SvxProtectItem;
426 //-------------------------------------------------------------------------
428 struct SvxSearch
430     UINT16              Command                 MID_COMMAND;
431     String              SearchString    MID_SEARCH_STRING;
432     String              ReplaceString   MID_REPLACE_STRING;
433                 // W)ord, E)xact, B)ack, S)election, R)egExpr, P)attern
434     String              Flags                   MID_FLAGS;
435     UINT16              Family                  MID_FAMILY;
436     UINT16              CellType                MID_CELLTYPE;
437     BOOL                RowDirection    MID_ROW_DIRECTION;
438     UINT16              AppFlag                 MID_APPFLAG;
440 item SvxSearch SvxSearchItem;
442 //-------------------------------------------------------------------------
444 item BOOL SvxShadowedItem;
446 //-------------------------------------------------------------------------
448 struct SvxShadow
450     SvxShadowLocation   Location                MID_LOCATION;
451     UINT16                              Width                   MID_WIDTH;
452     BrushStyle                  Style                   MID_BRUSHSTYLE;
453     BOOL                                Transparent     MID_TRANSPARENT;
454     UINT32                              BackColor               MID_BG_COLOR;
455     UINT32                              FillColor               MID_FG_COLOR;
457 item SvxShadow SvxShadowItem;
459 //-------------------------------------------------------------------------
461 struct SvxSize
463     UINT32                              Width                   MID_WIDTH;
464     UINT32                              Height                  MID_HEIGHT;
466 item SvxSize SvxSizeItem;
468 //-------------------------------------------------------------------------
470 struct SvxULSpace
472     UINT16                              Upper                   MID_UPPER;      // % or direct
473     UINT16                              Lower                   MID_LOWER;      // % or direct
475 item SvxULSpace SvxULSpaceItem
477 //-------------------------------------------------------------------------
479 enum SvxChooseControlEnum
481     SVX_SNAP_PUSHBUTTON,
482     SVX_SNAP_CHECKBOX,
483     SVX_SNAP_RADIOBUTTON,
484     SVX_SNAP_SPINBUTTON,
485     SVX_SNAP_FIXEDTEXT,
486     SVX_SNAP_GROUPBOX,
487     SVX_SNAP_LISTBOX,
488     SVX_SNAP_COMBOBOX,
489     SVX_SNAP_EDIT,
490     SVX_SNAP_HSCROLLBAR,
491     SVX_SNAP_VSCROLLBAR,
492     SVX_SNAP_PREVIEW,
493     SVX_SNAP_SELECT,
494     SVX_SNAP_NOTHING
496 item SvxChooseControlEnum SvxChooseControlEnumItem;
498 //-------------------------------------------------------------------------
500 enum SvxDrawToolEnum
502     SVX_SNAP_DRAW_SELECT,
503     //
504     SVX_SNAP_DRAW_LINE,
505     SVX_SNAP_DRAW_RECT,
506     SVX_SNAP_DRAW_ELLIPSE,
507     SVX_SNAP_DRAW_POLYGON,
508     SVX_SNAP_DRAW_ARC,
509     SVX_SNAP_DRAW_PIE,
510     SVX_SNAP_DRAW_CIRCLECUT,
511     SVX_SNAP_DRAW_TEXT,
512     SVX_SNAP_DRAW_CAPTION,
513     SVX_SNAP_DRAW_NOTHING
515 item SvxDrawToolEnum SvxDrawToolEnumItem;
517 //-------------------------------------------------------------------------
519 item SvxChooseControlEnum SvxChooseControlItem;
520 item SvxDrawToolEnum SvxDrawToolItem;
521 item FontUnderline SvxUnderlineItem;
522 item FontWeight SvxWeightItem;
523 item BYTE SvxWidowsItem;
524 item BOOL SvxWordLineModeItem;
525 item String SvxBoxItem; //! Dummy
527 //-------------------------------------------------------------------------
529 enum SvxCellHorJustifyEnum
531     SVX_HOR_JUSTIFY_STANDARD,
532     SVX_HOR_JUSTIFY_LEFT,
533     SVX_HOR_JUSTIFY_CENTER,
534     SVX_HOR_JUSTIFY_RIGHT,
535     SVX_HOR_JUSTIFY_BLOCK,
536     SVX_HOR_JUSTIFY_REPEAT
538 item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
540 enum SvxCellVerJustifyEnum
542     SVX_VER_JUSTIFY_STANDARD,
543     SVX_VER_JUSTIFY_TOP,
544     SVX_VER_JUSTIFY_CENTER,
545     SVX_VER_JUSTIFY_BOTTOM
547 item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem;
549 //-------------------------------------------------------------------------
551 enum SvxCellOrientationEnum
553     SVX_ORIENTATION_STANDARD,
554     SVX_ORIENTATION_TOPBOTTOM,
555     SVX_ORIENTATION_BOTTOMTOP,
556     SVX_ORIENTATION_STACKED
558 item SvxCellOrientationEnum SvxCellOrientationEnumItem;
560 //-------------------------------------------------------------------------
562 item SvxCellHorJustifyEnum SvxHorJustifyItem;
563 item SvxCellVerJustifyEnum SvxVerJustifyItem;
564 item SvxCellOrientationEnum SvxOrientationItem;
566 //-------------------------------------------------------------------------
568 struct SvxLongLRSpace
570     INT32                       Left            MID_LEFT;
571     INT32                       Right           MID_RIGHT;
573 item SvxLongLRSpace SvxLongLRSpaceItem;
575 //-------------------------------------------------------------------------
577 struct SvxLongULSpace
579     INT32                       Upper           MID_UPPER;
580     INT32                       Lower           MID_LOWER;
582 item SvxLongULSpace SvxLongULSpaceItem;
584 //-------------------------------------------------------------------------
586 struct SvxZoom
588     INT32                       Type            MID_TYPE;
589     UINT16                      ValueSet        MID_VALUESET;
590     INT32                       Percent         MID_PERCENT;
592 item SvxZoom SvxZoomItem;
594 //-------------------------------------------------------------------------
596 item SbxObject SvxTabStopItem;