bump product version to 4.1.6.2
[LibreOffice.git] / sc / source / ui / sidebar / NumberFormatPropertyPanel.hrc
blob08e66bc294327540c7946680c48b0bb344d61c1c
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
18 #define FT_CATEGORY                 1
19 #define LB_CATEGORY                 2
20 #define FT_DECIMALS                 3
21 #define ED_DECIMALS                 4
22 #define FT_LEADZEROES               5
23 #define ED_LEADZEROES               6
24 #define BTN_NEGRED                  7
25 #define BTN_THOUSAND                8
26 #define TBX_CATEGORY                9
27 #define ID_NUMBER                   10
28 #define ID_PERCENT                  11
29 #define ID_CURRENCY                 12
30 #define ID_DATE                     13
31 #define ID_TEXT                     14
33 //===============================================================position=============================================
35 #define MBOX_WIDTH                          28
36 #define NF_TOOLBOX_ITEM_HEIGHT              12
37 #define CHECKBOX_HEIGHT                     10
39 #define FT_CATEGORY_X                       SECTIONPAGE_MARGIN_HORIZONTAL
40 #define FT_CATEGORY_Y                       SECTIONPAGE_MARGIN_VERTICAL_TOP
41 #define LB_CATEGORY_X                       FT_CATEGORY_X
42 #define LB_CATEGORY_Y                       FT_CATEGORY_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
44 #define TBX_CATEGORY_X                      SECTIONPAGE_MARGIN_HORIZONTAL + 1
45 #define TBX_CATEGORY_Y                      LB_CATEGORY_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
47 #define FT_DECIMALS_X                       SECTIONPAGE_MARGIN_HORIZONTAL
48 #define FT_DECIMALS_Y                       TBX_CATEGORY_Y + NF_TOOLBOX_ITEM_HEIGHT + 4 + CONTROL_SPACING_VERTICAL
49 #define LB_DECIMALS_X                       FT_CATEGORY_X
50 #define LB_DECIMALS_Y                       FT_DECIMALS_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
52 #define FT_LEADZEROES_X                     SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH*2 + CONTROL_SPACING_HORIZONTAL
53 #define FT_LEADZEROES_Y                     FT_DECIMALS_Y
54 #define LB_LEADZEROES_X                     FT_LEADZEROES_X
55 #define LB_LEADZEROES_Y                     FT_LEADZEROES_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
57 #define BTN_NEGRED_X                        SECTIONPAGE_MARGIN_HORIZONTAL
58 #define BTN_NEGRED_Y                        LB_LEADZEROES_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL
60 #define BTN_THOUSAND_X                      SECTIONPAGE_MARGIN_HORIZONTAL
61 #define BTN_THOUSAND_Y                      BTN_NEGRED_Y + CHECKBOX_HEIGHT + CONTROL_SPACING_VERTICAL - 3
63 #define PROPERTYPAGE_HEIGHT                 BTN_THOUSAND_Y + CHECKBOX_HEIGHT + 2
65 // eof