1*8414840eSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8414840eSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8414840eSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8414840eSAndrew Rist * distributed with this work for additional information 6*8414840eSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8414840eSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8414840eSAndrew Rist * "License"); you may not use this file except in compliance 9*8414840eSAndrew Rist * with the License. You may obtain a copy of the License at 10*8414840eSAndrew Rist * 11*8414840eSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8414840eSAndrew Rist * 13*8414840eSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8414840eSAndrew Rist * software distributed under the License is distributed on an 15*8414840eSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8414840eSAndrew Rist * KIND, either express or implied. See the License for the 17*8414840eSAndrew Rist * specific language governing permissions and limitations 18*8414840eSAndrew Rist * under the License. 19*8414840eSAndrew Rist * 20*8414840eSAndrew Rist *************************************************************/ 21*8414840eSAndrew Rist 22*8414840eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <svtools/controldims.hrc> 25cdf0e10cSrcweir 26cdf0e10cSrcweir#define PB_OK 1 27cdf0e10cSrcweir#define PB_CANCEL 2 28cdf0e10cSrcweir#define PB_HELP 3 29cdf0e10cSrcweir#define PB_BACK 4 30cdf0e10cSrcweir#define TLB_PAGES 5 31cdf0e10cSrcweir#define FT_HELPTEXT 6 32cdf0e10cSrcweir#define STR_HELPTEXTS 7 33cdf0e10cSrcweir#define IMG_LIST 8 34cdf0e10cSrcweir#define IMG_HELP 9 35cdf0e10cSrcweir#define FT_PAGE_TITLE 10 36cdf0e10cSrcweir#define FL_LINE_1 11 37cdf0e10cSrcweir 38cdf0e10cSrcweir#define BMP_ROOT_CLOSED 17 39cdf0e10cSrcweir#define BMP_ROOT_OPENED 18 40cdf0e10cSrcweir#define FB_BORDER 19 41cdf0e10cSrcweir 42cdf0e10cSrcweir#define IMG_HINT 20 43cdf0e10cSrcweir#define FT_HINT 21 44cdf0e10cSrcweir#define CB_DISABLE 22 45cdf0e10cSrcweir#define BTN_HINT 23 46cdf0e10cSrcweir#define ST_LOAD_ERROR 24 47cdf0e10cSrcweir 48cdf0e10cSrcweir#define STR_GENERAL_PAGES_START 1 49cdf0e10cSrcweir#define STR_GENERAL (STR_GENERAL_PAGES_START) 50cdf0e10cSrcweir#define STR_MISC_PAGE (STR_GENERAL_PAGES_START + 1) 51cdf0e10cSrcweir#define STR_DESKTOP_PAGE (STR_GENERAL_PAGES_START + 2) 52cdf0e10cSrcweir#define STR_VIEW_PAGE (STR_GENERAL_PAGES_START + 3) 53cdf0e10cSrcweir#define STR_FONT_PAGE (STR_GENERAL_PAGES_START + 4) 54cdf0e10cSrcweir#define STR_PRINT_PAGE (STR_GENERAL_PAGES_START + 5) 55cdf0e10cSrcweir#define STR_COLOR_PAGE (STR_GENERAL_PAGES_START + 6) 56cdf0e10cSrcweir#define STR_LING_PAGE (STR_GENERAL_PAGES_START + 7) 57cdf0e10cSrcweir#define STR_PATH_PAGE (STR_GENERAL_PAGES_START + 8) 58cdf0e10cSrcweir#define STR_SAVE_PAGE (STR_GENERAL_PAGES_START + 9) 59cdf0e10cSrcweir#define STR_USERDATA_PAGE (STR_GENERAL_PAGES_START + 10) 60cdf0e10cSrcweir 61cdf0e10cSrcweir#define FB_IMAGE 43 62cdf0e10cSrcweir 63cdf0e10cSrcweir 64cdf0e10cSrcweir// metrics 65cdf0e10cSrcweir 66cdf0e10cSrcweir#define WIDTH_PAGEFRAME 263 67cdf0e10cSrcweir#define HEIGHT_PAGEFRAME 191 68cdf0e10cSrcweir#define WIDTH_IMG_HELP 25 69cdf0e10cSrcweir#define HEIGHT_IMG_HELP 30 70cdf0e10cSrcweir 71cdf0e10cSrcweir#define COL_1 (RSC_SP_DLG_INNERBORDER_LEFT) 72cdf0e10cSrcweir#define COL_2 (COL_1+0) 73cdf0e10cSrcweir#define COL_3 (COL_2+RSC_SP_GRP_SPACE_X) 74cdf0e10cSrcweir#define COL_11 (COL_3+WIDTH_PAGEFRAME) 75cdf0e10cSrcweir#define COL_12 (COL_11+RSC_SP_DLG_INNERBORDER_RIGHT) 76cdf0e10cSrcweir#define COL_10 (COL_11-RSC_CD_PUSHBUTTON_WIDTH) 77cdf0e10cSrcweir#define COL_9 (COL_10-RSC_SP_CTRL_GROUP_X) 78cdf0e10cSrcweir#define COL_8 (COL_9-RSC_CD_PUSHBUTTON_WIDTH) 79cdf0e10cSrcweir#define COL_7 (COL_8-RSC_SP_CTRL_GROUP_X) 80cdf0e10cSrcweir#define COL_6 (COL_7-RSC_CD_PUSHBUTTON_WIDTH) 81cdf0e10cSrcweir#define COL_5 (COL_6-RSC_SP_CTRL_GROUP_X) 82cdf0e10cSrcweir#define COL_4 (COL_5-RSC_CD_PUSHBUTTON_WIDTH) 83cdf0e10cSrcweir#define COL_3_1 (COL_3+RSC_SP_TBPG_INNERBORDER_LEFT) 84cdf0e10cSrcweir#define COL_3_3 (COL_3_1+WIDTH_IMG_HELP) 85cdf0e10cSrcweir#define COL_3_5 (COL_11-RSC_SP_TBPG_INNERBORDER_RIGHT) 86cdf0e10cSrcweir 87cdf0e10cSrcweir#define ROW_1 (RSC_SP_DLG_INNERBORDER_TOP) 88cdf0e10cSrcweir#define ROW_2 (ROW_1+HEIGHT_PAGEFRAME) 89cdf0e10cSrcweir#define ROW_3 (ROW_2+RSC_SP_CTRL_GROUP_Y) 90cdf0e10cSrcweir#define ROW_4 (ROW_3+RSC_CD_PUSHBUTTON_HEIGHT) 91cdf0e10cSrcweir#define ROW_5 (ROW_4+RSC_SP_DLG_INNERBORDER_BOTTOM) 92cdf0e10cSrcweir#define ROW_1_1 (ROW_1+2) 93cdf0e10cSrcweir#define ROW_1_2 (ROW_1+12) 94cdf0e10cSrcweir#define ROW_1_3 (ROW_1_1+HEIGHT_IMG_HELP+2) 95cdf0e10cSrcweir#define ROW_1_4 (ROW_1_3+8) 96cdf0e10cSrcweir 97