1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "sfx2/sfx.hrc"
21 #include "sfx2/tabpage.hrc"
23 #include "sfxlocal.hrc"
24 #include "dinfdlg.hrc"
27 String STR_SFX_NEWOFFICEDOC
29 Text [ en-US ] = "%PRODUCTNAME document" ;
32 ComboBox SFX_CB_PROPERTY_NAME
34 Pos = MAP_APPFONT ( 0 , 2 ) ;
35 Size = MAP_APPFONT ( 60 , 72 ) ;
41 QuickHelpText [ en-US ] = "Property Name" ;
42 StringList [ en-US ] =
76 ListBox SFX_LB_PROPERTY_TYPE
78 Pos = MAP_APPFONT ( 63 , 2 ) ;
79 Size = MAP_APPFONT ( 60 , 80 ) ;
83 StringList [ en-US ] =
85 < "Text" ; CUSTOM_TYPE_TEXT ; > ;
86 < "DateTime" ; CUSTOM_TYPE_DATETIME ; > ;
87 < "Date" ; CUSTOM_TYPE_DATE ; > ;
88 < "Duration" ; CUSTOM_TYPE_DURATION ; > ;
89 < "Number" ; CUSTOM_TYPE_NUMBER ; > ;
90 < "Yes or no" ; CUSTOM_TYPE_BOOLEAN ; > ;
93 Edit SFX_ED_PROPERTY_VALUE
96 Pos = MAP_APPFONT ( 127 , 2 ) ;
97 Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
101 DateField SFX_FLD_DATE
104 Pos = MAP_APPFONT ( 127 , 2 ) ;
105 Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ;
110 TimeField SFX_FLD_TIME
113 Pos = MAP_APPFONT ( 159 , 2 ) ;
114 Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ;
120 Edit SFX_FLD_DURATION
124 Pos = MAP_APPFONT ( 159 , 2 ) ;
125 Size = MAP_APPFONT ( 61 - RSC_CD_TEXTBOX_HEIGHT - 2, RSC_CD_TEXTBOX_HEIGHT ) ;
128 PushButton SFX_PB_EDIT
130 Pos = MAP_APPFONT ( 159 , 2 ) ;
131 Size = MAP_APPFONT ( RSC_CD_TEXTBOX_HEIGHT , RSC_CD_TEXTBOX_HEIGHT ) ;
134 String SFX_ST_DURATION_FORMAT
136 Text [en-US] = " Y: %1 M: %2 D: %3 H: %4 M: %5 S: %6";
139 Control SFX_WIN_PROPERTY_YESNO
141 HelpId = HID_CTRL_CUSTOMPROPS_YES_NO;
143 Pos = MAP_APPFONT ( 127 , 2 ) ;
144 Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
146 DialogControl = TRUE ;
147 RadioButton RB_PROPERTY_YES
150 Pos = MAP_APPFONT( 1 , 1 ) ;
151 Size = MAP_APPFONT( 28 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
152 Text [ en-US ] = "Yes" ;
154 RadioButton RB_PROPERTY_NO
157 Pos = MAP_APPFONT( 32 , 1 ) ;
158 Size = MAP_APPFONT( 29 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
159 Text [ en-US ] = "No" ;
163 ImageButton SFX_PB_PROPERTY_REMOVE
165 Pos = MAP_APPFONT( 190 , 1 );
166 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_HEIGHT, RSC_CD_PUSHBUTTON_HEIGHT );
167 QuickHelpText [ en-US ] = "Remove Property" ;
169 Image SFX_IMG_PROPERTY_REMOVE
171 ImageBitmap = Bitmap { File = "deleterow.bmp" ; };
172 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
175 QueryBox SFX_QB_WRONG_TYPE
177 Buttons = WB_OK_CANCEL ;
178 DefButton = WB_DEF_OK ;
179 Message [ en-US ] = "The value entered does not match the specified type.\nThe value will be stored as text." ;
182 ModalDialog RID_EDIT_DURATIONS
184 HelpId = HID_DLG_CUSTOMPROPS_DURATION;
186 Size = MAP_APPFONT ( 176 , 140 ) ;
187 Text [ en-US ] = "Edit Duration" ;
191 Pos = MAP_APPFONT ( 120 , 7 ) ;
192 Size = MAP_APPFONT ( 50 , 14 ) ;
195 CancelButton PB_CANCEL
197 Pos = MAP_APPFONT ( 120 , 24 ) ;
198 Size = MAP_APPFONT ( 50 , 14 ) ;
202 Pos = MAP_APPFONT ( 120 , 48 ) ;
203 Size = MAP_APPFONT ( 50 , 14 ) ;
205 FixedLine FL_DURATION
207 Pos = MAP_APPFONT ( 6 , 8 ) ;
208 Size = MAP_APPFONT ( 108 , 8 ) ;
209 Text [ en-US ] = "Duration" ;
213 HelpID = "sfx2:CheckBox:RID_EDIT_DURATIONS:CB_NEGATIVE";
214 Pos = MAP_APPFONT ( 6 , 21 ) ;
215 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
216 Text [ en-US ] = "~Negative" ;
220 Pos = MAP_APPFONT ( 6 , 38 ) ;
221 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
223 Text [ en-US ] = "~Years" ;
227 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_YEAR";
229 Pos = MAP_APPFONT ( 70 , 36 ) ;
230 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
241 Pos = MAP_APPFONT ( 6 , 52 ) ;
242 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
244 Text [ en-US ] = "~Months" ;
246 NumericField ED_MONTH
248 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MONTH";
250 Pos = MAP_APPFONT ( 70 , 50 ) ;
251 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
262 Pos = MAP_APPFONT ( 6 , 66 ) ;
263 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
265 Text [ en-US ] = "~Days" ;
269 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_DAY";
271 Pos = MAP_APPFONT ( 70 , 64 ) ;
272 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
283 Pos = MAP_APPFONT ( 6 , 80 ) ;
284 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
286 Text [ en-US ] = "H~ours" ;
290 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_HOUR";
292 Pos = MAP_APPFONT ( 70 , 78 ) ;
293 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
304 Pos = MAP_APPFONT ( 6 , 94 ) ;
305 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
307 Text [ en-US ] = "Min~utes" ;
309 NumericField ED_MINUTE
311 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MINUTE";
313 Pos = MAP_APPFONT ( 70, 92) ;
314 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
325 Pos = MAP_APPFONT ( 6, 108 ) ;
326 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
328 Text [ en-US ] = "~Seconds" ;
330 NumericField ED_SECOND
332 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_SECOND";
334 Pos = MAP_APPFONT ( 70 , 106 ) ;
335 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
346 Pos = MAP_APPFONT ( 6 , 122 ) ;
347 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
349 Text [ en-US ] = "Millise~conds" ;
351 NumericField ED_MSECOND
353 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MSECOND";
355 Pos = MAP_APPFONT ( 70 , 120 ) ;
356 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
370 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */