fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / svx / sdi / svxitems.sdi
blob6887062ebdfb31fe5ad65b86823615e1ec762d06
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  */
19 enum SvxCellHorJustifyEnum
21     SVX_HOR_JUSTIFY_STANDARD,
22     SVX_HOR_JUSTIFY_LEFT,
23     SVX_HOR_JUSTIFY_CENTER,
24     SVX_HOR_JUSTIFY_RIGHT,
25     SVX_HOR_JUSTIFY_BLOCK,
26     SVX_HOR_JUSTIFY_REPEAT
28 item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
30 enum SvxCellVerJustifyEnum
32     SVX_VER_JUSTIFY_STANDARD,
33     SVX_VER_JUSTIFY_TOP,
34     SVX_VER_JUSTIFY_CENTER,
35     SVX_VER_JUSTIFY_BOTTOM
37 item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem;
39 enum SvxCellOrientationEnum
41     SVX_ORIENTATION_STANDARD,
42     SVX_ORIENTATION_TOPBOTTOM,
43     SVX_ORIENTATION_BOTTOMTOP,
44     SVX_ORIENTATION_STACKED
46 item SvxCellOrientationEnum SvxCellOrientationEnumItem;
48 enum SvxChooseControlEnum
50     SVX_SNAP_PUSHBUTTON,
51     SVX_SNAP_CHECKBOX,
52     SVX_SNAP_RADIOBUTTON,
53     SVX_SNAP_SPINBUTTON,
54     SVX_SNAP_FIXEDTEXT,
55     SVX_SNAP_GROUPBOX,
56     SVX_SNAP_LISTBOX,
57     SVX_SNAP_COMBOBOX,
58     SVX_SNAP_EDIT,
59     SVX_SNAP_HSCROLLBAR,
60     SVX_SNAP_VSCROLLBAR,
61     SVX_SNAP_PREVIEW,
62     SVX_SNAP_SELECT,
63     SVX_SNAP_URLBUTTON,
64     SVX_SNAP_IMAGECONTROL,
65     SVX_SNAP_PROGRESSBAR,
66     SVX_SNAP_HFIXEDLINE,
67     SVX_SNAP_VFIXEDLINE,
68     SVX_SNAP_DATEFIELD,
69     SVX_SNAP_TIMEFIELD,
70     SVX_SNAP_NUMERICFIELD,
71     SVX_SNAP_CURRENCYFIELD,
72     SVX_SNAP_FORMATTEDFIELD,
73     SVX_SNAP_PATTERNFIELD,
74     SVX_SNAP_FILECONTROL,
75     SVX_SNAP_TREECONTROL
77 item SvxChooseControlEnum SvxChooseControlItem;
79 enum SvxDrawToolEnum
81     SVX_SNAP_DRAW_SELECT,
83     SVX_SNAP_DRAW_LINE,
84     SVX_SNAP_DRAW_RECT,
85     SVX_SNAP_DRAW_ELLIPSE,
86     SVX_SNAP_DRAW_POLYGON_NOFILL,
87     SVX_SNAP_DRAW_BEZIER_NOFILL,
88     SVX_SNAP_DRAW_FREELINE_NOFILL,
89     SVX_SNAP_DRAW_ARC,
90     SVX_SNAP_DRAW_PIE,
91     SVX_SNAP_DRAW_CIRCLECUT,
92     SVX_SNAP_DRAW_TEXT,
93     SVX_SNAP_DRAW_TEXT_VERTICAL,
94     SVX_SNAP_DRAW_TEXT_MARQUEE,
95     SVX_SNAP_DRAW_CAPTION,
96     SVX_SNAP_DRAW_CAPTION_VERTICAL
98 item SvxDrawToolEnum SvxDrawToolEnumItem;
100 enum SvxDrawAlignEnum
102     SVX_OBJECT_ALIGN_LEFT,
103     SVX_OBJECT_ALIGN_CENTER,
104     SVX_OBJECT_ALIGN_RIGHT,
105     SVX_OBJECT_ALIGN_UP,
106     SVX_OBJECT_ALIGN_MIDDLE,
107     SVX_OBJECT_ALIGN_DOWN
109 item SvxDrawAlignEnum SvxDrawAlignEnumItem;
111 enum SvxDrawBezierEnum
113     SVX_BEZIER_MOVE,
114     SVX_BEZIER_INSERT,
115     SVX_BEZIER_DELETE,
116     SVX_BEZIER_CUTLINE,
117     SVX_BEZIER_CONVERT,
118     SVX_BEZIER_EDGE,
119     SVX_BEZIER_SMOOTH,
120     SVX_BEZIER_SYMMTR,
121     SVX_BEZIER_CLOSE,
122     SVX_BEZIER_ELIMINATE_POINTS
124 item SvxDrawBezierEnum SvxDrawBezierEnumItem;
126 enum SvxAdjust
128     SVX_ADJUST_LEFT,
129     SVX_ADJUST_RIGHT,
130     SVX_ADJUST_BLOCK,
131     SVX_ADJUST_CENTER,
132     SVX_ADJUST_BLOCKLINE,
133     SVX_ADJUST_END
136 struct SvxAdjustStruct
138     SvxAdjust   ParagraphAdjustment MID_PARA_ADJUST;
139     SvxAdjust   LastLineAdjustment  MID_LAST_LINE_ADJUST;
140     BOOL        ExpandSingleWord    MID_EXPAND_SINGLE;
142 item SvxAdjustStruct SvxAdjustItem;
144 enum SvxCaseMap
146     SVX_CASEMAP_NOT_MAPPED,
147     SVX_CASEMAP_VERSALIEN,
148     SVX_CASEMAP_GEMEINE,
149     SVX_CASEMAP_TITEL,
150     SVX_CASEMAP_KAPITAELCHEN,
151     SVX_CASEMAP_END
153 item SvxCaseMap SvxCaseMapItem;
155 enum CharSet
157     CHARSET_DONTKNOW,
158     CHARSET_ANSI,
159     CHARSET_MAC,
160     CHARSET_IBMPC_437,
161     CHARSET_IBMPC_850,
162     CHARSET_IBMPC_860,
163     CHARSET_IBMPC_861,
164     CHARSET_IBMPC_863,
165     CHARSET_IBMPC_865,
166     CHARSET_SYSTEM,
167     CHARSET_SYMBOL
170 enum FontFamily
172     FAMILY_DONTKNOW,
173     FAMILY_DECORATIVE,
174     FAMILY_MODERN,
175     FAMILY_ROMAN,
176     FAMILY_SCRIPT,
177     FAMILY_SWISS,
178     FAMILY_SYSTEM
181 enum FontPitch
183     PITCH_DONTKNOW,
184     PITCH_FIXED,
185     PITCH_VARIABLE
188 struct SvxFont
190     String      StyleName   MID_FONT_STYLE_NAME;
191     FontPitch   Pitch       MID_FONT_PITCH;         // INT16
192     CharSet     CharSet     MID_FONT_CHAR_SET;      // INT16
193     FontFamily  Family      MID_FONT_FAMILY;        // INT16
194     String      FamilyName  MID_FONT_FAMILY_NAME;
196 item SvxFont SvxFontItem;
198 enum FontWeight
200     WEIGHT_DONTKNOW,
201     WEIGHT_THIN,
202     WEIGHT_ULTRALIGHT,
203     WEIGHT_LIGHT,
204     WEIGHT_SEMILIGHT,
205     WEIGHT_NORMAL,
206     WEIGHT_MEDIUM,
207     WEIGHT_SEMIBOLD,
208     WEIGHT_BOLD,
209     WEIGHT_ULTRABOLD,
210     WEIGHT_BLACK
212 item FontWeight SvxWeightItem;
214 enum FontUnderline
216     UNDERLINE_NONE,
217     UNDERLINE_SINGLE,
218     UNDERLINE_DOUBLE,
219     UNDERLINE_DOTTED
222 enum FontStrikeout
224     STRIKEOUT_NONE,
225     STRIKEOUT_SINGLE,
226     STRIKEOUT_DOUBLE
229 enum FontItalic
231     ITALIC_NONE,
232     ITALIC_OBLIQUE,
233     ITALIC_NORMAL
235 item FontItalic SvxPostureItem;
237 enum SvxDbType
239     DBTYPE_STARBASE,
240     DBTYPE_ODBC,
241     DBTYPE_WATCOM
243 item SvxDbType SvxDbTypeItem;
245 enum SvxLineSpace
247     SVX_LINE_SPACE_AUTO,
248     SVX_LINE_SPACE_MAX,
249     SVX_LINE_SPACE_MIN,
250     SVX_LINE_SPACE_END
252 item SvxLineSpace SvxLineSpaceItem;
254 enum SvxInterLineSpace
256     SVX_INTER_LINE_SPACE_OFF,
257     SVX_INTER_LINE_SPACE_PROP,
258     SVX_INTER_LINE_SPACE_FIX,
259     SVX_INTER_LINE_SPACE_END
261 item SvxInterLineSpace SvxInterLineSpaceItem;
263 enum SvxBreak
265     SVX_BREAK_NONE,
266     SVX_BREAK_COLUMN_BEFORE,
267     SVX_BREAK_COLUMN_AFTER,
268     SVX_BREAK_COLUMN_BOTH,
269     SVX_BREAK_PAGE_BEFORE,
270     SVX_BREAK_PAGE_AFTER,
271     SVX_BREAK_PAGE_BOTH,
272     SVX_BREAK_END
274 item SvxBreak SvxBreakItem;
276 enum BrushStyle
278     BRUSH_NULL,
279     BRUSH_SOLID,
280     BRUSH_HORZ,
281     BRUSH_VERT,
282     BRUSH_CROSS,
283     BRUSH_DIAGCROSS,
284     BRUSH_UPDIAG,
285     BRUSH_DOWNDIAG,
286     BRUSH_25,
287     BRUSH_50,
288     BRUSH_75,
289     BRUSH_BITMAP
291 item BrushStyle BrushStyleItem;
293 enum SvxNumType
295     SVX_CHARS_UPPER_LETTER,
296     SVX_CHARS_LOWER_LETTER,
297     SVX_ROMAN_UPPER,
298     SVX_ROMAN_LOWER,
299     SVX_ARABIC,
300     SVX_NUMBER_NONE,
301     SVX_CHAR_SPECIAL,
302     SVX_PAGEDESC
304 item SvxNumType SvxNumTypeItem;
306 enum SvxShadowLocation
308     SVX_SHADOW_NONE,
309     SVX_SHADOW_TOPLEFT,
310     SVX_SHADOW_TOPRIGHT,
311     SVX_SHADOW_BOTTOMLEFT,
312     SVX_SHADOW_BOTTOMRIGHT,
313     SVX_SHADOW_END
315 item SvxShadowLocation      SvxShadowLocationItem;
317 item INT16                  SvxCharScaleWidthItem;
318 item INT16                  SvxParaVertAlignItem;
319 item INT16                  SvxCharReliefItem;
320 item BOOL                   SvxBlinkItem;
321 item BOOL                   SvxAutoKernItem;
322 item INT32                  SvxColorItem;
323 item INT32                  SvxBackgroundColorItem;
324 item BOOL                   SvxContourItem;
325 item INT16                  SvxFormatBreakItem;  // enum
326 item BOOL                   SvxFormatKeepItem;
327 item BOOL                   SvxFormatSplitItem;
328 item INT16                  SvxKerningItem;
329 item INT16                  SvxLanguageItem;
330 item BOOL                   SvxNoHyphenItem;
331 item BOOL                   SvxNoLinebreakItem;
332 item BOOL                   SvxOpaqueItem;
333 item BYTE                   SvxOrphansItem;
334 item BYTE                   SvxPaperBinItem;
335 item String                 SvxPostItAuthorItem;
336 item String                 SvxPostItDateItem;
337 item String                 SvxPostItTextItem;
338 item FontItalic             SvxPostureItem;  // enum
339 item BOOL                   SvxPrintItem;
340 item UINT16                 SvxPropSizeItem;        // derived from UInt16Item
341 item BOOL                   SvxShadowedItem;
342 item SvxDrawBezierEnum      SvxDrawBezierItem;
343 item SvxDrawAlignEnum       SvxDrawAlignItem;
344 item SvxDrawToolEnum        SvxDrawToolItem;
345 item BYTE                   SvxWidowsItem;
346 item BOOL                   SvxWordLineModeItem;
347 item SvxCellHorJustifyEnum  SvxHorJustifyItem;
348 item SvxCellVerJustifyEnum  SvxVerJustifyItem;
349 item SvxCellOrientationEnum SvxOrientationItem;
350 item BOOL                   SdrOnOffItem;
351 item INT16                  SdrTextFitToSizeTypeItem;  // enum
352 item String                 SfxStringListItem;  // serialized into one concatenated string
353 item double                 SvxDoubleItem;
354 item String                 OfaPtrItem;  // serialized into one concatenated string
355 item String                 OfaRefItem;
356 item String                 SvxDashListItem;
357 item String                 SvxLineEndListItem;
358 item String                 SvxColorListItem;
359 item String                 SvxGradientListItem;
360 item String                 SvxHatchListItem;
361 item String                 SvxBitmapListItem;
362 item String                 SfxLockBytesItem;
363 item String                 SvxFontListItem;
364 item String                 avmedia_MediaItem;
366 item BYTE                   SfxGlobalNameItem;
368 struct SvxCrossedOut
370     FontStrikeout   Kind        MID_CROSS_OUT;
372 item SvxCrossedOut SvxCrossedOutItem;
374 struct SvxTextLine
376     FontUnderline   LineStyle   MID_TL_STYLE;
377     BOOL            HasColor    MID_TL_HASCOLOR;
378     INT32           Color       MID_TL_COLOR;
380 item SvxTextLine SvxTextLineItem;
382 struct SvxBrush
384     BOOL        Transparent     MID_GRAPHIC_TRANSPARENT;
385     INT32       BackColor       MID_BACK_COLOR;
386     String      URL             MID_GRAPHIC_URL;
387     String      Filtername      MID_GRAPHIC_FILTER;
388     INT16       Position        MID_GRAPHIC_POSITION;
390 item SvxBrush SvxBrushItem;
392 struct SvxEscapement
394     INT16       Escapement      MID_ESC;
395     BYTE        Height          MID_ESC_HEIGHT;
396     BOOL        Auto            MID_AUTO_ESC;
398 item SvxEscapement SvxEscapementItem;
400 struct SvxFontHeight
402     float       Height      MID_FONTHEIGHT;         // may be converted to INT32
403     INT16       Prop        MID_FONTHEIGHT_PROP;
404     float       Diff        MID_FONTHEIGHT_DIFF;    // may be converted to INT32
406 item SvxFontHeight SvxFontHeightItem;
408 struct SvxHyphenZone
410     BOOL        Hyphen      MID_IS_HYPHEN;
411     INT16       MinLead     MID_HYPHEN_MIN_LEAD;
412     INT16       MinTrail    MID_HYPHEN_MIN_TRAIL;
413     INT16       MaxHyphens  MID_HYPHEN_MAX_HYPHENS;
415 item SvxHyphenZone SvxHyphenZoneItem;
417 struct SvxLine
419     INT32      LineFGColor     MID_FG_COLOR;
420     INT32      LineOutWidth    MID_OUTER_WIDTH;
421     INT32      LineInWidth     MID_INNER_WIDTH;
422     INT32      LineDistance    MID_DISTANCE;
424 item SvxLine SvxLineItem;
426 struct SvxLRSpace
428     INT32       LeftMargin          MID_L_MARGIN;               // % or direct
429     INT32       TextLeftMargin      MID_TXT_LMARGIN
430     INT32       RightMargin         MID_R_MARGIN;               // % or direct
431     INT16       LeftRelMargin       MID_L_REL_MARGIN;
432     INT16       RightRelMargin      MID_R_REL_MARGIN;
433     INT32       FirstLineIndent     MID_FIRST_LINE_INDENT;      // % or direct
434     INT32       FirstLineRelIdent   MID_FIRST_LINE_REL_INDENT;
435     BOOL        AutoFirst           MID_FIRST_AUTO;
437 item SvxLRSpace SvxLRSpaceItem;
439 struct SvxLineSpacing
441     INT16               Mode        MID_LINESPACE;
442     INT16               Height      MID_HEIGHT;
444 item SvxLineSpacing SvxLineSpacingItem;
446 struct SvxPage
448     BOOL                Landscape       MID_PAGE_ORIENTATION;
449     INT16               Layout          MID_PAGE_LAYOUT;
450     INT16               NumType         MID_PAGE_NUMTYPE;
452 item SvxPage SvxPageItem;
454 struct SvxPagePosSize
456     INT32 XPos   MID_X;          // ???
457     INT32 YPos   MID_Y;          // ???
458     INT32 Width  MID_WIDTH;      // ???
459     INT32 Height MID_HEIGHT;     // ???
461 item SvxPagePosSize SvxPagePosSizeItem;
463 struct SvxShadow
465     SvxShadowLocation   Location        MID_LOCATION;
466     INT16               Width           MID_WIDTH;
467     BOOL                IsTransparent   MID_TRANSPARENT;
468     INT32               Color           MID_BG_COLOR;
470 item SvxShadow SvxShadowItem;
472 struct SvxULSpace
474     INT32               TopMargin       MID_UP_MARGIN;  // % or direct
475     INT32               BottomMargin    MID_LO_MARGIN;  // % or direct
476     BOOL                ContextMargin   MID_CTX_MARGIN;
477     INT16               TopRelMargin    MID_UP_REL_MARGIN;
478     INT16               BottomRelMargin MID_LO_REL_MARGIN;
480 item SvxULSpace SvxULSpaceItem
482 struct SvxLongLRSpace
484     INT32 Left   MID_LEFT;   // ???
485     INT32 Right  MID_RIGHT;  // ???
487 item SvxLongLRSpace SvxLongLRSpaceItem;
489 struct SvxLongULSpace
491     INT32 Upper MID_UPPER;  // ???
492     INT32 Lower MID_LOWER;  // ???
494 item SvxLongULSpace SvxLongULSpaceItem;
496 struct SvxHyperlink
498     String  Text    MID_HLINK_TEXT;
499     String  URL     MID_HLINK_URL;
500     String  Target  MID_HLINK_TARGET;
501     String  Name    MID_HLINK_NAME;
502     INT32   Type    MID_HLINK_TYPE;
504 item SvxHyperlink SvxHyperlinkItem;
506 struct PageModel
508     BOOL   Auto MID_AUTO;
509     String Name MID_NAME;
511 item PageModel SvxPageModelItem;
513 struct SvxProtect
515     BOOL Content    MID_PROTECT_CONTENT;
516     BOOL Size       MID_PROTECT_SIZE;
517     BOOL Position   MID_PROTECT_POSITION;
519 item SvxProtect SvxProtectItem;
521 struct SvxRulerObject
523     INT32   StartX  MID_START_X;
524     INT32   StartY  MID_START_Y;
525     INT32   EndX    MID_END_X;
526     INT32   EndY    MID_END_Y;
527     BOOL    Limited MID_LIMIT;
529 item SvxRulerObject SvxObjectItem;
531 item String LineBorder;                 // dummy for sequence
532 struct SvxBox
534     LineBorder LeftBorder       MID_LEFT_BORDER;
535     INT32 LeftDistance          LEFT_BORDER_DISTANCE;
536     LineBorder RightBorder      MID_RIGHT_BORDER;
537     INT32 RightDistance         RIGHT_BORDER_DISTANCE;
538     LineBorder TopBorder        MID_TOP_BORDER;
539     INT32 TopDistance           TOP_BORDER_DISTANCE;
540     LineBorder BottomBorder     MID_BOTTOM_BORDER;
541     INT32 BottomDistance        BOTTOM_BORDER_DISTANCE;
543 item SvxBox SvxBoxItem;
545 struct SvxBoxInfo
547     LineBorder Horizontal   MID_HORIZONTAL;
548     LineBorder Vertical     MID_VERTICAL;
549     INT16 Flags             MID_FLAGS;
550     INT16 ValidFlags        MID_VALIDFLAGS;
551     INT32 DefaultDistance   MID_DISTANCE;
553 item SvxBoxInfo SvxBoxInfoItem;
555 item String SvxColumns;                 // dummy for sequence
556 struct SvxColumnDescription
558     SvxColumns  Columns     MID_COLUMNARRAY;  // currently not implemented
559     INT32       Left        MID_LEFT;
560     INT32       Right       MID_RIGHT;
561     INT32       Actual      MID_ACTUAL;
562     BOOL        Orthogonal  MID_ORTHO;
563     BOOL        Table       MID_TABLE;
565 item SvxColumnDescription SvxColumnItem;
567 struct SvxTabStop
569     String  TabStops         MID_TABSTOPS; // dummy, will be represented by array of structs
570     //INT32   StandardTabStop  MID_STD_TAB;
572 item SvxTabStop SvxTabStopItem;
574 struct SvxCharRotate
576     INT16  Rotation          MID_ROTATE;
577     BOOL    FitToLine        MID_FITTOLINE;
579 item SvxCharRotate SvxCharRotateItem;
581 item String SfxSetItem;  // dummy
582 item INT16  SvxRotateModeItem;  // enum
583 item INT16  SvxOrientationItem;  // enum
585 struct SvxMargin
587     INT32 LeftMargin MID_MARGIN_L_MARGIN;
588     INT32 RightMargin MID_MARGIN_R_MARGIN;
589     INT32 UpperMargin MID_MARGIN_UP_MARGIN;
590     INT32 LowerMargin MID_MARGIN_LO_MARGIN;
592 item SvxMargin SvxMarginItem;
594 struct SvxEmphasisMark
596     INT32   Emphasis    MID_EMPHASIS;
598 item SvxEmphasisMark SvxEmphasisMarkItem;
600 item String SvxSmartTagItem; // dummy for sequence
602 item String Points; // dummy for sequence
603 struct ZoomSlider
605     INT16  CurrentZoom          MID_ZOOMSLIDER_CURRENTZOOM;
606     Points SnappingPoints       MID_ZOOMSLIDER_SNAPPINGPOINTS;
607     INT16  SvxMinZoom           MID_ZOOMSLIDER_MINZOOM;
608     INT16  SvxMaxZoom           MID_ZOOMSLIDER_MAXZOOM;
610 item ZoomSlider SvxZoomSliderItem;
612 item String SvxGalleryItem; // dummy for sequence