1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#include <svtools/controldims.hrc> 29 30#define PB_OK 1 31#define PB_CANCEL 2 32#define PB_HELP 3 33#define PB_BACK 4 34#define TLB_PAGES 5 35#define FT_HELPTEXT 6 36#define STR_HELPTEXTS 7 37#define IMG_LIST 8 38#define IMG_HELP 9 39#define FT_PAGE_TITLE 10 40#define FL_LINE_1 11 41 42#define BMP_ROOT_CLOSED 17 43#define BMP_ROOT_OPENED 18 44#define FB_BORDER 19 45 46#define IMG_HINT 20 47#define FT_HINT 21 48#define CB_DISABLE 22 49#define BTN_HINT 23 50#define ST_LOAD_ERROR 24 51 52#define STR_GENERAL_PAGES_START 1 53#define STR_GENERAL (STR_GENERAL_PAGES_START) 54#define STR_MISC_PAGE (STR_GENERAL_PAGES_START + 1) 55#define STR_DESKTOP_PAGE (STR_GENERAL_PAGES_START + 2) 56#define STR_VIEW_PAGE (STR_GENERAL_PAGES_START + 3) 57#define STR_FONT_PAGE (STR_GENERAL_PAGES_START + 4) 58#define STR_PRINT_PAGE (STR_GENERAL_PAGES_START + 5) 59#define STR_COLOR_PAGE (STR_GENERAL_PAGES_START + 6) 60#define STR_LING_PAGE (STR_GENERAL_PAGES_START + 7) 61#define STR_PATH_PAGE (STR_GENERAL_PAGES_START + 8) 62#define STR_SAVE_PAGE (STR_GENERAL_PAGES_START + 9) 63#define STR_USERDATA_PAGE (STR_GENERAL_PAGES_START + 10) 64 65#define FB_IMAGE 43 66 67 68// metrics 69 70#define WIDTH_PAGEFRAME 263 71#define HEIGHT_PAGEFRAME 191 72#define WIDTH_IMG_HELP 25 73#define HEIGHT_IMG_HELP 30 74 75#define COL_1 (RSC_SP_DLG_INNERBORDER_LEFT) 76#define COL_2 (COL_1+0) 77#define COL_3 (COL_2+RSC_SP_GRP_SPACE_X) 78#define COL_11 (COL_3+WIDTH_PAGEFRAME) 79#define COL_12 (COL_11+RSC_SP_DLG_INNERBORDER_RIGHT) 80#define COL_10 (COL_11-RSC_CD_PUSHBUTTON_WIDTH) 81#define COL_9 (COL_10-RSC_SP_CTRL_GROUP_X) 82#define COL_8 (COL_9-RSC_CD_PUSHBUTTON_WIDTH) 83#define COL_7 (COL_8-RSC_SP_CTRL_GROUP_X) 84#define COL_6 (COL_7-RSC_CD_PUSHBUTTON_WIDTH) 85#define COL_5 (COL_6-RSC_SP_CTRL_GROUP_X) 86#define COL_4 (COL_5-RSC_CD_PUSHBUTTON_WIDTH) 87#define COL_3_1 (COL_3+RSC_SP_TBPG_INNERBORDER_LEFT) 88#define COL_3_3 (COL_3_1+WIDTH_IMG_HELP) 89#define COL_3_5 (COL_11-RSC_SP_TBPG_INNERBORDER_RIGHT) 90 91#define ROW_1 (RSC_SP_DLG_INNERBORDER_TOP) 92#define ROW_2 (ROW_1+HEIGHT_PAGEFRAME) 93#define ROW_3 (ROW_2+RSC_SP_CTRL_GROUP_Y) 94#define ROW_4 (ROW_3+RSC_CD_PUSHBUTTON_HEIGHT) 95#define ROW_5 (ROW_4+RSC_SP_DLG_INNERBORDER_BOTTOM) 96#define ROW_1_1 (ROW_1+2) 97#define ROW_1_2 (ROW_1+12) 98#define ROW_1_3 (ROW_1_1+HEIGHT_IMG_HELP+2) 99#define ROW_1_4 (ROW_1_3+8) 100 101