xref: /aoo42x/main/sw/source/ui/chrdlg/numpara.src (revision de272532)
18660f102SAndrew Rist/**************************************************************
2*de272532Smseidel *
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*de272532Smseidel *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*de272532Smseidel *
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*de272532Smseidel *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir
24*de272532Smseidel// #pragma ******************************************************************
25*de272532Smseidel
26*de272532Smseidel// #include *****************************************************************
27cdf0e10cSrcweir#include "globals.hrc"
28cdf0e10cSrcweir#include "chrdlg.hrc"
29cdf0e10cSrcweir#include "numpara.hrc"
30cdf0e10cSrcweir#include "helpid.h"
31*de272532Smseidel// TabPage ******************************************************************
32cdf0e10cSrcweirTabPage TP_NUMPARA
33cdf0e10cSrcweir{
34cdf0e10cSrcweir	HelpID = HID_NUMPARA ;
35*de272532Smseidel	Size = MAP_APPFONT ( 260, 185 ) ;
36cdf0e10cSrcweir	Hide = TRUE ;
37cdf0e10cSrcweir	FixedLine FL_OUTLINE_START
38cdf0e10cSrcweir	{
39*de272532Smseidel		Pos = MAP_APPFONT ( 6, 3 ) ;
40*de272532Smseidel		Size = MAP_APPFONT ( 248, 8 ) ;
41cdf0e10cSrcweir		Text [ en-US ] = "Outline" ;
42cdf0e10cSrcweir	};
43cdf0e10cSrcweir	FixedText FT_OUTLINE_LEVEL
44cdf0e10cSrcweir	{
45*de272532Smseidel		Pos = MAP_APPFONT ( 12, 16 ) ;
46*de272532Smseidel		Size = MAP_APPFONT ( 112, 8 ) ;
47*de272532Smseidel		Text [ en-US ] = "Outline level" ;
48cdf0e10cSrcweir	};
49cdf0e10cSrcweir	ListBox LB_OUTLINE_LEVEL
50cdf0e10cSrcweir	{
51*de272532Smseidel		HelpID = "sw:ListBox:TP_NUMPARA:LB_OUTLINE_LEVEL" ;
52*de272532Smseidel		Pos = MAP_APPFONT ( 130, 14 ) ;
53*de272532Smseidel		Size = MAP_APPFONT ( 118, 65 ) ;
54cdf0e10cSrcweir		DropDown = TRUE ;
55cdf0e10cSrcweir		Border = TRUE ;
56cdf0e10cSrcweir		StringList [ en-US ] =
57cdf0e10cSrcweir		{
58*de272532Smseidel			< "Body text" ;	> ;
59*de272532Smseidel			< "Level 1" ;	> ;
60*de272532Smseidel			< "Level 2" ;	> ;
61*de272532Smseidel			< "Level 3" ;	> ;
62*de272532Smseidel			< "Level 4" ;	> ;
63*de272532Smseidel			< "Level 5" ;	> ;
64*de272532Smseidel			< "Level 6" ;	> ;
65*de272532Smseidel			< "Level 7" ;	> ;
66*de272532Smseidel			< "Level 8" ;	> ;
67*de272532Smseidel			< "Level 9" ;	> ;
68*de272532Smseidel			< "Level 10" ;	> ;
69cdf0e10cSrcweir		};
70*de272532Smseidel		StringList [ x-comment ] =
71*de272532Smseidel		{
72*de272532Smseidel			< "Level 0" ;	> ;
73*de272532Smseidel			< "Level 1" ;	> ;
74*de272532Smseidel			< "Level 2" ;	> ;
75*de272532Smseidel			< "Level 3" ;	> ;
76*de272532Smseidel			< "Level 4" ;	> ;
77*de272532Smseidel			< "Level 5" ;	> ;
78*de272532Smseidel			< "Level 6" ;	> ;
79*de272532Smseidel			< "Level 7" ;	> ;
80*de272532Smseidel			< "Level 8" ;	> ;
81*de272532Smseidel			< "Level 9" ;	> ;
82*de272532Smseidel			< "Level 10" ;	> ;
83cdf0e10cSrcweir		};
84cdf0e10cSrcweir	};
85cdf0e10cSrcweir	FixedLine FL_NEW_START
86cdf0e10cSrcweir	{
87*de272532Smseidel		Pos = MAP_APPFONT ( 6, 32 ) ;
88*de272532Smseidel		Size = MAP_APPFONT ( 248, 8 ) ;
89cdf0e10cSrcweir		Text [ en-US ] = "Numbering" ;
90cdf0e10cSrcweir	};
91*de272532Smseidel	FixedText FT_NUMBER_STYLE
92cdf0e10cSrcweir	{
93*de272532Smseidel		Pos = MAP_APPFONT ( 12, 43 ) ;
94*de272532Smseidel		Size = MAP_APPFONT ( 112, 8 ) ;
95*de272532Smseidel		Text [ en-US ] = "Numbering Style" ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir	ListBox LB_NUMBER_STYLE
98cdf0e10cSrcweir	{
99*de272532Smseidel		HelpID = "sw:ListBox:TP_NUMPARA:LB_NUMBER_STYLE" ;
100*de272532Smseidel		Pos = MAP_APPFONT ( 130, 41 ) ;
101*de272532Smseidel		Size = MAP_APPFONT ( 118, 65 ) ;
102cdf0e10cSrcweir		DropDown = TRUE ;
103cdf0e10cSrcweir		Border = TRUE ;
104cdf0e10cSrcweir		StringList [ en-US ] =
105cdf0e10cSrcweir		{
106cdf0e10cSrcweir			< "None" ; > ;
107cdf0e10cSrcweir		};
108cdf0e10cSrcweir	};
109cdf0e10cSrcweir	TriStateBox CB_NEW_START
110cdf0e10cSrcweir	{
111*de272532Smseidel		HelpID = "sw:TriStateBox:TP_NUMPARA:CB_NEW_START" ;
112*de272532Smseidel		Pos = MAP_APPFONT ( 12, 58 ) ;
113*de272532Smseidel		Size = MAP_APPFONT ( 160, 10 ) ;
114cdf0e10cSrcweir		Hide = TRUE ;
115cdf0e10cSrcweir		TabStop = TRUE ;
116cdf0e10cSrcweir		Text [ en-US ] = "R~estart at this paragraph" ;
117cdf0e10cSrcweir	};
118*de272532Smseidel	TriStateBox CB_NUMBER_NEW_START
119cdf0e10cSrcweir	{
120*de272532Smseidel		HelpID = "sw:TriStateBox:TP_NUMPARA:CB_NUMBER_NEW_START" ;
121*de272532Smseidel		Pos = MAP_APPFONT ( 21, 73 ) ;
122*de272532Smseidel		Size = MAP_APPFONT ( 103, 10 ) ;
123cdf0e10cSrcweir		Hide = TRUE ;
124cdf0e10cSrcweir		Disable = TRUE ;
125*de272532Smseidel		Text [ en-US ] = "S~tart with" ;
126cdf0e10cSrcweir	};
127cdf0e10cSrcweir	NumericField NF_NEW_START
128cdf0e10cSrcweir	{
129*de272532Smseidel		HelpID = "sw:NumericField:TP_NUMPARA:NF_NEW_START" ;
130cdf0e10cSrcweir		Border = TRUE ;
131*de272532Smseidel		Pos = MAP_APPFONT ( 130, 72 ) ;
132*de272532Smseidel		Size = MAP_APPFONT ( 26, 12 ) ;
133cdf0e10cSrcweir		TabStop = TRUE ;
134cdf0e10cSrcweir		Left = TRUE ;
135cdf0e10cSrcweir		Repeat = TRUE ;
136cdf0e10cSrcweir		Spin = TRUE ;
137cdf0e10cSrcweir		Minimum = 0 ;
138cdf0e10cSrcweir		Maximum = 9999 ;
139cdf0e10cSrcweir		Value = 0 ;
140cdf0e10cSrcweir		First = 0 ;
141cdf0e10cSrcweir		Last = 9999 ;
142cdf0e10cSrcweir		Hide = TRUE ;
143cdf0e10cSrcweir		Disable = TRUE ;
144cdf0e10cSrcweir	};
145*de272532Smseidel	FixedLine FL_COUNT_PARA
146cdf0e10cSrcweir	{
147*de272532Smseidel		Pos = MAP_APPFONT ( 6, 89 ) ;
148*de272532Smseidel		Size = MAP_APPFONT ( 248, 8 ) ;
149cdf0e10cSrcweir		Text [ en-US ] = "Line numbering" ;
150cdf0e10cSrcweir	};
151cdf0e10cSrcweir	TriStateBox CB_COUNT_PARA
152cdf0e10cSrcweir	{
153*de272532Smseidel		HelpID = "sw:TriStateBox:TP_NUMPARA:CB_COUNT_PARA" ;
154*de272532Smseidel		Pos = MAP_APPFONT ( 12, 100 ) ;
155*de272532Smseidel		Size = MAP_APPFONT ( 160, 10 ) ;
156cdf0e10cSrcweir		TabStop = TRUE ;
157cdf0e10cSrcweir		Text [ en-US ] = "~Include this paragraph in line numbering" ;
158cdf0e10cSrcweir	};
159cdf0e10cSrcweir	TriStateBox CB_RESTART_PARACOUNT
160cdf0e10cSrcweir	{
161*de272532Smseidel		HelpID = "sw:TriStateBox:TP_NUMPARA:CB_RESTART_PARACOUNT" ;
162*de272532Smseidel		Pos = MAP_APPFONT ( 12, 116 ) ;
163*de272532Smseidel		Size = MAP_APPFONT ( 160, 10 ) ;
164cdf0e10cSrcweir		TabStop = TRUE ;
165cdf0e10cSrcweir		Text [ en-US ] = "Rest~art at this paragraph" ;
166cdf0e10cSrcweir	};
167cdf0e10cSrcweir	FixedText FT_RESTART_NO
168cdf0e10cSrcweir	{
169*de272532Smseidel		Pos = MAP_APPFONT ( 21, 132 ) ;
170*de272532Smseidel		Size = MAP_APPFONT ( 103, 8 ) ;
171cdf0e10cSrcweir		Disable = TRUE ;
172*de272532Smseidel		Text [ en-US ] = "~Start with" ;
173cdf0e10cSrcweir	};
174cdf0e10cSrcweir	NumericField NF_RESTART_PARA
175cdf0e10cSrcweir	{
176*de272532Smseidel		HelpID = "sw:NumericField:TP_NUMPARA:NF_RESTART_PARA" ;
177cdf0e10cSrcweir		Border = TRUE ;
178*de272532Smseidel		Pos = MAP_APPFONT ( 130, 130 ) ;
179*de272532Smseidel		Size = MAP_APPFONT ( 26, 12 ) ;
180cdf0e10cSrcweir		TabStop = TRUE ;
181cdf0e10cSrcweir		Left = TRUE ;
182cdf0e10cSrcweir		Repeat = TRUE ;
183cdf0e10cSrcweir		Spin = TRUE ;
184cdf0e10cSrcweir		Minimum = 1 ;
185cdf0e10cSrcweir		Maximum = 65000 ;
186cdf0e10cSrcweir		Value = 1 ;
187cdf0e10cSrcweir		First = 1 ;
188cdf0e10cSrcweir		Last = 65000 ;
189cdf0e10cSrcweir		Disable = TRUE ;
190cdf0e10cSrcweir	};
191cdf0e10cSrcweir};
192cdf0e10cSrcweir
193*de272532Smseidel// ********************************************************************** EOF
194