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