xref: /aoo4110/main/sw/source/ui/frmdlg/frmpage.hrc (revision b1cdbd2c)
1*b1cdbd2cSJim Jagielski/**************************************************************
2*b1cdbd2cSJim Jagielski *
3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski *
11*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski *
13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski * under the License.
19*b1cdbd2cSJim Jagielski *
20*b1cdbd2cSJim Jagielski *************************************************************/
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielski
23*b1cdbd2cSJim Jagielski
24*b1cdbd2cSJim Jagielski#include <svtools/controldims.hrc>
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski#define RB_ANCHOR_PAGE			1
27*b1cdbd2cSJim Jagielski#define RB_ANCHOR_PARA          2
28*b1cdbd2cSJim Jagielski#define RB_ANCHOR_AT_CHAR       3
29*b1cdbd2cSJim Jagielski#define RB_ANCHOR_AS_CHAR       4
30*b1cdbd2cSJim Jagielski#define RB_ANCHOR_FRAME         5
31*b1cdbd2cSJim Jagielski#define WN_BSP                  21
32*b1cdbd2cSJim Jagielski#define FT_BSP                  22
33*b1cdbd2cSJim Jagielski
34*b1cdbd2cSJim Jagielski
35*b1cdbd2cSJim Jagielski// SwFrmPage
36*b1cdbd2cSJim Jagielski#define FL_TYPE                 26
37*b1cdbd2cSJim Jagielski#define FT_WIDTH                27
38*b1cdbd2cSJim Jagielski#define ED_WIDTH                28
39*b1cdbd2cSJim Jagielski#define FT_HEIGHT               29
40*b1cdbd2cSJim Jagielski#define ED_HEIGHT               30
41*b1cdbd2cSJim Jagielski#define CB_AUTOHEIGHT           31
42*b1cdbd2cSJim Jagielski#define FL_SIZE                 32
43*b1cdbd2cSJim Jagielski#define FT_HORIZONTAL           33
44*b1cdbd2cSJim Jagielski#define DLB_HORIZONTAL          34
45*b1cdbd2cSJim Jagielski#define FT_AT_HORZ_POS          35
46*b1cdbd2cSJim Jagielski#define ED_AT_HORZ_POS          36
47*b1cdbd2cSJim Jagielski#define FT_HORI_RELATION		1
48*b1cdbd2cSJim Jagielski#define LB_HORI_RELATION		2
49*b1cdbd2cSJim Jagielski#define CB_MIRROR				37
50*b1cdbd2cSJim Jagielski#define FT_VERTICAL             38
51*b1cdbd2cSJim Jagielski#define DLB_VERTICAL            39
52*b1cdbd2cSJim Jagielski#define FT_AT_VERT_POS          40
53*b1cdbd2cSJim Jagielski#define ED_AT_VERT_POS          41
54*b1cdbd2cSJim Jagielski#define FT_VERT_RELATION		3
55*b1cdbd2cSJim Jagielski#define LB_VERT_RELATION		4
56*b1cdbd2cSJim Jagielski#define FL_POSITION             43
57*b1cdbd2cSJim Jagielski#define BT_REALSIZE				44
58*b1cdbd2cSJim Jagielski#define BT_MANUAL				45
59*b1cdbd2cSJim Jagielski#define CB_AUTOWIDTH			46
60*b1cdbd2cSJim Jagielski#define FT_WIDTH_AUTO			47
61*b1cdbd2cSJim Jagielski#define FT_HEIGHT_AUTO			48
62*b1cdbd2cSJim Jagielski
63*b1cdbd2cSJim Jagielski// metrics
64*b1cdbd2cSJim Jagielski#define SWFRMPG_COL_0			RSC_SP_TBPG_INNERBORDER_LEFT
65*b1cdbd2cSJim Jagielski#define SWFRMPG_COL_1			(SWFRMPG_COL_0+RSC_SP_FLGR_INNERBORDER_LEFT)
66*b1cdbd2cSJim Jagielski#define SWFRMPG_COL_2			(SWFRMPG_COL_1+RSC_SP_FLGR_INNERBORDER_LEFT)
67*b1cdbd2cSJim Jagielski#define SWFRMPG_COL_3			76
68*b1cdbd2cSJim Jagielski#define	SWFRMPG_COL_4			109
69*b1cdbd2cSJim Jagielski
70*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_CONDENSE	1
71*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_0			RSC_SP_TBPG_INNERBORDER_TOP
72*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_1			(SWFRMPG_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP-SWFRMPG_ROW_CONDENSE)
73*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_2			(SWFRMPG_ROW_1+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
74*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_3			(SWFRMPG_ROW_1+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
75*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_4			(SWFRMPG_ROW_3+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
76*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_5			(SWFRMPG_ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
77*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_6			(SWFRMPG_ROW_5+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
78*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_7			(SWFRMPG_ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
79*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_8			(SWFRMPG_ROW_7+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
80*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_9			(SWFRMPG_ROW_8+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
81*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_10			(SWFRMPG_ROW_9+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y-SWFRMPG_ROW_CONDENSE)
82*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_11			(SWFRMPG_ROW_10+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP)
83*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_12			(SWFRMPG_ROW_11+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
84*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_13			(SWFRMPG_ROW_11+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
85*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_14			(SWFRMPG_ROW_13+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
86*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_15			(SWFRMPG_ROW_14+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
87*b1cdbd2cSJim Jagielski#define SWFRMPG_ROW_16			(SWFRMPG_ROW_14+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
88*b1cdbd2cSJim Jagielski
89*b1cdbd2cSJim Jagielski
90*b1cdbd2cSJim Jagielski#define CB_HOR 		            46
91*b1cdbd2cSJim Jagielski#define CB_VERT 		        47
92*b1cdbd2cSJim Jagielski//#define LB_MIRROR_PAGES			49
93*b1cdbd2cSJim Jagielski//#define FT_MIRROR_PAGES			50
94*b1cdbd2cSJim Jagielski#define FL_MIRROR                               51
95*b1cdbd2cSJim Jagielski#define WN_BMP					52
96*b1cdbd2cSJim Jagielski#define PB_BROWSE               53
97*b1cdbd2cSJim Jagielski#define ED_CONNECT              54
98*b1cdbd2cSJim Jagielski#define FL_CONNECT              55
99*b1cdbd2cSJim Jagielski#define FT_CONNECT         		57
100*b1cdbd2cSJim Jagielski#define FT_URL		        	58
101*b1cdbd2cSJim Jagielski#define ED_URL         			59
102*b1cdbd2cSJim Jagielski
103*b1cdbd2cSJim Jagielski#define BMP_EXAMPLE				62
104*b1cdbd2cSJim Jagielski#define BMP_EXAMPLE_HC          63
105*b1cdbd2cSJim Jagielski#define RB_MIRROR_ALL_PAGES     64
106*b1cdbd2cSJim Jagielski#define RB_MIRROR_LEFT_PAGES    65
107*b1cdbd2cSJim Jagielski#define RB_MIRROR_RIGHT_PAGES   66
108*b1cdbd2cSJim Jagielski
109*b1cdbd2cSJim Jagielski#define FL_HYPERLINK                    94
110*b1cdbd2cSJim Jagielski#define FT_FRAME                95
111*b1cdbd2cSJim Jagielski#define CB_FRAME                96
112*b1cdbd2cSJim Jagielski#define FL_IMAGE                97
113*b1cdbd2cSJim Jagielski#define CB_SERVER               98
114*b1cdbd2cSJim Jagielski#define CB_CLIENT               99
115*b1cdbd2cSJim Jagielski
116*b1cdbd2cSJim Jagielski#define CB_REL_WIDTH			100
117*b1cdbd2cSJim Jagielski#define CB_REL_HEIGHT			101
118*b1cdbd2cSJim Jagielski#define CB_FIXEDRATIO			102
119*b1cdbd2cSJim Jagielski#define PB_SEARCH				103
120*b1cdbd2cSJim Jagielski
121*b1cdbd2cSJim Jagielski#define CB_ANCHOR_ONLY			103
122*b1cdbd2cSJim Jagielski
123*b1cdbd2cSJim Jagielski#define FT_NAME					110
124*b1cdbd2cSJim Jagielski#define ED_NAME                 111
125*b1cdbd2cSJim Jagielski#define FT_ALT_NAME             112
126*b1cdbd2cSJim Jagielski#define ED_ALT_NAME             113
127*b1cdbd2cSJim Jagielski#define FT_PREV                 114
128*b1cdbd2cSJim Jagielski#define LB_PREV                 115
129*b1cdbd2cSJim Jagielski#define FT_NEXT                 116
130*b1cdbd2cSJim Jagielski#define LB_NEXT                 117
131*b1cdbd2cSJim Jagielski#define FL_NAME                 118
132*b1cdbd2cSJim Jagielski#define CB_PROTECT_CONTENT      119
133*b1cdbd2cSJim Jagielski#define CB_PROTECT_FRAME        120
134*b1cdbd2cSJim Jagielski#define CB_PROTECT_SIZE         121
135*b1cdbd2cSJim Jagielski#define FL_PROTECT              122
136*b1cdbd2cSJim Jagielski#define CB_EDIT_IN_READONLY     123
137*b1cdbd2cSJim Jagielski#define CB_PRINT_FRAME          124
138*b1cdbd2cSJim Jagielski#define FL_EXT                  125
139*b1cdbd2cSJim Jagielski#define FL_TYPE_SEP             126
140*b1cdbd2cSJim Jagielski#define FT_TEXTFLOW             127
141*b1cdbd2cSJim Jagielski#define LB_TEXTFLOW             128
142*b1cdbd2cSJim Jagielski#define CB_FOLLOWTEXTFLOW       129
143