xref: /aoo41x/main/sw/source/ui/frmdlg/wrap.src (revision 8660f102)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "frmui.hrc"
25cdf0e10cSrcweir#include "wrap.hrc"
26cdf0e10cSrcweir#include "globals.hrc"
27cdf0e10cSrcweir#include "helpid.h"
28cdf0e10cSrcweirTabPage TP_FRM_WRAP
29cdf0e10cSrcweir{
30cdf0e10cSrcweir	SVLook = TRUE ;
31cdf0e10cSrcweir	HelpID = HID_FRM_EXT ;
32cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
33cdf0e10cSrcweir	Size = MAP_APPFONT ( 260 , 185 ) ;
34cdf0e10cSrcweir	Hide = TRUE;
35cdf0e10cSrcweir    FixedLine C_WRAP_FL
36cdf0e10cSrcweir	{
37cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
38cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
39cdf0e10cSrcweir		Text [ en-US ] = "Settings";
40cdf0e10cSrcweir	};
41cdf0e10cSrcweir	ImageRadioButton RB_NO_WRAP
42cdf0e10cSrcweir	{
43cdf0e10cSrcweir	    HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP";
44cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 14 ) ;
45cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 37 ) ;
46cdf0e10cSrcweir        WordBreak = TRUE;
47cdf0e10cSrcweir		Text [ en-US ] = "~None" ;
48cdf0e10cSrcweir		TopImage = True ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	ImageRadioButton RB_WRAP_LEFT
51cdf0e10cSrcweir	{
52cdf0e10cSrcweir	    HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT";
53cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 14 ) ;
54cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 37 ) ;
55cdf0e10cSrcweir        WordBreak = TRUE;
56cdf0e10cSrcweir        TopImage = True ;
57cdf0e10cSrcweir        Text [ en-US ] = "Before" ;
58cdf0e10cSrcweir	};
59cdf0e10cSrcweir	ImageRadioButton RB_WRAP_RIGHT
60cdf0e10cSrcweir	{
61cdf0e10cSrcweir	    HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT";
62cdf0e10cSrcweir        Pos = MAP_APPFONT ( 121 , 14 ) ;
63cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 37 ) ;
64cdf0e10cSrcweir        WordBreak = TRUE;
65cdf0e10cSrcweir        TopImage = True ;
66cdf0e10cSrcweir        Text [ en-US ] = "After" ;
67cdf0e10cSrcweir	};
68cdf0e10cSrcweir	ImageRadioButton RB_WRAP_PARALLEL
69cdf0e10cSrcweir	{
70cdf0e10cSrcweir	    HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL";
71cdf0e10cSrcweir        Pos = MAP_APPFONT ( 177 , 14 ) ;
72cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 37 ) ;
73cdf0e10cSrcweir        WordBreak = TRUE;
74cdf0e10cSrcweir		Text [ en-US ] = "~Parallel" ;
75cdf0e10cSrcweir		TopImage = True ;
76cdf0e10cSrcweir	};
77cdf0e10cSrcweir	ImageRadioButton RB_WRAP_THROUGH
78cdf0e10cSrcweir	{
79cdf0e10cSrcweir	    HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH";
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 57 ) ;
81cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 37 ) ;
82cdf0e10cSrcweir        WordBreak = TRUE;
83cdf0e10cSrcweir		Text [ en-US ] = "Thro~ugh" ;
84cdf0e10cSrcweir		TopImage = True ;
85cdf0e10cSrcweir	};
86cdf0e10cSrcweir	ImageRadioButton RB_WRAP_IDEAL
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir	    HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL";
89cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 57 ) ;
90cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 37 ) ;
91cdf0e10cSrcweir        WordBreak = TRUE;
92cdf0e10cSrcweir		TopImage = True ;
93cdf0e10cSrcweir		Text [ en-US ] = "~Optimal" ;
94cdf0e10cSrcweir	};
95cdf0e10cSrcweir
96cdf0e10cSrcweir	CheckBox CB_ANCHOR_ONLY
97cdf0e10cSrcweir	{
98cdf0e10cSrcweir	    HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY";
99cdf0e10cSrcweir        Pos = MAP_APPFONT ( 139 , 111 ) ;
100cdf0e10cSrcweir        Size = MAP_APPFONT ( 109 , 10 ) ;
101cdf0e10cSrcweir		Text [ en-US ] = "~First paragraph" ;
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	CheckBox CB_TRANSPARENT
104cdf0e10cSrcweir	{
105cdf0e10cSrcweir	    HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT";
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 139 , 125 ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 109 , 10 ) ;
108cdf0e10cSrcweir		Text [ en-US ] = "In bac~kground" ;
109cdf0e10cSrcweir	};
110cdf0e10cSrcweir	CheckBox CB_OUTLINE
111cdf0e10cSrcweir	{
112cdf0e10cSrcweir	    HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE";
113cdf0e10cSrcweir        Pos = MAP_APPFONT ( 139 , 139 ) ;
114cdf0e10cSrcweir		Size = MAP_APPFONT ( 109 , 10 ) ;
115cdf0e10cSrcweir		Hide = TRUE ;
116cdf0e10cSrcweir		Text [ en-US ] = "~Contour" ;
117cdf0e10cSrcweir	};
118cdf0e10cSrcweir	CheckBox CB_ONLYOUTSIDE
119cdf0e10cSrcweir	{
120cdf0e10cSrcweir	    HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE";
121cdf0e10cSrcweir        Pos = MAP_APPFONT ( 139 , 153 ) ;
122cdf0e10cSrcweir        Size = MAP_APPFONT ( 109 , 10 ) ;
123cdf0e10cSrcweir		Hide = TRUE ;
124cdf0e10cSrcweir        Text [ en-US ] = "Outside only" ;
125cdf0e10cSrcweir	};
126cdf0e10cSrcweir    FixedLine FL_OPTION
127cdf0e10cSrcweir	{
128cdf0e10cSrcweir        Pos = MAP_APPFONT ( 133 , 100 ) ;
129cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 8 ) ;
130cdf0e10cSrcweir		Text [ en-US ] = "Options" ;
131cdf0e10cSrcweir	};
132cdf0e10cSrcweir    FixedLine FL_OPTION_SEP
133cdf0e10cSrcweir	{
134cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 111 ) ;
135cdf0e10cSrcweir        Size = MAP_APPFONT ( 4 , 60 ) ;
136cdf0e10cSrcweir        Vert = TRUE;
137cdf0e10cSrcweir    };
138cdf0e10cSrcweir    FixedText FT_LEFT_MARGIN
139cdf0e10cSrcweir	{
140cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 113 ) ;
141cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
142cdf0e10cSrcweir		Text [ en-US ] = "L~eft" ;
143cdf0e10cSrcweir		Left = TRUE ;
144cdf0e10cSrcweir	};
145cdf0e10cSrcweir	MetricField ED_LEFT_MARGIN
146cdf0e10cSrcweir	{
147cdf0e10cSrcweir	    HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN";
148cdf0e10cSrcweir		Border = TRUE ;
149cdf0e10cSrcweir        Pos = MAP_APPFONT ( 81 , 111 ) ;
150cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
151cdf0e10cSrcweir		TabStop = TRUE ;
152cdf0e10cSrcweir		Left = TRUE ;
153cdf0e10cSrcweir		Repeat = TRUE ;
154cdf0e10cSrcweir		Spin = TRUE ;
155cdf0e10cSrcweir		Maximum = 9999 ;
156cdf0e10cSrcweir		DecimalDigits = 2 ;
157cdf0e10cSrcweir		Unit = FUNIT_CM ;
158cdf0e10cSrcweir		Last = 9999 ;
159cdf0e10cSrcweir		SpinSize = 10 ;
160cdf0e10cSrcweir	};
161cdf0e10cSrcweir	FixedText FT_RIGHT_MARGIN
162cdf0e10cSrcweir	{
163cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 129 ) ;
164cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
165cdf0e10cSrcweir        Text [ en-US ] = "~Right" ;
166cdf0e10cSrcweir		Left = TRUE ;
167cdf0e10cSrcweir	};
168cdf0e10cSrcweir	MetricField ED_RIGHT_MARGIN
169cdf0e10cSrcweir	{
170cdf0e10cSrcweir	    HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN";
171cdf0e10cSrcweir		Border = TRUE ;
172cdf0e10cSrcweir        Pos = MAP_APPFONT ( 81 , 127 ) ;
173cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
174cdf0e10cSrcweir		TabStop = TRUE ;
175cdf0e10cSrcweir		Left = TRUE ;
176cdf0e10cSrcweir		Repeat = TRUE ;
177cdf0e10cSrcweir		Spin = TRUE ;
178cdf0e10cSrcweir		Maximum = 9999 ;
179cdf0e10cSrcweir		DecimalDigits = 2 ;
180cdf0e10cSrcweir		Unit = FUNIT_CM ;
181cdf0e10cSrcweir		Last = 9999 ;
182cdf0e10cSrcweir		SpinSize = 10 ;
183cdf0e10cSrcweir	};
184cdf0e10cSrcweir	FixedText FT_TOP_MARGIN
185cdf0e10cSrcweir	{
186cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 145 ) ;
187cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
188cdf0e10cSrcweir		Text [ en-US ] = "~Top" ;
189cdf0e10cSrcweir		Left = TRUE ;
190cdf0e10cSrcweir	};
191cdf0e10cSrcweir	MetricField ED_TOP_MARGIN
192cdf0e10cSrcweir	{
193cdf0e10cSrcweir	    HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN";
194cdf0e10cSrcweir		Border = TRUE ;
195cdf0e10cSrcweir        Pos = MAP_APPFONT ( 81 , 143 ) ;
196cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
197cdf0e10cSrcweir		TabStop = TRUE ;
198cdf0e10cSrcweir		Left = TRUE ;
199cdf0e10cSrcweir		Repeat = TRUE ;
200cdf0e10cSrcweir		Spin = TRUE ;
201cdf0e10cSrcweir		Maximum = 9999 ;
202cdf0e10cSrcweir		DecimalDigits = 2 ;
203cdf0e10cSrcweir		Unit = FUNIT_CM ;
204cdf0e10cSrcweir		Last = 9999 ;
205cdf0e10cSrcweir		SpinSize = 10 ;
206cdf0e10cSrcweir	};
207cdf0e10cSrcweir	FixedText FT_BOTTOM_MARGIN
208cdf0e10cSrcweir	{
209cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 161 ) ;
210cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
211cdf0e10cSrcweir		Text [ en-US ] = "~Bottom" ;
212cdf0e10cSrcweir		Left = TRUE ;
213cdf0e10cSrcweir	};
214cdf0e10cSrcweir	MetricField ED_BOTTOM_MARGIN
215cdf0e10cSrcweir	{
216cdf0e10cSrcweir	    HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN";
217cdf0e10cSrcweir		Border = TRUE ;
218cdf0e10cSrcweir        Pos = MAP_APPFONT ( 81 , 159 ) ;
219cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
220cdf0e10cSrcweir		TabStop = TRUE ;
221cdf0e10cSrcweir		Left = TRUE ;
222cdf0e10cSrcweir		Repeat = TRUE ;
223cdf0e10cSrcweir		Spin = TRUE ;
224cdf0e10cSrcweir		Maximum = 9999 ;
225cdf0e10cSrcweir		DecimalDigits = 2 ;
226cdf0e10cSrcweir		Unit = FUNIT_CM ;
227cdf0e10cSrcweir		Last = 9999 ;
228cdf0e10cSrcweir		SpinSize = 10 ;
229cdf0e10cSrcweir	};
230cdf0e10cSrcweir    FixedLine FL_MARGIN
231cdf0e10cSrcweir	{
232cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 100 ) ;
233cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 8 ) ;
234cdf0e10cSrcweir		Text [ en-US ] = "Spacing" ;
235cdf0e10cSrcweir	};
236cdf0e10cSrcweir#define WRAP_IDLIST \
237cdf0e10cSrcweir        IdList =            \
238cdf0e10cSrcweir        {                   \
239cdf0e10cSrcweir            IMG_NONE ;      \
240cdf0e10cSrcweir            IMG_LEFT ;      \
241cdf0e10cSrcweir            IMG_RIGHT ;     \
242cdf0e10cSrcweir            IMG_PARALLEL ;  \
243cdf0e10cSrcweir            IMG_THROUGH ;   \
244cdf0e10cSrcweir            IMG_IDEAL ;     \
245cdf0e10cSrcweir            IMG_KON_NONE ;  \
246cdf0e10cSrcweir            IMG_KON_LEFT ;  \
247cdf0e10cSrcweir            IMG_KON_RIGHT ; \
248cdf0e10cSrcweir            IMG_KON_PARALLEL ;\
249cdf0e10cSrcweir            IMG_KON_IDEAL ;\
250cdf0e10cSrcweir        };                 \
251cdf0e10cSrcweir        IdCount = { 11 ; };
252cdf0e10cSrcweir
253cdf0e10cSrcweir	ImageList IL_WRAP
254cdf0e10cSrcweir	{
255cdf0e10cSrcweir        Prefix = "wr";
256cdf0e10cSrcweir        MaskColor = IMAGE_MASK_COLOR ;
257cdf0e10cSrcweir        WRAP_IDLIST
258cdf0e10cSrcweir    };
259cdf0e10cSrcweir    ImageList ILH_WRAP
260cdf0e10cSrcweir	{
261cdf0e10cSrcweir        Prefix = "wrh";
262cdf0e10cSrcweir        MaskColor = IMAGE_MASK_COLOR ;
263cdf0e10cSrcweir        WRAP_IDLIST
264cdf0e10cSrcweir    };
265cdf0e10cSrcweir
266cdf0e10cSrcweir};
267cdf0e10cSrcweir
268