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 INCLUDED_SVX_UNOMID_HXX
20 #define INCLUDED_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_L_MARGIN 2
34 #define MID_MARGIN_R_MARGIN 3
35 #define MID_MARGIN_UP_MARGIN 4
36 #define MID_MARGIN_LO_MARGIN 5
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)
54 #define MID_HORJUST_HORJUST 0
55 #define MID_HORJUST_ADJUST 1
65 #define MID_COLUMNARRAY 7
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
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
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
106 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */