From ac1ca7a9e3200642248c402202bbca94f61c90c8 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Tue, 14 Apr 2015 16:46:59 +0900 Subject: cleanup svxitems.sdi Change-Id: Id154295e7f241acf986d9c3078c9ca18dbcce0e7 --- svx/sdi/svxitems.sdi | 108 ++++++++------------------------------------------- 1 file changed, 17 insertions(+), 91 deletions(-) diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi index cdfea2419f14..6ee210581d40 100644 --- a/svx/sdi/svxitems.sdi +++ b/svx/sdi/svxitems.sdi @@ -16,7 +16,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - enum SvxCellHorJustifyEnum { SVX_HOR_JUSTIFY_STANDARD, @@ -37,8 +36,6 @@ enum SvxCellVerJustifyEnum }; item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem; - - enum SvxCellOrientationEnum { SVX_ORIENTATION_STANDARD, @@ -76,11 +73,9 @@ enum SvxChooseControlEnum SVX_SNAP_PATTERNFIELD, SVX_SNAP_FILECONTROL, SVX_SNAP_TREECONTROL -} +}; item SvxChooseControlEnum SvxChooseControlItem; - - enum SvxDrawToolEnum { SVX_SNAP_DRAW_SELECT, @@ -99,11 +94,9 @@ enum SvxDrawToolEnum SVX_SNAP_DRAW_TEXT_MARQUEE, SVX_SNAP_DRAW_CAPTION, SVX_SNAP_DRAW_CAPTION_VERTICAL -} +}; item SvxDrawToolEnum SvxDrawToolEnumItem; - - enum SvxDrawAlignEnum { SVX_OBJECT_ALIGN_LEFT, @@ -112,11 +105,9 @@ enum SvxDrawAlignEnum SVX_OBJECT_ALIGN_UP, SVX_OBJECT_ALIGN_MIDDLE, SVX_OBJECT_ALIGN_DOWN -} +}; item SvxDrawAlignEnum SvxDrawAlignEnumItem; - - enum SvxDrawBezierEnum { SVX_BEZIER_MOVE, @@ -129,7 +120,7 @@ enum SvxDrawBezierEnum SVX_BEZIER_SYMMTR, SVX_BEZIER_CLOSE, SVX_BEZIER_ELIMINATE_POINTS -} +}; item SvxDrawBezierEnum SvxDrawBezierEnumItem; enum SvxAdjust @@ -150,8 +141,6 @@ struct SvxAdjustStruct }; item SvxAdjustStruct SvxAdjustItem; - - enum SvxCaseMap { SVX_CASEMAP_NOT_MAPPED, @@ -163,8 +152,6 @@ enum SvxCaseMap }; item SvxCaseMap SvxCaseMapItem; - - enum CharSet { CHARSET_DONTKNOW, @@ -180,8 +167,6 @@ enum CharSet CHARSET_SYMBOL }; - - enum FontFamily { FAMILY_DONTKNOW, @@ -193,8 +178,6 @@ enum FontFamily FAMILY_SYSTEM }; - - enum FontPitch { PITCH_DONTKNOW, @@ -202,8 +185,6 @@ enum FontPitch PITCH_VARIABLE }; - - struct SvxFont { String StyleName MID_FONT_STYLE_NAME; @@ -214,8 +195,6 @@ struct SvxFont }; item SvxFont SvxFontItem; - - enum FontWeight { WEIGHT_DONTKNOW, @@ -232,8 +211,6 @@ enum FontWeight }; item FontWeight SvxWeightItem; - - enum FontUnderline { UNDERLINE_NONE, @@ -242,8 +219,6 @@ enum FontUnderline UNDERLINE_DOTTED }; - - enum FontStrikeout { STRIKEOUT_NONE, @@ -251,8 +226,6 @@ enum FontStrikeout STRIKEOUT_DOUBLE }; - - enum FontItalic { ITALIC_NONE, @@ -261,8 +234,6 @@ enum FontItalic }; item FontItalic SvxPostureItem; - - enum SvxDbType { DBTYPE_STARBASE, @@ -271,8 +242,6 @@ enum SvxDbType }; item SvxDbType SvxDbTypeItem; - - enum SvxLineSpace { SVX_LINE_SPACE_AUTO, @@ -282,8 +251,6 @@ enum SvxLineSpace }; item SvxLineSpace SvxLineSpaceItem; - - enum SvxInterLineSpace { SVX_INTER_LINE_SPACE_OFF, @@ -293,8 +260,6 @@ enum SvxInterLineSpace }; item SvxInterLineSpace SvxInterLineSpaceItem; - - enum SvxBreak { SVX_BREAK_NONE, @@ -308,8 +273,6 @@ enum SvxBreak }; item SvxBreak SvxBreakItem; - - enum BrushStyle { BRUSH_NULL, @@ -327,8 +290,6 @@ enum BrushStyle }; item BrushStyle BrushStyleItem; - - enum SvxNumType { SVX_CHARS_UPPER_LETTER, @@ -342,8 +303,6 @@ enum SvxNumType }; item SvxNumType SvxNumTypeItem; - - enum SvxShadowLocation { SVX_SHADOW_NONE, @@ -355,8 +314,6 @@ enum SvxShadowLocation }; item SvxShadowLocation SvxShadowLocationItem; - - item INT16 SvxCharScaleWidthItem; item INT16 SvxParaVertAlignItem; item INT16 SvxCharReliefItem; @@ -407,8 +364,6 @@ item String avmedia_MediaItem; item BYTE SfxGlobalNameItem; - - struct SvxCrossedOut { FontStrikeout Kind MID_CROSS_OUT; @@ -433,8 +388,6 @@ struct SvxBrush }; item SvxBrush SvxBrushItem; - - struct SvxEscapement { INT16 Escapement MID_ESC; @@ -443,8 +396,6 @@ struct SvxEscapement }; item SvxEscapement SvxEscapementItem; - - struct SvxFontHeight { float Height MID_FONTHEIGHT; // may be converted to INT32 @@ -453,8 +404,6 @@ struct SvxFontHeight }; item SvxFontHeight SvxFontHeightItem; - - struct SvxHyphenZone { BOOL Hyphen MID_IS_HYPHEN; @@ -464,7 +413,6 @@ struct SvxHyphenZone }; item SvxHyphenZone SvxHyphenZoneItem; - struct SvxLine { INT32 LineFGColor MID_FG_COLOR; @@ -474,8 +422,6 @@ struct SvxLine }; item SvxLine SvxLineItem; - - struct SvxLRSpace { INT32 LeftMargin MID_L_MARGIN; // % or direct @@ -489,8 +435,6 @@ struct SvxLRSpace }; item SvxLRSpace SvxLRSpaceItem; - - struct SvxLineSpacing { INT16 Mode MID_LINESPACE; @@ -498,8 +442,6 @@ struct SvxLineSpacing }; item SvxLineSpacing SvxLineSpacingItem; - - struct SvxPage { BOOL Landscape MID_PAGE_ORIENTATION; @@ -508,19 +450,15 @@ struct SvxPage }; item SvxPage SvxPageItem; - - struct SvxPagePosSize { - INT32 XPos MID_X; // ??? - INT32 YPos MID_Y; // ??? - INT32 Width MID_WIDTH; // ??? - INT32 Height MID_HEIGHT; // ??? + INT32 XPos MID_X; // ??? + INT32 YPos MID_Y; // ??? + INT32 Width MID_WIDTH; // ??? + INT32 Height MID_HEIGHT; // ??? }; item SvxPagePosSize SvxPagePosSizeItem; - - struct SvxShadow { SvxShadowLocation Location MID_LOCATION; @@ -530,9 +468,6 @@ struct SvxShadow }; item SvxShadow SvxShadowItem; - - - struct SvxULSpace { INT32 TopMargin MID_UP_MARGIN; // % or direct @@ -543,26 +478,20 @@ struct SvxULSpace }; item SvxULSpace SvxULSpaceItem - - struct SvxLongLRSpace { - INT32 Left MID_LEFT; // ??? - INT32 Right MID_RIGHT; // ??? + INT32 Left MID_LEFT; // ??? + INT32 Right MID_RIGHT; // ??? }; item SvxLongLRSpace SvxLongLRSpaceItem; - - struct SvxLongULSpace { - INT32 Upper MID_UPPER; // ??? - INT32 Lower MID_LOWER; // ??? + INT32 Upper MID_UPPER; // ??? + INT32 Lower MID_LOWER; // ??? }; item SvxLongULSpace SvxLongULSpaceItem; - - struct SvxHyperlink { String Text MID_HLINK_TEXT; @@ -573,8 +502,6 @@ struct SvxHyperlink }; item SvxHyperlink SvxHyperlinkItem; - - struct PageModel { BOOL Auto MID_AUTO; @@ -650,9 +577,9 @@ struct SvxCharRotate }; item SvxCharRotate SvxCharRotateItem; -item String SfxSetItem; // dummy -item INT16 SvxRotateModeItem; // enum -item INT16 SvxOrientationItem; // enum +item String SfxSetItem; // dummy +item INT16 SvxRotateModeItem; // enum +item INT16 SvxOrientationItem; // enum struct SvxMargin { @@ -669,10 +596,9 @@ struct SvxEmphasisMark }; item SvxEmphasisMark SvxEmphasisMarkItem; -item String SvxSmartTagItem; // dummy for sequence - +item String SvxSmartTagItem; // dummy for sequence -item String Points; // dummy for sequence +item String Points; // dummy for sequence struct ZoomSlider { INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM; -- cgit