Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / svx / source / sidebar / paragraph / ParaPropertyPanel.hrc
blob9f5d0c107b1071097a060506005e8305f720325b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
20 #include "svx/dialogs.hrc"
22 #define IMG_SPACE3          (RID_SVX_SIDEBAR_BEGIN +  0)
23 #define IMG_INDENT_HANG     (RID_SVX_SIDEBAR_BEGIN +  1)
24 #define IMG_SPACING1        (RID_SVX_SIDEBAR_BEGIN +  2)
25 #define IMG_SPACING115      (RID_SVX_SIDEBAR_BEGIN +  3)
26 #define IMG_SPACING15       (RID_SVX_SIDEBAR_BEGIN +  4)
27 #define IMG_SPACING2        (RID_SVX_SIDEBAR_BEGIN +  5)
28 #define IMG_SEL_SPACING1    (RID_SVX_SIDEBAR_BEGIN +  6)
29 #define IMG_SEL_SPACING115  (RID_SVX_SIDEBAR_BEGIN +  7)
30 #define IMG_SEL_SPACING15   (RID_SVX_SIDEBAR_BEGIN +  8)
31 #define IMG_SEL_SPACING2    (RID_SVX_SIDEBAR_BEGIN +  9)
32 #define IMG_CUSTOM          (RID_SVX_SIDEBAR_BEGIN + 10)
33 #define IMG_CUSTOM_GRAY     (RID_SVX_SIDEBAR_BEGIN + 11)
34 #define IL_NUM_BULLET       (RID_SVX_SIDEBAR_BEGIN + 12)
35 #define IL_NUM_BULLET_RTL   (RID_SVX_SIDEBAR_BEGIN + 13)
37 //for numbering and bullet
38 #define IID_BULLET          1
39 #define IID_NUMBER          2
40 //============================== popup bullet and numbering & back color =========================
41 #define VS_VALUES           1
42 #define CB_BULLET_MORE      4
43 #define BMP_BULLET_MORE     5
45 #define VS_NUMBERING        10
46 #define CB_NUMBERING_MORE   12
47 #define BMP_NUMERING_MORE   13
48 #define VS_FONT_COLOR       1
49 #define STR_NOFILL          2
51 //============================== line space popup page ==============================
53 #define LB_LINE_SPACING                    1
54 #define ED_SBINDE_LINEDISTPERCENT          2
55 #define ED_SBINDE_LINEDISTPOINT            3
57 #define FT_CUSTOM                          14
58 #define FT_LINE_SPACING                    15
59 #define FT_OF                              16
60 #define LINE_SPACING                       29
61 #define STR_SPACING1                       30
62 #define STR_SPACING115                     31
63 #define STR_SPACING15                      32
64 #define STR_SPACING2                       33
65 #define STR_LCVALUE                        36
66 #define STR_LS_SINGLE                      37
67 #define STR_LS_115                         38
68 #define STR_LS_15                          39
69 #define STR_LS_DOUBLE                      40
70 #define STR_LSPACING                       41
71 #define STR_LS_OF                          42
73 //============================== Help ID ==============================
74 #define HID_POPUP_BULLET_CB_BULLET_MORE "HID_POPUP_BULLET_CB_BULLET_MORE"
75 #define HID_POPUP_BULLET_VS_VALUES      "HID_POPUP_BULLET_VS_VALUES"
76 #define HID_POPUP_NUM_CB_NUMBERING_MORE "HID_POPUP_NUM_CB_NUMBERING_MORE"
77 #define HID_POPUP_NUM_VS_NUMBERING      "HID_POPUP_NUM_VS_NUMBERING"
79 #define HID_POPUP_LS_LB_LINE_SPACING            "HID_POPUP_LS_LB_LINE_SPACING"
80 #define HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT  "HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT"
81 #define HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT     "HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT"
83 //============================== Property ==============================
84 #define _FIXED_TEXT_HEIGHT          9
85 #define _FIXED_TEXT_WIDTH           40
86 #define CONTROL_HEIGHT              15
87 #define CONTROL_WIDTH               45
88 #define LISTBOX_HEIGHT              80
89 #define TOOLBOX_HEIGHT              22
90 #define TOOLBOX_WIDTH               23
91 #define VS_SPACING_WIDTH            78
93 //==============================numbering and bullet==============================
94 #define POPUPPANEL_MARGIN_NB   4
96 #define NB_IMAGE_WIDTH      25
97 #define NB_IMAGE_HEIGHT     25
98 #define NB_IMAGE_SPACING    5
100 #define BULLET_IMAGE_WIDTH      NB_IMAGE_WIDTH
101 #define BULLET_IMAGE_HEIGHT     NB_IMAGE_HEIGHT
102 #define BULLET_IMAGE_SPACING    NB_IMAGE_SPACING
104 #define NUM_IMAGE_WIDTH     25
105 #define NUM_IMAGE_HEIGHT    35
106 #define NUM_IMAGE_SPACING   NB_IMAGE_SPACING
108 #define FIXED_TEXT_HEIGHT        13
109 #define FIXED_TEXT_WIDTH         80
110 #define CUST_MORE_BUTTON_HEIGHT  15
112 #define VS_WIDTH_BULLET     BULLET_IMAGE_WIDTH*3+BULLET_IMAGE_SPACING*2
113 #define VS_HEIGHT_BULLET    BULLET_IMAGE_HEIGHT*4+BULLET_IMAGE_SPACING*3
114 #define VS_WIDTH_NUM        NUM_IMAGE_WIDTH*3+NB_IMAGE_SPACING*2
115 #define VS_HEIGHT_NUM       NUM_IMAGE_HEIGHT*3+NB_IMAGE_SPACING*2
117 #define POPUP_WIDTH_BULLET  VS_WIDTH_BULLET + POPUPPANEL_MARGIN_NB * 2
118 #define POPUP_HEIGHT_BULLET VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 3 + CUST_MORE_BUTTON_HEIGHT
119 #define POPUP_WIDTH_NUM     VS_WIDTH_NUM + POPUPPANEL_MARGIN_NB * 2
120 #define POPUP_HEIGHT_NUM    VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 3 + CUST_MORE_BUTTON_HEIGHT
122 #define CUST_MORE_BUTTON_X  1
124 //==============================Line Spacing popup page=======================
126 #define POPUP_PAGE_HEIGHT    POP_BORDER_Y + BD_HEIGHT + POPUPPANEL_MARGIN_NB + OFFSET_Y
127 #define POP_FT_CUSTOM_X      POPUPPANEL_MARGIN_NB + OFFSET_X
128 #define POP_FT_CUSTOM_Y      POPUPPANEL_MARGIN_SMALL * 2 + 17 * 5
129 #define POP_BORDER_X         POPUPPANEL_MARGIN_NB + OFFSET_X + 1
130 #define POP_BORDER_Y         POPUPPANEL_MARGIN_SMALL * 3 + 17 * 5 + TEXT_HEIGHT
131 #define BD_WIDTH             VS_SPACING_WIDTH - 6
132 #define BD_HEIGHT            TEXT_HEIGHT*2 + CONTROL_HEIGHT*2 + CONTROL_SPACING_VERTICAL*3 + TEXT_CONTROL_SPACING_VERTICAL*2 - 4
134 #define FT_1_X               POP_BORDER_X + POPUPPANEL_MARGIN_LARGE
135 #define FT_1_Y               POP_BORDER_Y + CONTROL_SPACING_VERTICAL
136 #define EDIT_1_X             FT_1_X
137 #define EDIT_1_Y             FT_1_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
138 #define FT_2_X               FT_1_X
139 #define FT_2_Y               EDIT_1_Y + CONTROL_HEIGHT + CONTROL_SPACING_VERTICAL - 3
140 #define EDIT_2_X             FT_1_X
141 #define EDIT_2_Y             FT_2_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
143 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */