xref: /AOO41X/main/sw/source/ui/frmdlg/cption.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir // #include *****************************************************************
28*cdf0e10cSrcweir#include "helpid.h"
29*cdf0e10cSrcweir#include "frmui.hrc"
30*cdf0e10cSrcweir#include "cption.hrc"
31*cdf0e10cSrcweir#include "cmdid.h"
32*cdf0e10cSrcweir // #pragma ******************************************************************
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir // ModalDialog **************************************************************
35*cdf0e10cSrcweirModalDialog DLG_CAPTION
36*cdf0e10cSrcweir{
37*cdf0e10cSrcweir	HelpID = HID_DLG_CAPTION ;
38*cdf0e10cSrcweir	OutputSize = TRUE ;
39*cdf0e10cSrcweir	SVLook = TRUE ;
40*cdf0e10cSrcweir    Size = MAP_APPFONT ( 250 , 143 ) ;
41*cdf0e10cSrcweir	Text [ en-US ] = "Caption" ;
42*cdf0e10cSrcweir	Moveable = TRUE ;
43*cdf0e10cSrcweir	OKButton BTN_OK
44*cdf0e10cSrcweir	{
45*cdf0e10cSrcweir		DefButton = TRUE ;
46*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 194 , 6 ) ;
47*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
48*cdf0e10cSrcweir		TabStop = TRUE ;
49*cdf0e10cSrcweir	};
50*cdf0e10cSrcweir	CancelButton BTN_CANCEL
51*cdf0e10cSrcweir	{
52*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 194 , 23 ) ;
53*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
54*cdf0e10cSrcweir		TabStop = TRUE ;
55*cdf0e10cSrcweir	};
56*cdf0e10cSrcweir	HelpButton BTN_HELP
57*cdf0e10cSrcweir	{
58*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 194 , 43 ) ;
59*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
60*cdf0e10cSrcweir		TabStop = TRUE ;
61*cdf0e10cSrcweir	};
62*cdf0e10cSrcweir	PushButton BTN_AUTOCAPTION
63*cdf0e10cSrcweir	{
64*cdf0e10cSrcweir	    HelpID = "sw:PushButton:DLG_CAPTION:BTN_AUTOCAPTION";
65*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 194 , 63 ) ;
66*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
67*cdf0e10cSrcweir		TabStop = TRUE ;
68*cdf0e10cSrcweir		Text [ en-US ] = "AutoCaption..." ;
69*cdf0e10cSrcweir	};
70*cdf0e10cSrcweir	PushButton BTN_OPTION
71*cdf0e10cSrcweir	{
72*cdf0e10cSrcweir	    HelpID = "sw:PushButton:DLG_CAPTION:BTN_OPTION";
73*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 194 , 80 ) ;
74*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
75*cdf0e10cSrcweir		TabStop = TRUE ;
76*cdf0e10cSrcweir		Text [ en-US ] = "Options..." ;
77*cdf0e10cSrcweir	};
78*cdf0e10cSrcweir
79*cdf0e10cSrcweir	FixedText TXT_TEXT
80*cdf0e10cSrcweir	{
81*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 6 ) ;
82*cdf0e10cSrcweir        Size = MAP_APPFONT ( 182 , 8 ) ;
83*cdf0e10cSrcweir		Text [ en-US ] = "Caption" ;
84*cdf0e10cSrcweir		Left = TRUE ;
85*cdf0e10cSrcweir	};
86*cdf0e10cSrcweir	Edit EDT_TEXT
87*cdf0e10cSrcweir	{
88*cdf0e10cSrcweir	    HelpID = "sw:Edit:DLG_CAPTION:EDT_TEXT";
89*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 17 ) ;
90*cdf0e10cSrcweir		Size = MAP_APPFONT ( 182 , 12 ) ;
91*cdf0e10cSrcweir		Border = TRUE ;
92*cdf0e10cSrcweir		TabStop = TRUE ;
93*cdf0e10cSrcweir		Left = TRUE ;
94*cdf0e10cSrcweir	};
95*cdf0e10cSrcweir    FixedLine FL_SETTINGS
96*cdf0e10cSrcweir	{
97*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 35 ) ;
98*cdf0e10cSrcweir        Size = MAP_APPFONT ( 182 , 8 ) ;
99*cdf0e10cSrcweir		Text [ en-US ] = "Properties";
100*cdf0e10cSrcweir	};
101*cdf0e10cSrcweir	FixedText TXT_CATEGORY
102*cdf0e10cSrcweir	{
103*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 49 ) ;
104*cdf0e10cSrcweir        Size = MAP_APPFONT ( 67 , 8 ) ;
105*cdf0e10cSrcweir		Text [ en-US ] = "Category" ;
106*cdf0e10cSrcweir		Left = TRUE ;
107*cdf0e10cSrcweir	};
108*cdf0e10cSrcweir	ComboBox BOX_CATEGORY
109*cdf0e10cSrcweir	{
110*cdf0e10cSrcweir	    HelpID = "sw:ComboBox:DLG_CAPTION:BOX_CATEGORY";
111*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 82 , 46 ) ;
112*cdf0e10cSrcweir		Size = MAP_APPFONT ( 106 , 61 ) ;
113*cdf0e10cSrcweir		DropDown = TRUE ;
114*cdf0e10cSrcweir		TabStop = TRUE ;
115*cdf0e10cSrcweir		Sort = TRUE ;
116*cdf0e10cSrcweir	};
117*cdf0e10cSrcweir	FixedText TXT_FORMAT
118*cdf0e10cSrcweir	{
119*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 66 ) ;
120*cdf0e10cSrcweir        Size = MAP_APPFONT ( 67 , 8 ) ;
121*cdf0e10cSrcweir		Text [ en-US ] = "Numbering" ;
122*cdf0e10cSrcweir		Left = TRUE ;
123*cdf0e10cSrcweir	};
124*cdf0e10cSrcweir	ListBox BOX_FORMAT
125*cdf0e10cSrcweir	{
126*cdf0e10cSrcweir	    HelpID = "sw:ListBox:DLG_CAPTION:BOX_FORMAT";
127*cdf0e10cSrcweir		Border = TRUE ;
128*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 82 , 63 ) ;
129*cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 83 ) ;
130*cdf0e10cSrcweir		DropDown = TRUE ;
131*cdf0e10cSrcweir		TabStop = TRUE ;
132*cdf0e10cSrcweir	};
133*cdf0e10cSrcweir    FixedText FT_NUM_SEP
134*cdf0e10cSrcweir    {
135*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 66 ) ;
136*cdf0e10cSrcweir        Size = MAP_APPFONT ( 67 , 8 ) ;
137*cdf0e10cSrcweir        Text [ en-US ] = "Numbering separator" ;
138*cdf0e10cSrcweir        Left = TRUE ;
139*cdf0e10cSrcweir        Hide = TRUE;
140*cdf0e10cSrcweir    };
141*cdf0e10cSrcweir    Edit ED_NUM_SEP
142*cdf0e10cSrcweir    {
143*cdf0e10cSrcweir        HelpID = "sw:Edit:DLG_CAPTION:ED_NUM_SEP";
144*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 82 , 63 ) ;
145*cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 12 ) ;
146*cdf0e10cSrcweir        Border = TRUE ;
147*cdf0e10cSrcweir        TabStop = TRUE ;
148*cdf0e10cSrcweir        Left = TRUE ;
149*cdf0e10cSrcweir        Text  = ". " ;
150*cdf0e10cSrcweir        Hide = TRUE;
151*cdf0e10cSrcweir    };
152*cdf0e10cSrcweir	FixedText TXT_SEP
153*cdf0e10cSrcweir	{
154*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 82 ) ;
155*cdf0e10cSrcweir        Size = MAP_APPFONT ( 67 , 8 ) ;
156*cdf0e10cSrcweir		Text [ en-US ] = "Separator" ;
157*cdf0e10cSrcweir		Left = TRUE ;
158*cdf0e10cSrcweir	};
159*cdf0e10cSrcweir	Edit EDT_SEP
160*cdf0e10cSrcweir	{
161*cdf0e10cSrcweir	    HelpID = "sw:Edit:DLG_CAPTION:EDT_SEP";
162*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 82 , 80 ) ;
163*cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 12 ) ;
164*cdf0e10cSrcweir		Border = TRUE ;
165*cdf0e10cSrcweir		TabStop = TRUE ;
166*cdf0e10cSrcweir		Left = TRUE ;
167*cdf0e10cSrcweir		Text [ en-US ] = ": " ;
168*cdf0e10cSrcweir	};
169*cdf0e10cSrcweir	FixedText TXT_POS
170*cdf0e10cSrcweir	{
171*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 100 ) ;
172*cdf0e10cSrcweir        Size = MAP_APPFONT ( 67 , 8 ) ;
173*cdf0e10cSrcweir		Left = TRUE ;
174*cdf0e10cSrcweir		Text [ en-US ] = "Position" ;
175*cdf0e10cSrcweir	};
176*cdf0e10cSrcweir	ListBox BOX_POS
177*cdf0e10cSrcweir	{
178*cdf0e10cSrcweir	    HelpID = "sw:ListBox:DLG_CAPTION:BOX_POS";
179*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 82 , 97 ) ;
180*cdf0e10cSrcweir		Size = MAP_APPFONT ( 106 , 61 ) ;
181*cdf0e10cSrcweir		DropDown = TRUE ;
182*cdf0e10cSrcweir		TabStop = TRUE ;
183*cdf0e10cSrcweir		Border = TRUE ;
184*cdf0e10cSrcweir	};
185*cdf0e10cSrcweir	Window WIN_SAMPLE
186*cdf0e10cSrcweir	{
187*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 117 ) ;
188*cdf0e10cSrcweir		Size = MAP_APPFONT ( 182 , 20 ) ;
189*cdf0e10cSrcweir		Border = TRUE ;
190*cdf0e10cSrcweir	};
191*cdf0e10cSrcweir
192*cdf0e10cSrcweir	String STR_BEGINNING
193*cdf0e10cSrcweir	{
194*cdf0e10cSrcweir		Text [ en-US ] = "Above" ;
195*cdf0e10cSrcweir	};
196*cdf0e10cSrcweir	String STR_END
197*cdf0e10cSrcweir	{
198*cdf0e10cSrcweir		Text [ en-US ] = "Below" ;
199*cdf0e10cSrcweir	};
200*cdf0e10cSrcweir	String STR_ABOVE
201*cdf0e10cSrcweir	{
202*cdf0e10cSrcweir		Text [ en-US ] = "Above" ;
203*cdf0e10cSrcweir	};
204*cdf0e10cSrcweir	String STR_CP_BELOW
205*cdf0e10cSrcweir	{
206*cdf0e10cSrcweir		Text [ en-US ] = "Below" ;
207*cdf0e10cSrcweir	};
208*cdf0e10cSrcweir	String STR_CATEGORY_NONE
209*cdf0e10cSrcweir	{
210*cdf0e10cSrcweir		Text [ en-US ] = "<None>" ;
211*cdf0e10cSrcweir	};
212*cdf0e10cSrcweir};
213*cdf0e10cSrcweir
214*cdf0e10cSrcweirModalDialog DLG_SEQUENCE_OPTION
215*cdf0e10cSrcweir{
216*cdf0e10cSrcweir	HelpID = HID_DLG_SEQUENCE_OPTION ;
217*cdf0e10cSrcweir	OutputSize = TRUE ;
218*cdf0e10cSrcweir	SVLook = TRUE ;
219*cdf0e10cSrcweir    Size = MAP_APPFONT ( 200 , 132 ) ;
220*cdf0e10cSrcweir	Moveable = TRUE ;
221*cdf0e10cSrcweir	Text [ en-US ] = "Options" ;
222*cdf0e10cSrcweir	OKButton BTN_OK
223*cdf0e10cSrcweir	{
224*cdf0e10cSrcweir		DefButton = TRUE ;
225*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 145 , 6 ) ;
226*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
227*cdf0e10cSrcweir		TabStop = TRUE ;
228*cdf0e10cSrcweir	};
229*cdf0e10cSrcweir	CancelButton BTN_CANCEL
230*cdf0e10cSrcweir	{
231*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 145 , 23 ) ;
232*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
233*cdf0e10cSrcweir		TabStop = TRUE ;
234*cdf0e10cSrcweir	};
235*cdf0e10cSrcweir	HelpButton BTN_HELP
236*cdf0e10cSrcweir	{
237*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 145 , 43 ) ;
238*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
239*cdf0e10cSrcweir		TabStop = TRUE ;
240*cdf0e10cSrcweir	};
241*cdf0e10cSrcweir    FixedLine FL_HEADER
242*cdf0e10cSrcweir	{
243*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
244*cdf0e10cSrcweir        Size = MAP_APPFONT ( 132 , 8 ) ;
245*cdf0e10cSrcweir		Text [ en-US ] = "Numbering captions by chapter" ;
246*cdf0e10cSrcweir	};
247*cdf0e10cSrcweir	FixedText FT_LEVEL
248*cdf0e10cSrcweir	{
249*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 21 ) ;
250*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
251*cdf0e10cSrcweir		Text [ en-US ] = "~Level" ;
252*cdf0e10cSrcweir	};
253*cdf0e10cSrcweir	ListBox LB_LEVEL
254*cdf0e10cSrcweir	{
255*cdf0e10cSrcweir	    HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_LEVEL";
256*cdf0e10cSrcweir		Border = TRUE ;
257*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 18 ) ;
258*cdf0e10cSrcweir		Size = MAP_APPFONT ( 72 , 60 ) ;
259*cdf0e10cSrcweir		TabStop = TRUE ;
260*cdf0e10cSrcweir		DropDown = TRUE ;
261*cdf0e10cSrcweir		StringList [ en-US ] =
262*cdf0e10cSrcweir		{
263*cdf0e10cSrcweir			< "<None>" ; > ;
264*cdf0e10cSrcweir		};
265*cdf0e10cSrcweir	};
266*cdf0e10cSrcweir	FixedText FT_SEPARATOR
267*cdf0e10cSrcweir	{
268*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 33 ) ;
269*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
270*cdf0e10cSrcweir		Text [ en-US ] = "~Separator" ;
271*cdf0e10cSrcweir	};
272*cdf0e10cSrcweir	Edit ED_SEPARATOR
273*cdf0e10cSrcweir	{
274*cdf0e10cSrcweir	    HelpID = "sw:Edit:DLG_SEQUENCE_OPTION:ED_SEPARATOR";
275*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 34 ) ;
276*cdf0e10cSrcweir		Size = MAP_APPFONT ( 72 , 12 ) ;
277*cdf0e10cSrcweir		Border = TRUE ;
278*cdf0e10cSrcweir		MaxTextLength = 1 ;
279*cdf0e10cSrcweir		TEXT = "." ;
280*cdf0e10cSrcweir	};
281*cdf0e10cSrcweir        FixedLine FL_CATANDFRAME
282*cdf0e10cSrcweir	{
283*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 53 ) ;
284*cdf0e10cSrcweir        Size = MAP_APPFONT ( 132 , 8 ) ;
285*cdf0e10cSrcweir        Text [ en-US ] = "Category and frame format" ;
286*cdf0e10cSrcweir	};
287*cdf0e10cSrcweir	FixedText FT_CHARSTYLE
288*cdf0e10cSrcweir	{
289*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 71 ) ;
290*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
291*cdf0e10cSrcweir		Text [ en-US ] = "Character style" ;
292*cdf0e10cSrcweir	};
293*cdf0e10cSrcweir	ListBox LB_CHARSTYLE
294*cdf0e10cSrcweir	{
295*cdf0e10cSrcweir	    HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_CHARSTYLE";
296*cdf0e10cSrcweir		Border = TRUE ;
297*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 68 ) ;
298*cdf0e10cSrcweir		Size = MAP_APPFONT ( 72 , 60 ) ;
299*cdf0e10cSrcweir		TabStop = TRUE ;
300*cdf0e10cSrcweir		DropDown = TRUE ;
301*cdf0e10cSrcweir		StringList [ en-US ] =
302*cdf0e10cSrcweir		{
303*cdf0e10cSrcweir			< "<None>" ; > ;
304*cdf0e10cSrcweir		};
305*cdf0e10cSrcweir	};
306*cdf0e10cSrcweir	CheckBox CB_APPLYBAS
307*cdf0e10cSrcweir	{
308*cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_SEQUENCE_OPTION:CB_APPLYBAS";
309*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 84 ) ;
310*cdf0e10cSrcweir        Size = MAP_APPFONT ( 136 , 10 ) ;
311*cdf0e10cSrcweir		TabStop = TRUE ;
312*cdf0e10cSrcweir        Text [ en-US ] = "~Apply border and shadow";
313*cdf0e10cSrcweir   };
314*cdf0e10cSrcweir    FixedLine FL_ORDER
315*cdf0e10cSrcweir    {
316*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 97 ) ;
317*cdf0e10cSrcweir        Size = MAP_APPFONT ( 132 , 8 ) ;
318*cdf0e10cSrcweir        Text [ en-US ] = "Caption" ;
319*cdf0e10cSrcweir    };
320*cdf0e10cSrcweir    FixedText FT_ORDER
321*cdf0e10cSrcweir    {
322*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 115 ) ;
323*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
324*cdf0e10cSrcweir        Text [ en-US ] = "Caption order" ;
325*cdf0e10cSrcweir    };
326*cdf0e10cSrcweir    ListBox LB_ORDER
327*cdf0e10cSrcweir    {
328*cdf0e10cSrcweir        HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_ORDER";
329*cdf0e10cSrcweir        Border = TRUE ;
330*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 65 , 114 ) ;
331*cdf0e10cSrcweir        Size = MAP_APPFONT ( 72 , 60 ) ;
332*cdf0e10cSrcweir        TabStop = TRUE ;
333*cdf0e10cSrcweir        DropDown = TRUE ;
334*cdf0e10cSrcweir        StringList [ en-US ] =
335*cdf0e10cSrcweir        {
336*cdf0e10cSrcweir            < "Category first" ; > ;
337*cdf0e10cSrcweir            < "Numbering first" ; > ;
338*cdf0e10cSrcweir        };
339*cdf0e10cSrcweir    };
340*cdf0e10cSrcweir};
341*cdf0e10cSrcweir // ********************************************************************** EOF
342*cdf0e10cSrcweir
343