14e8031e0SArmin Le Grand/************************************************************** 24e8031e0SArmin Le Grand * 34e8031e0SArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one 44e8031e0SArmin Le Grand * or more contributor license agreements. See the NOTICE file 54e8031e0SArmin Le Grand * distributed with this work for additional information 64e8031e0SArmin Le Grand * regarding copyright ownership. The ASF licenses this file 74e8031e0SArmin Le Grand * to you under the Apache License, Version 2.0 (the 84e8031e0SArmin Le Grand * "License"); you may not use this file except in compliance 94e8031e0SArmin Le Grand * with the License. You may obtain a copy of the License at 104e8031e0SArmin Le Grand * 114e8031e0SArmin Le Grand * http://www.apache.org/licenses/LICENSE-2.0 124e8031e0SArmin Le Grand * 134e8031e0SArmin Le Grand * Unless required by applicable law or agreed to in writing, 144e8031e0SArmin Le Grand * software distributed under the License is distributed on an 154e8031e0SArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 164e8031e0SArmin Le Grand * KIND, either express or implied. See the License for the 174e8031e0SArmin Le Grand * specific language governing permissions and limitations 184e8031e0SArmin Le Grand * under the License. 194e8031e0SArmin Le Grand * 204e8031e0SArmin Le Grand *************************************************************/ 214e8031e0SArmin Le Grand 224e8031e0SArmin Le Grand#define FT_CATEGORY 1 234e8031e0SArmin Le Grand#define LB_CATEGORY 2 244e8031e0SArmin Le Grand#define FT_DECIMALS 3 254e8031e0SArmin Le Grand#define ED_DECIMALS 4 264e8031e0SArmin Le Grand#define FT_LEADZEROES 5 274e8031e0SArmin Le Grand#define ED_LEADZEROES 6 284e8031e0SArmin Le Grand#define BTN_NEGRED 7 294e8031e0SArmin Le Grand#define BTN_THOUSAND 8 304e8031e0SArmin Le Grand#define TBX_CATEGORY 9 314e8031e0SArmin Le Grand#define ID_NUMBER 10 324e8031e0SArmin Le Grand#define ID_PERCENT 11 334e8031e0SArmin Le Grand#define ID_CURRENCY 12 344e8031e0SArmin Le Grand#define ID_DATE 13 354e8031e0SArmin Le Grand#define ID_TEXT 14 364e8031e0SArmin Le Grand 374e8031e0SArmin Le Grand//===============================================================position============================================= 384e8031e0SArmin Le Grand 394e8031e0SArmin Le Grand#define MBOX_WIDTH 28 40*2bb2fcccSPavel Janík#define LOCAL_TOOLBOX_ITEM_HEIGHT 12 414e8031e0SArmin Le Grand#define CHECKBOX_HEIGHT 10 424e8031e0SArmin Le Grand 434e8031e0SArmin Le Grand#define FT_CATEGORY_X SECTIONPAGE_MARGIN_HORIZONTAL 444e8031e0SArmin Le Grand#define FT_CATEGORY_Y SECTIONPAGE_MARGIN_VERTICAL_TOP 454e8031e0SArmin Le Grand#define LB_CATEGORY_X FT_CATEGORY_X 464e8031e0SArmin Le Grand#define LB_CATEGORY_Y FT_CATEGORY_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 474e8031e0SArmin Le Grand 484e8031e0SArmin Le Grand#define TBX_CATEGORY_X SECTIONPAGE_MARGIN_HORIZONTAL + 1 494e8031e0SArmin Le Grand#define TBX_CATEGORY_Y LB_CATEGORY_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL 504e8031e0SArmin Le Grand 514e8031e0SArmin Le Grand#define FT_DECIMALS_X SECTIONPAGE_MARGIN_HORIZONTAL 52*2bb2fcccSPavel Janík#define FT_DECIMALS_Y TBX_CATEGORY_Y + LOCAL_TOOLBOX_ITEM_HEIGHT + 4 + CONTROL_SPACING_VERTICAL 534e8031e0SArmin Le Grand#define LB_DECIMALS_X FT_CATEGORY_X 544e8031e0SArmin Le Grand#define LB_DECIMALS_Y FT_DECIMALS_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 554e8031e0SArmin Le Grand 564e8031e0SArmin Le Grand#define FT_LEADZEROES_X SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH*2 + CONTROL_SPACING_HORIZONTAL 574e8031e0SArmin Le Grand#define FT_LEADZEROES_Y FT_DECIMALS_Y 584e8031e0SArmin Le Grand#define LB_LEADZEROES_X FT_LEADZEROES_X 594e8031e0SArmin Le Grand#define LB_LEADZEROES_Y FT_LEADZEROES_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL 604e8031e0SArmin Le Grand 614e8031e0SArmin Le Grand#define BTN_NEGRED_X SECTIONPAGE_MARGIN_HORIZONTAL 624e8031e0SArmin Le Grand#define BTN_NEGRED_Y LB_LEADZEROES_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL 634e8031e0SArmin Le Grand 644e8031e0SArmin Le Grand#define BTN_THOUSAND_X SECTIONPAGE_MARGIN_HORIZONTAL 654e8031e0SArmin Le Grand#define BTN_THOUSAND_Y BTN_NEGRED_Y + CHECKBOX_HEIGHT + CONTROL_SPACING_VERTICAL - 3 664e8031e0SArmin Le Grand 674e8031e0SArmin Le Grand#define PROPERTYPAGE_HEIGHT BTN_THOUSAND_Y + CHECKBOX_HEIGHT + 2 684e8031e0SArmin Le Grand 694e8031e0SArmin Le Grand// eof 70