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