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