xref: /trunk/main/sw/source/ui/misc/linenum.src (revision 66b843ff8f1eedd2e69941f1ea52fa080f01ec28)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _SFX_HRC
25#include <sfx2/sfx.hrc>
26#endif
27#ifndef _SVX_DIALOGS_HRC
28#include <svx/dialogs.hrc>
29#endif
30#include "globals.hrc"
31#include "misc.hrc"
32#include "linenum.hrc"
33#include "helpid.h"
34
35/**************************************************************************/
36/*                                                                        */
37/**************************************************************************/
38TabPage TP_LINENUMBERING
39{
40    HelpID = HID_LINENUMBERING ;
41    SVLook = TRUE ;
42    Hide = TRUE ;
43    Size = MAP_APPFONT ( 260, 185 ) ;
44    CheckBox CB_NUMBERING_ON
45    {
46        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_NUMBERING_ON" ;
47        Pos = MAP_APPFONT ( 12, 6 ) ;
48        Size = MAP_APPFONT ( 242, 8 ) ;
49        TabStop = TRUE ;
50        Text [ en-US ] = "~Show numbering" ;
51    };
52    FixedText FT_CHAR_STYLE
53    {
54        Pos = MAP_APPFONT ( 12, 30 ) ;
55        Size = MAP_APPFONT ( 80, 8 ) ;
56        Text [ en-US ] = "~Character Style" ;
57    };
58    ListBox LB_CHAR_STYLE
59    {
60        HelpID = "sw:ListBox:TP_LINENUMBERING:LB_CHAR_STYLE" ;
61        Pos = MAP_APPFONT ( 100, 30 ) ;
62        Size = MAP_APPFONT ( 148, 80 ) ;
63        TabStop = TRUE ;
64        DropDown = TRUE ;
65        Sort = TRUE ;
66    };
67    FixedText FT_FORMAT
68    {
69        Pos = MAP_APPFONT ( 12, 46 ) ;
70        Size = MAP_APPFONT ( 80, 8 ) ;
71        Text [ en-US ] = "F~ormat" ;
72    };
73    ListBox LB_FORMAT
74    {
75        HelpID = "sw:ListBox:TP_LINENUMBERING:LB_FORMAT" ;
76        Pos = MAP_APPFONT ( 100, 44 ) ;
77        Size = MAP_APPFONT ( 148, 80 ) ;
78        TabStop = TRUE ;
79        DropDown = TRUE ;
80    };
81    FixedText FT_POS
82    {
83        Pos = MAP_APPFONT ( 12, 62 ) ;
84        Size = MAP_APPFONT ( 80, 8 ) ;
85        Text [ en-US ] = "Position" ;
86    };
87    ListBox LB_POS
88    {
89        HelpID = "sw:ListBox:TP_LINENUMBERING:LB_POS" ;
90        Pos = MAP_APPFONT ( 100, 60 ) ;
91        Size = MAP_APPFONT ( 148, 60 ) ;
92        TabStop = TRUE ;
93        DropDown = TRUE ;
94        StringList [ en-US ] =
95        {
96            < "Left" ;  > ;
97            < "Right" ; > ;
98            < "Inner" ; > ;
99            < "Outer" ; > ;
100        };
101    };
102    FixedText FT_OFFSET
103    {
104        Pos = MAP_APPFONT ( 12, 78 ) ;
105        Size = MAP_APPFONT ( 80, 8 ) ;
106        Text [ en-US ] = "Spacing" ;
107    };
108    MetricField MF_OFFSET
109    {
110        HelpID = "sw:MetricField:TP_LINENUMBERING:MF_OFFSET" ;
111        Pos = MAP_APPFONT ( 100, 76 ) ;
112        Size = MAP_APPFONT ( 45, 12 ) ;
113        Border = TRUE ;
114        TabStop = TRUE ;
115        Left = TRUE ;
116        Repeat = TRUE ;
117        Spin = TRUE ;
118        Minimum = 0 ;
119        Maximum = 9999 ;
120        DecimalDigits = 2 ;
121        Unit = FUNIT_CM ;
122        First = 0 ;
123        Last = 9999 ;
124        SpinSize = 10 ;
125    };
126    FixedText FT_NUM_INVERVAL
127    {
128        Pos = MAP_APPFONT ( 12, 94 ) ;
129        Size = MAP_APPFONT ( 80, 8 ) ;
130        Text [ en-US ] = "Interval" ;
131    };
132    NumericField NF_NUM_INVERVAL
133    {
134        HelpID = "sw:NumericField:TP_LINENUMBERING:NF_NUM_INVERVAL" ;
135        Pos = MAP_APPFONT ( 100, 92 ) ;
136        Size = MAP_APPFONT ( 30, 12 ) ;
137        Border = TRUE ;
138        TabStop = TRUE ;
139        Left = TRUE ;
140        Repeat = TRUE ;
141        Spin = TRUE ;
142        Minimum = 1 ;
143        Maximum = 1000 ;
144        First = 1 ;
145        Last = 1000 ;
146        SpinSize = 1 ;
147    };
148    FixedText FT_NUM_ROWS
149    {
150        Pos = MAP_APPFONT ( 136, 94 ) ;
151        Size = MAP_APPFONT ( 80, 10 ) ;
152        Text [ en-US ] = "lines" ;
153    };
154    FixedLine FL_DISPLAY
155    {
156        Pos = MAP_APPFONT ( 6, 17 ) ;
157        Size = MAP_APPFONT ( 248, 8 ) ;
158        Text [ en-US ] = "View" ;
159    };
160    FixedText FT_DIVISOR
161    {
162        Pos = MAP_APPFONT ( 12, 123 ) ;
163        Size = MAP_APPFONT ( 30, 8 ) ;
164        Text [ en-US ] = "Text" ;
165    };
166    Edit ED_DIVISOR
167    {
168        HelpID = "sw:Edit:TP_LINENUMBERING:ED_DIVISOR" ;
169        Pos = MAP_APPFONT ( 45, 121 ) ;
170        Size = MAP_APPFONT ( 76, 12 ) ;
171        Left = TRUE ;
172        Border = TRUE ;
173    };
174    FixedText FT_DIV_INTERVAL
175    {
176        Pos = MAP_APPFONT ( 12, 139 ) ;
177        Size = MAP_APPFONT ( 30, 8 ) ;
178//      Disable = TRUE ;
179        Text [ en-US ] = "Every" ;
180    };
181    NumericField NF_DIV_INTERVAL
182    {
183        HelpID = "sw:NumericField:TP_LINENUMBERING:NF_DIV_INTERVAL" ;
184        Pos = MAP_APPFONT ( 45, 137 ) ;
185        Size = MAP_APPFONT ( 30, 12 ) ;
186        Border = TRUE ;
187        TabStop = TRUE ;
188        Left = TRUE ;
189        Repeat = TRUE ;
190        Spin = TRUE ;
191        Minimum = 0 ;
192        Maximum = 1000 ;
193        First = 0 ;
194        Last = 1000 ;
195        SpinSize = 1 ;
196//      Disable = TRUE ;
197    };
198    FixedText FT_DIV_ROWS
199    {
200        Pos = MAP_APPFONT ( 78, 139 ) ;
201        Size = MAP_APPFONT ( 40, 8 ) ;
202        Text [ en-US ] = "Lines" ;
203    };
204    FixedLine FL_DIVISOR
205    {
206        Pos = MAP_APPFONT ( 6, 110 ) ;
207        Size = MAP_APPFONT ( 121, 8 ) ;
208        Text [ en-US ] = "Separator" ;
209    };
210    CheckBox CB_COUNT_EMPTYLINES
211    {
212        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_COUNT_EMPTYLINES" ;
213        Pos = MAP_APPFONT ( 139, 121 ) ;
214        Size = MAP_APPFONT ( 110, 10 ) ;
215        TabStop = TRUE ;
216        Text [ en-US ] = "Blank lines" ;
217    };
218    CheckBox CB_COUNT_FRAMELINES
219    {
220        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_COUNT_FRAMELINES" ;
221        Pos = MAP_APPFONT ( 139, 135 ) ;
222        Size = MAP_APPFONT ( 110, 10 ) ;
223        TabStop = TRUE ;
224        Text [ en-US ] = "Lines in text frames" ;
225    };
226    CheckBox CB_RESTART_PAGE
227    {
228        HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_RESTART_PAGE" ;
229        Pos = MAP_APPFONT ( 139, 149 );
230        Size = MAP_APPFONT ( 110, 10 );
231        TabStop = TRUE ;
232        Text [ en-US ] = "~Restart every new page" ;
233    };
234    FixedLine FL_COUNT
235    {
236        Pos = MAP_APPFONT ( 133, 110 ) ;
237        Size = MAP_APPFONT ( 121, 8 ) ;
238        Text [ en-US ] = "Count" ;
239    };
240    Text [ en-US ] = "Line Numbering" ;
241};
242
243// ********************************************************************** EOF
244