xref: /aoo41x/main/sw/source/ui/frmdlg/frmpage.hrc (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include <svtools/controldims.hrc>
29
30#define RB_ANCHOR_PAGE			1
31#define RB_ANCHOR_PARA          2
32#define RB_ANCHOR_AT_CHAR       3
33#define RB_ANCHOR_AS_CHAR       4
34#define RB_ANCHOR_FRAME         5
35#define WN_BSP                  21
36#define FT_BSP                  22
37
38
39// SwFrmPage
40#define FL_TYPE                 26
41#define FT_WIDTH                27
42#define ED_WIDTH                28
43#define FT_HEIGHT               29
44#define ED_HEIGHT               30
45#define CB_AUTOHEIGHT           31
46#define FL_SIZE                 32
47#define FT_HORIZONTAL           33
48#define DLB_HORIZONTAL          34
49#define FT_AT_HORZ_POS          35
50#define ED_AT_HORZ_POS          36
51#define FT_HORI_RELATION		1
52#define LB_HORI_RELATION		2
53#define CB_MIRROR				37
54#define FT_VERTICAL             38
55#define DLB_VERTICAL            39
56#define FT_AT_VERT_POS          40
57#define ED_AT_VERT_POS          41
58#define FT_VERT_RELATION		3
59#define LB_VERT_RELATION		4
60#define FL_POSITION             43
61#define BT_REALSIZE				44
62#define BT_MANUAL				45
63#define CB_AUTOWIDTH			46
64#define FT_WIDTH_AUTO			47
65#define FT_HEIGHT_AUTO			48
66
67// metrics
68#define SWFRMPG_COL_0			RSC_SP_TBPG_INNERBORDER_LEFT
69#define SWFRMPG_COL_1			(SWFRMPG_COL_0+RSC_SP_FLGR_INNERBORDER_LEFT)
70#define SWFRMPG_COL_2			(SWFRMPG_COL_1+RSC_SP_FLGR_INNERBORDER_LEFT)
71#define SWFRMPG_COL_3			76
72#define	SWFRMPG_COL_4			109
73
74#define SWFRMPG_ROW_CONDENSE	1
75#define SWFRMPG_ROW_0			RSC_SP_TBPG_INNERBORDER_TOP
76#define SWFRMPG_ROW_1			(SWFRMPG_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP-SWFRMPG_ROW_CONDENSE)
77#define SWFRMPG_ROW_2			(SWFRMPG_ROW_1+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
78#define SWFRMPG_ROW_3			(SWFRMPG_ROW_1+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
79#define SWFRMPG_ROW_4			(SWFRMPG_ROW_3+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
80#define SWFRMPG_ROW_5			(SWFRMPG_ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
81#define SWFRMPG_ROW_6			(SWFRMPG_ROW_5+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
82#define SWFRMPG_ROW_7			(SWFRMPG_ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
83#define SWFRMPG_ROW_8			(SWFRMPG_ROW_7+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y-SWFRMPG_ROW_CONDENSE)
84#define SWFRMPG_ROW_9			(SWFRMPG_ROW_8+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
85#define SWFRMPG_ROW_10			(SWFRMPG_ROW_9+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y-SWFRMPG_ROW_CONDENSE)
86#define SWFRMPG_ROW_11			(SWFRMPG_ROW_10+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_INNERBORDER_TOP)
87#define SWFRMPG_ROW_12			(SWFRMPG_ROW_11+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
88#define SWFRMPG_ROW_13			(SWFRMPG_ROW_11+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
89#define SWFRMPG_ROW_14			(SWFRMPG_ROW_13+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
90#define SWFRMPG_ROW_15			(SWFRMPG_ROW_14+((RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2))
91#define SWFRMPG_ROW_16			(SWFRMPG_ROW_14+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
92
93
94#define CB_HOR 		            46
95#define CB_VERT 		        47
96//#define LB_MIRROR_PAGES			49
97//#define FT_MIRROR_PAGES			50
98#define FL_MIRROR                               51
99#define WN_BMP					52
100#define PB_BROWSE               53
101#define ED_CONNECT              54
102#define FL_CONNECT              55
103#define FT_CONNECT         		57
104#define FT_URL		        	58
105#define ED_URL         			59
106
107#define BMP_EXAMPLE				62
108#define BMP_EXAMPLE_HC          63
109#define RB_MIRROR_ALL_PAGES     64
110#define RB_MIRROR_LEFT_PAGES    65
111#define RB_MIRROR_RIGHT_PAGES   66
112
113#define FL_HYPERLINK                    94
114#define FT_FRAME                95
115#define CB_FRAME                96
116#define FL_IMAGE                97
117#define CB_SERVER               98
118#define CB_CLIENT               99
119
120#define CB_REL_WIDTH			100
121#define CB_REL_HEIGHT			101
122#define CB_FIXEDRATIO			102
123#define PB_SEARCH				103
124
125#define CB_ANCHOR_ONLY			103
126
127#define FT_NAME					110
128#define ED_NAME                 111
129#define FT_ALT_NAME             112
130#define ED_ALT_NAME             113
131#define FT_PREV                 114
132#define LB_PREV                 115
133#define FT_NEXT                 116
134#define LB_NEXT                 117
135#define FL_NAME                 118
136#define CB_PROTECT_CONTENT      119
137#define CB_PROTECT_FRAME        120
138#define CB_PROTECT_SIZE         121
139#define FL_PROTECT              122
140#define CB_EDIT_IN_READONLY     123
141#define CB_PRINT_FRAME          124
142#define FL_EXT                  125
143#define FL_TYPE_SEP             126
144#define FT_TEXTFLOW             127
145#define LB_TEXTFLOW             128
146#define CB_FOLLOWTEXTFLOW       129
147