1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 _SVX_UNOMID_HXX
20 #define _SVX_UNOMID_HXX
23 #define MID_PARA_ADJUST 0
24 #define MID_LAST_LINE_ADJUST 1
25 #define MID_EXPAND_SINGLE 2
28 #define MID_PAGE_NUMTYPE 0
29 #define MID_PAGE_ORIENTATION 1
30 #define MID_PAGE_LAYOUT 2
33 #define MID_MARGIN_LR_MARGIN 0
34 #define MID_MARGIN_UL_MARGIN 1
35 #define MID_MARGIN_L_MARGIN 2
36 #define MID_MARGIN_R_MARGIN 3
37 #define MID_MARGIN_UP_MARGIN 4
38 #define MID_MARGIN_LO_MARGIN 5
41 #define ALL_BORDER_PADDING 11
42 #define LEFT_BORDER_PADDING 12
43 #define RIGHT_BORDER_PADDING 13
44 #define TOP_BORDER_PADDING 14
45 #define BOTTOM_BORDER_PADDING 15
46 #define ALL_BORDER_LINE_WIDTH 16
47 #define LEFT_BORDER_LINE_WIDTH 17
48 #define RIGHT_BORDER_LINE_WIDTH 18
49 #define TOP_BORDER_LINE_WIDTH 19
50 #define BOTTOM_BORDER_LINE_WIDTH 20
52 // XFillBitmapItem (is also a NameOrIndex)
56 #define MID_HORJUST_HORJUST 0
57 #define MID_HORJUST_ADJUST 1
67 #define MID_COLUMNARRAY 7
73 // Don't use 0 as it used for the whole struct
74 #define MID_FILLGRADIENT 1
75 #define MID_GRADIENT_STYLE 2
76 #define MID_GRADIENT_STARTCOLOR 3
77 #define MID_GRADIENT_ENDCOLOR 4
78 #define MID_GRADIENT_ANGLE 5
79 #define MID_GRADIENT_BORDER 6
80 #define MID_GRADIENT_XOFFSET 7
81 #define MID_GRADIENT_YOFFSET 8
82 #define MID_GRADIENT_STARTINTENSITY 9
83 #define MID_GRADIENT_ENDINTENSITY 10
84 #define MID_GRADIENT_STEPCOUNT 11
87 // Don't use 0 as it used for the whole struct
88 #define MID_FILLHATCH 1
89 #define MID_HATCH_STYLE 2
90 #define MID_HATCH_COLOR 3
91 #define MID_HATCH_DISTANCE 4
92 #define MID_HATCH_ANGLE 5
95 // Don't use 0 as it used for the whole struct
96 #define MID_LINEDASH 1
97 #define MID_LINEDASH_STYLE 2
98 #define MID_LINEDASH_DOTS 3
99 #define MID_LINEDASH_DOTLEN 4
100 #define MID_LINEDASH_DASHES 5
101 #define MID_LINEDASH_DASHLEN 6
102 #define MID_LINEDASH_DISTANCE 7
108 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */