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
55 struct SvxAdjustStruct
57 SvxAdjust ParagraphAdjustment MID_PARA_ADJUST;
58 SvxAdjust LastLineAdjustment MID_LAST_LINE_ADJUST;
59 BOOL ExpandSingleWord MID_EXPAND_SINGLE;
61 item SvxAdjustStruct SvxAdjustItem;
65 SVX_CASEMAP_NOT_MAPPED,
66 SVX_CASEMAP_UPPERCASE,
67 SVX_CASEMAP_LOWERCASE,
69 SVX_CASEMAP_SMALLCAPS,
72 item SvxCaseMap SvxCaseMapItem;
109 String StyleName MID_FONT_STYLE_NAME;
110 FontPitch Pitch MID_FONT_PITCH; // INT16
111 CharSet CharSet MID_FONT_CHAR_SET; // INT16
112 FontFamily Family MID_FONT_FAMILY; // INT16
113 String FamilyName MID_FONT_FAMILY_NAME;
115 item SvxFont SvxFontItem;
131 item FontWeight SvxWeightItem;
154 item FontItalic SvxPostureItem;
156 enum SvxShadowLocation
161 SVX_SHADOW_BOTTOMLEFT,
162 SVX_SHADOW_BOTTOMRIGHT,
165 item SvxShadowLocation SvxShadowLocationItem;
167 item INT16 SvxCharScaleWidthItem;
168 item INT16 SvxParaVertAlignItem;
169 item INT16 SvxCharReliefItem;
170 item BOOL SvxBlinkItem;
171 item BOOL SvxAutoKernItem;
172 item INT32 SvxColorItem;
173 item BOOL SvxContourItem;
174 item INT16 SvxFormatBreakItem; // enum
175 item BOOL SvxFormatKeepItem;
176 item BOOL SvxFormatSplitItem;
177 item INT16 SvxKerningItem;
178 item INT16 SvxLanguageItem;
179 item BYTE SvxOrphansItem;
180 item BYTE SvxPaperBinItem;
181 item String SvxPostItAuthorItem;
182 item String SvxPostItDateItem;
183 item String SvxPostItTextItem;
184 item INT32 SvxPostItIdItem;
185 item FontItalic SvxPostureItem; // enum
186 item BOOL SvxPrintItem;
187 item UINT16 SvxPropSizeItem; // derived from UInt16Item
188 item BOOL SvxShadowedItem;
189 item BYTE SvxWidowsItem;
190 item BOOL SvxWordLineModeItem;
191 item SvxCellHorJustifyEnum SvxHorJustifyItem;
192 item SvxCellVerJustifyEnum SvxVerJustifyItem;
193 item SvxCellOrientationEnum SvxOrientationItem;
194 item BOOL SdrOnOffItem;
195 item INT32 SdrAngleItem; // derived from SfxInt32Item
196 item INT16 SdrTextFitToSizeTypeItem; // enum
197 item String SfxStringListItem; // serialized into one concatenated string
198 item double SvxDoubleItem;
199 item String OfaRefItem;
200 item String SvxDashListItem;
201 item String SvxLineEndListItem;
202 item String SvxColorListItem;
203 item String SvxGradientListItem;
204 item String SvxHatchListItem;
205 item String SvxBitmapListItem;
206 item String SvxPatternListItem;
207 item String SfxLockBytesItem;
208 item String SvxFontListItem;
209 item String avmedia_MediaItem;
210 item INT32 XColorItem;
211 item INT16 SdrPercentItem;
212 item INT32 SdrMetricItem;
214 item BYTE SfxGlobalNameItem;
218 FontStrikeout Kind MID_CROSS_OUT;
220 item SvxCrossedOut SvxCrossedOutItem;
224 FontUnderline LineStyle MID_TL_STYLE;
225 BOOL HasColor MID_TL_HASCOLOR;
226 INT32 Color MID_TL_COLOR;
228 item SvxTextLine SvxUnderlineItem;
229 item SvxTextLine SvxOverlineItem;
233 BOOL Transparent MID_GRAPHIC_TRANSPARENT;
234 INT32 BackColor MID_BACK_COLOR;
235 String Filtername MID_GRAPHIC_FILTER;
236 INT16 Position MID_GRAPHIC_POSITION;
238 item SvxBrush SvxBrushItem;
242 INT16 Escapement MID_ESC;
243 BYTE Height MID_ESC_HEIGHT;
244 BOOL Auto MID_AUTO_ESC;
246 item SvxEscapement SvxEscapementItem;
250 float Height MID_FONTHEIGHT; // may be converted to INT32
251 INT16 Prop MID_FONTHEIGHT_PROP;
252 float Diff MID_FONTHEIGHT_DIFF; // may be converted to INT32
254 item SvxFontHeight SvxFontHeightItem;
258 BOOL Hyphen MID_IS_HYPHEN;
259 INT16 MinLead MID_HYPHEN_MIN_LEAD;
260 INT16 MinTrail MID_HYPHEN_MIN_TRAIL;
261 INT16 MaxHyphens MID_HYPHEN_MAX_HYPHENS;
263 item SvxHyphenZone SvxHyphenZoneItem;
267 INT32 LineFGColor MID_FG_COLOR;
268 INT32 LineOutWidth MID_OUTER_WIDTH;
269 INT32 LineInWidth MID_INNER_WIDTH;
270 INT32 LineDistance MID_DISTANCE;
272 item SvxLine SvxLineItem;
276 INT32 LeftMargin MID_L_MARGIN; // % or direct
277 INT32 TextLeftMargin MID_TXT_LMARGIN;
278 INT32 RightMargin MID_R_MARGIN; // % or direct
279 INT16 LeftRelMargin MID_L_REL_MARGIN;
280 INT16 RightRelMargin MID_R_REL_MARGIN;
281 INT32 FirstLineIndent MID_FIRST_LINE_INDENT; // % or direct
282 INT32 FirstLineRelIdent MID_FIRST_LINE_REL_INDENT;
283 BOOL AutoFirst MID_FIRST_AUTO;
285 item SvxLRSpace SvxLRSpaceItem;
287 struct SvxLineSpacing
289 INT16 Mode MID_LINESPACE;
290 INT16 Height MID_HEIGHT;
292 item SvxLineSpacing SvxLineSpacingItem;
296 BOOL Landscape MID_PAGE_ORIENTATION;
297 INT16 Layout MID_PAGE_LAYOUT;
298 INT16 NumType MID_PAGE_NUMTYPE;
300 item SvxPage SvxPageItem;
302 struct SvxPagePosSize
304 INT32 XPos MID_X; // ???
305 INT32 YPos MID_Y; // ???
306 INT32 Width MID_WIDTH; // ???
307 INT32 Height MID_HEIGHT; // ???
309 item SvxPagePosSize SvxPagePosSizeItem;
313 SvxShadowLocation Location MID_LOCATION;
314 INT16 Width MID_WIDTH;
315 BOOL IsTransparent MID_TRANSPARENT;
316 INT32 Color MID_BG_COLOR;
318 item SvxShadow SvxShadowItem;
322 INT32 TopMargin MID_UP_MARGIN; // % or direct
323 INT32 BottomMargin MID_LO_MARGIN; // % or direct
324 BOOL ContextMargin MID_CTX_MARGIN;
325 INT16 TopRelMargin MID_UP_REL_MARGIN;
326 INT16 BottomRelMargin MID_LO_REL_MARGIN;
328 item SvxULSpace SvxULSpaceItem
330 struct SvxLongLRSpace
332 INT32 Left MID_LEFT; // ???
333 INT32 Right MID_RIGHT; // ???
335 item SvxLongLRSpace SvxLongLRSpaceItem;
337 struct SvxLongULSpace
339 INT32 Upper MID_UPPER; // ???
340 INT32 Lower MID_LOWER; // ???
342 item SvxLongULSpace SvxLongULSpaceItem;
346 String Text MID_HLINK_TEXT;
347 String URL MID_HLINK_URL;
348 String Target MID_HLINK_TARGET;
349 String Name MID_HLINK_NAME;
350 INT32 Type MID_HLINK_TYPE;
352 item SvxHyperlink SvxHyperlinkItem;
357 String Name MID_NAME;
359 item PageModel SvxPageModelItem;
363 BOOL Content MID_PROTECT_CONTENT;
364 BOOL Size MID_PROTECT_SIZE;
365 BOOL Position MID_PROTECT_POSITION;
367 item SvxProtect SvxProtectItem;
369 struct SvxRulerObject
371 INT32 StartX MID_START_X;
372 INT32 StartY MID_START_Y;
373 INT32 EndX MID_END_X;
374 INT32 EndY MID_END_Y;
375 BOOL Limited MID_LIMIT;
377 item SvxRulerObject SvxObjectItem;
379 item String LineBorder; // dummy for sequence
382 LineBorder LeftBorder MID_LEFT_BORDER;
383 INT32 LeftDistance LEFT_BORDER_DISTANCE;
384 LineBorder RightBorder MID_RIGHT_BORDER;
385 INT32 RightDistance RIGHT_BORDER_DISTANCE;
386 LineBorder TopBorder MID_TOP_BORDER;
387 INT32 TopDistance TOP_BORDER_DISTANCE;
388 LineBorder BottomBorder MID_BOTTOM_BORDER;
389 INT32 BottomDistance BOTTOM_BORDER_DISTANCE;
391 item SvxBox SvxBoxItem;
395 LineBorder Horizontal MID_HORIZONTAL;
396 LineBorder Vertical MID_VERTICAL;
397 INT16 Flags MID_FLAGS;
398 INT16 ValidFlags MID_VALIDFLAGS;
399 INT32 DefaultDistance MID_DISTANCE;
401 item SvxBoxInfo SvxBoxInfoItem;
403 item String SvxColumns; // dummy for sequence
404 struct SvxColumnDescription
406 SvxColumns Columns MID_COLUMNARRAY; // currently not implemented
408 INT32 Right MID_RIGHT;
409 INT32 Actual MID_ACTUAL;
410 BOOL Orthogonal MID_ORTHO;
411 BOOL Table MID_TABLE;
413 item SvxColumnDescription SvxColumnItem;
417 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
418 //INT32 StandardTabStop MID_STD_TAB;
420 item SvxTabStop SvxTabStopItem;
424 INT16 Rotation MID_ROTATE;
425 BOOL FitToLine MID_FITTOLINE;
427 item SvxCharRotate SvxCharRotateItem;
429 item String SfxSetItem; // dummy
430 item INT16 SvxRotateModeItem; // enum
434 INT32 LeftMargin MID_MARGIN_L_MARGIN;
435 INT32 RightMargin MID_MARGIN_R_MARGIN;
436 INT32 UpperMargin MID_MARGIN_UP_MARGIN;
437 INT32 LowerMargin MID_MARGIN_LO_MARGIN;
439 item SvxMargin SvxMarginItem;
441 struct SvxEmphasisMark
443 INT32 Emphasis MID_EMPHASIS;
445 item SvxEmphasisMark SvxEmphasisMarkItem;
447 item String SvxSmartTagItem; // dummy for sequence
449 item String Points; // dummy for sequence
452 INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM;
453 Points SnappingPoints MID_ZOOMSLIDER_SNAPPINGPOINTS;
454 INT16 SvxMinZoom MID_ZOOMSLIDER_MINZOOM;
455 INT16 SvxMaxZoom MID_ZOOMSLIDER_MAXZOOM;
457 item ZoomSlider SvxZoomSliderItem;
459 item String SvxGalleryItem; // dummy for sequence