summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/paragraph/ParaPropertyPanel.hrc
blob: 8a5c1dcaf2d5e51baf9720df3fc180ec2a4d57a5 (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
/* -*- 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 "svx/dialogs.hrc"

//for numbering and bullet
#define IID_BULLET          1
#define IID_NUMBER          2
//============================== popup bullet and numbering & back color =========================
#define VS_VALUES           1
#define CB_BULLET_MORE      4
#define BMP_BULLET_MORE     5

#define VS_NUMBERING        10
#define CB_NUMBERING_MORE   12
#define BMP_NUMERING_MORE   13
#define VS_FONT_COLOR       1
#define STR_NOFILL          2

//============================== line space popup page ==============================

#define LB_LINE_SPACING                    1
#define ED_SBINDE_LINEDISTPERCENT          2
#define ED_SBINDE_LINEDISTPOINT            3

#define FT_CUSTOM                          14
#define FT_LINE_SPACING                    15
#define FT_OF                              16
#define LINE_SPACING                       29
#define STR_SPACING1                       30
#define STR_SPACING115                     31
#define STR_SPACING15                      32
#define STR_SPACING2                       33
#define STR_LCVALUE                        36
#define STR_LS_SINGLE                      37
#define STR_LS_115                         38
#define STR_LS_15                          39
#define STR_LS_DOUBLE                      40
#define STR_LSPACING                       41
#define STR_LS_OF                          42

//============================== Help ID ==============================
#define HID_POPUP_BULLET_CB_BULLET_MORE "HID_POPUP_BULLET_CB_BULLET_MORE"
#define HID_POPUP_BULLET_VS_VALUES      "HID_POPUP_BULLET_VS_VALUES"
#define HID_POPUP_NUM_CB_NUMBERING_MORE "HID_POPUP_NUM_CB_NUMBERING_MORE"
#define HID_POPUP_NUM_VS_NUMBERING      "HID_POPUP_NUM_VS_NUMBERING"

#define HID_POPUP_LS_LB_LINE_SPACING            "HID_POPUP_LS_LB_LINE_SPACING"
#define HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT  "HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT"
#define HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT     "HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT"

//============================== Property ==============================
#define _FIXED_TEXT_HEIGHT          9
#define _FIXED_TEXT_WIDTH           40
#define CONTROL_HEIGHT              15
#define CONTROL_WIDTH               45
#define LISTBOX_HEIGHT              80
#define TOOLBOX_HEIGHT              22
#define TOOLBOX_WIDTH               23
#define VS_SPACING_WIDTH            78

//==============================numbering and bullet==============================
#define POPUPPANEL_MARGIN_NB   4

#define NB_IMAGE_WIDTH      25
#define NB_IMAGE_HEIGHT     25
#define NB_IMAGE_SPACING    5

#define BULLET_IMAGE_WIDTH      NB_IMAGE_WIDTH
#define BULLET_IMAGE_HEIGHT     NB_IMAGE_HEIGHT
#define BULLET_IMAGE_SPACING    NB_IMAGE_SPACING

#define NUM_IMAGE_WIDTH     25
#define NUM_IMAGE_HEIGHT    35
#define NUM_IMAGE_SPACING   NB_IMAGE_SPACING

#define FIXED_TEXT_HEIGHT        13
#define FIXED_TEXT_WIDTH         80
#define CUST_MORE_BUTTON_HEIGHT  15

#define VS_WIDTH_BULLET     BULLET_IMAGE_WIDTH*3+BULLET_IMAGE_SPACING*2
#define VS_HEIGHT_BULLET    BULLET_IMAGE_HEIGHT*4+BULLET_IMAGE_SPACING*3
#define VS_WIDTH_NUM        NUM_IMAGE_WIDTH*3+NB_IMAGE_SPACING*2
#define VS_HEIGHT_NUM       NUM_IMAGE_HEIGHT*3+NB_IMAGE_SPACING*2

#define POPUP_WIDTH_BULLET  VS_WIDTH_BULLET + POPUPPANEL_MARGIN_NB * 2
#define POPUP_HEIGHT_BULLET VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 3 + CUST_MORE_BUTTON_HEIGHT
#define POPUP_WIDTH_NUM     VS_WIDTH_NUM + POPUPPANEL_MARGIN_NB * 2
#define POPUP_HEIGHT_NUM    VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 3 + CUST_MORE_BUTTON_HEIGHT

#define CUST_MORE_BUTTON_X  1

//==============================Line Spacing popup page=======================

#define POPUP_PAGE_HEIGHT    POP_BORDER_Y + BD_HEIGHT + POPUPPANEL_MARGIN_NB + OFFSET_Y
#define POP_FT_CUSTOM_X      POPUPPANEL_MARGIN_NB + OFFSET_X
#define POP_FT_CUSTOM_Y      POPUPPANEL_MARGIN_SMALL * 2 + 17 * 5
#define POP_BORDER_X         POPUPPANEL_MARGIN_NB + OFFSET_X + 1
#define POP_BORDER_Y         POPUPPANEL_MARGIN_SMALL * 3 + 17 * 5 + TEXT_HEIGHT
#define BD_WIDTH             VS_SPACING_WIDTH - 6
#define BD_HEIGHT            TEXT_HEIGHT*2 + CONTROL_HEIGHT*2 + CONTROL_SPACING_VERTICAL*3 + TEXT_CONTROL_SPACING_VERTICAL*2 - 4

#define FT_1_X               POP_BORDER_X + POPUPPANEL_MARGIN_LARGE
#define FT_1_Y               POP_BORDER_Y + CONTROL_SPACING_VERTICAL
#define EDIT_1_X             FT_1_X
#define EDIT_1_Y             FT_1_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
#define FT_2_X               FT_1_X
#define FT_2_Y               EDIT_1_Y + CONTROL_HEIGHT + CONTROL_SPACING_VERTICAL - 3
#define EDIT_2_X             FT_1_X
#define EDIT_2_Y             FT_2_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL

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