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