xref: /trunk/main/sw/source/ui/fldui/fldvar.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "globals.hrc"
29#include "fldtdlg.hrc"
30#include "helpid.h"
31#include "cmdid.h"
32TabPage TP_FLD_VAR
33{
34    HelpID = HID_FLD_VAR ;
35    SVLook = TRUE ;
36    Hide = TRUE ;
37    Size = MAP_APPFONT ( 260 , 185 ) ;
38    FixedText FT_VARTYPE
39    {
40        Pos = MAP_APPFONT ( 6 , 3 ) ;
41        Size = MAP_APPFONT ( 76 , 8 ) ;
42        Text [ en-US ] = "~Type" ;
43        Left = TRUE ;
44    };
45    ListBox LB_VARTYPE
46    {
47        HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARTYPE";
48        Border = TRUE ;
49        Pos = MAP_APPFONT ( 6 , 14 ) ;
50        Size = MAP_APPFONT ( 76 , 135 ) ;
51        TabStop = TRUE ;
52        Sort = FALSE ;
53        AutoHScroll = TRUE ;
54    };
55    FixedText FT_VARSELECTION
56    {
57        Pos = MAP_APPFONT ( 88 , 3 ) ;
58        Size = MAP_APPFONT ( 76 , 8 ) ;
59        Left = TRUE ;
60        Text [ en-US ] = "S~election" ;
61    };
62    ListBox LB_VARSELECTION
63    {
64        HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARSELECTION";
65        Border = TRUE ;
66        Pos = MAP_APPFONT ( 88 , 14 ) ;
67        Size = MAP_APPFONT ( 76 , 135 ) ;
68        TabStop = TRUE ;
69        Sort = TRUE ;
70    };
71    FixedText FT_VARFORMAT
72    {
73        Pos = MAP_APPFONT ( 170 , 3 ) ;
74        Size = MAP_APPFONT ( 84 , 8 ) ;
75        Left = TRUE ;
76        Text [ en-US ] = "Format" ;
77    };
78    ListBox LB_VARFORMAT
79    {
80        HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARFORMAT";
81        Border = TRUE ;
82        Pos = MAP_APPFONT ( 170 , 14 ) ;
83        Size = MAP_APPFONT ( 84 , 123 ) ;
84        TabStop = TRUE ;
85        DropDown = FALSE ;
86    };
87    ListBox LB_VARNUMFORMAT
88    {
89        HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARNUMFORMAT";
90        Border = TRUE ;
91        Pos = MAP_APPFONT ( 170 , 14 ) ;
92        Size = MAP_APPFONT ( 84 , 123 ) ;
93        TabStop = TRUE ;
94        DropDown = FALSE ;
95    };
96    CheckBox CB_VARINVISIBLE
97    {
98        HelpID = "sw:CheckBox:TP_FLD_VAR:CB_VARINVISIBLE";
99        Pos = MAP_APPFONT ( 170 , 141 ) ;
100        Size = MAP_APPFONT ( 84 , 10 ) ;
101        Text [ en-US ] = "Invisi~ble" ;
102        TabStop = TRUE ;
103    };
104    FixedText FT_VARCHAPTERHEADER
105    {
106        Pos = MAP_APPFONT ( 170 , 112 ) ;
107        Size = MAP_APPFONT ( 84 , 8 ) ;
108        Hide = TRUE ;
109        Text [ en-US ] = "Numbering by chapter" ;
110    };
111    FixedText FT_VARCHAPTERLEVEL
112    {
113        Pos = MAP_APPFONT ( 175 , 125 ) ;
114        Size = MAP_APPFONT ( 30 , 8 ) ;
115        Hide = TRUE ;
116        Text [ en-US ] = "~Level" ;
117    };
118    ListBox LB_VARCHAPTERLEVEL
119    {
120        HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARCHAPTERLEVEL";
121        Border = TRUE ;
122        Hide = TRUE ;
123        Pos = MAP_APPFONT ( 208 , 123 ) ;
124        Size = MAP_APPFONT ( 46 , 76 ) ;
125        TabStop = TRUE ;
126        DropDown = TRUE ;
127        StringList [ en-US ] =
128        {
129            < "None" ; > ;
130        };
131    };
132    FixedText FT_VARSEPARATOR
133    {
134        Pos = MAP_APPFONT ( 175 , 140 ) ;
135        Size = MAP_APPFONT ( 30 , 10 ) ;
136        Hide = TRUE ;
137        Text [ en-US ] = "~Separator" ;
138    };
139    Edit ED_VARSEPARATOR
140    {
141        HelpID = "sw:Edit:TP_FLD_VAR:ED_VARSEPARATOR";
142        Pos = MAP_APPFONT ( 208 , 138 ) ;
143        Size = MAP_APPFONT ( 46 , 12 ) ;
144        Border = TRUE ;
145        Hide = TRUE ;
146        MaxTextLength = 1 ;
147        TEXT = "." ;
148    };
149    FixedText FT_VARNAME
150    {
151        Pos = MAP_APPFONT ( 6 , 155 ) ;
152        Size = MAP_APPFONT ( 76 , 8 ) ;
153        Left = TRUE ;
154        Text [ en-US ] = "Na~me" ;
155    };
156    Edit ED_VARNAME
157    {
158        HelpID = "sw:Edit:TP_FLD_VAR:ED_VARNAME";
159        Border = TRUE ;
160        Pos = MAP_APPFONT ( 6 , 166 ) ;
161        Size = MAP_APPFONT ( 76 , 12 ) ;
162        TabStop = TRUE ;
163        Left = TRUE ;
164    };
165    FixedText FT_VARVALUE
166    {
167        Pos = MAP_APPFONT ( 88 , 155 ) ;
168        Size = MAP_APPFONT ( 76 , 8 ) ;
169        Text [ en-US ] = "~Value" ;
170        Left = TRUE ;
171    };
172    Edit ED_VARVALUE
173    {
174        HelpID = "sw:Edit:TP_FLD_VAR:ED_VARVALUE";
175        Border = TRUE ;
176        Pos = MAP_APPFONT ( 88 , 166 ) ;
177        Size = MAP_APPFONT ( 76 , 12 ) ;
178        TabStop = TRUE ;
179        Left = TRUE ;
180    };
181    ToolBox TBX_VARNEWDEL
182    {
183        Pos = MAP_APPFONT ( 167 , 167 ) ;
184        SVLook = TRUE ;
185        Border = FALSE ;
186        ItemList =
187        {
188            ToolBoxItem
189            {
190                Identifier = BT_VARAPPLY ;
191                HelpID = HID_FLDVAR_APPLY ;
192                ItemImage = Image
193                {
194                    ImageBitmap = Bitmap{ File = "sc20558.bmp" ;};
195                    MaskColor = IMAGE_MASK_COLOR ;
196                };
197                Text [ en-US ] = "Apply" ;
198            };
199            ToolBoxItem
200            {
201                Identifier = BT_VARDELETE ;
202                HelpID = HID_FLDVAR_DELETE ;
203                ItemImage = Image
204                {
205                    ImageBitmap = Bitmap{ File = "sc20557.bmp" ;};
206                    MaskColor = IMAGE_MASK_COLOR ;
207                };
208                Text [ en-US ] = "Delete" ;
209            };
210        };
211    };
212    Text [ en-US ] = "Variables" ;
213};
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246