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
28 item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
30 enum SvxCellVerJustifyEnum
32 SVX_VER_JUSTIFY_STANDARD,
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
64 SVX_SNAP_IMAGECONTROL,
70 SVX_SNAP_NUMERICFIELD,
71 SVX_SNAP_CURRENCYFIELD,
72 SVX_SNAP_FORMATTEDFIELD,
73 SVX_SNAP_PATTERNFIELD,
77 item SvxChooseControlEnum SvxChooseControlItem;
85 SVX_SNAP_DRAW_ELLIPSE,
86 SVX_SNAP_DRAW_POLYGON_NOFILL,
87 SVX_SNAP_DRAW_BEZIER_NOFILL,
88 SVX_SNAP_DRAW_FREELINE_NOFILL,
91 SVX_SNAP_DRAW_CIRCLECUT,
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,
106 SVX_OBJECT_ALIGN_MIDDLE,
107 SVX_OBJECT_ALIGN_DOWN
109 item SvxDrawAlignEnum SvxDrawAlignEnumItem;
111 enum SvxDrawBezierEnum
122 SVX_BEZIER_ELIMINATE_POINTS
124 item SvxDrawBezierEnum SvxDrawBezierEnumItem;
132 SVX_ADJUST_BLOCKLINE,
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;
146 SVX_CASEMAP_NOT_MAPPED,
147 SVX_CASEMAP_VERSALIEN,
150 SVX_CASEMAP_KAPITAELCHEN,
153 item SvxCaseMap SvxCaseMapItem;
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;
212 item FontWeight SvxWeightItem;
235 item FontItalic SvxPostureItem;
243 item SvxDbType SvxDbTypeItem;
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;
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,
274 item SvxBreak SvxBreakItem;
291 item BrushStyle BrushStyleItem;
295 SVX_CHARS_UPPER_LETTER,
296 SVX_CHARS_LOWER_LETTER,
304 item SvxNumType SvxNumTypeItem;
306 enum SvxShadowLocation
311 SVX_SHADOW_BOTTOMLEFT,
312 SVX_SHADOW_BOTTOMRIGHT,
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;
370 FontStrikeout Kind MID_CROSS_OUT;
372 item SvxCrossedOut SvxCrossedOutItem;
376 FontUnderline LineStyle MID_TL_STYLE;
377 BOOL HasColor MID_TL_HASCOLOR;
378 INT32 Color MID_TL_COLOR;
380 item SvxTextLine SvxTextLineItem;
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;
394 INT16 Escapement MID_ESC;
395 BYTE Height MID_ESC_HEIGHT;
396 BOOL Auto MID_AUTO_ESC;
398 item SvxEscapement SvxEscapementItem;
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;
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;
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;
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;
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;
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;
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;
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;
509 String Name MID_NAME;
511 item PageModel SvxPageModelItem;
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
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;
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
560 INT32 Right MID_RIGHT;
561 INT32 Actual MID_ACTUAL;
562 BOOL Orthogonal MID_ORTHO;
563 BOOL Table MID_TABLE;
565 item SvxColumnDescription SvxColumnItem;
569 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
570 //INT32 StandardTabStop MID_STD_TAB;
572 item SvxTabStop SvxTabStopItem;
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
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
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