2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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 .
22 #define FT_LEADZEROES 5
23 #define ED_LEADZEROES 6
25 #define BTN_THOUSAND 8
26 #define TBX_CATEGORY 9
29 #define ID_CURRENCY 12
33 //===============================================================position=============================================
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