blob: fe850caa259f8da0cdde1782f09b167e34ed7ed5 (
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <rcid.hrc>
#include "PropertyPanel.hrc"
// global definitions
#define IMG_PAGE_PORTRAIT (RC_SIDEBAR_BEGIN + 0)
#define IMG_PAGE_LANDSCAPE (RC_SIDEBAR_BEGIN + 1)
#define IMG_PAGE_NARROW (RC_SIDEBAR_BEGIN + 2)
#define IMG_PAGE_NORMAL (RC_SIDEBAR_BEGIN + 3)
#define IMG_PAGE_WIDE (RC_SIDEBAR_BEGIN + 4)
#define IMG_PAGE_MIRRORED (RC_SIDEBAR_BEGIN + 5)
#define IMG_PAGE_MARGIN_CUSTOM (RC_SIDEBAR_BEGIN + 6)
#define IMG_PAGE_NARROW_L (RC_SIDEBAR_BEGIN + 7)
#define IMG_PAGE_NORMAL_L (RC_SIDEBAR_BEGIN + 8)
#define IMG_PAGE_WIDE_L (RC_SIDEBAR_BEGIN + 9)
#define IMG_PAGE_MIRRORED_L (RC_SIDEBAR_BEGIN + 10)
#define IMG_PAGE_MARGIN_CUSTOM_L (RC_SIDEBAR_BEGIN+ 11)
#define IMG_PAGE_A3 (RC_SIDEBAR_BEGIN + 12)
#define IMG_PAGE_A4 (RC_SIDEBAR_BEGIN + 13)
#define IMG_PAGE_A5 (RC_SIDEBAR_BEGIN + 14)
#define IMG_PAGE_B4 (RC_SIDEBAR_BEGIN + 15)
#define IMG_PAGE_B5 (RC_SIDEBAR_BEGIN + 16)
#define IMG_PAGE_C5 (RC_SIDEBAR_BEGIN + 17)
#define IMG_PAGE_LETTER (RC_SIDEBAR_BEGIN + 18)
#define IMG_PAGE_LEGAL (RC_SIDEBAR_BEGIN + 19)
#define IMG_PAGE_SIZE_NONE (RC_SIDEBAR_BEGIN + 20)
#define IMG_PAGE_A3_L (RC_SIDEBAR_BEGIN + 21)
#define IMG_PAGE_A4_L (RC_SIDEBAR_BEGIN + 22)
#define IMG_PAGE_A5_L (RC_SIDEBAR_BEGIN + 23)
#define IMG_PAGE_B4_L (RC_SIDEBAR_BEGIN + 24)
#define IMG_PAGE_B5_L (RC_SIDEBAR_BEGIN + 25)
#define IMG_PAGE_C5_L (RC_SIDEBAR_BEGIN + 26)
#define IMG_PAGE_LETTER_L (RC_SIDEBAR_BEGIN + 27)
#define IMG_PAGE_LEGAL_L (RC_SIDEBAR_BEGIN + 28)
#define IMG_PAGE_SIZE_NONE_L (RC_SIDEBAR_BEGIN + 29)
#define IMG_PAGE_COLUMN_1 (RC_SIDEBAR_BEGIN + 30)
#define IMG_PAGE_COLUMN_2 (RC_SIDEBAR_BEGIN + 31)
#define IMG_PAGE_COLUMN_3 (RC_SIDEBAR_BEGIN + 32)
#define IMG_PAGE_COLUMN_LEFT (RC_SIDEBAR_BEGIN + 33)
#define IMG_PAGE_COLUMN_RIGHT (RC_SIDEBAR_BEGIN + 34)
#define IMG_PAGE_COLUMN_NONE (RC_SIDEBAR_BEGIN + 35)
#define IMG_PAGE_COLUMN_1_L (RC_SIDEBAR_BEGIN + 36)
#define IMG_PAGE_COLUMN_2_L (RC_SIDEBAR_BEGIN + 37)
#define IMG_PAGE_COLUMN_3_L (RC_SIDEBAR_BEGIN + 38)
#define IMG_PAGE_COLUMN_LEFT_L (RC_SIDEBAR_BEGIN + 39)
#define IMG_PAGE_COLUMN_RIGHT_L (RC_SIDEBAR_BEGIN + 40)
#define IMG_PAGE_COLUMN_NONE_L (RC_SIDEBAR_BEGIN + 41)
// local
#define IMG_PORTRAIT 10
#define IMG_LANDSCAPE 11
#define STR_PORTRAIT 12
#define STR_LANDSCAPE 13
#define MF_SWLEFT_MARGIN 18
#define MF_SWRIGHT_MARGIN 19
#define MF_SWTOP_MARGIN 20
#define MF_SWBOTTOM_MARGIN 21
#define VS_SIZE 23
#define STR_LCVALUE 24
#define FT_CUSTOM 25
#define FLD_WIDTH_HEIGHT 26
#define VS_ORIENTATION 29
#define IMG_NARROW 32
#define IMG_NORMAL 33
#define IMG_WIDE 34
#define IMG_MIRRORED 35
#define STR_NARROW 36
#define STR_NORMAL 37
#define STR_WIDE 38
#define STR_MIRRORED 39
#define VS_MARGIN 40
#define IMG_CUSTOM 41
#define FT_LEFT 42
#define FT_RIGHT 43
#define FT_TOP 44
#define FT_BOTTOM 45
#define FT_INNER 46
#define FT_OUTER 47
#define VS_COLUMN 49
#define MBOX_WIDTH 50
#define IMG_ONE 51
#define IMG_TWO 52
#define IMG_THREE 53
#define IMG_LEFT 54
#define IMG_RIGHT 55
#define STR_ONE 56
#define STR_TWO 57
#define STR_THREE 58
#define STR_LEFT 59
#define STR_RIGHT 60
#define CB_COLUMN_MORE 61
#define CB_SIZE_MORE 61
#define IMG_ONE_L 90
#define IMG_TWO_L 91
#define IMG_THREE_L 92
#define IMG_LEFT_L 93
#define IMG_RIGHT_L 94
#define IMG_NARROW_L 109
#define IMG_NORMAL_L 110
#define IMG_WIDE_L 111
#define IMG_MIRRORED_L 112
#define IMG_CUSTOM_DIS 121
#define STR_MARGIN_TOOLTIP_LEFT 122
#define STR_MARGIN_TOOLTIP_RIGHT 123
#define STR_MARGIN_TOOLTIP_INNER 124
#define STR_MARGIN_TOOLTIP_OUTER 125
#define STR_MARGIN_TOOLTIP_TOP 126
#define STR_MARGIN_TOOLTIP_BOT 127
#define POPUP_MARGIN 4
#define VS_WIDTH 78
#define ITEM_HEIGHT 17
#define ITEM_HEIGHT2 15
// Position
#define FT_CUSTOM_X POPUP_MARGIN + OFFSET_X
#define FT_CUSTOM_Y POPUPPANEL_MARGIN_SMALL * 2 + ITEM_HEIGHT * 5
#define POP_BORDER_X POPUP_MARGIN + OFFSET_X + 1
#define POP_BORDER_Y POPUPPANEL_MARGIN_SMALL * 3 + ITEM_HEIGHT * 5 + TEXT_HEIGHT
#define BD_HEIGHT MBOX_HEIGHT*4 + CONTROL_SPACING_VERTICAL*5
#define FT_X POP_BORDER_X + CONTROL_SPACING_HORIZONTAL
#define MF_X FT_X + 25 + CONTROL_SPACING_HORIZONTAL
#define LEFT_MF_Y POP_BORDER_Y + CONTROL_SPACING_VERTICAL
#define RIGHT_MF_Y LEFT_MF_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
#define TOP_MF_Y RIGHT_MF_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
#define BOTTOM_MF_Y TOP_MF_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
#define FT_LEFT_Y LEFT_MF_Y + 1
#define FT_RIGHT_Y RIGHT_MF_Y + 1
#define FT_TOP_Y TOP_MF_Y + 1
#define FT_BOTTOM_Y BOTTOM_MF_Y + 1
#define MARGIN_PANEL_HEIGHT POP_BORDER_Y + BD_HEIGHT + POPUP_MARGIN + OFFSET_Y
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|