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