summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg/frmpage.hrc
blob: a1f213ee6b4c8303913b6971984523467edf78d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#include <svtools/controldims.hrc>

#define RB_ANCHOR_PAGE			1
#define RB_ANCHOR_PARA          2
#define RB_ANCHOR_AT_CHAR       3
#define RB_ANCHOR_AS_CHAR       4
#define RB_ANCHOR_FRAME         5
#define WN_BSP                  21
#define FT_BSP                  22


// SwFrmPage
#define FL_TYPE                 26
#define FT_WIDTH                27
#define ED_WIDTH                28
#define FT_HEIGHT               29
#define ED_HEIGHT               30
#define CB_AUTOHEIGHT           31
#define FL_SIZE                 32
#define FT_HORIZONTAL           33
#define DLB_HORIZONTAL          34
#define FT_AT_HORZ_POS          35
#define ED_AT_HORZ_POS          36
#define FT_HORI_RELATION		1
#define LB_HORI_RELATION		2
#define CB_MIRROR				37
#define FT_VERTICAL             38
#define DLB_VERTICAL            39
#define FT_AT_VERT_POS          40
#define ED_AT_VERT_POS          41
#define FT_VERT_RELATION		3
#define LB_VERT_RELATION		4
#define FL_POSITION             43
#define BT_REALSIZE				44
#define BT_MANUAL				45
#define CB_AUTOWIDTH			46
#define FT_WIDTH_AUTO			47
#define FT_HEIGHT_AUTO			48

// metrics
#define SWFRMPG_COL_0			RSC_SP_TBPG_INNERBORDER_LEFT
#define SWFRMPG_COL_1			(SWFRMPG_COL_0+RSC_SP_FLGR_INNERBORDER_LEFT)
#define SWFRMPG_COL_2			(SWFRMPG_COL_1+RSC_SP_FLGR_INNERBORDER_LEFT)
#define SWFRMPG_COL_3			76
#define	SWFRMPG_COL_4			109

#define SWFRMPG_ROW_CONDENSE	1
#define SWFRMPG_ROW_0			RSC_SP_TBPG_INNERBORDER_TOP
#define SWFRMPG_ROW_1			(SWFRMPG_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_2			(SWFRMPG_ROW_1+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
#define SWFRMPG_ROW_3			(SWFRMPG_ROW_1+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_4			(SWFRMPG_ROW_3+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_5			(SWFRMPG_ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_6			(SWFRMPG_ROW_5+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
#define SWFRMPG_ROW_7			(SWFRMPG_ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_8			(SWFRMPG_ROW_7+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_9			(SWFRMPG_ROW_8+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
#define SWFRMPG_ROW_10			(SWFRMPG_ROW_9+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y-SWFRMPG_ROW_CONDENSE)
#define SWFRMPG_ROW_11			(SWFRMPG_ROW_10+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP)
#define SWFRMPG_ROW_12			(SWFRMPG_ROW_11+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
#define SWFRMPG_ROW_13			(SWFRMPG_ROW_11+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
#define SWFRMPG_ROW_14			(SWFRMPG_ROW_13+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
#define SWFRMPG_ROW_15			(SWFRMPG_ROW_14+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
#define SWFRMPG_ROW_16			(SWFRMPG_ROW_14+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)


#define CB_HOR 		            46
#define CB_VERT 		        47
//#define LB_MIRROR_PAGES			49
//#define FT_MIRROR_PAGES			50
#define FL_MIRROR                               51
#define WN_BMP					52
#define PB_BROWSE               53
#define ED_CONNECT              54
#define FL_CONNECT              55
#define FT_CONNECT         		57
#define FT_URL		        	58
#define ED_URL         			59

#define BMP_EXAMPLE				62
#define BMP_EXAMPLE_HC          63
#define RB_MIRROR_ALL_PAGES     64
#define RB_MIRROR_LEFT_PAGES    65
#define RB_MIRROR_RIGHT_PAGES   66

#define FL_HYPERLINK                    94
#define FT_FRAME                95
#define CB_FRAME                96
#define FL_IMAGE                97
#define CB_SERVER               98
#define CB_CLIENT               99

#define CB_REL_WIDTH			100
#define CB_REL_HEIGHT			101
#define CB_FIXEDRATIO			102
#define PB_SEARCH				103

#define CB_ANCHOR_ONLY			103

#define FT_NAME					110
#define ED_NAME                 111
#define FT_ALT_NAME             112
#define ED_ALT_NAME             113
#define FT_PREV                 114
#define LB_PREV                 115
#define FT_NEXT                 116
#define LB_NEXT                 117
#define FL_NAME                 118
#define CB_PROTECT_CONTENT      119
#define CB_PROTECT_FRAME        120
#define CB_PROTECT_SIZE         121
#define FL_PROTECT              122
#define CB_EDIT_IN_READONLY     123
#define CB_PRINT_FRAME          124
#define FL_EXT                  125
#define FL_TYPE_SEP             126
#define FT_TEXTFLOW             127
#define LB_TEXTFLOW             128
#define CB_FOLLOWTEXTFLOW       129