2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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 .
19 enum SvxCellHorJustifyEnum
21 SVX_HOR_JUSTIFY_STANDARD,
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,
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
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;
65 SVX_CASEMAP_NOT_MAPPED,
66 SVX_CASEMAP_UPPERCASE,
67 SVX_CASEMAP_LOWERCASE,
69 SVX_CASEMAP_SMALLCAPS,
72 item SvxCaseMap SvxCaseMapItem;
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;
131 item FontWeight SvxWeightItem;
154 item FontItalic SvxPostureItem;
156 enum SvxShadowLocation
161 SVX_SHADOW_BOTTOMLEFT,
162 SVX_SHADOW_BOTTOMRIGHT,
165 item SvxShadowLocation SvxShadowLocationItem;
167 item INT16 SvxCharScaleWidthItem;
168 item INT16 SvxParaVertAlignItem;
169 item INT16 SvxCharReliefItem;
170 item BOOL SvxBlinkItem;
171 item BOOL SvxAutoKernItem;
175 INT32 Color MID_COLOR_RGB;
176 String ComplexColorJSON MID_COMPLEX_COLOR_JSON;
178 item SvxColor SvxColorItem;
180 item BOOL SvxContourItem;
181 item INT16 SvxFormatBreakItem; // enum
182 item BOOL SvxFormatKeepItem;
183 item BOOL SvxFormatSplitItem;
184 item INT16 SvxKerningItem;
185 item INT16 SvxLanguageItem;
186 item BYTE SvxOrphansItem;
187 item BYTE SvxPaperBinItem;
188 item String SvxPostItAuthorItem;
189 item String SvxPostItDateItem;
190 item String SvxPostItTextItem;
191 item INT32 SvxPostItIdItem;
192 item FontItalic SvxPostureItem; // enum
193 item BOOL SvxPrintItem;
194 item UINT16 SvxPropSizeItem; // derived from UInt16Item
195 item BOOL SvxShadowedItem;
196 item BYTE SvxWidowsItem;
197 item BOOL SvxWordLineModeItem;
198 item SvxCellHorJustifyEnum SvxHorJustifyItem;
199 item SvxCellVerJustifyEnum SvxVerJustifyItem;
200 item SvxCellOrientationEnum SvxOrientationItem;
201 item BOOL SdrOnOffItem;
202 item INT32 SdrAngleItem; // derived from SfxInt32Item
203 item INT16 SdrTextFitToSizeTypeItem; // enum
204 item String SfxStringListItem; // serialized into one concatenated string
205 item double SvxDoubleItem;
206 item String OfaXColorListItem;
207 item String SvxDashListItem;
208 item String SvxLineEndListItem;
209 item String SvxColorListItem;
210 item String SvxGradientListItem;
211 item String SvxHatchListItem;
212 item String SvxBitmapListItem;
213 item String SvxPatternListItem;
214 item String SfxLockBytesItem;
215 item String SvxFontListItem;
216 item String avmedia_MediaItem;
217 item INT32 XColorItem;
218 item INT16 SdrPercentItem;
219 item INT32 SdrMetricItem;
221 item BYTE SfxGlobalNameItem;
225 FontStrikeout Kind MID_CROSS_OUT;
227 item SvxCrossedOut SvxCrossedOutItem;
231 FontUnderline LineStyle MID_TL_STYLE;
232 BOOL HasColor MID_TL_HASCOLOR;
233 INT32 Color MID_TL_COLOR;
235 item SvxTextLine SvxUnderlineItem;
236 item SvxTextLine SvxOverlineItem;
240 BOOL Transparent MID_GRAPHIC_TRANSPARENT;
241 INT32 BackColor MID_BACK_COLOR;
242 String URL MID_GRAPHIC_URL;
243 String Filtername MID_GRAPHIC_FILTER;
244 INT16 Position MID_GRAPHIC_POSITION;
246 item SvxBrush SvxBrushItem;
250 INT16 Escapement MID_ESC;
251 BYTE Height MID_ESC_HEIGHT;
252 BOOL Auto MID_AUTO_ESC;
254 item SvxEscapement SvxEscapementItem;
258 float Height MID_FONTHEIGHT; // may be converted to INT32
259 INT16 Prop MID_FONTHEIGHT_PROP;
260 float Diff MID_FONTHEIGHT_DIFF; // may be converted to INT32
262 item SvxFontHeight SvxFontHeightItem;
266 BOOL Hyphen MID_IS_HYPHEN;
267 INT16 MinLead MID_HYPHEN_MIN_LEAD;
268 INT16 MinTrail MID_HYPHEN_MIN_TRAIL;
269 INT16 MaxHyphens MID_HYPHEN_MAX_HYPHENS;
270 INT16 MinWordLength MID_HYPHEN_MIN_WORD_LENGTH;
271 INT16 HyphenZone MID_HYPHEN_ZONE;
273 item SvxHyphenZone SvxHyphenZoneItem;
277 INT32 LineFGColor MID_FG_COLOR;
278 INT32 LineOutWidth MID_OUTER_WIDTH;
279 INT32 LineInWidth MID_INNER_WIDTH;
280 INT32 LineDistance MID_DISTANCE;
282 item SvxLine SvxLineItem;
286 INT32 LeftMargin MID_L_MARGIN; // % or direct
287 INT32 TextLeftMargin MID_TXT_LMARGIN;
288 INT32 RightMargin MID_R_MARGIN; // % or direct
289 INT16 LeftRelMargin MID_L_REL_MARGIN;
290 INT16 RightRelMargin MID_R_REL_MARGIN;
291 INT32 FirstLineIndent MID_FIRST_LINE_INDENT; // % or direct
292 INT32 FirstLineRelIdent MID_FIRST_LINE_REL_INDENT;
293 BOOL AutoFirst MID_FIRST_AUTO;
295 item SvxLRSpace SvxLRSpaceItem;
297 struct SvxLineSpacing
299 INT16 Mode MID_LINESPACE;
300 INT16 Height MID_HEIGHT;
302 item SvxLineSpacing SvxLineSpacingItem;
306 BOOL Landscape MID_PAGE_ORIENTATION;
307 INT16 Layout MID_PAGE_LAYOUT;
308 INT16 NumType MID_PAGE_NUMTYPE;
310 item SvxPage SvxPageItem;
312 struct SvxPagePosSize
314 INT32 XPos MID_X; // ???
315 INT32 YPos MID_Y; // ???
316 INT32 Width MID_WIDTH; // ???
317 INT32 Height MID_HEIGHT; // ???
319 item SvxPagePosSize SvxPagePosSizeItem;
323 SvxShadowLocation Location MID_LOCATION;
324 INT16 Width MID_WIDTH;
325 BOOL IsTransparent MID_TRANSPARENT;
326 INT32 Color MID_BG_COLOR;
328 item SvxShadow SvxShadowItem;
332 INT32 TopMargin MID_UP_MARGIN; // % or direct
333 INT32 BottomMargin MID_LO_MARGIN; // % or direct
334 BOOL ContextMargin MID_CTX_MARGIN;
335 INT16 TopRelMargin MID_UP_REL_MARGIN;
336 INT16 BottomRelMargin MID_LO_REL_MARGIN;
338 item SvxULSpace SvxULSpaceItem
340 struct SvxLongLRSpace
342 INT32 Left MID_LEFT; // ???
343 INT32 Right MID_RIGHT; // ???
345 item SvxLongLRSpace SvxLongLRSpaceItem;
347 struct SvxLongULSpace
349 INT32 Upper MID_UPPER; // ???
350 INT32 Lower MID_LOWER; // ???
352 item SvxLongULSpace SvxLongULSpaceItem;
356 String Text MID_HLINK_TEXT;
357 String URL MID_HLINK_URL;
358 String Target MID_HLINK_TARGET;
359 String Name MID_HLINK_NAME;
360 INT32 Type MID_HLINK_TYPE;
361 String ReplacementText MID_HLINK_REPLACEMENTTEXT
363 item SvxHyperlink SvxHyperlinkItem;
368 String Name MID_NAME;
370 item PageModel SvxPageModelItem;
374 BOOL Content MID_PROTECT_CONTENT;
375 BOOL Size MID_PROTECT_SIZE;
376 BOOL Position MID_PROTECT_POSITION;
378 item SvxProtect SvxProtectItem;
380 struct SvxRulerObject
382 INT32 StartX MID_START_X;
383 INT32 StartY MID_START_Y;
384 INT32 EndX MID_END_X;
385 INT32 EndY MID_END_Y;
386 BOOL Limited MID_LIMIT;
388 item SvxRulerObject SvxObjectItem;
390 item String LineBorder; // dummy for sequence
393 LineBorder LeftBorder MID_LEFT_BORDER;
394 INT32 LeftDistance LEFT_BORDER_DISTANCE;
395 LineBorder RightBorder MID_RIGHT_BORDER;
396 INT32 RightDistance RIGHT_BORDER_DISTANCE;
397 LineBorder TopBorder MID_TOP_BORDER;
398 INT32 TopDistance TOP_BORDER_DISTANCE;
399 LineBorder BottomBorder MID_BOTTOM_BORDER;
400 INT32 BottomDistance BOTTOM_BORDER_DISTANCE;
402 item SvxBox SvxBoxItem;
406 LineBorder Horizontal MID_HORIZONTAL;
407 LineBorder Vertical MID_VERTICAL;
408 INT16 Flags MID_FLAGS;
409 INT16 ValidFlags MID_VALIDFLAGS;
410 INT32 DefaultDistance MID_DISTANCE;
412 item SvxBoxInfo SvxBoxInfoItem;
414 item String SvxColumns; // dummy for sequence
415 struct SvxColumnDescription
417 SvxColumns Columns MID_COLUMNARRAY; // currently not implemented
419 INT32 Right MID_RIGHT;
420 INT32 Actual MID_ACTUAL;
421 BOOL Orthogonal MID_ORTHO;
422 BOOL Table MID_TABLE;
424 item SvxColumnDescription SvxColumnItem;
428 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
429 //INT32 StandardTabStop MID_STD_TAB;
431 item SvxTabStop SvxTabStopItem;
435 INT16 Rotation MID_ROTATE;
436 BOOL FitToLine MID_FITTOLINE;
438 item SvxCharRotate SvxCharRotateItem;
440 item String SfxSetItem; // dummy
441 item INT16 SvxRotateModeItem; // enum
445 INT32 LeftMargin MID_MARGIN_L_MARGIN;
446 INT32 RightMargin MID_MARGIN_R_MARGIN;
447 INT32 UpperMargin MID_MARGIN_UP_MARGIN;
448 INT32 LowerMargin MID_MARGIN_LO_MARGIN;
450 item SvxMargin SvxMarginItem;
452 struct SvxEmphasisMark
454 INT32 Emphasis MID_EMPHASIS;
456 item SvxEmphasisMark SvxEmphasisMarkItem;
458 item String SvxSmartTagItem; // dummy for sequence
460 item String Points; // dummy for sequence
463 INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM;
464 Points SnappingPoints MID_ZOOMSLIDER_SNAPPINGPOINTS;
465 INT16 SvxMinZoom MID_ZOOMSLIDER_MINZOOM;
466 INT16 SvxMaxZoom MID_ZOOMSLIDER_MAXZOOM;
468 item ZoomSlider SvxZoomSliderItem;
470 item String SvxGalleryItem; // dummy for sequence