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;
175 INT32 Color MID_COLOR_RGB;
176 String ComplexColorJSON MID_COMPLEX_COLOR_JSON;
178 item SvxColor SvxColorItem;
180 item BOOL SvxContourItem;
181 item INT16 SvxFormatBreakItem; // enum
182 item BOOL SvxFormatKeepItem;
183 item BOOL SvxFormatSplitItem;
184 item INT16 SvxKerningItem;
185 item INT16 SvxLanguageItem;
186 item BYTE SvxOrphansItem;
187 item BYTE SvxPaperBinItem;
188 item String SvxPostItAuthorItem;
189 item String SvxPostItDateItem;
190 item String SvxPostItTextItem;
191 item INT32 SvxPostItIdItem;
192 item FontItalic SvxPostureItem; // enum
193 item BOOL SvxPrintItem;
194 item UINT16 SvxPropSizeItem; // derived from UInt16Item
195 item BOOL SvxShadowedItem;
196 item BYTE SvxWidowsItem;
197 item BOOL SvxWordLineModeItem;
198 item SvxCellHorJustifyEnum SvxHorJustifyItem;
199 item SvxCellVerJustifyEnum SvxVerJustifyItem;
200 item SvxCellOrientationEnum SvxOrientationItem;
201 item BOOL SdrOnOffItem;
202 item INT32 SdrAngleItem; // derived from SfxInt32Item
203 item INT16 SdrTextFitToSizeTypeItem; // enum
204 item String SfxStringListItem; // serialized into one concatenated string
205 item double SvxDoubleItem;
206 item String OfaXColorListItem;
207 item String SvxDashListItem;
208 item String SvxLineEndListItem;
209 item String SvxColorListItem;
210 item String SvxGradientListItem;
211 item String SvxHatchListItem;
212 item String SvxBitmapListItem;
213 item String SvxPatternListItem;
214 item String SfxLockBytesItem;
215 item String SvxFontListItem;
216 item String avmedia_MediaItem;
219 INT32 Color MID_COLOR_RGB;
220 String ComplexColorJSON MID_COMPLEX_COLOR_JSON;
222 item XColor XColorItem;
224 item INT16 SdrPercentItem;
225 item INT32 SdrMetricItem;
227 item BYTE SfxGlobalNameItem;
231 FontStrikeout Kind MID_CROSS_OUT;
233 item SvxCrossedOut SvxCrossedOutItem;
237 FontUnderline LineStyle MID_TL_STYLE;
238 BOOL HasColor MID_TL_HASCOLOR;
239 INT32 Color MID_TL_COLOR;
241 item SvxTextLine SvxUnderlineItem;
242 item SvxTextLine SvxOverlineItem;
246 BOOL Transparent MID_GRAPHIC_TRANSPARENT;
247 INT32 BackColor MID_BACK_COLOR;
248 String URL MID_GRAPHIC_URL;
249 String Filtername MID_GRAPHIC_FILTER;
250 INT16 Position MID_GRAPHIC_POSITION;
252 item SvxBrush SvxBrushItem;
256 INT16 Escapement MID_ESC;
257 BYTE Height MID_ESC_HEIGHT;
258 BOOL Auto MID_AUTO_ESC;
260 item SvxEscapement SvxEscapementItem;
264 float Height MID_FONTHEIGHT; // may be converted to INT32
265 INT16 Prop MID_FONTHEIGHT_PROP;
266 float Diff MID_FONTHEIGHT_DIFF; // may be converted to INT32
268 item SvxFontHeight SvxFontHeightItem;
272 BOOL Hyphen MID_IS_HYPHEN;
273 INT16 MinLead MID_HYPHEN_MIN_LEAD;
274 INT16 MinTrail MID_HYPHEN_MIN_TRAIL;
275 INT16 MaxHyphens MID_HYPHEN_MAX_HYPHENS;
276 INT16 MinWordLength MID_HYPHEN_MIN_WORD_LENGTH;
277 INT16 HyphenZone MID_HYPHEN_ZONE;
278 BOOL HyphenKeep MID_HYPHEN_KEEP;
279 INT16 HyphenKeepType MID_HYPHEN_KEEP_TYPE;
280 INT16 MinLead MID_HYPHEN_COMPOUND_MIN_LEAD;
282 item SvxHyphenZone SvxHyphenZoneItem;
286 INT32 LineFGColor MID_FG_COLOR;
287 INT32 LineOutWidth MID_OUTER_WIDTH;
288 INT32 LineInWidth MID_INNER_WIDTH;
289 INT32 LineDistance MID_DISTANCE;
291 item SvxLine SvxLineItem;
295 INT32 LeftMargin MID_L_MARGIN; // % or direct
296 INT32 TextLeftMargin MID_TXT_LMARGIN;
297 INT32 RightMargin MID_R_MARGIN; // % or direct
298 INT16 LeftRelMargin MID_L_REL_MARGIN;
299 INT16 RightRelMargin MID_R_REL_MARGIN;
300 INT32 FirstLineIndent MID_FIRST_LINE_INDENT; // % or direct
301 INT32 FirstLineRelIdent MID_FIRST_LINE_REL_INDENT;
302 BOOL AutoFirst MID_FIRST_AUTO;
304 item SvxLRSpace SvxLRSpaceItem;
306 struct SvxLineSpacing
308 INT16 Mode MID_LINESPACE;
309 INT16 Height MID_HEIGHT;
311 item SvxLineSpacing SvxLineSpacingItem;
315 BOOL Landscape MID_PAGE_ORIENTATION;
316 INT16 Layout MID_PAGE_LAYOUT;
317 INT16 NumType MID_PAGE_NUMTYPE;
319 item SvxPage SvxPageItem;
321 struct SvxPagePosSize
323 INT32 XPos MID_X; // ???
324 INT32 YPos MID_Y; // ???
325 INT32 Width MID_WIDTH; // ???
326 INT32 Height MID_HEIGHT; // ???
328 item SvxPagePosSize SvxPagePosSizeItem;
332 SvxShadowLocation Location MID_LOCATION;
333 INT16 Width MID_WIDTH;
334 BOOL IsTransparent MID_TRANSPARENT;
335 INT32 Color MID_BG_COLOR;
337 item SvxShadow SvxShadowItem;
341 INT32 TopMargin MID_UP_MARGIN; // % or direct
342 INT32 BottomMargin MID_LO_MARGIN; // % or direct
343 BOOL ContextMargin MID_CTX_MARGIN;
344 INT16 TopRelMargin MID_UP_REL_MARGIN;
345 INT16 BottomRelMargin MID_LO_REL_MARGIN;
347 item SvxULSpace SvxULSpaceItem
349 struct SvxLongLRSpace
351 INT32 Left MID_LEFT; // ???
352 INT32 Right MID_RIGHT; // ???
354 item SvxLongLRSpace SvxLongLRSpaceItem;
356 struct SvxLongULSpace
358 INT32 Upper MID_UPPER; // ???
359 INT32 Lower MID_LOWER; // ???
361 item SvxLongULSpace SvxLongULSpaceItem;
365 String Text MID_HLINK_TEXT;
366 String URL MID_HLINK_URL;
367 String Target MID_HLINK_TARGET;
368 String Name MID_HLINK_NAME;
369 INT32 Type MID_HLINK_TYPE;
370 String ReplacementText MID_HLINK_REPLACEMENTTEXT
372 item SvxHyperlink SvxHyperlinkItem;
377 String Name MID_NAME;
379 item PageModel SvxPageModelItem;
383 BOOL Content MID_PROTECT_CONTENT;
384 BOOL Size MID_PROTECT_SIZE;
385 BOOL Position MID_PROTECT_POSITION;
387 item SvxProtect SvxProtectItem;
389 struct SvxRulerObject
391 INT32 StartX MID_START_X;
392 INT32 StartY MID_START_Y;
393 INT32 EndX MID_END_X;
394 INT32 EndY MID_END_Y;
395 BOOL Limited MID_LIMIT;
397 item SvxRulerObject SvxObjectItem;
399 item String LineBorder; // dummy for sequence
402 LineBorder LeftBorder MID_LEFT_BORDER;
403 INT32 LeftDistance LEFT_BORDER_DISTANCE;
404 LineBorder RightBorder MID_RIGHT_BORDER;
405 INT32 RightDistance RIGHT_BORDER_DISTANCE;
406 LineBorder TopBorder MID_TOP_BORDER;
407 INT32 TopDistance TOP_BORDER_DISTANCE;
408 LineBorder BottomBorder MID_BOTTOM_BORDER;
409 INT32 BottomDistance BOTTOM_BORDER_DISTANCE;
411 item SvxBox SvxBoxItem;
415 LineBorder Horizontal MID_HORIZONTAL;
416 LineBorder Vertical MID_VERTICAL;
417 INT16 Flags MID_FLAGS;
418 INT16 ValidFlags MID_VALIDFLAGS;
419 INT32 DefaultDistance MID_DISTANCE;
421 item SvxBoxInfo SvxBoxInfoItem;
423 item String SvxColumns; // dummy for sequence
424 struct SvxColumnDescription
426 SvxColumns Columns MID_COLUMNARRAY; // currently not implemented
428 INT32 Right MID_RIGHT;
429 INT32 Actual MID_ACTUAL;
430 BOOL Orthogonal MID_ORTHO;
431 BOOL Table MID_TABLE;
433 item SvxColumnDescription SvxColumnItem;
437 String TabStops MID_TABSTOPS; // dummy, will be represented by array of structs
438 //INT32 StandardTabStop MID_STD_TAB;
440 item SvxTabStop SvxTabStopItem;
444 INT16 Rotation MID_ROTATE;
445 BOOL FitToLine MID_FITTOLINE;
447 item SvxCharRotate SvxCharRotateItem;
449 item String SfxSetItem; // dummy
450 item INT16 SvxRotateModeItem; // enum
454 INT32 LeftMargin MID_MARGIN_L_MARGIN;
455 INT32 RightMargin MID_MARGIN_R_MARGIN;
456 INT32 UpperMargin MID_MARGIN_UP_MARGIN;
457 INT32 LowerMargin MID_MARGIN_LO_MARGIN;
459 item SvxMargin SvxMarginItem;
461 struct SvxEmphasisMark
463 INT32 Emphasis MID_EMPHASIS;
465 item SvxEmphasisMark SvxEmphasisMarkItem;
467 item String SvxSmartTagItem; // dummy for sequence
469 item String Points; // dummy for sequence
472 INT16 CurrentZoom MID_ZOOMSLIDER_CURRENTZOOM;
473 Points SnappingPoints MID_ZOOMSLIDER_SNAPPINGPOINTS;
474 INT16 SvxMinZoom MID_ZOOMSLIDER_MINZOOM;
475 INT16 SvxMaxZoom MID_ZOOMSLIDER_MAXZOOM;
477 item ZoomSlider SvxZoomSliderItem;
479 item String SvxGalleryItem; // dummy for sequence