summaryrefslogtreecommitdiff
path: root/sw/source/ui/sidebar/PagePropertyPanel.src
blob: 6544520cba7a5d65b904ac48b9aa6e858d97ee8d (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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
/* -*- 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 <sfx2/sidebar/ResourceDefinitions.hrc>
#include "PropertyPanel.hrc"
#include "PagePropertyPanel.hrc"
#include "helpid.h"

Image IMG_PAGE_NARROW
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_narrow_24x24.png";};
};
Image IMG_PAGE_NORMAL
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_nomal_24x24.png";};
};
Image IMG_PAGE_WIDE
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_wide_24x24.png";};
};
Image IMG_PAGE_MIRRORED
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_mirror_24x24.png";};
};
Image IMG_PAGE_MARGIN_CUSTOM
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_copy_24x24.png";};
};
Image IMG_PAGE_NARROW_L
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnarrow_24x24.png";};
};
Image IMG_PAGE_NORMAL_L
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnormal_24x24.png";};
};
Image IMG_PAGE_WIDE_L
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatwide_24x24.png";};
};
Image IMG_PAGE_MIRRORED_L
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatmirror_24x24.png";};
};
Image IMG_PAGE_MARGIN_CUSTOM_L
{
    ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatcopy_24x24.png";};
};

// popup for page style's margin attributes
Control RID_POPUP_SWPAGE_MARGIN
{
    OutputSize = TRUE;
    DialogControl = TRUE;
    Border = FALSE;
    Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH, MARGIN_PANEL_HEIGHT );

    Control VS_MARGIN
    {
        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
        Size = MAP_APPFONT ( VS_WIDTH  , ITEM_HEIGHT*5);
        HelpID = HID_SWPAGE_VS_MARGIN;
        TabStop = TRUE ;
        Text = "Margin";
    };
    FixedText FT_CUSTOM
    {
        Pos = MAP_APPFONT ( FT_CUSTOM_X, FT_CUSTOM_Y );
        Size = MAP_APPFONT ( MBOX_WIDTH + 30, TEXT_HEIGHT) ;
        Text [ en-US ] = "Custom:";
    };
    FixedText FT_LEFT
    {
        Pos = MAP_APPFONT ( FT_X, FT_LEFT_Y );
        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
        Text [ en-US ] = "~Left:";
    };
    FixedText FT_INNER
    {
        Pos = MAP_APPFONT ( FT_X, FT_LEFT_Y );
        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
        Text [ en-US ] = "I~nner:";
    };
    MetricField MF_SWLEFT_MARGIN
    {
        Border = TRUE;
        Pos = MAP_APPFONT ( MF_X , LEFT_MF_Y );
        Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
        HelpID = HID_SWPAGE_LEFT_MARGIN;
        Left = TRUE;
        Repeat = TRUE;
        Spin = TRUE;
        Maximum = 9999;
        DecimalDigits = 2;
        Unit = FUNIT_CM;
        Last = 9999;
        SpinSize = 10;
    };
    FixedText FT_RIGHT
    {
        Pos = MAP_APPFONT ( FT_X, FT_RIGHT_Y );
        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
        Text [ en-US ] = "~Right:";
    };
    FixedText FT_OUTER
    {
        Pos = MAP_APPFONT ( FT_X, FT_RIGHT_Y );
        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
        Text [ en-US ] = "O~uter:";
    };
    MetricField MF_SWRIGHT_MARGIN
    {
        Border = TRUE;
        Pos = MAP_APPFONT ( MF_X , RIGHT_MF_Y );
        Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
        HelpID = HID_SWPAGE_RIGHT_MARGIN;
        Left = TRUE;
        Repeat = TRUE;
        Spin = TRUE;
        Maximum = 9999;
        DecimalDigits = 2;
        Unit = FUNIT_CM;
        Last = 9999;
        SpinSize = 10;
    };
    FixedText FT_TOP
    {
        Pos = MAP_APPFONT ( FT_X, FT_TOP_Y );
        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
        Text [ en-US ] = "~Top:";
    };
    MetricField MF_SWTOP_MARGIN
    {
        Border = TRUE;
        Pos = MAP_APPFONT ( MF_X , TOP_MF_Y );
        Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
        HelpID = HID_SWPAGE_TOP_MARGIN;
        Left = TRUE;
        Repeat = TRUE;
        Spin = TRUE;
        Maximum = 9999;
        DecimalDigits = 2;
        Unit = FUNIT_CM;
        Last = 9999;
        SpinSize = 10;
    };
    FixedText FT_BOTTOM
    {
        Pos = MAP_APPFONT ( FT_X, FT_BOTTOM_Y );
        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
        Text [ en-US ] = "~Bottom:";
    };
    MetricField MF_SWBOTTOM_MARGIN
    {
        Border = TRUE;
        Pos = MAP_APPFONT ( MF_X , BOTTOM_MF_Y );
        Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
        HelpID = HID_SWPAGE_BOTTOM_MARGIN;
        Left = TRUE;
        Repeat = TRUE;
        Spin = TRUE;
        Maximum = 9999;
        DecimalDigits = 2;
        Unit = FUNIT_CM;
        Last = 9999;
        SpinSize = 10;
    };
    MetricField FLD_WIDTH_HEIGHT
    {
        Border = TRUE;
        Left = TRUE;
        Repeat = TRUE;
        Spin = TRUE;
        Maximum = 9999;
        DecimalDigits = 2;
        Unit = FUNIT_CM;
        Last = 9999;
        SpinSize = 10;
    };

    Image IMG_NARROW
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_narrow_24x24.png";};
    };
    Image IMG_NORMAL
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_nomal_24x24.png";};
    };
    Image IMG_WIDE
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_wide_24x24.png";};
    };
    Image IMG_MIRRORED
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_mirror_24x24.png";};
    };
    Image IMG_NARROW_L
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnarrow_24x24.png";};
    };
    Image IMG_NORMAL_L
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnormal_24x24.png";};
    };
    Image IMG_WIDE_L
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatwide_24x24.png";};
    };
    Image IMG_MIRRORED_L
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatmirror_24x24.png";};
    };
    Image IMG_CUSTOM
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/last_custom_common.png";};
    };
    Image IMG_CUSTOM_DIS
    {
        ImageBitmap = Bitmap{File = "sidebar/pageproppanel/last_custom_common_grey.png";};
    };
    String STR_LCVALUE
    {
        Text [ en-US ] = "Last Custom Values";
    };
    String STR_NARROW
    {
        Text [ en-US ] = "Narrow";
    };
    String STR_NORMAL
    {
        Text [ en-US ] = "Normal";
    };
    String STR_WIDE
    {
        Text [ en-US ] = "Wide";
    };
    String STR_MIRRORED
    {
        Text [ en-US ] = "Mirrored";
    };
    String STR_MARGIN_TOOLTIP_LEFT
    {
        Text [ en-US ] = "Left: ";
    };
    String STR_MARGIN_TOOLTIP_RIGHT
    {
        Text [ en-US ] = ". Right: ";
    };
    String STR_MARGIN_TOOLTIP_INNER
    {
        Text [ en-US ] = "Inner: ";
    };
    String STR_MARGIN_TOOLTIP_OUTER
    {
        Text [ en-US ] = ". Outer: ";
    };
    String STR_MARGIN_TOOLTIP_TOP
    {
        Text [ en-US ] = ". Top: ";
    };
    String STR_MARGIN_TOOLTIP_BOT
    {
        Text [ en-US ] = ". Bottom: ";
    };
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */