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