xref: /aoo42x/main/sw/source/ui/misc/linenum.src (revision 6358e474)
18660f102SAndrew Rist/**************************************************************
2*6358e474Smseidel *
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
10*6358e474Smseidel *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*6358e474Smseidel *
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.
19*6358e474Smseidel *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _SFX_HRC
25cdf0e10cSrcweir#include <sfx2/sfx.hrc>
26cdf0e10cSrcweir#endif
27cdf0e10cSrcweir#ifndef _SVX_DIALOGS_HRC
28cdf0e10cSrcweir#include <svx/dialogs.hrc>
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir#include "globals.hrc"
31cdf0e10cSrcweir#include "misc.hrc"
32cdf0e10cSrcweir#include "linenum.hrc"
33cdf0e10cSrcweir#include "helpid.h"
34*6358e474Smseidel
35cdf0e10cSrcweir/**************************************************************************/
36cdf0e10cSrcweir/*                                                                        */
37cdf0e10cSrcweir/**************************************************************************/
38cdf0e10cSrcweirTabPage TP_LINENUMBERING
39cdf0e10cSrcweir{
40cdf0e10cSrcweir	HelpID = HID_LINENUMBERING ;
41cdf0e10cSrcweir	SVLook = TRUE ;
42cdf0e10cSrcweir	Hide = TRUE ;
43*6358e474Smseidel	Size = MAP_APPFONT ( 260, 185 ) ;
44cdf0e10cSrcweir	CheckBox CB_NUMBERING_ON
45cdf0e10cSrcweir	{
46*6358e474Smseidel		HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_NUMBERING_ON" ;
47*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 6 ) ;
48*6358e474Smseidel		Size = MAP_APPFONT ( 242, 8 ) ;
49cdf0e10cSrcweir		TabStop = TRUE ;
50cdf0e10cSrcweir		Text [ en-US ] = "~Show numbering" ;
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir	FixedText FT_CHAR_STYLE
53cdf0e10cSrcweir	{
54*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 30 ) ;
55*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
56cdf0e10cSrcweir		Text [ en-US ] = "~Character Style" ;
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir	ListBox LB_CHAR_STYLE
59cdf0e10cSrcweir	{
60*6358e474Smseidel		HelpID = "sw:ListBox:TP_LINENUMBERING:LB_CHAR_STYLE" ;
61*6358e474Smseidel		Pos = MAP_APPFONT ( 100, 30 ) ;
62*6358e474Smseidel		Size = MAP_APPFONT ( 148, 80 ) ;
63cdf0e10cSrcweir		TabStop = TRUE ;
64cdf0e10cSrcweir		DropDown = TRUE ;
65cdf0e10cSrcweir		Sort = TRUE ;
66cdf0e10cSrcweir	};
67cdf0e10cSrcweir	FixedText FT_FORMAT
68cdf0e10cSrcweir	{
69*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 46 ) ;
70*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
71cdf0e10cSrcweir		Text [ en-US ] = "F~ormat" ;
72cdf0e10cSrcweir	};
73cdf0e10cSrcweir	ListBox LB_FORMAT
74cdf0e10cSrcweir	{
75*6358e474Smseidel		HelpID = "sw:ListBox:TP_LINENUMBERING:LB_FORMAT" ;
76*6358e474Smseidel		Pos = MAP_APPFONT ( 100, 44 ) ;
77*6358e474Smseidel		Size = MAP_APPFONT ( 148, 80 ) ;
78cdf0e10cSrcweir		TabStop = TRUE ;
79cdf0e10cSrcweir		DropDown = TRUE ;
80cdf0e10cSrcweir	};
81cdf0e10cSrcweir	FixedText FT_POS
82cdf0e10cSrcweir	{
83*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 62 ) ;
84*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
85cdf0e10cSrcweir		Text [ en-US ] = "Position" ;
86cdf0e10cSrcweir	};
87cdf0e10cSrcweir	ListBox LB_POS
88cdf0e10cSrcweir	{
89*6358e474Smseidel		HelpID = "sw:ListBox:TP_LINENUMBERING:LB_POS" ;
90*6358e474Smseidel		Pos = MAP_APPFONT ( 100, 60 ) ;
91*6358e474Smseidel		Size = MAP_APPFONT ( 148, 60 ) ;
92cdf0e10cSrcweir		TabStop = TRUE ;
93cdf0e10cSrcweir		DropDown = TRUE ;
94cdf0e10cSrcweir		StringList [ en-US ] =
95cdf0e10cSrcweir		{
96*6358e474Smseidel			< "Left" ;	> ;
97*6358e474Smseidel			< "Right" ;	> ;
98*6358e474Smseidel			< "Inner" ;	> ;
99*6358e474Smseidel			< "Outer" ;	> ;
100cdf0e10cSrcweir		};
101cdf0e10cSrcweir	};
102cdf0e10cSrcweir	FixedText FT_OFFSET
103cdf0e10cSrcweir	{
104*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 78 ) ;
105*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
106cdf0e10cSrcweir		Text [ en-US ] = "Spacing" ;
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir	MetricField MF_OFFSET
109cdf0e10cSrcweir	{
110*6358e474Smseidel		HelpID = "sw:MetricField:TP_LINENUMBERING:MF_OFFSET" ;
111*6358e474Smseidel		Pos = MAP_APPFONT ( 100, 76 ) ;
112*6358e474Smseidel		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	{
128*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 94 ) ;
129*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
130cdf0e10cSrcweir		Text [ en-US ] = "Interval" ;
131cdf0e10cSrcweir	};
132cdf0e10cSrcweir	NumericField NF_NUM_INVERVAL
133cdf0e10cSrcweir	{
134*6358e474Smseidel		HelpID = "sw:NumericField:TP_LINENUMBERING:NF_NUM_INVERVAL" ;
135*6358e474Smseidel		Pos = MAP_APPFONT ( 100, 92 ) ;
136*6358e474Smseidel		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	{
150*6358e474Smseidel		Pos = MAP_APPFONT ( 136, 94 ) ;
151*6358e474Smseidel		Size = MAP_APPFONT ( 80, 10 ) ;
152cdf0e10cSrcweir		Text [ en-US ] = "lines" ;
153cdf0e10cSrcweir	};
154*6358e474Smseidel	FixedLine FL_DISPLAY
155cdf0e10cSrcweir	{
156*6358e474Smseidel		Pos = MAP_APPFONT ( 6, 17 ) ;
157*6358e474Smseidel		Size = MAP_APPFONT ( 248, 8 ) ;
158cdf0e10cSrcweir		Text [ en-US ] = "View" ;
159cdf0e10cSrcweir	};
160cdf0e10cSrcweir	FixedText FT_DIVISOR
161cdf0e10cSrcweir	{
162*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 123 ) ;
163*6358e474Smseidel		Size = MAP_APPFONT ( 30, 8 ) ;
164cdf0e10cSrcweir		Text [ en-US ] = "Text" ;
165cdf0e10cSrcweir	};
166cdf0e10cSrcweir	Edit ED_DIVISOR
167cdf0e10cSrcweir	{
168*6358e474Smseidel		HelpID = "sw:Edit:TP_LINENUMBERING:ED_DIVISOR" ;
169*6358e474Smseidel		Pos = MAP_APPFONT ( 45, 121 ) ;
170*6358e474Smseidel		Size = MAP_APPFONT ( 76, 12 ) ;
171cdf0e10cSrcweir		Left = TRUE ;
172cdf0e10cSrcweir		Border = TRUE ;
173cdf0e10cSrcweir	};
174cdf0e10cSrcweir	FixedText FT_DIV_INTERVAL
175cdf0e10cSrcweir	{
176*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 139 ) ;
177*6358e474Smseidel		Size = MAP_APPFONT ( 30, 8 ) ;
178*6358e474Smseidel//		Disable = TRUE ;
179cdf0e10cSrcweir		Text [ en-US ] = "Every" ;
180cdf0e10cSrcweir	};
181cdf0e10cSrcweir	NumericField NF_DIV_INTERVAL
182cdf0e10cSrcweir	{
183*6358e474Smseidel		HelpID = "sw:NumericField:TP_LINENUMBERING:NF_DIV_INTERVAL" ;
184*6358e474Smseidel		Pos = MAP_APPFONT ( 45, 137 ) ;
185*6358e474Smseidel		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 ;
196*6358e474Smseidel//		Disable = TRUE ;
197cdf0e10cSrcweir	};
198cdf0e10cSrcweir	FixedText FT_DIV_ROWS
199cdf0e10cSrcweir	{
200*6358e474Smseidel		Pos = MAP_APPFONT ( 78, 139 ) ;
201*6358e474Smseidel		Size = MAP_APPFONT ( 40, 8 ) ;
202cdf0e10cSrcweir		Text [ en-US ] = "Lines" ;
203cdf0e10cSrcweir	};
204*6358e474Smseidel	FixedLine FL_DIVISOR
205cdf0e10cSrcweir	{
206*6358e474Smseidel		Pos = MAP_APPFONT ( 6, 110 ) ;
207*6358e474Smseidel		Size = MAP_APPFONT ( 121, 8 ) ;
208cdf0e10cSrcweir		Text [ en-US ] = "Separator" ;
209cdf0e10cSrcweir	};
210cdf0e10cSrcweir	CheckBox CB_COUNT_EMPTYLINES
211cdf0e10cSrcweir	{
212*6358e474Smseidel		HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_COUNT_EMPTYLINES" ;
213*6358e474Smseidel		Pos = MAP_APPFONT ( 139, 121 ) ;
214*6358e474Smseidel		Size = MAP_APPFONT ( 110, 10 ) ;
215cdf0e10cSrcweir		TabStop = TRUE ;
216cdf0e10cSrcweir		Text [ en-US ] = "Blank lines" ;
217cdf0e10cSrcweir	};
218cdf0e10cSrcweir	CheckBox CB_COUNT_FRAMELINES
219cdf0e10cSrcweir	{
220*6358e474Smseidel		HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_COUNT_FRAMELINES" ;
221*6358e474Smseidel		Pos = MAP_APPFONT ( 139, 135 ) ;
222*6358e474Smseidel		Size = MAP_APPFONT ( 110, 10 ) ;
223cdf0e10cSrcweir		TabStop = TRUE ;
224cdf0e10cSrcweir		Text [ en-US ] = "Lines in text frames" ;
225cdf0e10cSrcweir	};
226cdf0e10cSrcweir	CheckBox CB_RESTART_PAGE
227cdf0e10cSrcweir	{
228*6358e474Smseidel		HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_RESTART_PAGE" ;
229*6358e474Smseidel		Pos = MAP_APPFONT ( 139, 149 );
230*6358e474Smseidel		Size = MAP_APPFONT ( 110, 10 );
231*6358e474Smseidel		TabStop = TRUE ;
232*6358e474Smseidel		Text [ en-US ] = "~Restart every new page" ;
233cdf0e10cSrcweir	};
234*6358e474Smseidel	FixedLine FL_COUNT
235cdf0e10cSrcweir	{
236*6358e474Smseidel		Pos = MAP_APPFONT ( 133, 110 ) ;
237*6358e474Smseidel		Size = MAP_APPFONT ( 121, 8 ) ;
238cdf0e10cSrcweir		Text [ en-US ] = "Count" ;
239cdf0e10cSrcweir	};
240cdf0e10cSrcweir	Text [ en-US ] = "Line Numbering" ;
241cdf0e10cSrcweir};
242cdf0e10cSrcweir
243*6358e474Smseidel// ********************************************************************** EOF
244