xref: /trunk/main/sw/source/ui/frmdlg/wrap.src (revision fc9fd3f14a55d77b35643a64034752a178b2a5b0)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "frmui.hrc"
29#include "wrap.hrc"
30#include "globals.hrc"
31#include "helpid.h"
32TabPage TP_FRM_WRAP
33{
34    SVLook = TRUE ;
35    HelpID = HID_FRM_EXT ;
36    Pos = MAP_APPFONT ( 0 , 0 ) ;
37    Size = MAP_APPFONT ( 260 , 185 ) ;
38    Hide = TRUE;
39    FixedLine C_WRAP_FL
40    {
41        Pos = MAP_APPFONT ( 6 , 3 ) ;
42        Size = MAP_APPFONT ( 248 , 8 ) ;
43        Text [ en-US ] = "Settings";
44    };
45    ImageRadioButton RB_NO_WRAP
46    {
47        HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP";
48        Pos = MAP_APPFONT ( 6 , 14 ) ;
49        Size = MAP_APPFONT ( 40 , 37 ) ;
50        WordBreak = TRUE;
51        Text [ en-US ] = "~None" ;
52        TopImage = True ;
53    };
54    ImageRadioButton RB_WRAP_LEFT
55    {
56        HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT";
57        Pos = MAP_APPFONT ( 65 , 14 ) ;
58        Size = MAP_APPFONT ( 40 , 37 ) ;
59        WordBreak = TRUE;
60        TopImage = True ;
61        Text [ en-US ] = "Before" ;
62    };
63    ImageRadioButton RB_WRAP_RIGHT
64    {
65        HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT";
66        Pos = MAP_APPFONT ( 121 , 14 ) ;
67        Size = MAP_APPFONT ( 40 , 37 ) ;
68        WordBreak = TRUE;
69        TopImage = True ;
70        Text [ en-US ] = "After" ;
71    };
72    ImageRadioButton RB_WRAP_PARALLEL
73    {
74        HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL";
75        Pos = MAP_APPFONT ( 177 , 14 ) ;
76        Size = MAP_APPFONT ( 40 , 37 ) ;
77        WordBreak = TRUE;
78        Text [ en-US ] = "~Parallel" ;
79        TopImage = True ;
80    };
81    ImageRadioButton RB_WRAP_THROUGH
82    {
83        HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH";
84        Pos = MAP_APPFONT ( 6 , 57 ) ;
85        Size = MAP_APPFONT ( 40 , 37 ) ;
86        WordBreak = TRUE;
87        Text [ en-US ] = "Thro~ugh" ;
88        TopImage = True ;
89    };
90    ImageRadioButton RB_WRAP_IDEAL
91    {
92        HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL";
93        Pos = MAP_APPFONT ( 65 , 57 ) ;
94        Size = MAP_APPFONT ( 40 , 37 ) ;
95        WordBreak = TRUE;
96        TopImage = True ;
97        Text [ en-US ] = "~Optimal" ;
98    };
99
100    CheckBox CB_ANCHOR_ONLY
101    {
102        HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY";
103        Pos = MAP_APPFONT ( 139 , 111 ) ;
104        Size = MAP_APPFONT ( 109 , 10 ) ;
105        Text [ en-US ] = "~First paragraph" ;
106    };
107    CheckBox CB_TRANSPARENT
108    {
109        HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT";
110        Pos = MAP_APPFONT ( 139 , 125 ) ;
111        Size = MAP_APPFONT ( 109 , 10 ) ;
112        Text [ en-US ] = "In bac~kground" ;
113    };
114    CheckBox CB_OUTLINE
115    {
116        HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE";
117        Pos = MAP_APPFONT ( 139 , 139 ) ;
118        Size = MAP_APPFONT ( 109 , 10 ) ;
119        Hide = TRUE ;
120        Text [ en-US ] = "~Contour" ;
121    };
122    CheckBox CB_ONLYOUTSIDE
123    {
124        HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE";
125        Pos = MAP_APPFONT ( 139 , 153 ) ;
126        Size = MAP_APPFONT ( 109 , 10 ) ;
127        Hide = TRUE ;
128        Text [ en-US ] = "Outside only" ;
129    };
130    FixedLine FL_OPTION
131    {
132        Pos = MAP_APPFONT ( 133 , 100 ) ;
133        Size = MAP_APPFONT ( 121 , 8 ) ;
134        Text [ en-US ] = "Options" ;
135    };
136    FixedLine FL_OPTION_SEP
137    {
138        Pos = MAP_APPFONT ( 128 , 111 ) ;
139        Size = MAP_APPFONT ( 4 , 60 ) ;
140        Vert = TRUE;
141    };
142    FixedText FT_LEFT_MARGIN
143    {
144        Pos = MAP_APPFONT ( 12 , 113 ) ;
145        Size = MAP_APPFONT ( 60 , 8 ) ;
146        Text [ en-US ] = "L~eft" ;
147        Left = TRUE ;
148    };
149    MetricField ED_LEFT_MARGIN
150    {
151        HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN";
152        Border = TRUE ;
153        Pos = MAP_APPFONT ( 81 , 111 ) ;
154        Size = MAP_APPFONT ( 40 , 12 ) ;
155        TabStop = TRUE ;
156        Left = TRUE ;
157        Repeat = TRUE ;
158        Spin = TRUE ;
159        Maximum = 9999 ;
160        DecimalDigits = 2 ;
161        Unit = FUNIT_CM ;
162        Last = 9999 ;
163        SpinSize = 10 ;
164    };
165    FixedText FT_RIGHT_MARGIN
166    {
167        Pos = MAP_APPFONT ( 12 , 129 ) ;
168        Size = MAP_APPFONT ( 60 , 8 ) ;
169        Text [ en-US ] = "~Right" ;
170        Left = TRUE ;
171    };
172    MetricField ED_RIGHT_MARGIN
173    {
174        HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN";
175        Border = TRUE ;
176        Pos = MAP_APPFONT ( 81 , 127 ) ;
177        Size = MAP_APPFONT ( 40 , 12 ) ;
178        TabStop = TRUE ;
179        Left = TRUE ;
180        Repeat = TRUE ;
181        Spin = TRUE ;
182        Maximum = 9999 ;
183        DecimalDigits = 2 ;
184        Unit = FUNIT_CM ;
185        Last = 9999 ;
186        SpinSize = 10 ;
187    };
188    FixedText FT_TOP_MARGIN
189    {
190        Pos = MAP_APPFONT ( 12 , 145 ) ;
191        Size = MAP_APPFONT ( 60 , 8 ) ;
192        Text [ en-US ] = "~Top" ;
193        Left = TRUE ;
194    };
195    MetricField ED_TOP_MARGIN
196    {
197        HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN";
198        Border = TRUE ;
199        Pos = MAP_APPFONT ( 81 , 143 ) ;
200        Size = MAP_APPFONT ( 40 , 12 ) ;
201        TabStop = TRUE ;
202        Left = TRUE ;
203        Repeat = TRUE ;
204        Spin = TRUE ;
205        Maximum = 9999 ;
206        DecimalDigits = 2 ;
207        Unit = FUNIT_CM ;
208        Last = 9999 ;
209        SpinSize = 10 ;
210    };
211    FixedText FT_BOTTOM_MARGIN
212    {
213        Pos = MAP_APPFONT ( 12 , 161 ) ;
214        Size = MAP_APPFONT ( 60 , 8 ) ;
215        Text [ en-US ] = "~Bottom" ;
216        Left = TRUE ;
217    };
218    MetricField ED_BOTTOM_MARGIN
219    {
220        HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN";
221        Border = TRUE ;
222        Pos = MAP_APPFONT ( 81 , 159 ) ;
223        Size = MAP_APPFONT ( 40 , 12 ) ;
224        TabStop = TRUE ;
225        Left = TRUE ;
226        Repeat = TRUE ;
227        Spin = TRUE ;
228        Maximum = 9999 ;
229        DecimalDigits = 2 ;
230        Unit = FUNIT_CM ;
231        Last = 9999 ;
232        SpinSize = 10 ;
233    };
234    FixedLine FL_MARGIN
235    {
236        Pos = MAP_APPFONT ( 6 , 100 ) ;
237        Size = MAP_APPFONT ( 121 , 8 ) ;
238        Text [ en-US ] = "Spacing" ;
239    };
240#define WRAP_IDLIST \
241        IdList =            \
242        {                   \
243            IMG_NONE ;      \
244            IMG_LEFT ;      \
245            IMG_RIGHT ;     \
246            IMG_PARALLEL ;  \
247            IMG_THROUGH ;   \
248            IMG_IDEAL ;     \
249            IMG_KON_NONE ;  \
250            IMG_KON_LEFT ;  \
251            IMG_KON_RIGHT ; \
252            IMG_KON_PARALLEL ;\
253            IMG_KON_IDEAL ;\
254        };                 \
255        IdCount = { 11 ; };
256
257    ImageList IL_WRAP
258    {
259        Prefix = "wr";
260        MaskColor = IMAGE_MASK_COLOR ;
261        WRAP_IDLIST
262    };
263    ImageList ILH_WRAP
264    {
265        Prefix = "wrh";
266        MaskColor = IMAGE_MASK_COLOR ;
267        WRAP_IDLIST
268    };
269
270};
271
272