summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PagePropertyPanel.hrc
blob: 7c87d7ef0e8bacacdbc35fe9007f52c710ed6573 (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
/* -*- 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_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)

// local

#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 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_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: */