blob: 356efb6e4069bfc7388106bb8392497557ea87cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _SVX_UNOMID_HXX
#define _SVX_UNOMID_HXX
//AdjustItem
#define MID_PARA_ADJUST 0
#define MID_LAST_LINE_ADJUST 1
#define MID_EXPAND_SINGLE 2
//SvxPageItem
#define MID_PAGE_NUMTYPE 0
#define MID_PAGE_ORIENTATION 1
#define MID_PAGE_LAYOUT 2
//SvxMarginItem
#define MID_MARGIN_LR_MARGIN 0
#define MID_MARGIN_UL_MARGIN 1
#define MID_MARGIN_L_MARGIN 2
#define MID_MARGIN_R_MARGIN 3
#define MID_MARGIN_UP_MARGIN 4
#define MID_MARGIN_LO_MARGIN 5
#define ALL_BORDER 10
#define ALL_BORDER_PADDING 11
#define LEFT_BORDER_PADDING 12
#define RIGHT_BORDER_PADDING 13
#define TOP_BORDER_PADDING 14
#define BOTTOM_BORDER_PADDING 15
#define ALL_BORDER_LINE_WIDTH 16
#define LEFT_BORDER_LINE_WIDTH 17
#define RIGHT_BORDER_LINE_WIDTH 18
#define TOP_BORDER_LINE_WIDTH 19
#define BOTTOM_BORDER_LINE_WIDTH 20
// XFillBitmapItem (is also a NameOrIndex)
#define MID_BITMAP 8
// SvxHorJustifyItem
#define MID_HORJUST_HORJUST 0
#define MID_HORJUST_ADJUST 1
// SvxObjectItem
#define MID_START_X 1
#define MID_START_Y 2
#define MID_END_X 3
#define MID_END_Y 4
#define MID_LIMIT 5
// SvxColumnItem
#define MID_COLUMNARRAY 7
#define MID_ACTUAL 4
#define MID_TABLE 5
#define MID_ORTHO 6
// XFillGradientItem
// Don't use 0 as it used for the whole struct
#define MID_FILLGRADIENT 1
#define MID_GRADIENT_STYLE 2
#define MID_GRADIENT_STARTCOLOR 3
#define MID_GRADIENT_ENDCOLOR 4
#define MID_GRADIENT_ANGLE 5
#define MID_GRADIENT_BORDER 6
#define MID_GRADIENT_XOFFSET 7
#define MID_GRADIENT_YOFFSET 8
#define MID_GRADIENT_STARTINTENSITY 9
#define MID_GRADIENT_ENDINTENSITY 10
#define MID_GRADIENT_STEPCOUNT 11
// XFillHatchItem
// Don't use 0 as it used for the whole struct
#define MID_FILLHATCH 1
#define MID_HATCH_STYLE 2
#define MID_HATCH_COLOR 3
#define MID_HATCH_DISTANCE 4
#define MID_HATCH_ANGLE 5
// XLineDashItem
// Don't use 0 as it used for the whole struct
#define MID_LINEDASH 1
#define MID_LINEDASH_STYLE 2
#define MID_LINEDASH_DOTS 3
#define MID_LINEDASH_DOTLEN 4
#define MID_LINEDASH_DASHES 5
#define MID_LINEDASH_DASHLEN 6
#define MID_LINEDASH_DISTANCE 7
#define MID_LEFT 3
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|