tdf#117994 doc: Revert "tdf#99474 close direct char fmt at end of para"
[LibreOffice.git] / svx / sdi / svxitems.sdi
blobdf389994a8680aeb6185a282c1d7ec1731e974a9
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
29 enum SvxCellVerJustifyEnum
31     SVX_VER_JUSTIFY_STANDARD,
32     SVX_VER_JUSTIFY_TOP,
33     SVX_VER_JUSTIFY_CENTER,
34     SVX_VER_JUSTIFY_BOTTOM
37 enum SvxCellOrientationEnum
39     SVX_ORIENTATION_STANDARD,
40     SVX_ORIENTATION_TOPBOTTOM,
41     SVX_ORIENTATION_BOTTOMTOP,
42     SVX_ORIENTATION_STACKED
45 enum SvxAdjust
47     SVX_ADJUST_LEFT,
48     SVX_ADJUST_RIGHT,
49     SVX_ADJUST_BLOCK,
50     SVX_ADJUST_CENTER,
51     SVX_ADJUST_BLOCKLINE,
52     SVX_ADJUST_END
55 struct SvxAdjustStruct
57     SvxAdjust   ParagraphAdjustment MID_PARA_ADJUST;
58     SvxAdjust   LastLineAdjustment  MID_LAST_LINE_ADJUST;
59     BOOL        ExpandSingleWord    MID_EXPAND_SINGLE;
61 item SvxAdjustStruct SvxAdjustItem;
63 enum SvxCaseMap
65     SVX_CASEMAP_NOT_MAPPED,
66     SVX_CASEMAP_UPPERCASE,
67     SVX_CASEMAP_LOWERCASE,
68     SVX_CASEMAP_TITLE,
69     SVX_CASEMAP_SMALLCAPS,
70     SVX_CASEMAP_END
72 item SvxCaseMap SvxCaseMapItem;
74 enum CharSet
76     CHARSET_DONTKNOW,
77     CHARSET_ANSI,
78     CHARSET_MAC,
79     CHARSET_IBMPC_437,
80     CHARSET_IBMPC_850,
81     CHARSET_IBMPC_860,
82     CHARSET_IBMPC_861,
83     CHARSET_IBMPC_863,
84     CHARSET_IBMPC_865,
85     CHARSET_SYSTEM,
86     CHARSET_SYMBOL
89 enum FontFamily
91     FAMILY_DONTKNOW,
92     FAMILY_DECORATIVE,
93     FAMILY_MODERN,
94     FAMILY_ROMAN,
95     FAMILY_SCRIPT,
96     FAMILY_SWISS,
97     FAMILY_SYSTEM
100 enum FontPitch
102     PITCH_DONTKNOW,
103     PITCH_FIXED,
104     PITCH_VARIABLE
107 struct SvxFont
109     String      StyleName   MID_FONT_STYLE_NAME;
110     FontPitch   Pitch       MID_FONT_PITCH;         // INT16
111     CharSet     CharSet     MID_FONT_CHAR_SET;      // INT16
112     FontFamily  Family      MID_FONT_FAMILY;        // INT16
113     String      FamilyName  MID_FONT_FAMILY_NAME;
115 item SvxFont SvxFontItem;
117 enum FontWeight
119     WEIGHT_DONTKNOW,
120     WEIGHT_THIN,
121     WEIGHT_ULTRALIGHT,
122     WEIGHT_LIGHT,
123     WEIGHT_SEMILIGHT,
124     WEIGHT_NORMAL,
125     WEIGHT_MEDIUM,
126     WEIGHT_SEMIBOLD,
127     WEIGHT_BOLD,
128     WEIGHT_ULTRABOLD,
129     WEIGHT_BLACK
131 item FontWeight SvxWeightItem;
133 enum FontUnderline
135     UNDERLINE_NONE,
136     UNDERLINE_SINGLE,
137     UNDERLINE_DOUBLE,
138     UNDERLINE_DOTTED
141 enum FontStrikeout
143     STRIKEOUT_NONE,
144     STRIKEOUT_SINGLE,
145     STRIKEOUT_DOUBLE
148 enum FontItalic
150     ITALIC_NONE,
151     ITALIC_OBLIQUE,
152     ITALIC_NORMAL
154 item FontItalic SvxPostureItem;
156 enum SvxShadowLocation
158     SVX_SHADOW_NONE,
159     SVX_SHADOW_TOPLEFT,
160     SVX_SHADOW_TOPRIGHT,
161     SVX_SHADOW_BOTTOMLEFT,
162     SVX_SHADOW_BOTTOMRIGHT,
163     SVX_SHADOW_END
165 item SvxShadowLocation      SvxShadowLocationItem;
167 item INT16                  SvxCharScaleWidthItem;
168 item INT16                  SvxParaVertAlignItem;
169 item INT16                  SvxCharReliefItem;
170 item BOOL                   SvxBlinkItem;
171 item BOOL                   SvxAutoKernItem;
172 item INT32                  SvxColorItem;
173 item BOOL                   SvxContourItem;
174 item INT16                  SvxFormatBreakItem;  // enum
175 item BOOL                   SvxFormatKeepItem;
176 item BOOL                   SvxFormatSplitItem;
177 item INT16                  SvxKerningItem;
178 item INT16                  SvxLanguageItem;
179 item BYTE                   SvxOrphansItem;
180 item BYTE                   SvxPaperBinItem;
181 item String                 SvxPostItAuthorItem;
182 item String                 SvxPostItDateItem;
183 item String                 SvxPostItTextItem;
184 item INT32                  SvxPostItIdItem;
185 item FontItalic             SvxPostureItem;  // enum
186 item BOOL                   SvxPrintItem;
187 item UINT16                 SvxPropSizeItem;        // derived from UInt16Item
188 item BOOL                   SvxShadowedItem;
189 item BYTE                   SvxWidowsItem;
190 item BOOL                   SvxWordLineModeItem;
191 item SvxCellHorJustifyEnum  SvxHorJustifyItem;
192 item SvxCellVerJustifyEnum  SvxVerJustifyItem;
193 item SvxCellOrientationEnum SvxOrientationItem;
194 item BOOL                   SdrOnOffItem;
195 item INT32                  SdrAngleItem; // derived from SfxInt32Item
196 item INT16                  SdrTextFitToSizeTypeItem;  // enum
197 item String                 SfxStringListItem;  // serialized into one concatenated string
198 item double                 SvxDoubleItem;
199 item String                 OfaXColorListItem;
200 item String                 SvxDashListItem;
201 item String                 SvxLineEndListItem;
202 item String                 SvxColorListItem;
203 item String                 SvxGradientListItem;
204 item String                 SvxHatchListItem;
205 item String                 SvxBitmapListItem;
206 item String                 SvxPatternListItem;
207 item String                 SfxLockBytesItem;
208 item String                 SvxFontListItem;
209 item String                 avmedia_MediaItem;
210 item INT32                  XColorItem;
211 item INT16                  SdrPercentItem;
212 item INT32                  SdrMetricItem;
214 item BYTE                   SfxGlobalNameItem;
216 struct SvxCrossedOut
218     FontStrikeout   Kind        MID_CROSS_OUT;
220 item SvxCrossedOut SvxCrossedOutItem;
222 struct SvxTextLine
224     FontUnderline   LineStyle   MID_TL_STYLE;
225     BOOL            HasColor    MID_TL_HASCOLOR;
226     INT32           Color       MID_TL_COLOR;
228 item SvxTextLine SvxUnderlineItem;
229 item SvxTextLine SvxOverlineItem;
231 struct SvxBrush
233     BOOL        Transparent     MID_GRAPHIC_TRANSPARENT;
234     INT32       BackColor       MID_BACK_COLOR;
235     String      Filtername      MID_GRAPHIC_FILTER;
236     INT16       Position        MID_GRAPHIC_POSITION;
238 item SvxBrush SvxBrushItem;
240 struct SvxEscapement
242     INT16       Escapement      MID_ESC;
243     BYTE        Height          MID_ESC_HEIGHT;
244     BOOL        Auto            MID_AUTO_ESC;
246 item SvxEscapement SvxEscapementItem;
248 struct SvxFontHeight
250     float       Height      MID_FONTHEIGHT;         // may be converted to INT32
251     INT16       Prop        MID_FONTHEIGHT_PROP;
252     float       Diff        MID_FONTHEIGHT_DIFF;    // may be converted to INT32
254 item SvxFontHeight SvxFontHeightItem;
256 struct SvxHyphenZone
258     BOOL        Hyphen        MID_IS_HYPHEN;
259     INT16       MinLead       MID_HYPHEN_MIN_LEAD;
260     INT16       MinTrail      MID_HYPHEN_MIN_TRAIL;
261     INT16       MaxHyphens    MID_HYPHEN_MAX_HYPHENS;
262     INT16       MinWordLength MID_HYPHEN_MIN_WORD_LENGTH;
263     INT16       HyphenZone    MID_HYPHEN_ZONE;
265 item SvxHyphenZone SvxHyphenZoneItem;
267 struct SvxLine
269     INT32      LineFGColor     MID_FG_COLOR;
270     INT32      LineOutWidth    MID_OUTER_WIDTH;
271     INT32      LineInWidth     MID_INNER_WIDTH;
272     INT32      LineDistance    MID_DISTANCE;
274 item SvxLine SvxLineItem;
276 struct SvxLRSpace
278     INT32       LeftMargin          MID_L_MARGIN;               // % or direct
279     INT32       TextLeftMargin      MID_TXT_LMARGIN;
280     INT32       RightMargin         MID_R_MARGIN;               // % or direct
281     INT16       LeftRelMargin       MID_L_REL_MARGIN;
282     INT16       RightRelMargin      MID_R_REL_MARGIN;
283     INT32       FirstLineIndent     MID_FIRST_LINE_INDENT;      // % or direct
284     INT32       FirstLineRelIdent   MID_FIRST_LINE_REL_INDENT;
285     BOOL        AutoFirst           MID_FIRST_AUTO;
287 item SvxLRSpace SvxLRSpaceItem;
289 struct SvxLineSpacing
291     INT16               Mode        MID_LINESPACE;
292     INT16               Height      MID_HEIGHT;
294 item SvxLineSpacing SvxLineSpacingItem;
296 struct SvxPage
298     BOOL                Landscape       MID_PAGE_ORIENTATION;
299     INT16               Layout          MID_PAGE_LAYOUT;
300     INT16               NumType         MID_PAGE_NUMTYPE;
302 item SvxPage SvxPageItem;
304 struct SvxPagePosSize
306     INT32 XPos   MID_X;          // ???
307     INT32 YPos   MID_Y;          // ???
308     INT32 Width  MID_WIDTH;      // ???
309     INT32 Height MID_HEIGHT;     // ???
311 item SvxPagePosSize SvxPagePosSizeItem;
313 struct SvxShadow
315     SvxShadowLocation   Location        MID_LOCATION;
316     INT16               Width           MID_WIDTH;
317     BOOL                IsTransparent   MID_TRANSPARENT;
318     INT32               Color           MID_BG_COLOR;
320 item SvxShadow SvxShadowItem;
322 struct SvxULSpace
324     INT32               TopMargin       MID_UP_MARGIN;  // % or direct
325     INT32               BottomMargin    MID_LO_MARGIN;  // % or direct
326     BOOL                ContextMargin   MID_CTX_MARGIN;
327     INT16               TopRelMargin    MID_UP_REL_MARGIN;
328     INT16               BottomRelMargin MID_LO_REL_MARGIN;
330 item SvxULSpace SvxULSpaceItem
332 struct SvxLongLRSpace
334     INT32 Left   MID_LEFT;   // ???
335     INT32 Right  MID_RIGHT;  // ???
337 item SvxLongLRSpace SvxLongLRSpaceItem;
339 struct SvxLongULSpace
341     INT32 Upper MID_UPPER;  // ???
342     INT32 Lower MID_LOWER;  // ???
344 item SvxLongULSpace SvxLongULSpaceItem;
346 struct SvxHyperlink
348     String  Text    MID_HLINK_TEXT;
349     String  URL     MID_HLINK_URL;
350     String  Target  MID_HLINK_TARGET;
351     String  Name    MID_HLINK_NAME;
352     INT32   Type    MID_HLINK_TYPE;
354 item SvxHyperlink SvxHyperlinkItem;
356 struct PageModel
358     BOOL   Auto MID_AUTO;
359     String Name MID_NAME;
361 item PageModel SvxPageModelItem;
363 struct SvxProtect
365     BOOL Content    MID_PROTECT_CONTENT;
366     BOOL Size       MID_PROTECT_SIZE;
367     BOOL Position   MID_PROTECT_POSITION;
369 item SvxProtect SvxProtectItem;
371 struct SvxRulerObject
373     INT32   StartX  MID_START_X;
374     INT32   StartY  MID_START_Y;
375     INT32   EndX    MID_END_X;
376     INT32   EndY    MID_END_Y;
377     BOOL    Limited MID_LIMIT;
379 item SvxRulerObject SvxObjectItem;
381 item String LineBorder;                 // dummy for sequence
382 struct SvxBox
384     LineBorder LeftBorder       MID_LEFT_BORDER;
385     INT32 LeftDistance          LEFT_BORDER_DISTANCE;
386     LineBorder RightBorder      MID_RIGHT_BORDER;
387     INT32 RightDistance         RIGHT_BORDER_DISTANCE;
388     LineBorder TopBorder        MID_TOP_BORDER;
389     INT32 TopDistance           TOP_BORDER_DISTANCE;
390     LineBorder BottomBorder     MID_BOTTOM_BORDER;
391     INT32 BottomDistance        BOTTOM_BORDER_DISTANCE;
393 item SvxBox SvxBoxItem;
395 struct SvxBoxInfo
397     LineBorder Horizontal   MID_HORIZONTAL;
398     LineBorder Vertical     MID_VERTICAL;
399     INT16 Flags             MID_FLAGS;
400     INT16 ValidFlags        MID_VALIDFLAGS;
401     INT32 DefaultDistance   MID_DISTANCE;
403 item SvxBoxInfo SvxBoxInfoItem;
405 item String SvxColumns;                 // dummy for sequence
406 struct SvxColumnDescription
408     SvxColumns  Columns     MID_COLUMNARRAY;  // currently not implemented
409     INT32       Left        MID_LEFT;
410     INT32       Right       MID_RIGHT;
411     INT32       Actual      MID_ACTUAL;
412     BOOL        Orthogonal  MID_ORTHO;
413     BOOL        Table       MID_TABLE;
415 item SvxColumnDescription SvxColumnItem;
417 struct SvxTabStop
419     String  TabStops         MID_TABSTOPS; // dummy, will be represented by array of structs
420     //INT32   StandardTabStop  MID_STD_TAB;
422 item SvxTabStop SvxTabStopItem;
424 struct SvxCharRotate
426     INT16  Rotation          MID_ROTATE;
427     BOOL    FitToLine        MID_FITTOLINE;
429 item SvxCharRotate SvxCharRotateItem;
431 item String SfxSetItem;  // dummy
432 item INT16  SvxRotateModeItem;  // enum
434 struct SvxMargin
436     INT32 LeftMargin MID_MARGIN_L_MARGIN;
437     INT32 RightMargin MID_MARGIN_R_MARGIN;
438     INT32 UpperMargin MID_MARGIN_UP_MARGIN;
439     INT32 LowerMargin MID_MARGIN_LO_MARGIN;
441 item SvxMargin SvxMarginItem;
443 struct SvxEmphasisMark
445     INT32   Emphasis    MID_EMPHASIS;
447 item SvxEmphasisMark SvxEmphasisMarkItem;
449 item String SvxSmartTagItem; // dummy for sequence
451 item String Points; // dummy for sequence
452 struct ZoomSlider
454     INT16  CurrentZoom          MID_ZOOMSLIDER_CURRENTZOOM;
455     Points SnappingPoints       MID_ZOOMSLIDER_SNAPPINGPOINTS;
456     INT16  SvxMinZoom           MID_ZOOMSLIDER_MINZOOM;
457     INT16  SvxMaxZoom           MID_ZOOMSLIDER_MAXZOOM;
459 item ZoomSlider SvxZoomSliderItem;
461 item String SvxGalleryItem; // dummy for sequence