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_PAGE_NUMTYPE 0
24 #define MID_PAGE_ORIENTATION 1
25 #define MID_PAGE_LAYOUT 2
28 #define MID_MARGIN_L_MARGIN 2
29 #define MID_MARGIN_R_MARGIN 3
30 #define MID_MARGIN_UP_MARGIN 4
31 #define MID_MARGIN_LO_MARGIN 5
34 #define ALL_BORDER_PADDING 11
35 #define LEFT_BORDER_PADDING 12
36 #define RIGHT_BORDER_PADDING 13
37 #define TOP_BORDER_PADDING 14
38 #define BOTTOM_BORDER_PADDING 15
39 #define ALL_BORDER_LINE_WIDTH 16
40 #define LEFT_BORDER_LINE_WIDTH 17
41 #define RIGHT_BORDER_LINE_WIDTH 18
42 #define TOP_BORDER_LINE_WIDTH 19
43 #define BOTTOM_BORDER_LINE_WIDTH 20
45 // XFillBitmapItem (is also a NameOrIndex)
56 #define MID_COLUMNARRAY 7
62 // Don't use 0 as it used for the whole struct
63 #define MID_FILLGRADIENT 1
64 #define MID_GRADIENT_STYLE 2
65 #define MID_GRADIENT_STARTCOLOR 3
66 #define MID_GRADIENT_ENDCOLOR 4
67 #define MID_GRADIENT_ANGLE 5
68 #define MID_GRADIENT_BORDER 6
69 #define MID_GRADIENT_XOFFSET 7
70 #define MID_GRADIENT_YOFFSET 8
71 #define MID_GRADIENT_STARTINTENSITY 9
72 #define MID_GRADIENT_ENDINTENSITY 10
73 #define MID_GRADIENT_STEPCOUNT 11
74 #define MID_GRADIENT_COLORSTOPSEQUENCE 12
77 // Don't use 0 as it used for the whole struct
78 #define MID_FILLHATCH 1
79 #define MID_HATCH_STYLE 2
80 #define MID_HATCH_COLOR 3
81 #define MID_HATCH_DISTANCE 4
82 #define MID_HATCH_ANGLE 5
85 // Don't use 0 as it used for the whole struct
86 #define MID_LINEDASH 1
87 #define MID_LINEDASH_STYLE 2
88 #define MID_LINEDASH_DOTS 3
89 #define MID_LINEDASH_DOTLEN 4
90 #define MID_LINEDASH_DASHES 5
91 #define MID_LINEDASH_DASHLEN 6
92 #define MID_LINEDASH_DISTANCE 7
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */