xref: /aoo41x/main/sfx2/source/dialog/dinfdlg.src (revision acbf353a)
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 ---------------------------------------------------------------
25
26#include "sfx2/sfx.hrc"
27#include "helpid.hrc"
28#include "sfxlocal.hrc"
29#include "dinfdlg.hrc"
30#include "dialog.hrc"
31
32 // TP_DOCINFODESC --------------------------------------------------------
33String STR_SFX_NEWOFFICEDOC
34{
35	Text [ en-US ] = "%PRODUCTNAME document" ;
36};
37
38TabPage TP_DOCINFODESC
39{
40	HelpId = HID_DOCINFODESC ;
41	Hide = TRUE ;
42	Size = MAP_APPFONT ( 260 , 185 ) ;
43	FixedText FT_TITLE
44	{
45		Pos = MAP_APPFONT ( 6 , 7 ) ;
46        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
47		Left = TRUE ;
48		Text [ en-US ] = "~Title" ;
49	};
50	Edit ED_TITLE
51	{
52	    HelpID = "sfx2:Edit:TP_DOCINFODESC:ED_TITLE";
53		Border = TRUE ;
54		Pos = MAP_APPFONT ( 70 , 6 ) ;
55        Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ;
56		TabStop = TRUE ;
57		Left = TRUE ;
58	};
59	FixedText FT_THEMA
60	{
61		Pos = MAP_APPFONT ( 6 , 22 ) ;
62        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
63		Left = TRUE ;
64		Text [ en-US ] = "~Subject" ;
65	};
66	Edit ED_THEMA
67	{
68	    HelpID = "sfx2:Edit:TP_DOCINFODESC:ED_THEMA";
69		Border = TRUE ;
70		Pos = MAP_APPFONT ( 70 , 21 ) ;
71        Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ;
72		TabStop = TRUE ;
73		Left = TRUE ;
74	};
75	FixedText FT_KEYWORDS
76	{
77		Pos = MAP_APPFONT ( 6 , 37 ) ;
78        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
79		Left = TRUE ;
80		Text [ en-US ] = "~Keywords" ;
81	};
82	Edit ED_KEYWORDS
83	{
84	    HelpID = "sfx2:Edit:TP_DOCINFODESC:ED_KEYWORDS";
85		Border = TRUE ;
86		Pos = MAP_APPFONT ( 70 , 36 ) ;
87        Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ;
88		TabStop = TRUE ;
89		Left = TRUE ;
90	};
91	FixedText FT_COMMENT
92	{
93		Pos = MAP_APPFONT ( 6 , 52 ) ;
94        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
95		Left = TRUE ;
96		Text [ en-US ] = "~Comments" ;
97	};
98	MultiLineEdit ED_COMMENT
99	{
100	    HelpID = "sfx2:MultiLineEdit:TP_DOCINFODESC:ED_COMMENT";
101		Border = TRUE ;
102		Pos = MAP_APPFONT ( 70 , 51 ) ;
103		Size = MAP_APPFONT ( 184 , 128 ) ;
104		IgnoreTab = TRUE ;
105		Left = TRUE ;
106		VScroll = TRUE ;
107	};
108};
109
110 // TP_DOCINFODOC ---------------------------------------------------------
111
112TabPage TP_DOCINFODOC
113{
114	HelpId = HID_DOCINFODOC ;
115	Hide = TRUE ;
116	Size = MAP_APPFONT ( 260 , 185 ) ;
117	FixedImage BMP_FILE_1
118	{
119		Pos = MAP_APPFONT ( 6 , 7 ) ;
120		Size = MAP_APPFONT ( 20 , 20 ) ;
121	};
122	Edit ED_FILE_NAME
123	{
124	    HelpID = "sfx2:Edit:TP_DOCINFODOC:ED_FILE_NAME";
125		Pos = MAP_APPFONT ( 54 , 12 ) ;
126        Size = MAP_APPFONT ( 200 , RSC_CD_TEXTBOX_HEIGHT ) ;
127		Border = TRUE ;
128	};
129	FixedLine FL_FILE_1
130	{
131		Pos = MAP_APPFONT ( 6 , 31 ) ;
132		Size = MAP_APPFONT ( 248 , 1 ) ;
133	};
134	FixedText FT_FILE_TYP
135	{
136		Pos = MAP_APPFONT ( 6 , 37 ) ;
137        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
138		Text [ en-US ] = "Type:" ;
139	};
140	Edit FT_FILE_SHOW_TYP
141	{
142	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_FILE_SHOW_TYP";
143		Pos = MAP_APPFONT ( 78 , 37 ) ;
144        Size = MAP_APPFONT ( 106 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
145	};
146	CheckBox CB_FILE_READONLY
147	{
148	    HelpID = "sfx2:CheckBox:TP_DOCINFODOC:CB_FILE_READONLY";
149		Pos = MAP_APPFONT ( 163 , 37 ) ;
150        Size = MAP_APPFONT ( 91 , RSC_CD_CHECKBOX_HEIGHT ) ;
151		Text [ en-US ] = "~Read-only" ;
152	};
153	FixedText FT_FILE
154	{
155		Pos = MAP_APPFONT ( 6 , 49 ) ;
156        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
157		Text [ en-US ] = "Location:" ;
158	};
159	Edit FT_FILE_VAL
160	{
161	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_FILE_VAL";
162		Pos = MAP_APPFONT ( 78 , 49 ) ;
163        Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
164    };
165	FixedText FT_FILE_SIZE
166	{
167		Pos = MAP_APPFONT ( 6 , 61 ) ;
168        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
169		Text [ en-US ] = "Size:" ;
170	};
171	Edit FT_FILE_SHOW_SIZE
172	{
173	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_FILE_SHOW_SIZE";
174		Pos = MAP_APPFONT ( 78 , 61 ) ;
175        Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
176	};
177	FixedLine FL_FILE_2
178	{
179		Pos = MAP_APPFONT ( 6 , 74 ) ;
180		Size = MAP_APPFONT ( 248 , 1 ) ;
181	};
182	FixedText FT_CREATE
183	{
184		Pos = MAP_APPFONT ( 6 , 80 ) ;
185        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
186		Text [ en-US ] = "Created:" ;
187	};
188	Edit FT_CREATE_VAL
189	{
190	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_CREATE_VAL";
191		Pos = MAP_APPFONT ( 78 , 80 ) ;
192        Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
193	};
194	FixedText FT_CHANGE
195	{
196		Pos = MAP_APPFONT ( 6 , 92 ) ;
197        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
198		Text [ en-US ] = "Modified:" ;
199	};
200	Edit FT_CHANGE_VAL
201	{
202	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_CHANGE_VAL";
203		Pos = MAP_APPFONT ( 78 , 92 ) ;
204        Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
205	};
206	FixedText FT_SIGNED
207	{
208		Pos = MAP_APPFONT ( 6 , 104 ) ;
209        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
210		Text [ en-US ] = "Digitally signed:" ;
211	};
212	Edit FT_SIGNED_VAL
213	{
214	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_SIGNED_VAL";
215		Pos = MAP_APPFONT ( 78 , 104 ) ;
216        Size = MAP_APPFONT ( 123 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
217	};
218	PushButton BTN_SIGNATURE
219	{
220	    HelpID = "sfx2:PushButton:TP_DOCINFODOC:BTN_SIGNATURE";
221		Pos = MAP_APPFONT ( 204 , 101 ) ;
222        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
223        Text [ en-US ] = "Digital Signature...";
224	};
225	String STR_MULTSIGNED
226	{
227		Text [ en-US ] = "Multiply signed document" ;
228	};
229	FixedText FT_PRINT
230	{
231		Pos = MAP_APPFONT ( 6 , 116 ) ;
232        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
233		Text [ en-US ] = "Last printed:" ;
234	};
235	Edit FT_PRINT_VAL
236	{
237	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_PRINT_VAL";
238		Pos = MAP_APPFONT ( 78 , 116 ) ;
239        Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
240	};
241	FixedText FT_TIMELOG
242	{
243		Pos = MAP_APPFONT ( 6 , 128 ) ;
244        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
245        Text [ en-US ] = "Total editing time:" ;
246	};
247	Edit FT_TIMELOG_VAL
248	{
249	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_TIMELOG_VAL";
250		Pos = MAP_APPFONT ( 78 , 128 ) ;
251        Size = MAP_APPFONT ( 30 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
252	};
253	FixedText FT_DOCNO
254	{
255		Pos = MAP_APPFONT ( 6 , 140 ) ;
256        Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
257        Text [ en-US ] = "Revision number:" ;
258	};
259	Edit FT_DOCNO_VAL
260	{
261	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_DOCNO_VAL";
262		Pos = MAP_APPFONT ( 78 , 140 ) ;
263        Size = MAP_APPFONT ( 30 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
264	};
265	PushButton BTN_DELETE
266	{
267	    HelpID = "sfx2:PushButton:TP_DOCINFODOC:BTN_DELETE";
268		Pos = MAP_APPFONT ( 204 , 150 ) ;
269        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
270		Hide = TRUE;
271        Text [ en-US ] = "Reset";
272	};
273	CheckBox CB_USE_USERDATA
274	{
275	    HelpID = "sfx2:CheckBox:TP_DOCINFODOC:CB_USE_USERDATA";
276		Pos = MAP_APPFONT ( 6 , 152 ) ;
277        Size = MAP_APPFONT ( 192 , RSC_CD_CHECKBOX_HEIGHT ) ;
278		Hide = TRUE;
279		Text [ en-US ] = "~Apply user data";
280	};
281	FixedLine FL_FILE_3
282	{
283        Pos = MAP_APPFONT ( 5 , 167 ) ;
284		Size = MAP_APPFONT ( 248 , 1 ) ;
285	};
286	FixedText FT_TEMPL
287	{
288		Pos = MAP_APPFONT ( 5 , 172 ) ;
289        Size = MAP_APPFONT ( 45 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
290		Text [ en-US ] = "Template:" ;
291	};
292	Edit FT_TEMPL_VAL
293	{
294	    HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_TEMPL_VAL";
295		Pos = MAP_APPFONT ( 78 , 172 ) ;
296        Size = MAP_APPFONT ( 180 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
297	};
298	String STR_UNKNOWNSIZE
299	{
300		Text [ en-US ] = "unknown" ;
301	};
302	String EDIT_FILE_NAME
303	{
304		Text [ en-US ] = "File Name" ;
305	};
306};
307
308 // TP_DOCINFOUSER --------------------------------------------------------
309
310TabPage TP_DOCINFOUSER
311{
312	HelpId = HID_DOCINFOUSER ;
313	Hide = TRUE ;
314	Size = MAP_APPFONT ( 260 , 185 ) ;
315	FixedText FT_INFO1
316	{
317		Pos = MAP_APPFONT ( 6 , 6 ) ;
318        Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
319		Left = TRUE ;
320	};
321	Edit ED_INFO1
322	{
323	    HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO1";
324		Border = TRUE ;
325		Pos = MAP_APPFONT ( 6 , 17 ) ;
326        Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
327		Left = TRUE ;
328	};
329	FixedText FT_INFO2
330	{
331		Pos = MAP_APPFONT ( 6 , 32 ) ;
332        Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
333		Left = TRUE ;
334	};
335	Edit ED_INFO2
336	{
337	    HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO2";
338		Border = TRUE ;
339		Pos = MAP_APPFONT ( 6 , 43 ) ;
340        Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
341		Left = TRUE ;
342	};
343	FixedText FT_INFO3
344	{
345		Pos = MAP_APPFONT ( 6 , 58 ) ;
346        Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
347		Left = TRUE ;
348	};
349	Edit ED_INFO3
350	{
351	    HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO3";
352		Border = TRUE ;
353		Pos = MAP_APPFONT ( 6 , 69 ) ;
354        Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
355		Left = TRUE ;
356	};
357	FixedText FT_INFO4
358	{
359		Pos = MAP_APPFONT ( 6 , 84 ) ;
360        Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
361		Left = TRUE ;
362	};
363	Edit ED_INFO4
364	{
365	    HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO4";
366		Border = TRUE ;
367		Pos = MAP_APPFONT ( 6 , 95 ) ;
368        Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
369		Left = TRUE ;
370	};
371	PushButton BTN_EDITLABEL
372	{
373	    HelpID = "sfx2:PushButton:TP_DOCINFOUSER:BTN_EDITLABEL";
374		Pos = MAP_APPFONT ( 194 , 165 ) ;
375        Size = MAP_APPFONT ( 60 , RSC_CD_PUSHBUTTON_HEIGHT ) ;
376		Text [ en-US ] = "~Info fields..." ;
377	};
378};
379
380 // TP_DOCINFOUSER --------------------------------------------------------
381
382TabPage TP_DOCINFORELOAD
383{
384	HelpId = HID_DOCINFORELOAD ;
385	Hide = TRUE ;
386	Size = MAP_APPFONT ( 260 , 185 ) ;
387	RadioButton RB_NOAUTOUPDATE
388	{
389	    HelpID = "sfx2:RadioButton:TP_DOCINFORELOAD:RB_NOAUTOUPDATE";
390		TabStop = TRUE ;
391		Pos = MAP_APPFONT( COL_0 , ROW_0 ) ;
392        Size = MAP_APPFONT( COL_7 - COL_1 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
393		Text [ en-US ] = "Do not refresh automatically" ;
394	};
395
396	RadioButton RB_RELOADUPDATE
397	{
398	    HelpID = "sfx2:RadioButton:TP_DOCINFORELOAD:RB_RELOADUPDATE";
399		TabStop = TRUE ;
400		Pos = MAP_APPFONT( COL_0, ROW_1 ) ;
401        Size = MAP_APPFONT( COL_7 - COL_1, RSC_CD_RADIOBUTTON_HEIGHT ) ;
402		Text [ en-US ] = "Refresh this document" ;
403	};
404	FixedText FT_EVERY
405	{
406		Pos = MAP_APPFONT ( COL_1 , ROW_2 ) ;
407        Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
408		Text [ en-US ] = "every" ;
409	};
410	NumericField ED_RELOAD
411	{
412	    HelpID = "sfx2:NumericField:TP_DOCINFORELOAD:ED_RELOAD";
413		Border = TRUE ;
414		Pos = MAP_APPFONT ( COL_2 , ROW_2 - ROWDIFF_FT_EDTFLD ) ;
415        Size = MAP_APPFONT ( WIDTH_2 , RSC_CD_TEXTBOX_HEIGHT ) ;
416		Repeat = TRUE ;
417		Spin = TRUE ;
418		Minimum = 1 ;
419		First = 1 ;
420		Last = 60 ;
421		SpinSize = 1 ;
422		Value = 60 ;
423	};
424	FixedText FT_RELOADSECS
425	{
426		Pos = MAP_APPFONT ( COL_4 , ROW_2 ) ;
427        Size = MAP_APPFONT ( COL_7 - COL_4 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
428		Text [ en-US ] = "seconds" ;
429	};
430
431	RadioButton RB_FORWARDUPDATE
432	{
433	    HelpID = "sfx2:RadioButton:TP_DOCINFORELOAD:RB_FORWARDUPDATE";
434		TabStop = TRUE ;
435		Pos = MAP_APPFONT( COL_0, ROW_3 ) ;
436        Size = MAP_APPFONT( COL_7 - COL_1, RSC_CD_RADIOBUTTON_HEIGHT ) ;
437		Text [ en-US ] = "Redirect from this document" ;
438	};
439	FixedText FT_AFTER
440	{
441		Pos = MAP_APPFONT ( COL_1 , ROW_4 ) ;
442        Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
443		Text [ en-US ] = "after" ;
444	};
445	NumericField ED_FORWARD
446	{
447	    HelpID = "sfx2:NumericField:TP_DOCINFORELOAD:ED_FORWARD";
448		Border = TRUE ;
449		Pos = MAP_APPFONT ( COL_2 , ROW_4 - ROWDIFF_FT_EDTFLD ) ;
450        Size = MAP_APPFONT ( WIDTH_2 , RSC_CD_TEXTBOX_HEIGHT ) ;
451		Repeat = TRUE ;
452		Spin = TRUE ;
453		Minimum = 1 ;
454		First = 1 ;
455		Last = 60 ;
456		SpinSize = 1 ;
457		Value = 5 ;
458	};
459	FixedText FT_FORWARDSECS
460	{
461		Pos = MAP_APPFONT ( COL_4 , ROW_4 ) ;
462        Size = MAP_APPFONT ( COL_7 - COL_4 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
463		Text [ en-US ] = "seconds" ;
464	};
465	FixedText FT_URL
466	{
467		Pos = MAP_APPFONT ( COL_1 , ROW_5 ) ;
468        Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
469		Text [ en-US ] = "to URL" ;
470	};
471	Edit ED_URL
472	{
473	    HelpID = "sfx2:Edit:TP_DOCINFORELOAD:ED_URL";
474		Border = TRUE ;
475		Pos = MAP_APPFONT ( COL_2 , ROW_5 - ROWDIFF_FT_EDTFLD ) ;
476        Size = MAP_APPFONT ( COL_5 - COL_2 , RSC_CD_TEXTBOX_HEIGHT ) ;
477	};
478    PushButton PB_BROWSEURL
479    {
480        HelpID = "sfx2:PushButton:TP_DOCINFORELOAD:PB_BROWSEURL";
481        Pos = MAP_APPFONT ( COL_6 , ROW_5 - ROWDIFF_FT_EDTFLD ) ;
482        Size = MAP_APPFONT ( COL_7 - COL_6 , RSC_CD_PUSHBUTTON_HEIGHT ) ;
483        Text = "..." ;
484    };
485	FixedText FT_FRAME
486	{
487		Pos = MAP_APPFONT ( COL_1 , ROW_6 ) ;
488        Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
489		Text [ en-US ] = "to frame" ;
490	};
491	ComboBox CB_FRAME
492	{
493	    HelpID = "sfx2:ComboBox:TP_DOCINFORELOAD:CB_FRAME";
494		Pos = MAP_APPFONT ( COL_2 , ROW_6 - ROWDIFF_FT_EDTFLD ) ;
495        Size = MAP_APPFONT ( COL_7 - COL_2 , RSC_CD_DROPDOWN_HEIGHT * 10 ) ;
496		DropDown = TRUE ;
497	};
498	String STR_FORWARD_ERRMSSG
499	{
500		Text [ en-US ] = "If you select the option \"%PLACEHOLDER%\", you must enter a URL." ;
501	};
502
503};
504
505// TP_CUSTOMPROPERTIES ---------------------------------------------------
506
507TabPage TP_CUSTOMPROPERTIES
508{
509    HelpId = HID_TP_CUSTOMPROPERTIES ;
510    Hide = TRUE ;
511    Size = MAP_APPFONT ( 260 , 185 ) ;
512    FixedText FT_PROPERTIES
513    {
514        Pos = MAP_APPFONT ( 6 , 7 ) ;
515        Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
516        Left = TRUE ;
517        Text [ en-US ] = "~Properties" ;
518    };
519    Control CTRL_PROPERTIES
520    {
521        HelpId = HID_CTRL_CUSTOMPROPERTIES;
522        Pos = MAP_APPFONT ( 6 , 18 ) ;
523        Size = MAP_APPFONT ( 248 , 141 ) ;
524        Border = TRUE;
525        DialogControl = TRUE;
526        //OutputSize = TRUE ;
527        Window WIN_PROPERTIES
528        {
529            OutputSize = TRUE ;
530            Pos = MAP_APPFONT ( 0 , 10 ) ;
531            Size = MAP_APPFONT ( 240 , 134 ) ;
532            DialogControl = TRUE;
533        };
534        ScrollBar SB_VERTICAL
535        {
536            Pos = MAP_APPFONT ( 238 , 10 ) ;
537            Size = MAP_APPFONT ( 8 , 129 ) ;
538            VScroll = TRUE;
539        };
540        String STR_HEADER_NAME
541        {
542            Text [ en-US ] = "Name" ;
543        };
544        String STR_HEADER_TYPE
545        {
546            Text [ en-US ] = "Type" ;
547        };
548        String STR_HEADER_VALUE
549        {
550            Text [ en-US ] = "Value" ;
551        };
552        String STR_HEADER_ACTION
553        {
554            Text [ en-US ] = "" ;
555        };
556    };
557    PushButton BTN_ADD
558    {
559        HelpID = "sfx2:PushButton:TP_CUSTOMPROPERTIES:BTN_ADD";
560        Pos = MAP_APPFONT( 204 , 165 );
561        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
562        Text [ en-US ] = "~Add";
563    };
564};
565
566ComboBox SFX_CB_PROPERTY_NAME
567{
568    Pos = MAP_APPFONT ( 0 , 2 ) ;
569    Size = MAP_APPFONT ( 60 , 72 ) ;
570    TabStop = TRUE ;
571    DropDown = TRUE ;
572    AutoSize = TRUE ;
573    AutoHScroll = TRUE ;
574    DDExtraWidth = TRUE ;
575    QuickHelpText [ en-US ] = "Property Name" ;
576    StringList [ en-US ] =
577    {
578        "Checked by";
579        "Client";
580        "Date completed";
581        "Department";
582        "Destinations";
583        "Disposition";
584        "Division";
585        "Document number";
586        "Editor";
587        "E-Mail";
588        "Forward to";
589        "Group";
590        "Info";
591        "Language";
592        "Mailstop";
593        "Matter";
594        "Office";
595        "Owner";
596        "Project";
597        "Publisher";
598        "Purpose";
599        "Received from";
600        "Recorded by";
601        "Recorded date";
602        "Reference";
603        "Source";
604        "Status";
605        "Telephone number";
606        "Typist";
607        "URL";
608    };
609};
610ListBox SFX_LB_PROPERTY_TYPE
611{
612    Pos = MAP_APPFONT ( 63 , 2 ) ;
613    Size = MAP_APPFONT ( 60 , 80 ) ;
614    DropDown = TRUE;
615    Border = TRUE;
616    CurPos = 0;
617    StringList [ en-US ] =
618    {
619        < "Text"        ; CUSTOM_TYPE_TEXT ; > ;
620        < "DateTime"    ; CUSTOM_TYPE_DATETIME ; > ;
621        < "Date"        ; CUSTOM_TYPE_DATE ; > ;
622        < "Duration"    ; CUSTOM_TYPE_DURATION ; > ;
623        < "Number"      ; CUSTOM_TYPE_NUMBER ; > ;
624        < "Yes or no"   ; CUSTOM_TYPE_BOOLEAN ; > ;
625    };
626};
627Edit SFX_ED_PROPERTY_VALUE
628{
629    Border = TRUE ;
630    Pos = MAP_APPFONT ( 127 , 2 ) ;
631    Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
632    TabStop = TRUE ;
633    Left = TRUE ;
634};
635DateField SFX_FLD_DATE
636{
637    Border = TRUE ;
638    Pos = MAP_APPFONT ( 127 , 2 ) ;
639    Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ;
640    TabStop = TRUE ;
641    Left = TRUE ;
642    Spin = TRUE;
643};
644TimeField SFX_FLD_TIME
645{
646    Border = TRUE ;
647    Pos = MAP_APPFONT ( 159 , 2 ) ;
648    Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ;
649    TabStop = TRUE ;
650    Left = TRUE ;
651    Spin = TRUE;
652};
653
654Edit SFX_FLD_DURATION
655{
656    Readonly = TRUE;
657    Border = TRUE ;
658    Pos = MAP_APPFONT ( 159 , 2 ) ;
659    Size = MAP_APPFONT ( 61 - RSC_CD_TEXTBOX_HEIGHT - 2, RSC_CD_TEXTBOX_HEIGHT ) ;
660    TabStop = TRUE ;
661};
662PushButton SFX_PB_EDIT
663{
664    Pos = MAP_APPFONT ( 159 , 2 ) ;
665    Size = MAP_APPFONT ( RSC_CD_TEXTBOX_HEIGHT , RSC_CD_TEXTBOX_HEIGHT ) ;
666    Text = "...";
667};
668String SFX_ST_DURATION_FORMAT
669{
670    Text [en-US] = " Y: %1 M: %2 D: %3 H: %4 M: %5 S: %6";
671};
672
673Control SFX_WIN_PROPERTY_YESNO
674{
675    HelpId = HID_CTRL_CUSTOMPROPS_YES_NO;
676    OutputSize = TRUE ;
677    Pos = MAP_APPFONT ( 127 , 2 ) ;
678    Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
679    Border = TRUE ;
680    DialogControl = TRUE ;
681    RadioButton RB_PROPERTY_YES
682    {
683        TabStop = TRUE ;
684        Pos = MAP_APPFONT( 1 , 1 ) ;
685        Size = MAP_APPFONT( 28 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
686        Text [ en-US ] = "Yes" ;
687    };
688    RadioButton RB_PROPERTY_NO
689    {
690        TabStop = TRUE ;
691        Pos = MAP_APPFONT( 32 , 1 ) ;
692        Size = MAP_APPFONT( 29 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
693        Text [ en-US ] = "No" ;
694    };
695};
696
697ImageButton SFX_PB_PROPERTY_REMOVE
698{
699    Pos = MAP_APPFONT( 190 , 1 );
700    Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_HEIGHT, RSC_CD_PUSHBUTTON_HEIGHT );
701    QuickHelpText [ en-US ] = "Remove Property" ;
702};
703Image SFX_IMG_PROPERTY_REMOVE
704{
705    ImageBitmap = Bitmap { File = "deleterow.bmp" ; };
706    MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
707};
708Image SFX_IMG_PROPERTY_REMOVE_HC
709{
710    ImageBitmap = Bitmap { File = "deleterow_h.bmp" ; };
711    MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
712};
713
714QueryBox SFX_QB_WRONG_TYPE
715{
716    Buttons = WB_OK_CANCEL ;
717    DefButton = WB_DEF_OK ;
718    Message [ en-US ] = "The value entered does not match the specified type.\nThe value will be stored as text." ;
719};
720
721TabDialog SID_DOCINFO
722{
723	OutputSize = TRUE ;
724	SVLook = TRUE ;
725	Moveable = TRUE ;
726	Text [ en-US ] = "Properties of " ;
727	TabControl 1
728	{
729		SVLook = TRUE ;
730		PageList =
731		{
732			PageItem
733			{
734				Identifier = TP_DOCINFODOC ;
735				Text [ en-US ] = "General" ;
736			};
737			PageItem
738			{
739				Identifier = TP_DOCINFODESC ;
740				Text [ en-US ] = "Description" ;
741			};
742            PageItem
743            {
744                Identifier = TP_CUSTOMPROPERTIES ;
745                Text [ en-US ] = "Custom Properties" ;
746            };
747            PageItem
748			{
749				Identifier = TP_DOCINFORELOAD ;
750				Text [ en-US ] = "Internet" ;
751			};
752            PageItem
753            {
754                Identifier = TP_DOCINFOSECURITY ;
755                Text [ en-US ] = "Security" ;
756            };
757		};
758	};
759};
760
761ModalDialog RID_EDIT_DURATIONS
762{
763    HelpId = HID_DLG_CUSTOMPROPS_DURATION;
764    OutputSize = TRUE ;
765    Size = MAP_APPFONT ( 176 , 140 ) ;
766    Text [ en-US ] = "Edit Duration" ;
767    Moveable = TRUE ;
768    OKButton PB_OK
769    {
770        Pos = MAP_APPFONT ( 120 , 7 ) ;
771        Size = MAP_APPFONT ( 50 , 14 ) ;
772        DefButton = TRUE;
773    };
774    CancelButton PB_CANCEL
775    {
776        Pos = MAP_APPFONT ( 120 , 24 ) ;
777        Size = MAP_APPFONT ( 50 , 14 ) ;
778    };
779    HelpButton PB_HELP
780    {
781        Pos = MAP_APPFONT ( 120 , 48 ) ;
782        Size = MAP_APPFONT ( 50 , 14 ) ;
783    };
784    FixedLine FL_DURATION
785    {
786        Pos = MAP_APPFONT ( 6 , 8 ) ;
787        Size = MAP_APPFONT ( 108 , 8 ) ;
788        Text [ en-US ] = "Duration" ;
789    };
790    CheckBox CB_NEGATIVE
791    {
792        HelpID = "sfx2:CheckBox:RID_EDIT_DURATIONS:CB_NEGATIVE";
793        Pos = MAP_APPFONT ( 6 , 21 ) ;
794        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
795        Text [ en-US ] = "~Negative" ;
796    };
797    FixedText FT_YEAR
798    {
799        Pos = MAP_APPFONT ( 6 , 38 ) ;
800        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
801        Left = TRUE ;
802        Text [ en-US ] = "~Years" ;
803    };
804    NumericField ED_YEAR
805    {
806        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_YEAR";
807        Border = TRUE ;
808        Pos = MAP_APPFONT ( 70 , 36 ) ;
809        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
810        Repeat = TRUE ;
811        Spin = TRUE ;
812        Minimum = 0 ;
813        First = 1 ;
814        Last = 100 ;
815        SpinSize = 1 ;
816        Value = 0 ;
817    };
818    FixedText FT_MONTH
819    {
820        Pos = MAP_APPFONT ( 6 , 52 ) ;
821        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
822        Left = TRUE ;
823        Text [ en-US ] = "~Months" ;
824    };
825    NumericField ED_MONTH
826    {
827        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MONTH";
828        Border = TRUE ;
829        Pos = MAP_APPFONT ( 70 , 50 ) ;
830        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
831        Repeat = TRUE ;
832        Spin = TRUE ;
833        Minimum = 0 ;
834        First = 1 ;
835        Last = 100 ;
836        SpinSize = 1 ;
837        Value = 0 ;
838    };
839    FixedText FT_DAY
840    {
841        Pos = MAP_APPFONT ( 6 , 66 ) ;
842        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
843        Left = TRUE ;
844        Text [ en-US ] = "~Days" ;
845    };
846    NumericField ED_DAY
847    {
848        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_DAY";
849        Border = TRUE ;
850        Pos = MAP_APPFONT ( 70 , 64 ) ;
851        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
852        Repeat = TRUE ;
853        Spin = TRUE ;
854        Minimum = 0 ;
855        First = 1 ;
856        Last = 100 ;
857        SpinSize = 1 ;
858        Value = 0 ;
859    };
860    FixedText FT_HOUR
861    {
862        Pos = MAP_APPFONT ( 6 , 80 ) ;
863        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
864        Left = TRUE ;
865        Text [ en-US ] = "H~ours" ;
866    };
867    NumericField ED_HOUR
868    {
869        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_HOUR";
870        Border = TRUE ;
871        Pos = MAP_APPFONT ( 70 , 78 ) ;
872        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
873        Repeat = TRUE ;
874        Spin = TRUE ;
875        Minimum = 0 ;
876        First = 1 ;
877        Last = 100 ;
878        SpinSize = 1 ;
879        Value = 0 ;
880    };
881    FixedText FT_MINUTE
882    {
883        Pos = MAP_APPFONT ( 6 , 94 ) ;
884        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
885        Left = TRUE ;
886        Text [ en-US ] = "Min~utes" ;
887    };
888    NumericField ED_MINUTE
889    {
890        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MINUTE";
891        Border = TRUE ;
892        Pos = MAP_APPFONT ( 70, 92) ;
893        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
894        Repeat = TRUE ;
895        Spin = TRUE ;
896        Minimum = 0 ;
897        First = 1 ;
898        Last = 100 ;
899        SpinSize = 1 ;
900        Value = 0 ;
901    };
902    FixedText FT_SECOND
903    {
904        Pos = MAP_APPFONT ( 6, 108 ) ;
905        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
906        Left = TRUE ;
907        Text [ en-US ] = "~Seconds" ;
908    };
909    NumericField ED_SECOND
910    {
911        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_SECOND";
912        Border = TRUE ;
913        Pos = MAP_APPFONT ( 70 , 106 ) ;
914        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
915        Repeat = TRUE ;
916        Spin = TRUE ;
917        Minimum = 0 ;
918        First = 1 ;
919        Last = 100 ;
920        SpinSize = 1 ;
921        Value = 0 ;
922    };
923    FixedText FT_MSECOND
924    {
925        Pos = MAP_APPFONT ( 6 , 122 ) ;
926        Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
927        Left = TRUE ;
928        Text [ en-US ] = "Millise~conds" ;
929    };
930    NumericField ED_MSECOND
931    {
932        HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MSECOND";
933        Border = TRUE ;
934        Pos = MAP_APPFONT ( 70 , 120 ) ;
935        Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ;
936        Repeat = TRUE ;
937        Spin = TRUE ;
938        Minimum = 0 ;
939        First = 1 ;
940        Last = 1000 ;
941        SpinSize = 1 ;
942        Value = 0 ;
943    };
944
945
946
947};
948