1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: frmpage.hrc,v $
12 * This file is part of OpenOffice.org.
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.
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).
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.
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
48 #define CB_AUTOHEIGHT 31
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
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
66 #define CB_AUTOWIDTH 46
67 #define FT_WIDTH_AUTO 47
68 #define FT_HEIGHT_AUTO 48
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)
99 //#define LB_MIRROR_PAGES 49
100 //#define FT_MIRROR_PAGES 50
104 #define ED_CONNECT 54
105 #define FL_CONNECT 55
106 #define FT_CONNECT 57
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
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
132 #define FT_ALT_NAME 112
133 #define ED_ALT_NAME 113
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
146 #define FL_TYPE_SEP 126
147 #define FT_TEXTFLOW 127
148 #define LB_TEXTFLOW 128
149 #define CB_FOLLOWTEXTFLOW 129