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