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 .
20 enum SvxCellHorJustifyEnum
22 SVX_HOR_JUSTIFY_STANDARD,
24 SVX_HOR_JUSTIFY_CENTER,
25 SVX_HOR_JUSTIFY_RIGHT,
26 SVX_HOR_JUSTIFY_BLOCK,
27 SVX_HOR_JUSTIFY_REPEAT
29 item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
31 enum SvxCellVerJustifyEnum
33 SVX_VER_JUSTIFY_STANDARD,
35 SVX_VER_JUSTIFY_CENTER,
36 SVX_VER_JUSTIFY_BOTTOM
38 item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem;
42 enum SvxCellOrientationEnum
44 SVX_ORIENTATION_STANDARD,
45 SVX_ORIENTATION_TOPBOTTOM,
46 SVX_ORIENTATION_BOTTOMTOP,
47 SVX_ORIENTATION_STACKED
49 item SvxCellOrientationEnum SvxCellOrientationEnumItem;
51 enum SvxChooseControlEnum
67 SVX_SNAP_IMAGECONTROL,
73 SVX_SNAP_NUMERICFIELD,
74 SVX_SNAP_CURRENCYFIELD,
75 SVX_SNAP_FORMATTEDFIELD,
76 SVX_SNAP_PATTERNFIELD,
80 item SvxChooseControlEnum SvxChooseControlItem;
90 SVX_SNAP_DRAW_ELLIPSE,
91 SVX_SNAP_DRAW_POLYGON_NOFILL,
92 SVX_SNAP_DRAW_BEZIER_NOFILL,
93 SVX_SNAP_DRAW_FREELINE_NOFILL,
96 SVX_SNAP_DRAW_CIRCLECUT,
98 SVX_SNAP_DRAW_TEXT_VERTICAL,
99 SVX_SNAP_DRAW_TEXT_MARQUEE,
100 SVX_SNAP_DRAW_CAPTION,
101 SVX_SNAP_DRAW_CAPTION_VERTICAL
103 item SvxDrawToolEnum SvxDrawToolEnumItem;
107 enum SvxDrawAlignEnum
109 SVX_OBJECT_ALIGN_LEFT,
110 SVX_OBJECT_ALIGN_CENTER,
111 SVX_OBJECT_ALIGN_RIGHT,
113 SVX_OBJECT_ALIGN_MIDDLE,
114 SVX_OBJECT_ALIGN_DOWN
116 item SvxDrawAlignEnum SvxDrawAlignEnumItem;
120 enum SvxDrawBezierEnum
131 SVX_BEZIER_ELIMINATE_POINTS
133 item SvxDrawBezierEnum SvxDrawBezierEnumItem;
141 SVX_ADJUST_BLOCKLINE,
145 struct SvxAdjustStruct
147 SvxAdjust ParagraphAdjustment MID_PARA_ADJUST;
148 SvxAdjust LastLineAdjustment MID_LAST_LINE_ADJUST;
149 BOOL ExpandSingleWord MID_EXPAND_SINGLE;
151 item SvxAdjustStruct SvxAdjustItem;
157 SVX_CASEMAP_NOT_MAPPED,
158 SVX_CASEMAP_VERSALIEN,
161 SVX_CASEMAP_KAPITAELCHEN,
164 item SvxCaseMap SvxCaseMapItem;
209 String StyleName MID_FONT_STYLE_NAME;
210 FontPitch Pitch MID_FONT_PITCH; // INT16
211 CharSet CharSet MID_FONT_CHAR_SET; // INT16
212 FontFamily Family MID_FONT_FAMILY; // INT16
213 String FamilyName MID_FONT_FAMILY_NAME;
215 item SvxFont SvxFontItem;
233 item FontWeight SvxWeightItem;
262 item FontItalic SvxPostureItem;
272 item SvxDbType SvxDbTypeItem;
283 item SvxLineSpace SvxLineSpaceItem;
287 enum SvxInterLineSpace
289 SVX_INTER_LINE_SPACE_OFF,
290 SVX_INTER_LINE_SPACE_PROP,
291 SVX_INTER_LINE_SPACE_FIX,
292 SVX_INTER_LINE_SPACE_END
294 item SvxInterLineSpace SvxInterLineSpaceItem;
301 SVX_BREAK_COLUMN_BEFORE,
302 SVX_BREAK_COLUMN_AFTER,
303 SVX_BREAK_COLUMN_BOTH,
304 SVX_BREAK_PAGE_BEFORE,
305 SVX_BREAK_PAGE_AFTER,
309 item SvxBreak SvxBreakItem;
328 item BrushStyle BrushStyleItem;
334 SVX_CHARS_UPPER_LETTER,
335 SVX_CHARS_LOWER_LETTER,
343 item SvxNumType SvxNumTypeItem;
347 enum SvxShadowLocation
352 SVX_SHADOW_BOTTOMLEFT,
353 SVX_SHADOW_BOTTOMRIGHT,
356 item SvxShadowLocation SvxShadowLocationItem;
360 item INT16 SvxCharScaleWidthItem;
361 item INT16 SvxParaVertAlignItem;
362 item INT16 SvxCharReliefItem;
363 item BOOL SvxBlinkItem;
364 item BOOL SvxAutoKernItem;
365 item INT32 SvxColorItem;
366 item BOOL SvxContourItem;
367 item INT16 SvxFmtBreakItem; // enum
368 item BOOL SvxFmtKeepItem;
369 item BOOL SvxFmtSplitItem;
370 item INT16 SvxKerningItem;
371 item INT16 SvxLanguageItem;
372 item BOOL SvxNoHyphenItem;
373 item BOOL SvxNoLinebreakItem;
374 item BOOL SvxOpaqueItem;
375 item BYTE SvxOrphansItem;
376 item BYTE SvxPaperBinItem;
377 item String SvxPostItAuthorItem;
378 item String SvxPostItDateItem;
379 item String SvxPostItTextItem;
380 item FontItalic SvxPostureItem; // enum
381 item BOOL SvxPrintItem;
382 item UINT16 SvxPropSizeItem; // derived from UInt16Item
383 item BOOL SvxShadowedItem;
384 item SvxDrawBezierEnum SvxDrawBezierItem;
385 item SvxDrawAlignEnum SvxDrawAlignItem;
386 item SvxDrawToolEnum SvxDrawToolItem;
387 item BYTE SvxWidowsItem;
388 item BOOL SvxWordLineModeItem;
389 item SvxCellHorJustifyEnum SvxHorJustifyItem;
390 item SvxCellVerJustifyEnum SvxVerJustifyItem;
391 item SvxCellOrientationEnum SvxOrientationItem;
392 item BOOL SdrShadowItem;
393 item INT16 SdrTextFitToSizeTypeItem; // enum
394 item String SfxStringListItem; // serialized into one concatenated string
395 item double SvxDoubleItem;
396 item String OfaPtrItem; // serialized into one concatenated string
397 item String OfaRefItem;
398 item String SvxDashListItem;
399 item String SvxLineEndListItem;
400 item String SvxColorListItem;
401 item String SvxGradientListItem;
402 item String SvxHatchListItem;
403 item String SvxBitmapListItem;
404 item String SfxLockBytesItem;
405 item String SvxFontListItem;
406 item String avmedia_MediaItem;
408 item BYTE SfxGlobalNameItem;
414 FontStrikeout Kind MID_CROSS_OUT;
416 item SvxCrossedOut SvxCrossedOutItem;
420 FontUnderline LineStyle MID_TL_STYLE;
421 BOOL HasColor MID_TL_HASCOLOR;
422 INT32 Color MID_TL_COLOR;
424 item SvxTextLine SvxTextLineItem;
428 BOOL Transparent MID_GRAPHIC_TRANSPARENT;
429 INT32 BackColor MID_BACK_COLOR;
430 String URL MID_GRAPHIC_URL;
431 String Filtername MID_GRAPHIC_FILTER;
432 INT16 Position MID_GRAPHIC_POSITION;
434 item SvxBrush SvxBrushItem;
440 INT16 Escapement MID_ESC;
441 BYTE Height MID_ESC_HEIGHT;
442 BOOL Auto MID_AUTO_ESC;
444 item SvxEscapement SvxEscapementItem;
450 float Height MID_FONTHEIGHT; // may be converted to INT32
451 INT16 Prop MID_FONTHEIGHT_PROP;
452 float Diff MID_FONTHEIGHT_DIFF; // may be converted to INT32
454 item SvxFontHeight SvxFontHeightItem;
460 BOOL Hyphen MID_IS_HYPHEN;
461 INT16 MinLead MID_HYPHEN_MIN_LEAD;
462 INT16 MinTrail MID_HYPHEN_MIN_TRAIL;
463 INT16 MaxHyphens MID_HYPHEN_MAX_HYPHENS;
465 item SvxHyphenZone SvxHyphenZoneItem;
470 INT32 LineFGColor MID_FG_COLOR;
471 INT32 LineOutWidth MID_OUTER_WIDTH;
472 INT32 LineInWidth MID_INNER_WIDTH;
473 INT32 LineDistance MID_DISTANCE;
475 item SvxLine SvxLineItem;
481 INT32 LeftMargin MID_L_MARGIN; // % or direct
482 INT32 TextLeftMargin MID_TXT_LMARGIN
483 INT32 RightMargin MID_R_MARGIN; // % or direct
484 INT16 LeftRelMargin MID_L_REL_MARGIN;
485 INT16 RightRelMargin MID_R_REL_MARGIN;
486 INT32 FirstLineIndent MID_FIRST_LINE_INDENT; // % or direct
487 INT32 FirstLineRelIdent MID_FIRST_LINE_REL_INDENT;
488 BOOL AutoFirst MID_FIRST_AUTO;
490 item SvxLRSpace SvxLRSpaceItem;
494 struct SvxLineSpacing
496 INT16 Mode MID_LINESPACE;
497 INT16 Height MID_HEIGHT;
499 item SvxLineSpacing SvxLineSpacingItem;
505 BOOL Landscape MID_PAGE_ORIENTATION;
506 INT16 Layout MID_PAGE_LAYOUT;
507 INT16 NumType MID_PAGE_NUMTYPE;
509 item SvxPage SvxPageItem;
513 struct SvxPagePosSize
515 INT32 XPos MID_X; // ???
516 INT32 YPos MID_Y; // ???
517 INT32 Width MID_WIDTH; // ???
518 INT32 Height MID_HEIGHT; // ???
520 item SvxPagePosSize SvxPagePosSizeItem;
526 SvxShadowLocation Location MID_LOCATION;
527 INT16 Width MID_WIDTH;
528 BOOL IsTransparent MID_TRANSPARENT;
529 INT32 Color MID_BG_COLOR;
531 item SvxShadow SvxShadowItem;
538 INT32 TopMargin MID_UP_MARGIN; // % or direct
539 INT32 BottomMargin MID_LO_MARGIN; // % or direct
540 BOOL ContextMargin MID_CTX_MARGIN;
541 INT16 TopRelMargin MID_UP_REL_MARGIN;
542 INT16 BottomRelMargin MID_LO_REL_MARGIN;
544 item SvxULSpace SvxULSpaceItem
548 struct SvxLongLRSpace
550 INT32 Left MID_LEFT; // ???
551 INT32 Right MID_RIGHT; // ???
553 item SvxLongLRSpace SvxLongLRSpaceItem;
557 struct SvxLongULSpace
559 INT32 Upper MID_UPPER; // ???
560 INT32 Lower MID_LOWER; // ???
562 item SvxLongULSpace SvxLongULSpaceItem;
568 String Text MID_HLINK_TEXT;
569 String URL MID_HLINK_URL;
570 String Target MID_HLINK_TARGET;
571 String Name MID_HLINK_NAME;
572 INT32 Type MID_HLINK_TYPE;
574 item SvxHyperlink SvxHyperlinkItem;
581 String Name MID_NAME;
583 item PageModel SvxPageModelItem;
587 BOOL Content MID_PROTECT_CONTENT;
588 BOOL Size MID_PROTECT_SIZE;
589 BOOL Position MID_PROTECT_POSITION;
591 item SvxProtect SvxProtectItem;
593 struct SvxRulerObject
595 INT32 StartX MID_START_X;
596 INT32 StartY MID_START_Y;
597 INT32 EndX MID_END_X;
598 INT32 EndY MID_END_Y;
599 BOOL Limited MID_LIMIT;
601 item SvxRulerObject SvxObjectItem;
603 item String LineBorder; // dummy for sequence
606 LineBorder LeftBorder MID_LEFT_BORDER;
607 INT32 LeftDistance LEFT_BORDER_DISTANCE;
608 LineBorder RightBorder MID_RIGHT_BORDER;
609 INT32 RightDistance RIGHT_BORDER_DISTANCE;
610 LineBorder TopBorder MID_TOP_BORDER;
611 INT32 TopDistance TOP_BORDER_DISTANCE;
612 LineBorder BottomBorder MID_BOTTOM_BORDER;
613 INT32 BottomDistance BOTTOM_BORDER_DISTANCE;
615 item SvxBox SvxBoxItem;
619 LineBorder Horizontal MID_HORIZONTAL;
620 LineBorder Vertical MID_VERTICAL;
621 INT16 Flags MID_FLAGS;
622 INT16 ValidFlags MID_VALIDFLAGS;
623 INT32 DefaultDistance MID_DISTANCE;
625 item SvxBoxInfo SvxBoxInfoItem;
627 item String SvxColumns; // dummy for sequence
628 struct SvxColumnDescription
630 SvxColumns Columns MID_COLUMNARRAY; // currently not implemented
632 INT32 Right MID_RIGHT;
633 INT32 Actual MID_ACTUAL;
634 BOOL Orthogonal MID_ORTHO;
635 BOOL Table MID_TABLE;
637 item SvxColumnDescription SvxColumnItem;
641 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
642 //INT32 StandardTabStop MID_STD_TAB;
644 item SvxTabStop SvxTabStopItem;
648 INT16 Rotation MID_ROTATE;
649 BOOL FitToLine MID_FITTOLINE;
651 item SvxCharRotate SvxCharRotateItem;
653 item String SfxSetItem; // dummy
654 item INT16 SvxRotateModeItem; // enum
655 item INT16 SvxOrientationItem; // enum
659 INT32 LeftMargin MID_MARGIN_L_MARGIN;
660 INT32 RightMargin MID_MARGIN_R_MARGIN;
661 INT32 UpperMargin MID_MARGIN_UP_MARGIN;
662 INT32 LowerMargin MID_MARGIN_LO_MARGIN;
664 item SvxMargin SvxMarginItem;
666 struct SvxEmphasisMark
668 INT32 Emphasis MID_EMPHASIS;
670 item SvxEmphasisMark SvxEmphasisMarkItem;
672 item String SvxSmartTagItem; // dummy for sequence
675 item String Points; // dummy for sequence
678 INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM;
679 Points SnappingPoints MID_ZOOMSLIDER_SNAPPINGPOINTS;
680 INT16 SvxMinZoom MID_ZOOMSLIDER_MINZOOM;
681 INT16 SvxMaxZoom MID_ZOOMSLIDER_MAXZOOM;
683 item ZoomSlider SvxZoomSliderItem;
685 item String SvxGalleryItem; // dummy for sequence