Bump version to 4.3-4
[LibreOffice.git] / svx / sdi / svxitems.sdi
blobc59fa1642c4344c351ec3028f3f9e81aed283fa1
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
20 enum SvxCellHorJustifyEnum
22     SVX_HOR_JUSTIFY_STANDARD,
23     SVX_HOR_JUSTIFY_LEFT,
24     SVX_HOR_JUSTIFY_CENTER,
25     SVX_HOR_JUSTIFY_RIGHT,
26     SVX_HOR_JUSTIFY_BLOCK,
27     SVX_HOR_JUSTIFY_REPEAT
29 item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
31 enum SvxCellVerJustifyEnum
33     SVX_VER_JUSTIFY_STANDARD,
34     SVX_VER_JUSTIFY_TOP,
35     SVX_VER_JUSTIFY_CENTER,
36     SVX_VER_JUSTIFY_BOTTOM
38 item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem;
42 enum SvxCellOrientationEnum
44     SVX_ORIENTATION_STANDARD,
45     SVX_ORIENTATION_TOPBOTTOM,
46     SVX_ORIENTATION_BOTTOMTOP,
47     SVX_ORIENTATION_STACKED
49 item SvxCellOrientationEnum SvxCellOrientationEnumItem;
51 enum SvxChooseControlEnum
53     SVX_SNAP_PUSHBUTTON,
54     SVX_SNAP_CHECKBOX,
55     SVX_SNAP_RADIOBUTTON,
56     SVX_SNAP_SPINBUTTON,
57     SVX_SNAP_FIXEDTEXT,
58     SVX_SNAP_GROUPBOX,
59     SVX_SNAP_LISTBOX,
60     SVX_SNAP_COMBOBOX,
61     SVX_SNAP_EDIT,
62     SVX_SNAP_HSCROLLBAR,
63     SVX_SNAP_VSCROLLBAR,
64     SVX_SNAP_PREVIEW,
65     SVX_SNAP_SELECT,
66     SVX_SNAP_URLBUTTON,
67     SVX_SNAP_IMAGECONTROL,
68     SVX_SNAP_PROGRESSBAR,
69     SVX_SNAP_HFIXEDLINE,
70     SVX_SNAP_VFIXEDLINE,
71     SVX_SNAP_DATEFIELD,
72     SVX_SNAP_TIMEFIELD,
73     SVX_SNAP_NUMERICFIELD,
74     SVX_SNAP_CURRENCYFIELD,
75     SVX_SNAP_FORMATTEDFIELD,
76     SVX_SNAP_PATTERNFIELD,
77     SVX_SNAP_FILECONTROL,
78     SVX_SNAP_TREECONTROL
80 item SvxChooseControlEnum SvxChooseControlItem;
84 enum SvxDrawToolEnum
86     SVX_SNAP_DRAW_SELECT,
88     SVX_SNAP_DRAW_LINE,
89     SVX_SNAP_DRAW_RECT,
90     SVX_SNAP_DRAW_ELLIPSE,
91     SVX_SNAP_DRAW_POLYGON_NOFILL,
92     SVX_SNAP_DRAW_BEZIER_NOFILL,
93     SVX_SNAP_DRAW_FREELINE_NOFILL,
94     SVX_SNAP_DRAW_ARC,
95     SVX_SNAP_DRAW_PIE,
96     SVX_SNAP_DRAW_CIRCLECUT,
97     SVX_SNAP_DRAW_TEXT,
98     SVX_SNAP_DRAW_TEXT_VERTICAL,
99     SVX_SNAP_DRAW_TEXT_MARQUEE,
100     SVX_SNAP_DRAW_CAPTION,
101     SVX_SNAP_DRAW_CAPTION_VERTICAL
103 item SvxDrawToolEnum SvxDrawToolEnumItem;
107 enum SvxDrawAlignEnum
109     SVX_OBJECT_ALIGN_LEFT,
110     SVX_OBJECT_ALIGN_CENTER,
111     SVX_OBJECT_ALIGN_RIGHT,
112     SVX_OBJECT_ALIGN_UP,
113     SVX_OBJECT_ALIGN_MIDDLE,
114     SVX_OBJECT_ALIGN_DOWN
116 item SvxDrawAlignEnum SvxDrawAlignEnumItem;
120 enum SvxDrawBezierEnum
122     SVX_BEZIER_MOVE,
123     SVX_BEZIER_INSERT,
124     SVX_BEZIER_DELETE,
125     SVX_BEZIER_CUTLINE,
126     SVX_BEZIER_CONVERT,
127     SVX_BEZIER_EDGE,
128     SVX_BEZIER_SMOOTH,
129     SVX_BEZIER_SYMMTR,
130     SVX_BEZIER_CLOSE,
131     SVX_BEZIER_ELIMINATE_POINTS
133 item SvxDrawBezierEnum SvxDrawBezierEnumItem;
135 enum SvxAdjust
137     SVX_ADJUST_LEFT,
138     SVX_ADJUST_RIGHT,
139     SVX_ADJUST_BLOCK,
140     SVX_ADJUST_CENTER,
141     SVX_ADJUST_BLOCKLINE,
142     SVX_ADJUST_END
145 struct SvxAdjustStruct
147     SvxAdjust   ParagraphAdjustment MID_PARA_ADJUST;
148     SvxAdjust   LastLineAdjustment  MID_LAST_LINE_ADJUST;
149     BOOL        ExpandSingleWord    MID_EXPAND_SINGLE;
151 item SvxAdjustStruct SvxAdjustItem;
155 enum SvxCaseMap
157     SVX_CASEMAP_NOT_MAPPED,
158     SVX_CASEMAP_VERSALIEN,
159     SVX_CASEMAP_GEMEINE,
160     SVX_CASEMAP_TITEL,
161     SVX_CASEMAP_KAPITAELCHEN,
162     SVX_CASEMAP_END
164 item SvxCaseMap SvxCaseMapItem;
168 enum CharSet
170     CHARSET_DONTKNOW,
171     CHARSET_ANSI,
172     CHARSET_MAC,
173     CHARSET_IBMPC_437,
174     CHARSET_IBMPC_850,
175     CHARSET_IBMPC_860,
176     CHARSET_IBMPC_861,
177     CHARSET_IBMPC_863,
178     CHARSET_IBMPC_865,
179     CHARSET_SYSTEM,
180     CHARSET_SYMBOL
185 enum FontFamily
187     FAMILY_DONTKNOW,
188     FAMILY_DECORATIVE,
189     FAMILY_MODERN,
190     FAMILY_ROMAN,
191     FAMILY_SCRIPT,
192     FAMILY_SWISS,
193     FAMILY_SYSTEM
198 enum FontPitch
200     PITCH_DONTKNOW,
201     PITCH_FIXED,
202     PITCH_VARIABLE
207 struct SvxFont
209     String      StyleName   MID_FONT_STYLE_NAME;
210     FontPitch   Pitch       MID_FONT_PITCH;         // INT16
211     CharSet     CharSet     MID_FONT_CHAR_SET;      // INT16
212     FontFamily  Family      MID_FONT_FAMILY;        // INT16
213     String      FamilyName  MID_FONT_FAMILY_NAME;
215 item SvxFont SvxFontItem;
219 enum FontWeight
221     WEIGHT_DONTKNOW,
222     WEIGHT_THIN,
223     WEIGHT_ULTRALIGHT,
224     WEIGHT_LIGHT,
225     WEIGHT_SEMILIGHT,
226     WEIGHT_NORMAL,
227     WEIGHT_MEDIUM,
228     WEIGHT_SEMIBOLD,
229     WEIGHT_BOLD,
230     WEIGHT_ULTRABOLD,
231     WEIGHT_BLACK
233 item FontWeight SvxWeightItem;
237 enum FontUnderline
239     UNDERLINE_NONE,
240     UNDERLINE_SINGLE,
241     UNDERLINE_DOUBLE,
242     UNDERLINE_DOTTED
247 enum FontStrikeout
249     STRIKEOUT_NONE,
250     STRIKEOUT_SINGLE,
251     STRIKEOUT_DOUBLE
256 enum FontItalic
258     ITALIC_NONE,
259     ITALIC_OBLIQUE,
260     ITALIC_NORMAL
262 item FontItalic SvxPostureItem;
266 enum SvxDbType
268     DBTYPE_STARBASE,
269     DBTYPE_ODBC,
270     DBTYPE_WATCOM
272 item SvxDbType SvxDbTypeItem;
276 enum SvxLineSpace
278     SVX_LINE_SPACE_AUTO,
279     SVX_LINE_SPACE_MAX,
280     SVX_LINE_SPACE_MIN,
281     SVX_LINE_SPACE_END
283 item SvxLineSpace SvxLineSpaceItem;
287 enum SvxInterLineSpace
289     SVX_INTER_LINE_SPACE_OFF,
290     SVX_INTER_LINE_SPACE_PROP,
291     SVX_INTER_LINE_SPACE_FIX,
292     SVX_INTER_LINE_SPACE_END
294 item SvxInterLineSpace SvxInterLineSpaceItem;
298 enum SvxBreak
300     SVX_BREAK_NONE,
301     SVX_BREAK_COLUMN_BEFORE,
302     SVX_BREAK_COLUMN_AFTER,
303     SVX_BREAK_COLUMN_BOTH,
304     SVX_BREAK_PAGE_BEFORE,
305     SVX_BREAK_PAGE_AFTER,
306     SVX_BREAK_PAGE_BOTH,
307     SVX_BREAK_END
309 item SvxBreak SvxBreakItem;
313 enum BrushStyle
315     BRUSH_NULL,
316     BRUSH_SOLID,
317     BRUSH_HORZ,
318     BRUSH_VERT,
319     BRUSH_CROSS,
320     BRUSH_DIAGCROSS,
321     BRUSH_UPDIAG,
322     BRUSH_DOWNDIAG,
323     BRUSH_25,
324     BRUSH_50,
325     BRUSH_75,
326     BRUSH_BITMAP
328 item BrushStyle BrushStyleItem;
332 enum SvxNumType
334     SVX_CHARS_UPPER_LETTER,
335     SVX_CHARS_LOWER_LETTER,
336     SVX_ROMAN_UPPER,
337     SVX_ROMAN_LOWER,
338     SVX_ARABIC,
339     SVX_NUMBER_NONE,
340     SVX_CHAR_SPECIAL,
341     SVX_PAGEDESC
343 item SvxNumType SvxNumTypeItem;
347 enum SvxShadowLocation
349     SVX_SHADOW_NONE,
350     SVX_SHADOW_TOPLEFT,
351     SVX_SHADOW_TOPRIGHT,
352     SVX_SHADOW_BOTTOMLEFT,
353     SVX_SHADOW_BOTTOMRIGHT,
354     SVX_SHADOW_END
356 item SvxShadowLocation      SvxShadowLocationItem;
360 item INT16                  SvxCharScaleWidthItem;
361 item INT16                  SvxParaVertAlignItem;
362 item INT16                  SvxCharReliefItem;
363 item BOOL                   SvxBlinkItem;
364 item BOOL                   SvxAutoKernItem;
365 item INT32                  SvxColorItem;
366 item BOOL                   SvxContourItem;
367 item INT16                  SvxFmtBreakItem;  // enum
368 item BOOL                   SvxFmtKeepItem;
369 item BOOL                   SvxFmtSplitItem;
370 item INT16                  SvxKerningItem;
371 item INT16                  SvxLanguageItem;
372 item BOOL                   SvxNoHyphenItem;
373 item BOOL                   SvxNoLinebreakItem;
374 item BOOL                   SvxOpaqueItem;
375 item BYTE                   SvxOrphansItem;
376 item BYTE                   SvxPaperBinItem;
377 item String                 SvxPostItAuthorItem;
378 item String                 SvxPostItDateItem;
379 item String                 SvxPostItTextItem;
380 item FontItalic             SvxPostureItem;  // enum
381 item BOOL                   SvxPrintItem;
382 item UINT16                 SvxPropSizeItem;        // derived from UInt16Item
383 item BOOL                   SvxShadowedItem;
384 item SvxDrawBezierEnum      SvxDrawBezierItem;
385 item SvxDrawAlignEnum       SvxDrawAlignItem;
386 item SvxDrawToolEnum        SvxDrawToolItem;
387 item BYTE                   SvxWidowsItem;
388 item BOOL                   SvxWordLineModeItem;
389 item SvxCellHorJustifyEnum  SvxHorJustifyItem;
390 item SvxCellVerJustifyEnum  SvxVerJustifyItem;
391 item SvxCellOrientationEnum SvxOrientationItem;
392 item BOOL                   SdrShadowItem;
393 item INT16                  SdrTextFitToSizeTypeItem;  // enum
394 item String                 SfxStringListItem;  // serialized into one concatenated string
395 item double                 SvxDoubleItem;
396 item String                 OfaPtrItem;  // serialized into one concatenated string
397 item String                 OfaRefItem;
398 item String                 SvxDashListItem;
399 item String                 SvxLineEndListItem;
400 item String                 SvxColorListItem;
401 item String                 SvxGradientListItem;
402 item String                 SvxHatchListItem;
403 item String                 SvxBitmapListItem;
404 item String                 SfxLockBytesItem;
405 item String                 SvxFontListItem;
406 item String                 avmedia_MediaItem;
408 item BYTE                   SfxGlobalNameItem;
412 struct SvxCrossedOut
414     FontStrikeout   Kind        MID_CROSS_OUT;
416 item SvxCrossedOut SvxCrossedOutItem;
418 struct SvxTextLine
420     FontUnderline   LineStyle   MID_TL_STYLE;
421     BOOL            HasColor    MID_TL_HASCOLOR;
422     INT32           Color       MID_TL_COLOR;
424 item SvxTextLine SvxTextLineItem;
426 struct SvxBrush
428     BOOL        Transparent     MID_GRAPHIC_TRANSPARENT;
429     INT32       BackColor       MID_BACK_COLOR;
430     String      URL             MID_GRAPHIC_URL;
431     String      Filtername      MID_GRAPHIC_FILTER;
432     INT16       Position        MID_GRAPHIC_POSITION;
434 item SvxBrush SvxBrushItem;
438 struct SvxEscapement
440     INT16       Escapement      MID_ESC;
441     BYTE        Height          MID_ESC_HEIGHT;
442     BOOL        Auto            MID_AUTO_ESC;
444 item SvxEscapement SvxEscapementItem;
448 struct SvxFontHeight
450     float       Height      MID_FONTHEIGHT;         // may be converted to INT32
451     INT16       Prop        MID_FONTHEIGHT_PROP;
452     float       Diff        MID_FONTHEIGHT_DIFF;    // may be converted to INT32
454 item SvxFontHeight SvxFontHeightItem;
458 struct SvxHyphenZone
460     BOOL        Hyphen      MID_IS_HYPHEN;
461     INT16       MinLead     MID_HYPHEN_MIN_LEAD;
462     INT16       MinTrail    MID_HYPHEN_MIN_TRAIL;
463     INT16       MaxHyphens  MID_HYPHEN_MAX_HYPHENS;
465 item SvxHyphenZone SvxHyphenZoneItem;
468 struct SvxLine
470     INT32      LineFGColor     MID_FG_COLOR;
471     INT32      LineOutWidth    MID_OUTER_WIDTH;
472     INT32      LineInWidth     MID_INNER_WIDTH;
473     INT32      LineDistance    MID_DISTANCE;
475 item SvxLine SvxLineItem;
479 struct SvxLRSpace
481     INT32       LeftMargin          MID_L_MARGIN;               // % or direct
482     INT32       TextLeftMargin      MID_TXT_LMARGIN
483     INT32       RightMargin         MID_R_MARGIN;               // % or direct
484     INT16       LeftRelMargin       MID_L_REL_MARGIN;
485     INT16       RightRelMargin      MID_R_REL_MARGIN;
486     INT32       FirstLineIndent     MID_FIRST_LINE_INDENT;      // % or direct
487     INT32       FirstLineRelIdent   MID_FIRST_LINE_REL_INDENT;
488     BOOL        AutoFirst           MID_FIRST_AUTO;
490 item SvxLRSpace SvxLRSpaceItem;
494 struct SvxLineSpacing
496     INT16               Mode        MID_LINESPACE;
497     INT16               Height      MID_HEIGHT;
499 item SvxLineSpacing SvxLineSpacingItem;
503 struct SvxPage
505     BOOL                Landscape       MID_PAGE_ORIENTATION;
506     INT16               Layout          MID_PAGE_LAYOUT;
507     INT16               NumType         MID_PAGE_NUMTYPE;
509 item SvxPage SvxPageItem;
513 struct SvxPagePosSize
515     INT32               XPos            MID_X;          // ???
516     INT32               YPos            MID_Y;          // ???
517     INT32               Width           MID_WIDTH;      // ???
518     INT32               Height          MID_HEIGHT;     // ???
520 item SvxPagePosSize SvxPagePosSizeItem;
524 struct SvxShadow
526     SvxShadowLocation   Location        MID_LOCATION;
527     INT16               Width           MID_WIDTH;
528     BOOL                IsTransparent   MID_TRANSPARENT;
529     INT32               Color           MID_BG_COLOR;
531 item SvxShadow SvxShadowItem;
536 struct SvxULSpace
538     INT32               TopMargin       MID_UP_MARGIN;  // % or direct
539     INT32               BottomMargin    MID_LO_MARGIN;  // % or direct
540     BOOL                ContextMargin   MID_CTX_MARGIN;
541     INT16               TopRelMargin    MID_UP_REL_MARGIN;
542     INT16               BottomRelMargin MID_LO_REL_MARGIN;
544 item SvxULSpace SvxULSpaceItem
548 struct SvxLongLRSpace
550     INT32           Left        MID_LEFT;   // ???
551     INT32           Right       MID_RIGHT;  // ???
553 item SvxLongLRSpace SvxLongLRSpaceItem;
557 struct SvxLongULSpace
559     INT32           Upper       MID_UPPER;  // ???
560     INT32           Lower       MID_LOWER;  // ???
562 item SvxLongULSpace SvxLongULSpaceItem;
566 struct SvxHyperlink
568     String  Text    MID_HLINK_TEXT;
569     String  URL     MID_HLINK_URL;
570     String  Target  MID_HLINK_TARGET;
571     String  Name    MID_HLINK_NAME;
572     INT32   Type    MID_HLINK_TYPE;
574 item SvxHyperlink SvxHyperlinkItem;
578 struct PageModel
580     BOOL   Auto MID_AUTO;
581     String Name MID_NAME;
583 item PageModel SvxPageModelItem;
585 struct SvxProtect
587     BOOL Content    MID_PROTECT_CONTENT;
588     BOOL Size       MID_PROTECT_SIZE;
589     BOOL Position   MID_PROTECT_POSITION;
591 item SvxProtect SvxProtectItem;
593 struct SvxRulerObject
595     INT32   StartX  MID_START_X;
596     INT32   StartY  MID_START_Y;
597     INT32   EndX    MID_END_X;
598     INT32   EndY    MID_END_Y;
599     BOOL    Limited MID_LIMIT;
601 item SvxRulerObject SvxObjectItem;
603 item String LineBorder;                 // dummy for sequence
604 struct SvxBox
606     LineBorder LeftBorder       MID_LEFT_BORDER;
607     INT32 LeftDistance          LEFT_BORDER_DISTANCE;
608     LineBorder RightBorder      MID_RIGHT_BORDER;
609     INT32 RightDistance         RIGHT_BORDER_DISTANCE;
610     LineBorder TopBorder        MID_TOP_BORDER;
611     INT32 TopDistance           TOP_BORDER_DISTANCE;
612     LineBorder BottomBorder     MID_BOTTOM_BORDER;
613     INT32 BottomDistance        BOTTOM_BORDER_DISTANCE;
615 item SvxBox SvxBoxItem;
617 struct SvxBoxInfo
619     LineBorder Horizontal   MID_HORIZONTAL;
620     LineBorder Vertical     MID_VERTICAL;
621     INT16 Flags             MID_FLAGS;
622     INT16 ValidFlags        MID_VALIDFLAGS;
623     INT32 DefaultDistance   MID_DISTANCE;
625 item SvxBoxInfo SvxBoxInfoItem;
627 item String SvxColumns;                 // dummy for sequence
628 struct SvxColumnDescription
630     SvxColumns  Columns     MID_COLUMNARRAY;  // currently not implemented
631     INT32       Left        MID_LEFT;
632     INT32       Right       MID_RIGHT;
633     INT32       Actual      MID_ACTUAL;
634     BOOL        Orthogonal  MID_ORTHO;
635     BOOL        Table       MID_TABLE;
637 item SvxColumnDescription SvxColumnItem;
639 struct SvxTabStop
641     String  TabStops         MID_TABSTOPS; // dummy, will be represented by array of structs
642     //INT32   StandardTabStop  MID_STD_TAB;
644 item SvxTabStop SvxTabStopItem;
646 struct SvxCharRotate
648     INT16  Rotation          MID_ROTATE;
649     BOOL    FitToLine        MID_FITTOLINE;
651 item SvxCharRotate SvxCharRotateItem;
653 item String                 SfxSetItem;  // dummy
654 item INT16                  SvxRotateModeItem;  // enum
655 item INT16                  SvxOrientationItem;  // enum
657 struct SvxMargin
659     INT32 LeftMargin MID_MARGIN_L_MARGIN;
660     INT32 RightMargin MID_MARGIN_R_MARGIN;
661     INT32 UpperMargin MID_MARGIN_UP_MARGIN;
662     INT32 LowerMargin MID_MARGIN_LO_MARGIN;
664 item SvxMargin SvxMarginItem;
666 struct SvxEmphasisMark
668     INT32   Emphasis    MID_EMPHASIS;
670 item SvxEmphasisMark SvxEmphasisMarkItem;
672 item String SvxSmartTagItem;                 // dummy for sequence
675 item String Points;                 // dummy for sequence
676 struct ZoomSlider
678     INT16  CurrentZoom          MID_ZOOMSLIDER_CURRENTZOOM;
679     Points SnappingPoints       MID_ZOOMSLIDER_SNAPPINGPOINTS;
680     INT16  SvxMinZoom           MID_ZOOMSLIDER_MINZOOM;
681     INT16  SvxMaxZoom           MID_ZOOMSLIDER_MAXZOOM;
683 item ZoomSlider SvxZoomSliderItem;
685 item String SvxGalleryItem; // dummy for sequence