xref: /trunk/main/sw/source/ui/fldui/fldvar.src (revision 346a8834)
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#include "globals.hrc"
25#include "fldtdlg.hrc"
26#include "helpid.h"
27#include "cmdid.h"
28TabPage TP_FLD_VAR
29{
30	HelpID = HID_FLD_VAR ;
31	SVLook = TRUE ;
32	Hide = TRUE ;
33	Size = MAP_APPFONT ( 260, 185 ) ;
34	FixedText FT_VARTYPE
35	{
36		Pos = MAP_APPFONT ( 6, 3 ) ;
37		Size = MAP_APPFONT ( 76, 8 ) ;
38		Text [ en-US ] = "~Type" ;
39		Left = TRUE ;
40	};
41	ListBox LB_VARTYPE
42	{
43		HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARTYPE" ;
44		Border = TRUE ;
45		Pos = MAP_APPFONT ( 6, 14 ) ;
46		Size = MAP_APPFONT ( 76, 135 ) ;
47		TabStop = TRUE ;
48		Sort = FALSE ;
49		AutoHScroll = TRUE ;
50	};
51	FixedText FT_VARSELECTION
52	{
53		Pos = MAP_APPFONT ( 88, 3 ) ;
54		Size = MAP_APPFONT ( 76, 8 ) ;
55		Left = TRUE ;
56		Text [ en-US ] = "S~election" ;
57	};
58	ListBox LB_VARSELECTION
59	{
60		HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARSELECTION" ;
61		Border = TRUE ;
62		Pos = MAP_APPFONT ( 88, 14 ) ;
63		Size = MAP_APPFONT ( 76, 135 ) ;
64		TabStop = TRUE ;
65		Sort = TRUE ;
66	};
67	FixedText FT_VARFORMAT
68	{
69		Pos = MAP_APPFONT ( 170, 3 ) ;
70		Size = MAP_APPFONT ( 84, 8 ) ;
71		Left = TRUE ;
72		Text [ en-US ] = "Format" ;
73	};
74	ListBox LB_VARFORMAT
75	{
76		HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARFORMAT" ;
77		Border = TRUE ;
78		Pos = MAP_APPFONT ( 170, 14 ) ;
79		Size = MAP_APPFONT ( 84, 123 ) ;
80		TabStop = TRUE ;
81		DropDown = FALSE ;
82	};
83	ListBox LB_VARNUMFORMAT
84	{
85		HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARNUMFORMAT" ;
86		Border = TRUE ;
87		Pos = MAP_APPFONT ( 170, 14 ) ;
88		Size = MAP_APPFONT ( 84, 123 ) ;
89		TabStop = TRUE ;
90		DropDown = FALSE ;
91	};
92	CheckBox CB_VARINVISIBLE
93	{
94		HelpID = "sw:CheckBox:TP_FLD_VAR:CB_VARINVISIBLE" ;
95		Pos = MAP_APPFONT ( 170, 141 ) ;
96		Size = MAP_APPFONT ( 84, 10 ) ;
97		Text [ en-US ] = "Invisi~ble" ;
98		TabStop = TRUE ;
99	};
100	FixedText FT_VARCHAPTERHEADER
101	{
102		Pos = MAP_APPFONT ( 170, 112 ) ;
103		Size = MAP_APPFONT ( 84, 8 ) ;
104		Hide = TRUE ;
105		Text [ en-US ] = "Numbering by chapter" ;
106	};
107	FixedText FT_VARCHAPTERLEVEL
108	{
109		Pos = MAP_APPFONT ( 175, 125 ) ;
110		Size = MAP_APPFONT ( 30, 8 ) ;
111		Hide = TRUE ;
112		Text [ en-US ] = "~Level" ;
113	};
114	ListBox LB_VARCHAPTERLEVEL
115	{
116		HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARCHAPTERLEVEL" ;
117		Border = TRUE ;
118		Hide = TRUE ;
119		Pos = MAP_APPFONT ( 208, 123 ) ;
120		Size = MAP_APPFONT ( 46, 76 ) ;
121		TabStop = TRUE ;
122		DropDown = TRUE ;
123		StringList [ en-US ] =
124		{
125			< "None" ; > ;
126		};
127	};
128	FixedText FT_VARSEPARATOR
129	{
130		Pos = MAP_APPFONT ( 175, 140 ) ;
131		Size = MAP_APPFONT ( 30, 10 ) ;
132		Hide = TRUE ;
133		Text [ en-US ] = "~Separator" ;
134	};
135	Edit ED_VARSEPARATOR
136	{
137		HelpID = "sw:Edit:TP_FLD_VAR:ED_VARSEPARATOR" ;
138		Pos = MAP_APPFONT ( 208, 138 ) ;
139		Size = MAP_APPFONT ( 46, 12 ) ;
140		Border = TRUE ;
141		Hide = TRUE ;
142		MaxTextLength = 1 ;
143		TEXT = "." ;
144	};
145	FixedText FT_VARNAME
146	{
147		Pos = MAP_APPFONT ( 6, 155 ) ;
148		Size = MAP_APPFONT ( 76, 8 ) ;
149		Left = TRUE ;
150		Text [ en-US ] = "Na~me" ;
151	};
152	Edit ED_VARNAME
153	{
154		HelpID = "sw:Edit:TP_FLD_VAR:ED_VARNAME" ;
155		Border = TRUE ;
156		Pos = MAP_APPFONT ( 6, 166 ) ;
157		Size = MAP_APPFONT ( 76, 12 ) ;
158		TabStop = TRUE ;
159		Left = TRUE ;
160	};
161	FixedText FT_VARVALUE
162	{
163		Pos = MAP_APPFONT ( 88, 155 ) ;
164		Size = MAP_APPFONT ( 76, 8 ) ;
165		Text [ en-US ] = "~Value" ;
166		Left = TRUE ;
167	};
168	Edit ED_VARVALUE
169	{
170		HelpID = "sw:Edit:TP_FLD_VAR:ED_VARVALUE" ;
171		Border = TRUE ;
172		Pos = MAP_APPFONT ( 88, 166 ) ;
173		Size = MAP_APPFONT ( 76, 12 ) ;
174		TabStop = TRUE ;
175		Left = TRUE ;
176	};
177	ToolBox TBX_VARNEWDEL
178	{
179		Pos = MAP_APPFONT ( 167, 167 ) ;
180		SVLook = TRUE ;
181		Border = FALSE ;
182		ItemList =
183		{
184			ToolBoxItem
185			{
186				Identifier = BT_VARAPPLY ;
187				HelpID = HID_FLDVAR_APPLY ;
188				ItemImage = Image
189				{
190					ImageBitmap = Bitmap { File = "sc20558.png" ;} ;
191				};
192				Text [ en-US ] = "Apply" ;
193			};
194			ToolBoxItem
195			{
196				Identifier = BT_VARDELETE ;
197				HelpID = HID_FLDVAR_DELETE ;
198				ItemImage = Image
199				{
200					ImageBitmap = Bitmap { File = "sc20557.png" ;} ;
201				};
202				Text [ en-US ] = "Delete" ;
203			};
204		};
205	};
206	Text [ en-US ] = "Variables" ;
207};
208
209// ********************************************************************** EOF
210