Update ooo320-m1
[ooovba.git] / sw / source / ui / frmdlg / frmpage.hrc
blob07a2515cb3d9f206565083f0d5d84fab0ed97c82
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: frmpage.hrc,v $
10  * $Revision: 1.11 $
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 RB_ANCHOR_PAGE                  1
34 #define RB_ANCHOR_PARA          2
35 #define RB_ANCHOR_AT_CHAR       3
36 #define RB_ANCHOR_AS_CHAR       4
37 #define RB_ANCHOR_FRAME         5
38 #define WN_BSP                  21
39 #define FT_BSP                  22
42 // SwFrmPage
43 #define FL_TYPE                 26
44 #define FT_WIDTH                27
45 #define ED_WIDTH                28
46 #define FT_HEIGHT               29
47 #define ED_HEIGHT               30
48 #define CB_AUTOHEIGHT           31
49 #define FL_SIZE                 32
50 #define FT_HORIZONTAL           33
51 #define DLB_HORIZONTAL          34
52 #define FT_AT_HORZ_POS          35
53 #define ED_AT_HORZ_POS          36
54 #define FT_HORI_RELATION                1
55 #define LB_HORI_RELATION                2
56 #define CB_MIRROR                               37
57 #define FT_VERTICAL             38
58 #define DLB_VERTICAL            39
59 #define FT_AT_VERT_POS          40
60 #define ED_AT_VERT_POS          41
61 #define FT_VERT_RELATION                3
62 #define LB_VERT_RELATION                4
63 #define FL_POSITION             43
64 #define BT_REALSIZE                             44
65 #define BT_MANUAL                               45
66 #define CB_AUTOWIDTH                    46
67 #define FT_WIDTH_AUTO                   47
68 #define FT_HEIGHT_AUTO                  48
70 // metrics
71 #define SWFRMPG_COL_0                   RSC_SP_TBPG_INNERBORDER_LEFT
72 #define SWFRMPG_COL_1                   (SWFRMPG_COL_0+RSC_SP_FLGR_INNERBORDER_LEFT)
73 #define SWFRMPG_COL_2                   (SWFRMPG_COL_1+RSC_SP_FLGR_INNERBORDER_LEFT)
74 #define SWFRMPG_COL_3                   76
75 #define SWFRMPG_COL_4                   109
77 #define SWFRMPG_ROW_CONDENSE    1
78 #define SWFRMPG_ROW_0                   RSC_SP_TBPG_INNERBORDER_TOP
79 #define SWFRMPG_ROW_1                   (SWFRMPG_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP-SWFRMPG_ROW_CONDENSE)
80 #define SWFRMPG_ROW_2                   (SWFRMPG_ROW_1+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
81 #define SWFRMPG_ROW_3                   (SWFRMPG_ROW_1+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
82 #define SWFRMPG_ROW_4                   (SWFRMPG_ROW_3+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
83 #define SWFRMPG_ROW_5                   (SWFRMPG_ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
84 #define SWFRMPG_ROW_6                   (SWFRMPG_ROW_5+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
85 #define SWFRMPG_ROW_7                   (SWFRMPG_ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
86 #define SWFRMPG_ROW_8                   (SWFRMPG_ROW_7+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
87 #define SWFRMPG_ROW_9                   (SWFRMPG_ROW_8+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
88 #define SWFRMPG_ROW_10                  (SWFRMPG_ROW_9+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y-SWFRMPG_ROW_CONDENSE)
89 #define SWFRMPG_ROW_11                  (SWFRMPG_ROW_10+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP)
90 #define SWFRMPG_ROW_12                  (SWFRMPG_ROW_11+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
91 #define SWFRMPG_ROW_13                  (SWFRMPG_ROW_11+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
92 #define SWFRMPG_ROW_14                  (SWFRMPG_ROW_13+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
93 #define SWFRMPG_ROW_15                  (SWFRMPG_ROW_14+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
94 #define SWFRMPG_ROW_16                  (SWFRMPG_ROW_14+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
97 #define CB_HOR                      46
98 #define CB_VERT                         47
99 //#define LB_MIRROR_PAGES                       49
100 //#define FT_MIRROR_PAGES                       50
101 #define FL_MIRROR                               51
102 #define WN_BMP                                  52
103 #define PB_BROWSE               53
104 #define ED_CONNECT              54
105 #define FL_CONNECT              55
106 #define FT_CONNECT                      57
107 #define FT_URL                          58
108 #define ED_URL                          59
110 #define BMP_EXAMPLE                             62
111 #define BMP_EXAMPLE_HC          63
112 #define RB_MIRROR_ALL_PAGES     64
113 #define RB_MIRROR_LEFT_PAGES    65
114 #define RB_MIRROR_RIGHT_PAGES   66
116 #define FL_HYPERLINK                    94
117 #define FT_FRAME                95
118 #define CB_FRAME                96
119 #define FL_IMAGE                97
120 #define CB_SERVER               98
121 #define CB_CLIENT               99
123 #define CB_REL_WIDTH                    100
124 #define CB_REL_HEIGHT                   101
125 #define CB_FIXEDRATIO                   102
126 #define PB_SEARCH                               103
128 #define CB_ANCHOR_ONLY                  103
130 #define FT_NAME                                 110
131 #define ED_NAME                 111
132 #define FT_ALT_NAME             112
133 #define ED_ALT_NAME             113
134 #define FT_PREV                 114
135 #define LB_PREV                 115
136 #define FT_NEXT                 116
137 #define LB_NEXT                 117
138 #define FL_NAME                 118
139 #define CB_PROTECT_CONTENT      119
140 #define CB_PROTECT_FRAME        120
141 #define CB_PROTECT_SIZE         121
142 #define FL_PROTECT              122
143 #define CB_EDIT_IN_READONLY     123
144 #define CB_PRINT_FRAME          124
145 #define FL_EXT                  125
146 #define FL_TYPE_SEP             126
147 #define FT_TEXTFLOW             127
148 #define LB_TEXTFLOW             128
149 #define CB_FOLLOWTEXTFLOW       129