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