xref: /trunk/main/sw/source/ui/misc/linenum.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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/* StarView ressource file */
28
29#ifndef _SFX_HRC
30#include <sfx2/sfx.hrc>
31#endif
32#ifndef _SVX_DIALOGS_HRC
33#include <svx/dialogs.hrc>
34#endif
35#include "globals.hrc"
36#include "misc.hrc"
37#include "linenum.hrc"
38#include "helpid.h"
39/**************************************************************************/
40/*                                                                        */
41/**************************************************************************/
42TabPage TP_LINENUMBERING
43{
44    HelpID = HID_LINENUMBERING ;
45    SVLook = TRUE ;
46    Hide = TRUE ;
47    Size = MAP_APPFONT ( 260 , 185 ) ;
48    CheckBox CB_NUMBERING_ON
49    {
50        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_NUMBERING_ON";
51        Pos = MAP_APPFONT ( 12 , 6 ) ;
52        Size = MAP_APPFONT ( 242 , 8 ) ;
53        TabStop = TRUE ;
54        Text [ en-US ] = "~Show numbering" ;
55    };
56    FixedText FT_CHAR_STYLE
57    {
58        Pos = MAP_APPFONT ( 12 , 30 ) ;
59        Size = MAP_APPFONT ( 80 , 8 ) ;
60        Text [ en-US ] = "~Character Style" ;
61    };
62    ListBox LB_CHAR_STYLE
63    {
64        HelpID = "sw:ListBox:TP_LINENUMBERING:LB_CHAR_STYLE";
65        Pos = MAP_APPFONT ( 100 , 30 ) ;
66        Size = MAP_APPFONT ( 148 , 80 ) ;
67        TabStop = TRUE ;
68        DropDown = TRUE ;
69        Sort = TRUE ;
70    };
71    FixedText FT_FORMAT
72    {
73        Pos = MAP_APPFONT ( 12 , 46 ) ;
74        Size = MAP_APPFONT ( 80 , 8 ) ;
75        Text [ en-US ] = "F~ormat" ;
76    };
77    ListBox LB_FORMAT
78    {
79        HelpID = "sw:ListBox:TP_LINENUMBERING:LB_FORMAT";
80        Pos = MAP_APPFONT ( 100 , 44 ) ;
81        Size = MAP_APPFONT ( 148 , 80 ) ;
82        TabStop = TRUE ;
83        DropDown = TRUE ;
84    };
85    FixedText FT_POS
86    {
87        Pos = MAP_APPFONT ( 12 , 62 ) ;
88        Size = MAP_APPFONT ( 80 , 8 ) ;
89        Text [ en-US ] = "Position" ;
90    };
91    ListBox LB_POS
92    {
93        HelpID = "sw:ListBox:TP_LINENUMBERING:LB_POS";
94        Pos = MAP_APPFONT ( 100 , 60 ) ;
95        Size = MAP_APPFONT ( 148 , 60 ) ;
96        TabStop = TRUE ;
97        DropDown = TRUE ;
98        StringList [ en-US ] =
99        {
100            < "Left" ; > ;
101            < "Right" ; > ;
102            < "Inner" ; > ;
103            < "Outer" ; > ;
104        };
105    };
106    FixedText FT_OFFSET
107    {
108        Pos = MAP_APPFONT ( 12 , 78 ) ;
109        Size = MAP_APPFONT ( 80 , 8 ) ;
110        Text [ en-US ] = "Spacing" ;
111    };
112    MetricField MF_OFFSET
113    {
114        HelpID = "sw:MetricField:TP_LINENUMBERING:MF_OFFSET";
115        Pos = MAP_APPFONT ( 100 , 76 ) ;
116        Size = MAP_APPFONT ( 45 , 12 ) ;
117        Border = TRUE ;
118        TabStop = TRUE ;
119        Left = TRUE ;
120        Repeat = TRUE ;
121        Spin = TRUE ;
122        Minimum = 0 ;
123        Maximum = 9999 ;
124        DecimalDigits = 2 ;
125        Unit = FUNIT_CM ;
126        First = 0 ;
127        Last = 9999 ;
128        SpinSize = 10 ;
129    };
130    FixedText FT_NUM_INVERVAL
131    {
132        Pos = MAP_APPFONT ( 12 , 94 ) ;
133        Size = MAP_APPFONT ( 80 , 8 ) ;
134        Text [ en-US ] = "Interval" ;
135    };
136    NumericField NF_NUM_INVERVAL
137    {
138        HelpID = "sw:NumericField:TP_LINENUMBERING:NF_NUM_INVERVAL";
139        Pos = MAP_APPFONT ( 100 , 92 ) ;
140        Size = MAP_APPFONT ( 30 , 12 ) ;
141        Border = TRUE ;
142        TabStop = TRUE ;
143        Left = TRUE ;
144        Repeat = TRUE ;
145        Spin = TRUE ;
146        Minimum = 1 ;
147        Maximum = 1000 ;
148        First = 1 ;
149        Last = 1000 ;
150        SpinSize = 1 ;
151    };
152    FixedText FT_NUM_ROWS
153    {
154        Pos = MAP_APPFONT ( 136 , 94 ) ;
155        Size = MAP_APPFONT ( 80 , 10 ) ;
156        Text [ en-US ] = "lines" ;
157    };
158    FixedLine FL_DISPLAY
159    {
160        Pos = MAP_APPFONT ( 6 , 17 ) ;
161        Size = MAP_APPFONT ( 248 , 8 ) ;
162        Text [ en-US ] = "View" ;
163    };
164    FixedText FT_DIVISOR
165    {
166        Pos = MAP_APPFONT ( 12 , 123 ) ;
167        Size = MAP_APPFONT ( 30 , 8 ) ;
168        Text [ en-US ] = "Text" ;
169    };
170    Edit ED_DIVISOR
171    {
172        HelpID = "sw:Edit:TP_LINENUMBERING:ED_DIVISOR";
173        Pos = MAP_APPFONT ( 45 , 121 ) ;
174        Size = MAP_APPFONT ( 76 , 12 ) ;
175        Left = TRUE ;
176        Border = TRUE ;
177    };
178    FixedText FT_DIV_INTERVAL
179    {
180        Pos = MAP_APPFONT ( 12 , 139 ) ;
181        Size = MAP_APPFONT ( 30 , 8 ) ;
182         //        Disable = TRUE ;
183        Text [ en-US ] = "Every" ;
184    };
185    NumericField NF_DIV_INTERVAL
186    {
187        HelpID = "sw:NumericField:TP_LINENUMBERING:NF_DIV_INTERVAL";
188        Pos = MAP_APPFONT ( 45 , 137 ) ;
189        Size = MAP_APPFONT ( 30 , 12 ) ;
190        Border = TRUE ;
191        TabStop = TRUE ;
192        Left = TRUE ;
193        Repeat = TRUE ;
194        Spin = TRUE ;
195        Minimum = 0 ;
196        Maximum = 1000 ;
197        First = 0 ;
198        Last = 1000 ;
199        SpinSize = 1 ;
200         //        Disable = TRUE ;
201    };
202    FixedText FT_DIV_ROWS
203    {
204        Pos = MAP_APPFONT ( 78 , 139 ) ;
205        Size = MAP_APPFONT ( 40 , 8 ) ;
206        Text [ en-US ] = "Lines" ;
207    };
208    FixedLine FL_DIVISOR
209    {
210        Pos = MAP_APPFONT ( 6 , 110 ) ;
211        Size = MAP_APPFONT ( 121 , 8 ) ;
212        Text [ en-US ] = "Separator" ;
213    };
214    CheckBox CB_COUNT_EMPTYLINES
215    {
216        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_COUNT_EMPTYLINES";
217        Pos = MAP_APPFONT ( 139 , 121 ) ;
218        Size = MAP_APPFONT ( 110 , 10 ) ;
219        TabStop = TRUE ;
220        Text [ en-US ] = "Blank lines" ;
221    };
222    CheckBox CB_COUNT_FRAMELINES
223    {
224        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_COUNT_FRAMELINES";
225        Pos = MAP_APPFONT ( 139 , 135 ) ;
226        Size = MAP_APPFONT ( 110 , 10 ) ;
227        TabStop = TRUE ;
228        Text [ en-US ] = "Lines in text frames" ;
229    };
230    CheckBox CB_RESTART_PAGE
231    {
232        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_RESTART_PAGE";
233        Pos = MAP_APPFONT ( 139 , 149 );
234        Size = MAP_APPFONT ( 110 , 10 );
235        TabStop = TRUE;
236        Text [ en-US ] = "~Restart every new page";
237    };
238    FixedLine FL_COUNT
239    {
240        Pos = MAP_APPFONT ( 133 , 110 ) ;
241        Size = MAP_APPFONT ( 121 , 8 ) ;
242        Text [ en-US ] = "Count" ;
243    };
244    Text [ en-US ] = "Line Numbering" ;
245};
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280