xref: /trunk/main/sw/source/ui/frmdlg/wrap.src (revision aa831184)
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 "frmui.hrc"
25#include "wrap.hrc"
26#include "globals.hrc"
27#include "helpid.h"
28
29TabPage TP_FRM_WRAP
30{
31	SVLook = TRUE ;
32	HelpID = HID_FRM_EXT ;
33	Pos = MAP_APPFONT ( 0, 0 ) ;
34	Size = MAP_APPFONT ( 260, 185 ) ;
35	Hide = TRUE ;
36	FixedLine C_WRAP_FL
37	{
38		Pos = MAP_APPFONT ( 6, 3 ) ;
39		Size = MAP_APPFONT ( 248, 8 ) ;
40		Text [ en-US ] = "Settings" ;
41	};
42	ImageRadioButton RB_NO_WRAP
43	{
44		HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP" ;
45		Pos = MAP_APPFONT ( 6, 14 ) ;
46		Size = MAP_APPFONT ( 40, 37 ) ;
47		WordBreak = TRUE ;
48		Text [ en-US ] = "~None" ;
49		TopImage = TRUE ;
50	};
51	ImageRadioButton RB_WRAP_LEFT
52	{
53		HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT" ;
54		Pos = MAP_APPFONT ( 65, 14 ) ;
55		Size = MAP_APPFONT ( 40, 37 ) ;
56		WordBreak = TRUE ;
57		TopImage = TRUE ;
58		Text [ en-US ] = "Before" ;
59	};
60	ImageRadioButton RB_WRAP_RIGHT
61	{
62		HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT" ;
63		Pos = MAP_APPFONT ( 121, 14 ) ;
64		Size = MAP_APPFONT ( 40, 37 ) ;
65		WordBreak = TRUE ;
66		TopImage = TRUE ;
67		Text [ en-US ] = "After" ;
68	};
69	ImageRadioButton RB_WRAP_PARALLEL
70	{
71		HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL" ;
72		Pos = MAP_APPFONT ( 177, 14 ) ;
73		Size = MAP_APPFONT ( 40, 37 ) ;
74		WordBreak = TRUE ;
75		Text [ en-US ] = "~Parallel" ;
76		TopImage = TRUE ;
77	};
78	ImageRadioButton RB_WRAP_THROUGH
79	{
80		HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH" ;
81		Pos = MAP_APPFONT ( 6, 57 ) ;
82		Size = MAP_APPFONT ( 40, 37 ) ;
83		WordBreak = TRUE ;
84		Text [ en-US ] = "Thro~ugh" ;
85		TopImage = TRUE ;
86	};
87	ImageRadioButton RB_WRAP_IDEAL
88	{
89		HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL" ;
90		Pos = MAP_APPFONT ( 65, 57 ) ;
91		Size = MAP_APPFONT ( 40, 37 ) ;
92		WordBreak = TRUE ;
93		TopImage = TRUE ;
94		Text [ en-US ] = "~Optimal" ;
95	};
96
97	CheckBox CB_ANCHOR_ONLY
98	{
99		HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY" ;
100		Pos = MAP_APPFONT ( 139, 111 ) ;
101		Size = MAP_APPFONT ( 109, 10 ) ;
102		Text [ en-US ] = "~First paragraph" ;
103	};
104	CheckBox CB_TRANSPARENT
105	{
106		HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT" ;
107		Pos = MAP_APPFONT ( 139, 125 ) ;
108		Size = MAP_APPFONT ( 109, 10 ) ;
109		Text [ en-US ] = "In bac~kground" ;
110	};
111	CheckBox CB_OUTLINE
112	{
113		HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE" ;
114		Pos = MAP_APPFONT ( 139, 139 ) ;
115		Size = MAP_APPFONT ( 109, 10 ) ;
116		Hide = TRUE ;
117		Text [ en-US ] = "~Contour" ;
118	};
119	CheckBox CB_ONLYOUTSIDE
120	{
121		HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE" ;
122		Pos = MAP_APPFONT ( 139, 153 ) ;
123		Size = MAP_APPFONT ( 109, 10 ) ;
124		Hide = TRUE ;
125		Text [ en-US ] = "Outside only" ;
126	};
127	FixedLine FL_OPTION
128	{
129		Pos = MAP_APPFONT ( 133, 100 ) ;
130		Size = MAP_APPFONT ( 121, 8 ) ;
131		Text [ en-US ] = "Options" ;
132	};
133	FixedLine FL_OPTION_SEP
134	{
135		Pos = MAP_APPFONT ( 128, 111 ) ;
136		Size = MAP_APPFONT ( 4, 60 ) ;
137		Vert = TRUE ;
138	};
139	FixedText FT_LEFT_MARGIN
140	{
141		Pos = MAP_APPFONT ( 12, 113 ) ;
142		Size = MAP_APPFONT ( 60, 8 ) ;
143		Text [ en-US ] = "L~eft" ;
144		Left = TRUE ;
145	};
146	MetricField ED_LEFT_MARGIN
147	{
148		HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN" ;
149		Border = TRUE ;
150		Pos = MAP_APPFONT ( 81, 111 ) ;
151		Size = MAP_APPFONT ( 40, 12 ) ;
152		TabStop = TRUE ;
153		Left = TRUE ;
154		Repeat = TRUE ;
155		Spin = TRUE ;
156		Maximum = 9999 ;
157		DecimalDigits = 2 ;
158		Unit = FUNIT_CM ;
159		Last = 9999 ;
160		SpinSize = 10 ;
161	};
162	FixedText FT_RIGHT_MARGIN
163	{
164		Pos = MAP_APPFONT ( 12, 129 ) ;
165		Size = MAP_APPFONT ( 60, 8 ) ;
166		Text [ en-US ] = "~Right" ;
167		Left = TRUE ;
168	};
169	MetricField ED_RIGHT_MARGIN
170	{
171		HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN" ;
172		Border = TRUE ;
173		Pos = MAP_APPFONT ( 81, 127 ) ;
174		Size = MAP_APPFONT ( 40, 12 ) ;
175		TabStop = TRUE ;
176		Left = TRUE ;
177		Repeat = TRUE ;
178		Spin = TRUE ;
179		Maximum = 9999 ;
180		DecimalDigits = 2 ;
181		Unit = FUNIT_CM ;
182		Last = 9999 ;
183		SpinSize = 10 ;
184	};
185	FixedText FT_TOP_MARGIN
186	{
187		Pos = MAP_APPFONT ( 12, 145 ) ;
188		Size = MAP_APPFONT ( 60, 8 ) ;
189		Text [ en-US ] = "~Top" ;
190		Left = TRUE ;
191	};
192	MetricField ED_TOP_MARGIN
193	{
194		HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN" ;
195		Border = TRUE ;
196		Pos = MAP_APPFONT ( 81, 143 ) ;
197		Size = MAP_APPFONT ( 40, 12 ) ;
198		TabStop = TRUE ;
199		Left = TRUE ;
200		Repeat = TRUE ;
201		Spin = TRUE ;
202		Maximum = 9999 ;
203		DecimalDigits = 2 ;
204		Unit = FUNIT_CM ;
205		Last = 9999 ;
206		SpinSize = 10 ;
207	};
208	FixedText FT_BOTTOM_MARGIN
209	{
210		Pos = MAP_APPFONT ( 12, 161 ) ;
211		Size = MAP_APPFONT ( 60, 8 ) ;
212		Text [ en-US ] = "~Bottom" ;
213		Left = TRUE ;
214	};
215	MetricField ED_BOTTOM_MARGIN
216	{
217		HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN" ;
218		Border = TRUE ;
219		Pos = MAP_APPFONT ( 81, 159 ) ;
220		Size = MAP_APPFONT ( 40, 12 ) ;
221		TabStop = TRUE ;
222		Left = TRUE ;
223		Repeat = TRUE ;
224		Spin = TRUE ;
225		Maximum = 9999 ;
226		DecimalDigits = 2 ;
227		Unit = FUNIT_CM ;
228		Last = 9999 ;
229		SpinSize = 10 ;
230	};
231	FixedLine FL_MARGIN
232	{
233		Pos = MAP_APPFONT ( 6, 100 ) ;
234		Size = MAP_APPFONT ( 121, 8 ) ;
235		Text [ en-US ] = "Spacing" ;
236	};
237#define WRAP_IDLIST			\
238	IdList =				\
239	{						\
240		IMG_NONE ;			\
241		IMG_LEFT ;			\
242		IMG_RIGHT ;			\
243		IMG_PARALLEL ;		\
244		IMG_THROUGH ;		\
245		IMG_IDEAL ;			\
246		IMG_KON_NONE ;		\
247		IMG_KON_LEFT ;		\
248		IMG_KON_RIGHT ;		\
249		IMG_KON_PARALLEL ;	\
250		IMG_KON_IDEAL ;		\
251	};						\
252	IdCount = { 11 ; } ;
253
254	ImageList IL_WRAP
255	{
256		Prefix = "wr" ;
257		MaskColor = IMAGE_MASK_COLOR ;
258		WRAP_IDLIST
259	};
260	ImageList ILH_WRAP
261	{
262		Prefix = "wrh" ;
263		MaskColor = IMAGE_MASK_COLOR ;
264		WRAP_IDLIST
265	};
266};
267
268// ********************************************************************** EOF
269