1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: svxitems.sdi,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 //-------------------------------------------------------------------------
41 item SvxAdjust SvxAdjustItem;
43 //-------------------------------------------------------------------------
47 SVX_CASEMAP_NOT_MAPPED,
48 SVX_CASEMAP_VERSALIEN,
51 SVX_CASEMAP_KAPITAELCHEN,
54 item SvxCaseMap SvxCaseMapItem;
56 //-------------------------------------------------------------------------
72 item CharSet CharSetItem;
74 //-------------------------------------------------------------------------
86 item FontFamily FontFamilyItem;
88 //-------------------------------------------------------------------------
96 item FontPitch FontPitchItem;
98 //-------------------------------------------------------------------------
106 item FontAlign FontAlignItem;
108 //-------------------------------------------------------------------------
124 item FontWeight FontWeightItem;
126 //-------------------------------------------------------------------------
135 item FontUnderline FontUnderlineItem;
137 //-------------------------------------------------------------------------
145 item FontStrikeout FontStrikeoutItem;
147 //-------------------------------------------------------------------------
155 item FontItalic FontItalicItem;
157 //-------------------------------------------------------------------------
165 item SvxDbType SvxDbTypeItem;
167 //-------------------------------------------------------------------------
176 item SvxLineSpace SvxLineSpaceItem;
178 //-------------------------------------------------------------------------
180 enum SvxInterLineSpace
182 SVX_INTER_LINE_SPACE_OFF,
183 SVX_INTER_LINE_SPACE_PROP,
184 SVX_INTER_LINE_SPACE_FIX,
185 SVX_INTER_LINE_SPACE_END
187 item SvxInterLineSpace SvxInterLineSpaceItem;
189 //-------------------------------------------------------------------------
194 SVX_BREAK_COLUMN_BEFORE,
195 SVX_BREAK_COLUMN_AFTER,
196 SVX_BREAK_COLUMN_BOTH,
197 SVX_BREAK_PAGE_BEFORE,
198 SVX_BREAK_PAGE_AFTER,
202 item SvxBreak SvxBreakItem;
204 //-------------------------------------------------------------------------
221 item BrushStyle BrushStyleItem;
223 //-------------------------------------------------------------------------
227 SVX_CHARS_UPPER_LETTER,
228 SVX_CHARS_LOWER_LETTER,
236 item SvxNumType SvxNumTypeItem;
238 //-------------------------------------------------------------------------
240 enum SvxShadowLocation
245 SVX_SHADOW_BOTTOMLEFT,
246 SVX_SHADOW_BOTTOMRIGHT,
249 item SvxShadowLocation SvxShadowLocationItem;
251 //-------------------------------------------------------------------------
255 BrushStyle Style MID_BRUSHSTYLE;
256 BOOL Transparent MID_TRANSPARENT;
257 UINT32 BackColor MID_BG_COLOR;
258 UINT32 FillColor MID_FG_COLOR;
260 item SvxBrush SvxBrushItem;
262 //-------------------------------------------------------------------------
264 struct SvxCharSetColor
266 CharSet CharSet MID_CHARSET;
267 UINT32 Color MID_FG_COLOR;
269 item SvxCharSetColor SvxCharSetColorItem;
271 //-------------------------------------------------------------------------
273 item BOOL SvxAutoKernItem;
274 item UINT32 SvxColorItem;
275 item BOOL SvxContourItem;
276 item FontStrikeout SvxCrossedOutItem;
278 //-------------------------------------------------------------------------
282 INT16 Esc MID_ESCAPEMENT;
283 BYTE Prop MID_PROPORTIONAL;
285 item SvxEscapement SvxEscapementItem;
287 //-------------------------------------------------------------------------
291 BOOL Auto MID_AUTOBREAK;
292 UINT16 Break MID_BREAKxxx;
294 item SvxFmtBreak SvxFmtBreakItem;
296 //-------------------------------------------------------------------------
298 item BOOL SvxFmtKeepItem;
299 item BOOL SvxFmtSplitItem;
303 UINT32 Height MID_HEIGHT;
304 BYTE Prop MID_PROPORTIONAL;
306 item SvxFontHeight SvxFontHeightItem;
308 //-------------------------------------------------------------------------
312 String StyleName MID_FONTSTYLE;
313 FontPitch Pitch MID_FONTPICTH;
314 CharSet CharSet MID_CHARSET;
315 FontFamily Family MID_FONTFAMILY;
316 String FamilyName MID_FONTFAMILYNAME;
318 item SvxFont SvxFontItem;
320 //-------------------------------------------------------------------------
324 BOOL Hyphen MID_HYPHEN;
325 BOOL PageEnd MID_PAGEEND;
326 BYTE MinLead MID_MINLEAD;
327 BYTE MinTrail MID_MINTRAIL;
328 BYTE MaxHyphens MID_MAXHYPHENS;
330 item SvxHyphenZone SvxHyphenZoneItem;
332 //-------------------------------------------------------------------------
334 item INT16 SvxKerningItem;
336 //-------------------------------------------------------------------------
340 UINT32 Color MID_FG_COLOR;
341 UINT16 OutWidth MID_OUTER_WIDTH;
342 UINT16 InWidth MID_INNER_WIDTH;
343 UINT16 Distance MID_DISTANCE;
345 item SvxLine SvxLineItem;
347 //-------------------------------------------------------------------------
351 INT16 FirstLineOffset MID_FIRSTLINE_OFFSET; // % or direct
352 UINT16 LeftMargin MID_LEFT_MARGIN; // % or direct
353 UINT16 RightMargin MID_RIGHT_MARGIN; // % or direct
355 item SvxLRSpace SvxLRSpaceItem;
357 //-------------------------------------------------------------------------
359 item UINT16 SvxLanguage;
361 struct SvxLineSpacing
363 SvxLineSpace LineSpace MID_LINESPACE;
364 UINT16 LineHeight MID_HEIGHT; // % or direct
365 SvxInterLineSpace InterLineSpace MID_INTER_LINESPACE;
366 INT16 InterSpace MID_INTER_SPACE;
368 item SvxLineSpacing SvxLineSpacingItem;
370 //-------------------------------------------------------------------------
372 item BOOL SvxNoHyphenItem;
373 item BOOL SvxNoLinebreakItem;
374 item BOOL SvxOpaqueItem;
375 item BYTE SvxOrphansItem;
377 //-------------------------------------------------------------------------
381 String DescName MID_DESCNAMExxx;
382 BOOL Landscape MID_LANDSCAPE;
383 UINT16 Use MID_USExxx;
384 SvxNumType NumType MID_NUMTYPExxx;
386 item SvxPage SvxPageItem;
388 //-------------------------------------------------------------------------
390 item String SvxPageModelItem;
392 //-------------------------------------------------------------------------
394 struct SvxPagePosSize
398 INT32 Width MID_WIDTH;
399 INT32 Height MID_HEIGHT;
401 item SvxPagePosSize SvxPagePosSizeItem;
403 //-------------------------------------------------------------------------
405 item BYTE SvxPaperBinItem;
407 //-------------------------------------------------------------------------
409 item String SvxPostItAuthorItem;
410 item String SvxPostItDateItem;
411 item String SvxPostItTextItem;
412 item FontItalic SvxPostureItem;
413 item BOOL SvxPrintItem;
414 item UINT16 SvxPropSizeItem;
416 //-------------------------------------------------------------------------
420 BOOL Content MID_CONTENT;
424 item SvxProtect SvxProtectItem;
426 //-------------------------------------------------------------------------
430 UINT16 Command MID_COMMAND;
431 String SearchString MID_SEARCH_STRING;
432 String ReplaceString MID_REPLACE_STRING;
433 // W)ord, E)xact, B)ack, S)election, R)egExpr, P)attern
434 String Flags MID_FLAGS;
435 UINT16 Family MID_FAMILY;
436 UINT16 CellType MID_CELLTYPE;
437 BOOL RowDirection MID_ROW_DIRECTION;
438 UINT16 AppFlag MID_APPFLAG;
440 item SvxSearch SvxSearchItem;
442 //-------------------------------------------------------------------------
444 item BOOL SvxShadowedItem;
446 //-------------------------------------------------------------------------
450 SvxShadowLocation Location MID_LOCATION;
451 UINT16 Width MID_WIDTH;
452 BrushStyle Style MID_BRUSHSTYLE;
453 BOOL Transparent MID_TRANSPARENT;
454 UINT32 BackColor MID_BG_COLOR;
455 UINT32 FillColor MID_FG_COLOR;
457 item SvxShadow SvxShadowItem;
459 //-------------------------------------------------------------------------
463 UINT32 Width MID_WIDTH;
464 UINT32 Height MID_HEIGHT;
466 item SvxSize SvxSizeItem;
468 //-------------------------------------------------------------------------
472 UINT16 Upper MID_UPPER; // % or direct
473 UINT16 Lower MID_LOWER; // % or direct
475 item SvxULSpace SvxULSpaceItem
477 //-------------------------------------------------------------------------
479 enum SvxChooseControlEnum
483 SVX_SNAP_RADIOBUTTON,
496 item SvxChooseControlEnum SvxChooseControlEnumItem;
498 //-------------------------------------------------------------------------
502 SVX_SNAP_DRAW_SELECT,
506 SVX_SNAP_DRAW_ELLIPSE,
507 SVX_SNAP_DRAW_POLYGON,
510 SVX_SNAP_DRAW_CIRCLECUT,
512 SVX_SNAP_DRAW_CAPTION,
513 SVX_SNAP_DRAW_NOTHING
515 item SvxDrawToolEnum SvxDrawToolEnumItem;
517 //-------------------------------------------------------------------------
519 item SvxChooseControlEnum SvxChooseControlItem;
520 item SvxDrawToolEnum SvxDrawToolItem;
521 item FontUnderline SvxUnderlineItem;
522 item FontWeight SvxWeightItem;
523 item BYTE SvxWidowsItem;
524 item BOOL SvxWordLineModeItem;
525 item String SvxBoxItem; //! Dummy
527 //-------------------------------------------------------------------------
529 enum SvxCellHorJustifyEnum
531 SVX_HOR_JUSTIFY_STANDARD,
532 SVX_HOR_JUSTIFY_LEFT,
533 SVX_HOR_JUSTIFY_CENTER,
534 SVX_HOR_JUSTIFY_RIGHT,
535 SVX_HOR_JUSTIFY_BLOCK,
536 SVX_HOR_JUSTIFY_REPEAT
538 item SvxCellHorJustifyEnum SvxCellHorJustifyEnumItem;
540 enum SvxCellVerJustifyEnum
542 SVX_VER_JUSTIFY_STANDARD,
544 SVX_VER_JUSTIFY_CENTER,
545 SVX_VER_JUSTIFY_BOTTOM
547 item SvxCellVerJustifyEnum SvxCellVerJustifyEnumItem;
549 //-------------------------------------------------------------------------
551 enum SvxCellOrientationEnum
553 SVX_ORIENTATION_STANDARD,
554 SVX_ORIENTATION_TOPBOTTOM,
555 SVX_ORIENTATION_BOTTOMTOP,
556 SVX_ORIENTATION_STACKED
558 item SvxCellOrientationEnum SvxCellOrientationEnumItem;
560 //-------------------------------------------------------------------------
562 item SvxCellHorJustifyEnum SvxHorJustifyItem;
563 item SvxCellVerJustifyEnum SvxVerJustifyItem;
564 item SvxCellOrientationEnum SvxOrientationItem;
566 //-------------------------------------------------------------------------
568 struct SvxLongLRSpace
571 INT32 Right MID_RIGHT;
573 item SvxLongLRSpace SvxLongLRSpaceItem;
575 //-------------------------------------------------------------------------
577 struct SvxLongULSpace
579 INT32 Upper MID_UPPER;
580 INT32 Lower MID_LOWER;
582 item SvxLongULSpace SvxLongULSpaceItem;
584 //-------------------------------------------------------------------------
589 UINT16 ValueSet MID_VALUESET;
590 INT32 Percent MID_PERCENT;
592 item SvxZoom SvxZoomItem;
594 //-------------------------------------------------------------------------
596 item SbxObject SvxTabStopItem;