lok: calc - send other views our selection in their co-ordinates.
[LibreOffice.git] / include / svx / unomid.hxx
blob45d6a83d2c7eb5833366a348866360cb54c5d173
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_SVX_UNOMID_HXX
20 #define INCLUDED_SVX_UNOMID_HXX
22 //AdjustItem
23 #define MID_PARA_ADJUST 0
24 #define MID_LAST_LINE_ADJUST 1
25 #define MID_EXPAND_SINGLE 2
27 //SvxPageItem
28 #define MID_PAGE_NUMTYPE 0
29 #define MID_PAGE_ORIENTATION 1
30 #define MID_PAGE_LAYOUT 2
32 //SvxMarginItem
33 #define MID_MARGIN_L_MARGIN 2
34 #define MID_MARGIN_R_MARGIN 3
35 #define MID_MARGIN_UP_MARGIN 4
36 #define MID_MARGIN_LO_MARGIN 5
38 #define ALL_BORDER 10
39 #define ALL_BORDER_PADDING 11
40 #define LEFT_BORDER_PADDING 12
41 #define RIGHT_BORDER_PADDING 13
42 #define TOP_BORDER_PADDING 14
43 #define BOTTOM_BORDER_PADDING 15
44 #define ALL_BORDER_LINE_WIDTH 16
45 #define LEFT_BORDER_LINE_WIDTH 17
46 #define RIGHT_BORDER_LINE_WIDTH 18
47 #define TOP_BORDER_LINE_WIDTH 19
48 #define BOTTOM_BORDER_LINE_WIDTH 20
50 // XFillBitmapItem (is also a NameOrIndex)
51 #define MID_BITMAP 8
53 // SvxHorJustifyItem
54 #define MID_HORJUST_HORJUST 0
55 #define MID_HORJUST_ADJUST 1
57 // SvxObjectItem
58 #define MID_START_X 1
59 #define MID_START_Y 2
60 #define MID_END_X 3
61 #define MID_END_Y 4
62 #define MID_LIMIT 5
64 // SvxColumnItem
65 #define MID_COLUMNARRAY 7
66 #define MID_ACTUAL 4
67 #define MID_TABLE 5
68 #define MID_ORTHO 6
70 // XFillGradientItem
71 // Don't use 0 as it used for the whole struct
72 #define MID_FILLGRADIENT 1
73 #define MID_GRADIENT_STYLE 2
74 #define MID_GRADIENT_STARTCOLOR 3
75 #define MID_GRADIENT_ENDCOLOR 4
76 #define MID_GRADIENT_ANGLE 5
77 #define MID_GRADIENT_BORDER 6
78 #define MID_GRADIENT_XOFFSET 7
79 #define MID_GRADIENT_YOFFSET 8
80 #define MID_GRADIENT_STARTINTENSITY 9
81 #define MID_GRADIENT_ENDINTENSITY 10
82 #define MID_GRADIENT_STEPCOUNT 11
84 // XFillHatchItem
85 // Don't use 0 as it used for the whole struct
86 #define MID_FILLHATCH 1
87 #define MID_HATCH_STYLE 2
88 #define MID_HATCH_COLOR 3
89 #define MID_HATCH_DISTANCE 4
90 #define MID_HATCH_ANGLE 5
92 // XLineDashItem
93 // Don't use 0 as it used for the whole struct
94 #define MID_LINEDASH 1
95 #define MID_LINEDASH_STYLE 2
96 #define MID_LINEDASH_DOTS 3
97 #define MID_LINEDASH_DOTLEN 4
98 #define MID_LINEDASH_DASHES 5
99 #define MID_LINEDASH_DASHLEN 6
100 #define MID_LINEDASH_DISTANCE 7
102 #define MID_LEFT 3
104 #endif
106 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */