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
45 enum SvxChooseControlEnum
61 SVX_SNAP_IMAGECONTROL,
67 SVX_SNAP_NUMERICFIELD,
68 SVX_SNAP_CURRENCYFIELD,
69 SVX_SNAP_FORMATTEDFIELD,
70 SVX_SNAP_PATTERNFIELD,
74 item SvxChooseControlEnum SvxChooseControlItem;
78 SVX_OBJECT_ALIGN_LEFT,
79 SVX_OBJECT_ALIGN_CENTER,
80 SVX_OBJECT_ALIGN_RIGHT,
82 SVX_OBJECT_ALIGN_MIDDLE,
96 struct SvxAdjustStruct
98 SvxAdjust ParagraphAdjustment MID_PARA_ADJUST;
99 SvxAdjust LastLineAdjustment MID_LAST_LINE_ADJUST;
100 BOOL ExpandSingleWord MID_EXPAND_SINGLE;
102 item SvxAdjustStruct SvxAdjustItem;
106 SVX_CASEMAP_NOT_MAPPED,
107 SVX_CASEMAP_VERSALIEN,
110 SVX_CASEMAP_KAPITAELCHEN,
113 item SvxCaseMap SvxCaseMapItem;
150 String StyleName MID_FONT_STYLE_NAME;
151 FontPitch Pitch MID_FONT_PITCH; // INT16
152 CharSet CharSet MID_FONT_CHAR_SET; // INT16
153 FontFamily Family MID_FONT_FAMILY; // INT16
154 String FamilyName MID_FONT_FAMILY_NAME;
156 item SvxFont SvxFontItem;
172 item FontWeight SvxWeightItem;
195 item FontItalic SvxPostureItem;
197 enum SvxShadowLocation
202 SVX_SHADOW_BOTTOMLEFT,
203 SVX_SHADOW_BOTTOMRIGHT,
206 item SvxShadowLocation SvxShadowLocationItem;
208 item INT16 SvxCharScaleWidthItem;
209 item INT16 SvxParaVertAlignItem;
210 item INT16 SvxCharReliefItem;
211 item BOOL SvxBlinkItem;
212 item BOOL SvxAutoKernItem;
213 item INT32 SvxColorItem;
214 item INT32 SvxBackgroundColorItem;
215 item BOOL SvxContourItem;
216 item INT16 SvxFormatBreakItem; // enum
217 item BOOL SvxFormatKeepItem;
218 item BOOL SvxFormatSplitItem;
219 item INT16 SvxKerningItem;
220 item INT16 SvxLanguageItem;
221 item BYTE SvxOrphansItem;
222 item BYTE SvxPaperBinItem;
223 item String SvxPostItAuthorItem;
224 item String SvxPostItDateItem;
225 item String SvxPostItTextItem;
226 item INT32 SvxPostItIdItem;
227 item FontItalic SvxPostureItem; // enum
228 item BOOL SvxPrintItem;
229 item UINT16 SvxPropSizeItem; // derived from UInt16Item
230 item BOOL SvxShadowedItem;
231 item SvxDrawAlignEnum SvxDrawAlignItem;
232 item BYTE SvxWidowsItem;
233 item BOOL SvxWordLineModeItem;
234 item SvxCellHorJustifyEnum SvxHorJustifyItem;
235 item SvxCellVerJustifyEnum SvxVerJustifyItem;
236 item SvxCellOrientationEnum SvxOrientationItem;
237 item BOOL SdrOnOffItem;
238 item INT16 SdrTextFitToSizeTypeItem; // enum
239 item String SfxStringListItem; // serialized into one concatenated string
240 item double SvxDoubleItem;
241 item String OfaRefItem;
242 item String SvxDashListItem;
243 item String SvxLineEndListItem;
244 item String SvxColorListItem;
245 item String SvxGradientListItem;
246 item String SvxHatchListItem;
247 item String SvxBitmapListItem;
248 item String SvxPatternListItem;
249 item String SfxLockBytesItem;
250 item String SvxFontListItem;
251 item String avmedia_MediaItem;
252 item INT32 XColorItem;
253 item INT16 SdrPercentItem;
254 item INT32 SdrMetricItem;
256 item BYTE SfxGlobalNameItem;
260 FontStrikeout Kind MID_CROSS_OUT;
262 item SvxCrossedOut SvxCrossedOutItem;
266 FontUnderline LineStyle MID_TL_STYLE;
267 BOOL HasColor MID_TL_HASCOLOR;
268 INT32 Color MID_TL_COLOR;
270 item SvxTextLine SvxTextLineItem;
274 BOOL Transparent MID_GRAPHIC_TRANSPARENT;
275 INT32 BackColor MID_BACK_COLOR;
276 String URL MID_GRAPHIC_URL;
277 String Filtername MID_GRAPHIC_FILTER;
278 INT16 Position MID_GRAPHIC_POSITION;
280 item SvxBrush SvxBrushItem;
284 INT16 Escapement MID_ESC;
285 BYTE Height MID_ESC_HEIGHT;
286 BOOL Auto MID_AUTO_ESC;
288 item SvxEscapement SvxEscapementItem;
292 float Height MID_FONTHEIGHT; // may be converted to INT32
293 INT16 Prop MID_FONTHEIGHT_PROP;
294 float Diff MID_FONTHEIGHT_DIFF; // may be converted to INT32
296 item SvxFontHeight SvxFontHeightItem;
300 BOOL Hyphen MID_IS_HYPHEN;
301 INT16 MinLead MID_HYPHEN_MIN_LEAD;
302 INT16 MinTrail MID_HYPHEN_MIN_TRAIL;
303 INT16 MaxHyphens MID_HYPHEN_MAX_HYPHENS;
305 item SvxHyphenZone SvxHyphenZoneItem;
309 INT32 LineFGColor MID_FG_COLOR;
310 INT32 LineOutWidth MID_OUTER_WIDTH;
311 INT32 LineInWidth MID_INNER_WIDTH;
312 INT32 LineDistance MID_DISTANCE;
314 item SvxLine SvxLineItem;
318 INT32 LeftMargin MID_L_MARGIN; // % or direct
319 INT32 TextLeftMargin MID_TXT_LMARGIN;
320 INT32 RightMargin MID_R_MARGIN; // % or direct
321 INT16 LeftRelMargin MID_L_REL_MARGIN;
322 INT16 RightRelMargin MID_R_REL_MARGIN;
323 INT32 FirstLineIndent MID_FIRST_LINE_INDENT; // % or direct
324 INT32 FirstLineRelIdent MID_FIRST_LINE_REL_INDENT;
325 BOOL AutoFirst MID_FIRST_AUTO;
327 item SvxLRSpace SvxLRSpaceItem;
329 struct SvxLineSpacing
331 INT16 Mode MID_LINESPACE;
332 INT16 Height MID_HEIGHT;
334 item SvxLineSpacing SvxLineSpacingItem;
338 BOOL Landscape MID_PAGE_ORIENTATION;
339 INT16 Layout MID_PAGE_LAYOUT;
340 INT16 NumType MID_PAGE_NUMTYPE;
342 item SvxPage SvxPageItem;
344 struct SvxPagePosSize
346 INT32 XPos MID_X; // ???
347 INT32 YPos MID_Y; // ???
348 INT32 Width MID_WIDTH; // ???
349 INT32 Height MID_HEIGHT; // ???
351 item SvxPagePosSize SvxPagePosSizeItem;
355 SvxShadowLocation Location MID_LOCATION;
356 INT16 Width MID_WIDTH;
357 BOOL IsTransparent MID_TRANSPARENT;
358 INT32 Color MID_BG_COLOR;
360 item SvxShadow SvxShadowItem;
364 INT32 TopMargin MID_UP_MARGIN; // % or direct
365 INT32 BottomMargin MID_LO_MARGIN; // % or direct
366 BOOL ContextMargin MID_CTX_MARGIN;
367 INT16 TopRelMargin MID_UP_REL_MARGIN;
368 INT16 BottomRelMargin MID_LO_REL_MARGIN;
370 item SvxULSpace SvxULSpaceItem
372 struct SvxLongLRSpace
374 INT32 Left MID_LEFT; // ???
375 INT32 Right MID_RIGHT; // ???
377 item SvxLongLRSpace SvxLongLRSpaceItem;
379 struct SvxLongULSpace
381 INT32 Upper MID_UPPER; // ???
382 INT32 Lower MID_LOWER; // ???
384 item SvxLongULSpace SvxLongULSpaceItem;
388 String Text MID_HLINK_TEXT;
389 String URL MID_HLINK_URL;
390 String Target MID_HLINK_TARGET;
391 String Name MID_HLINK_NAME;
392 INT32 Type MID_HLINK_TYPE;
394 item SvxHyperlink SvxHyperlinkItem;
399 String Name MID_NAME;
401 item PageModel SvxPageModelItem;
405 BOOL Content MID_PROTECT_CONTENT;
406 BOOL Size MID_PROTECT_SIZE;
407 BOOL Position MID_PROTECT_POSITION;
409 item SvxProtect SvxProtectItem;
411 struct SvxRulerObject
413 INT32 StartX MID_START_X;
414 INT32 StartY MID_START_Y;
415 INT32 EndX MID_END_X;
416 INT32 EndY MID_END_Y;
417 BOOL Limited MID_LIMIT;
419 item SvxRulerObject SvxObjectItem;
421 item String LineBorder; // dummy for sequence
424 LineBorder LeftBorder MID_LEFT_BORDER;
425 INT32 LeftDistance LEFT_BORDER_DISTANCE;
426 LineBorder RightBorder MID_RIGHT_BORDER;
427 INT32 RightDistance RIGHT_BORDER_DISTANCE;
428 LineBorder TopBorder MID_TOP_BORDER;
429 INT32 TopDistance TOP_BORDER_DISTANCE;
430 LineBorder BottomBorder MID_BOTTOM_BORDER;
431 INT32 BottomDistance BOTTOM_BORDER_DISTANCE;
433 item SvxBox SvxBoxItem;
437 LineBorder Horizontal MID_HORIZONTAL;
438 LineBorder Vertical MID_VERTICAL;
439 INT16 Flags MID_FLAGS;
440 INT16 ValidFlags MID_VALIDFLAGS;
441 INT32 DefaultDistance MID_DISTANCE;
443 item SvxBoxInfo SvxBoxInfoItem;
445 item String SvxColumns; // dummy for sequence
446 struct SvxColumnDescription
448 SvxColumns Columns MID_COLUMNARRAY; // currently not implemented
450 INT32 Right MID_RIGHT;
451 INT32 Actual MID_ACTUAL;
452 BOOL Orthogonal MID_ORTHO;
453 BOOL Table MID_TABLE;
455 item SvxColumnDescription SvxColumnItem;
459 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
460 //INT32 StandardTabStop MID_STD_TAB;
462 item SvxTabStop SvxTabStopItem;
466 INT16 Rotation MID_ROTATE;
467 BOOL FitToLine MID_FITTOLINE;
469 item SvxCharRotate SvxCharRotateItem;
471 item String SfxSetItem; // dummy
472 item INT16 SvxRotateModeItem; // enum
476 INT32 LeftMargin MID_MARGIN_L_MARGIN;
477 INT32 RightMargin MID_MARGIN_R_MARGIN;
478 INT32 UpperMargin MID_MARGIN_UP_MARGIN;
479 INT32 LowerMargin MID_MARGIN_LO_MARGIN;
481 item SvxMargin SvxMarginItem;
483 struct SvxEmphasisMark
485 INT32 Emphasis MID_EMPHASIS;
487 item SvxEmphasisMark SvxEmphasisMarkItem;
489 item String SvxSmartTagItem; // dummy for sequence
491 item String Points; // dummy for sequence
494 INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM;
495 Points SnappingPoints MID_ZOOMSLIDER_SNAPPINGPOINTS;
496 INT16 SvxMinZoom MID_ZOOMSLIDER_MINZOOM;
497 INT16 SvxMaxZoom MID_ZOOMSLIDER_MAXZOOM;
499 item ZoomSlider SvxZoomSliderItem;
501 item String SvxGalleryItem; // dummy for sequence