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 BOOL SvxContourItem;
324 item INT16 SvxFormatBreakItem; // enum
325 item BOOL SvxFormatKeepItem;
326 item BOOL SvxFormatSplitItem;
327 item INT16 SvxKerningItem;
328 item INT16 SvxLanguageItem;
329 item BOOL SvxNoHyphenItem;
330 item BOOL SvxNoLinebreakItem;
331 item BOOL SvxOpaqueItem;
332 item BYTE SvxOrphansItem;
333 item BYTE SvxPaperBinItem;
334 item String SvxPostItAuthorItem;
335 item String SvxPostItDateItem;
336 item String SvxPostItTextItem;
337 item FontItalic SvxPostureItem; // enum
338 item BOOL SvxPrintItem;
339 item UINT16 SvxPropSizeItem; // derived from UInt16Item
340 item BOOL SvxShadowedItem;
341 item SvxDrawBezierEnum SvxDrawBezierItem;
342 item SvxDrawAlignEnum SvxDrawAlignItem;
343 item SvxDrawToolEnum SvxDrawToolItem;
344 item BYTE SvxWidowsItem;
345 item BOOL SvxWordLineModeItem;
346 item SvxCellHorJustifyEnum SvxHorJustifyItem;
347 item SvxCellVerJustifyEnum SvxVerJustifyItem;
348 item SvxCellOrientationEnum SvxOrientationItem;
349 item BOOL SdrOnOffItem;
350 item INT16 SdrTextFitToSizeTypeItem; // enum
351 item String SfxStringListItem; // serialized into one concatenated string
352 item double SvxDoubleItem;
353 item String OfaPtrItem; // serialized into one concatenated string
354 item String OfaRefItem;
355 item String SvxDashListItem;
356 item String SvxLineEndListItem;
357 item String SvxColorListItem;
358 item String SvxGradientListItem;
359 item String SvxHatchListItem;
360 item String SvxBitmapListItem;
361 item String SfxLockBytesItem;
362 item String SvxFontListItem;
363 item String avmedia_MediaItem;
365 item BYTE SfxGlobalNameItem;
369 FontStrikeout Kind MID_CROSS_OUT;
371 item SvxCrossedOut SvxCrossedOutItem;
375 FontUnderline LineStyle MID_TL_STYLE;
376 BOOL HasColor MID_TL_HASCOLOR;
377 INT32 Color MID_TL_COLOR;
379 item SvxTextLine SvxTextLineItem;
383 BOOL Transparent MID_GRAPHIC_TRANSPARENT;
384 INT32 BackColor MID_BACK_COLOR;
385 String URL MID_GRAPHIC_URL;
386 String Filtername MID_GRAPHIC_FILTER;
387 INT16 Position MID_GRAPHIC_POSITION;
389 item SvxBrush SvxBrushItem;
393 INT16 Escapement MID_ESC;
394 BYTE Height MID_ESC_HEIGHT;
395 BOOL Auto MID_AUTO_ESC;
397 item SvxEscapement SvxEscapementItem;
401 float Height MID_FONTHEIGHT; // may be converted to INT32
402 INT16 Prop MID_FONTHEIGHT_PROP;
403 float Diff MID_FONTHEIGHT_DIFF; // may be converted to INT32
405 item SvxFontHeight SvxFontHeightItem;
409 BOOL Hyphen MID_IS_HYPHEN;
410 INT16 MinLead MID_HYPHEN_MIN_LEAD;
411 INT16 MinTrail MID_HYPHEN_MIN_TRAIL;
412 INT16 MaxHyphens MID_HYPHEN_MAX_HYPHENS;
414 item SvxHyphenZone SvxHyphenZoneItem;
418 INT32 LineFGColor MID_FG_COLOR;
419 INT32 LineOutWidth MID_OUTER_WIDTH;
420 INT32 LineInWidth MID_INNER_WIDTH;
421 INT32 LineDistance MID_DISTANCE;
423 item SvxLine SvxLineItem;
427 INT32 LeftMargin MID_L_MARGIN; // % or direct
428 INT32 TextLeftMargin MID_TXT_LMARGIN
429 INT32 RightMargin MID_R_MARGIN; // % or direct
430 INT16 LeftRelMargin MID_L_REL_MARGIN;
431 INT16 RightRelMargin MID_R_REL_MARGIN;
432 INT32 FirstLineIndent MID_FIRST_LINE_INDENT; // % or direct
433 INT32 FirstLineRelIdent MID_FIRST_LINE_REL_INDENT;
434 BOOL AutoFirst MID_FIRST_AUTO;
436 item SvxLRSpace SvxLRSpaceItem;
438 struct SvxLineSpacing
440 INT16 Mode MID_LINESPACE;
441 INT16 Height MID_HEIGHT;
443 item SvxLineSpacing SvxLineSpacingItem;
447 BOOL Landscape MID_PAGE_ORIENTATION;
448 INT16 Layout MID_PAGE_LAYOUT;
449 INT16 NumType MID_PAGE_NUMTYPE;
451 item SvxPage SvxPageItem;
453 struct SvxPagePosSize
455 INT32 XPos MID_X; // ???
456 INT32 YPos MID_Y; // ???
457 INT32 Width MID_WIDTH; // ???
458 INT32 Height MID_HEIGHT; // ???
460 item SvxPagePosSize SvxPagePosSizeItem;
464 SvxShadowLocation Location MID_LOCATION;
465 INT16 Width MID_WIDTH;
466 BOOL IsTransparent MID_TRANSPARENT;
467 INT32 Color MID_BG_COLOR;
469 item SvxShadow SvxShadowItem;
473 INT32 TopMargin MID_UP_MARGIN; // % or direct
474 INT32 BottomMargin MID_LO_MARGIN; // % or direct
475 BOOL ContextMargin MID_CTX_MARGIN;
476 INT16 TopRelMargin MID_UP_REL_MARGIN;
477 INT16 BottomRelMargin MID_LO_REL_MARGIN;
479 item SvxULSpace SvxULSpaceItem
481 struct SvxLongLRSpace
483 INT32 Left MID_LEFT; // ???
484 INT32 Right MID_RIGHT; // ???
486 item SvxLongLRSpace SvxLongLRSpaceItem;
488 struct SvxLongULSpace
490 INT32 Upper MID_UPPER; // ???
491 INT32 Lower MID_LOWER; // ???
493 item SvxLongULSpace SvxLongULSpaceItem;
497 String Text MID_HLINK_TEXT;
498 String URL MID_HLINK_URL;
499 String Target MID_HLINK_TARGET;
500 String Name MID_HLINK_NAME;
501 INT32 Type MID_HLINK_TYPE;
503 item SvxHyperlink SvxHyperlinkItem;
508 String Name MID_NAME;
510 item PageModel SvxPageModelItem;
514 BOOL Content MID_PROTECT_CONTENT;
515 BOOL Size MID_PROTECT_SIZE;
516 BOOL Position MID_PROTECT_POSITION;
518 item SvxProtect SvxProtectItem;
520 struct SvxRulerObject
522 INT32 StartX MID_START_X;
523 INT32 StartY MID_START_Y;
524 INT32 EndX MID_END_X;
525 INT32 EndY MID_END_Y;
526 BOOL Limited MID_LIMIT;
528 item SvxRulerObject SvxObjectItem;
530 item String LineBorder; // dummy for sequence
533 LineBorder LeftBorder MID_LEFT_BORDER;
534 INT32 LeftDistance LEFT_BORDER_DISTANCE;
535 LineBorder RightBorder MID_RIGHT_BORDER;
536 INT32 RightDistance RIGHT_BORDER_DISTANCE;
537 LineBorder TopBorder MID_TOP_BORDER;
538 INT32 TopDistance TOP_BORDER_DISTANCE;
539 LineBorder BottomBorder MID_BOTTOM_BORDER;
540 INT32 BottomDistance BOTTOM_BORDER_DISTANCE;
542 item SvxBox SvxBoxItem;
546 LineBorder Horizontal MID_HORIZONTAL;
547 LineBorder Vertical MID_VERTICAL;
548 INT16 Flags MID_FLAGS;
549 INT16 ValidFlags MID_VALIDFLAGS;
550 INT32 DefaultDistance MID_DISTANCE;
552 item SvxBoxInfo SvxBoxInfoItem;
554 item String SvxColumns; // dummy for sequence
555 struct SvxColumnDescription
557 SvxColumns Columns MID_COLUMNARRAY; // currently not implemented
559 INT32 Right MID_RIGHT;
560 INT32 Actual MID_ACTUAL;
561 BOOL Orthogonal MID_ORTHO;
562 BOOL Table MID_TABLE;
564 item SvxColumnDescription SvxColumnItem;
568 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
569 //INT32 StandardTabStop MID_STD_TAB;
571 item SvxTabStop SvxTabStopItem;
575 INT16 Rotation MID_ROTATE;
576 BOOL FitToLine MID_FITTOLINE;
578 item SvxCharRotate SvxCharRotateItem;
580 item String SfxSetItem; // dummy
581 item INT16 SvxRotateModeItem; // enum
582 item INT16 SvxOrientationItem; // enum
586 INT32 LeftMargin MID_MARGIN_L_MARGIN;
587 INT32 RightMargin MID_MARGIN_R_MARGIN;
588 INT32 UpperMargin MID_MARGIN_UP_MARGIN;
589 INT32 LowerMargin MID_MARGIN_LO_MARGIN;
591 item SvxMargin SvxMarginItem;
593 struct SvxEmphasisMark
595 INT32 Emphasis MID_EMPHASIS;
597 item SvxEmphasisMark SvxEmphasisMarkItem;
599 item String SvxSmartTagItem; // dummy for sequence
601 item String Points; // dummy for sequence
604 INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM;
605 Points SnappingPoints MID_ZOOMSLIDER_SNAPPINGPOINTS;
606 INT16 SvxMinZoom MID_ZOOMSLIDER_MINZOOM;
607 INT16 SvxMaxZoom MID_ZOOMSLIDER_MAXZOOM;
609 item ZoomSlider SvxZoomSliderItem;
611 item String SvxGalleryItem; // dummy for sequence