1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dinfdlg.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // include ---------------------------------------------------------------
33 #include <sfx2/sfx.hrc>
35 #include "sfxlocal.hrc"
36 #include "dinfdlg.hrc"
38 // TP_DOCINFODESC --------------------------------------------------------
39 String STR_SFX_NEWOFFICEDOC
41 Text [ en-US ] = "%PRODUCTNAME document" ;
44 TabPage TP_DOCINFODESC
46 HelpId = HID_DOCINFODESC ;
48 Size = MAP_APPFONT ( 260 , 185 ) ;
51 Pos = MAP_APPFONT ( 6 , 7 ) ;
52 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
54 Text [ en-US ] = "~Title" ;
59 Pos = MAP_APPFONT ( 70 , 6 ) ;
60 Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ;
66 Pos = MAP_APPFONT ( 6 , 22 ) ;
67 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
69 Text [ en-US ] = "~Subject" ;
74 Pos = MAP_APPFONT ( 70 , 21 ) ;
75 Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ;
81 Pos = MAP_APPFONT ( 6 , 37 ) ;
82 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
84 Text [ en-US ] = "~Keywords" ;
89 Pos = MAP_APPFONT ( 70 , 36 ) ;
90 Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ;
96 Pos = MAP_APPFONT ( 6 , 52 ) ;
97 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
99 Text [ en-US ] = "~Comments" ;
101 MultiLineEdit ED_COMMENT
104 Pos = MAP_APPFONT ( 70 , 51 ) ;
105 Size = MAP_APPFONT ( 184 , 128 ) ;
112 // TP_DOCINFODOC ---------------------------------------------------------
114 TabPage TP_DOCINFODOC
116 HelpId = HID_DOCINFODOC ;
118 Size = MAP_APPFONT ( 260 , 185 ) ;
119 FixedImage BMP_FILE_1
121 Pos = MAP_APPFONT ( 6 , 7 ) ;
122 Size = MAP_APPFONT ( 20 , 20 ) ;
126 Pos = MAP_APPFONT ( 36 , 12 ) ;
127 Size = MAP_APPFONT ( 140 , RSC_CD_TEXTBOX_HEIGHT ) ;
130 PushButton BTN_CHANGE_PASS
132 Pos = MAP_APPFONT ( 189 , 11 ) ;
133 Size = MAP_APPFONT ( 65 , RSC_CD_PUSHBUTTON_HEIGHT ) ;
135 Text [ en-US ] = "Change ~Password...";
139 Pos = MAP_APPFONT ( 6 , 31 ) ;
140 Size = MAP_APPFONT ( 248 , 1 ) ;
142 FixedText FT_FILE_TYP
144 Pos = MAP_APPFONT ( 6 , 37 ) ;
145 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
146 Text [ en-US ] = "Type:" ;
148 Edit FT_FILE_SHOW_TYP
150 Pos = MAP_APPFONT ( 78 , 37 ) ;
151 Size = MAP_APPFONT ( 106 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
153 CheckBox CB_FILE_READONLY
155 Pos = MAP_APPFONT ( 163 , 37 ) ;
156 Size = MAP_APPFONT ( 91 , RSC_CD_CHECKBOX_HEIGHT ) ;
157 Text [ en-US ] = "~Read-only" ;
161 Pos = MAP_APPFONT ( 6 , 49 ) ;
162 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
163 Text [ en-US ] = "Location:" ;
167 Pos = MAP_APPFONT ( 78 , 49 ) ;
168 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
170 FixedText FT_FILE_SIZE
172 Pos = MAP_APPFONT ( 6 , 61 ) ;
173 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
174 Text [ en-US ] = "Size:" ;
176 Edit FT_FILE_SHOW_SIZE
178 Pos = MAP_APPFONT ( 78 , 61 ) ;
179 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
183 Pos = MAP_APPFONT ( 6 , 74 ) ;
184 Size = MAP_APPFONT ( 248 , 1 ) ;
188 Pos = MAP_APPFONT ( 6 , 80 ) ;
189 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
190 Text [ en-US ] = "Created:" ;
194 Pos = MAP_APPFONT ( 78 , 80 ) ;
195 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
199 Pos = MAP_APPFONT ( 6 , 92 ) ;
200 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
201 Text [ en-US ] = "Modified:" ;
205 Pos = MAP_APPFONT ( 78 , 92 ) ;
206 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
210 Pos = MAP_APPFONT ( 6 , 104 ) ;
211 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
212 Text [ en-US ] = "Digitally signed:" ;
216 Pos = MAP_APPFONT ( 78 , 104 ) ;
217 Size = MAP_APPFONT ( 123 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
219 PushButton 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...";
225 String STR_MULTSIGNED
227 Text [ en-US ] = "Multiply signed document" ;
231 Pos = MAP_APPFONT ( 6 , 116 ) ;
232 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
233 Text [ en-US ] = "Last printed:" ;
237 Pos = MAP_APPFONT ( 78 , 116 ) ;
238 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
242 Pos = MAP_APPFONT ( 6 , 128 ) ;
243 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
244 Text [ en-US ] = "Total editing time:" ;
248 Pos = MAP_APPFONT ( 78 , 128 ) ;
249 Size = MAP_APPFONT ( 30 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
253 Pos = MAP_APPFONT ( 6 , 140 ) ;
254 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
255 Text [ en-US ] = "Revision number:" ;
259 Pos = MAP_APPFONT ( 78 , 140 ) ;
260 Size = MAP_APPFONT ( 30 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
262 PushButton BTN_DELETE
264 Pos = MAP_APPFONT ( 204 , 150 ) ;
265 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
267 Text [ en-US ] = "Reset";
269 CheckBox CB_USE_USERDATA
271 Pos = MAP_APPFONT ( 6 , 152 ) ;
272 Size = MAP_APPFONT ( 192 , RSC_CD_CHECKBOX_HEIGHT ) ;
274 Text [ en-US ] = "~Apply user data";
278 Pos = MAP_APPFONT ( 5 , 167 ) ;
279 Size = MAP_APPFONT ( 248 , 1 ) ;
283 Pos = MAP_APPFONT ( 5 , 172 ) ;
284 Size = MAP_APPFONT ( 45 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
285 Text [ en-US ] = "Template:" ;
289 Pos = MAP_APPFONT ( 78 , 172 ) ;
290 Size = MAP_APPFONT ( 180 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
292 String STR_UNKNOWNSIZE
294 Text [ en-US ] = "unknown" ;
298 // TP_DOCINFOUSER --------------------------------------------------------
300 TabPage TP_DOCINFOUSER
302 HelpId = HID_DOCINFOUSER ;
304 Size = MAP_APPFONT ( 260 , 185 ) ;
307 Pos = MAP_APPFONT ( 6 , 6 ) ;
308 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
314 Pos = MAP_APPFONT ( 6 , 17 ) ;
315 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
320 Pos = MAP_APPFONT ( 6 , 32 ) ;
321 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
327 Pos = MAP_APPFONT ( 6 , 43 ) ;
328 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
333 Pos = MAP_APPFONT ( 6 , 58 ) ;
334 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
340 Pos = MAP_APPFONT ( 6 , 69 ) ;
341 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
346 Pos = MAP_APPFONT ( 6 , 84 ) ;
347 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
353 Pos = MAP_APPFONT ( 6 , 95 ) ;
354 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ;
357 PushButton BTN_EDITLABEL
359 Pos = MAP_APPFONT ( 194 , 165 ) ;
360 Size = MAP_APPFONT ( 60 , RSC_CD_PUSHBUTTON_HEIGHT ) ;
361 Text [ en-US ] = "~Info fields..." ;
365 // TP_DOCINFOUSER --------------------------------------------------------
367 TabPage TP_DOCINFORELOAD
369 HelpId = HID_DOCINFORELOAD ;
371 Size = MAP_APPFONT ( 260 , 185 ) ;
372 RadioButton RB_NOAUTOUPDATE
375 Pos = MAP_APPFONT( COL_0 , ROW_0 ) ;
376 Size = MAP_APPFONT( COL_7 - COL_1 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
377 Text [ en-US ] = "Do not refresh automatically" ;
380 RadioButton RB_RELOADUPDATE
383 Pos = MAP_APPFONT( COL_0, ROW_1 ) ;
384 Size = MAP_APPFONT( COL_7 - COL_1, RSC_CD_RADIOBUTTON_HEIGHT ) ;
385 Text [ en-US ] = "Refresh this document" ;
389 Pos = MAP_APPFONT ( COL_1 , ROW_2 ) ;
390 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
391 Text [ en-US ] = "every" ;
393 NumericField ED_RELOAD
396 Pos = MAP_APPFONT ( COL_2 , ROW_2 - ROWDIFF_FT_EDTFLD ) ;
397 Size = MAP_APPFONT ( WIDTH_2 , RSC_CD_TEXTBOX_HEIGHT ) ;
406 FixedText FT_RELOADSECS
408 Pos = MAP_APPFONT ( COL_4 , ROW_2 ) ;
409 Size = MAP_APPFONT ( COL_7 - COL_4 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
410 Text [ en-US ] = "seconds" ;
413 RadioButton RB_FORWARDUPDATE
416 Pos = MAP_APPFONT( COL_0, ROW_3 ) ;
417 Size = MAP_APPFONT( COL_7 - COL_1, RSC_CD_RADIOBUTTON_HEIGHT ) ;
418 Text [ en-US ] = "Redirect from this document" ;
422 Pos = MAP_APPFONT ( COL_1 , ROW_4 ) ;
423 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
424 Text [ en-US ] = "after" ;
426 NumericField ED_FORWARD
429 Pos = MAP_APPFONT ( COL_2 , ROW_4 - ROWDIFF_FT_EDTFLD ) ;
430 Size = MAP_APPFONT ( WIDTH_2 , RSC_CD_TEXTBOX_HEIGHT ) ;
439 FixedText FT_FORWARDSECS
441 Pos = MAP_APPFONT ( COL_4 , ROW_4 ) ;
442 Size = MAP_APPFONT ( COL_7 - COL_4 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
443 Text [ en-US ] = "seconds" ;
447 Pos = MAP_APPFONT ( COL_1 , ROW_5 ) ;
448 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
449 Text [ en-US ] = "to URL" ;
454 Pos = MAP_APPFONT ( COL_2 , ROW_5 - ROWDIFF_FT_EDTFLD ) ;
455 Size = MAP_APPFONT ( COL_5 - COL_2 , RSC_CD_TEXTBOX_HEIGHT ) ;
457 PushButton PB_BROWSEURL
459 Pos = MAP_APPFONT ( COL_6 , ROW_5 - ROWDIFF_FT_EDTFLD ) ;
460 Size = MAP_APPFONT ( COL_7 - COL_6 , RSC_CD_PUSHBUTTON_HEIGHT ) ;
465 Pos = MAP_APPFONT ( COL_1 , ROW_6 ) ;
466 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
467 Text [ en-US ] = "to frame" ;
471 Pos = MAP_APPFONT ( COL_2 , ROW_6 - ROWDIFF_FT_EDTFLD ) ;
472 Size = MAP_APPFONT ( COL_7 - COL_2 , RSC_CD_DROPDOWN_HEIGHT * 10 ) ;
475 String STR_FORWARD_ERRMSSG
477 Text [ en-US ] = "If you select the option \"%PLACEHOLDER%\", you must enter a URL." ;
482 // TP_CUSTOMPROPERTIES ---------------------------------------------------
484 TabPage TP_CUSTOMPROPERTIES
486 HelpId = HID_TP_CUSTOMPROPERTIES ;
488 Size = MAP_APPFONT ( 260 , 185 ) ;
489 FixedText FT_PROPERTIES
491 Pos = MAP_APPFONT ( 6 , 7 ) ;
492 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
494 Text [ en-US ] = "~Properties" ;
496 Control CTRL_PROPERTIES
498 HelpId = HID_CTRL_CUSTOMPROPERTIES;
499 Pos = MAP_APPFONT ( 6 , 18 ) ;
500 Size = MAP_APPFONT ( 248 , 141 ) ;
502 DialogControl = TRUE;
503 //OutputSize = TRUE ;
504 Window WIN_PROPERTIES
507 Pos = MAP_APPFONT ( 0 , 10 ) ;
508 Size = MAP_APPFONT ( 240 , 134 ) ;
509 DialogControl = TRUE;
511 ScrollBar SB_VERTICAL
513 Pos = MAP_APPFONT ( 238 , 10 ) ;
514 Size = MAP_APPFONT ( 8 , 129 ) ;
517 String STR_HEADER_NAME
519 Text [ en-US ] = "Name" ;
521 String STR_HEADER_TYPE
523 Text [ en-US ] = "Type" ;
525 String STR_HEADER_VALUE
527 Text [ en-US ] = "Value" ;
529 String STR_HEADER_ACTION
531 Text [ en-US ] = "" ;
536 Pos = MAP_APPFONT( 204 , 165 );
537 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
538 Text [ en-US ] = "~Add";
542 ComboBox SFX_CB_PROPERTY_NAME
544 Pos = MAP_APPFONT ( 0 , 2 ) ;
545 Size = MAP_APPFONT ( 60 , 72 ) ;
550 DDExtraWidth = TRUE ;
551 QuickHelpText [ en-US ] = "Property Name" ;
552 StringList [ en-US ] =
586 ListBox SFX_LB_PROPERTY_TYPE
588 Pos = MAP_APPFONT ( 63 , 2 ) ;
589 Size = MAP_APPFONT ( 60 , 50 ) ;
593 StringList [ en-US ] =
595 < "Text" ; CUSTOM_TYPE_TEXT ; > ;
596 < "Date" ; CUSTOM_TYPE_DATE ; > ;
597 < "Number" ; CUSTOM_TYPE_NUMBER ; > ;
598 < "Yes or no" ; CUSTOM_TYPE_BOOLEAN ; > ;
601 Edit SFX_ED_PROPERTY_VALUE
604 Pos = MAP_APPFONT ( 127 , 2 ) ;
605 Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
609 Control SFX_WIN_PROPERTY_YESNO
611 HelpId = HID_CTRL_CUSTOMPROPS_YES_NO;
613 Pos = MAP_APPFONT ( 127 , 2 ) ;
614 Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
616 DialogControl = TRUE ;
617 RadioButton RB_PROPERTY_YES
620 Pos = MAP_APPFONT( 1 , 1 ) ;
621 Size = MAP_APPFONT( 28 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
622 Text [ en-US ] = "Yes" ;
624 RadioButton RB_PROPERTY_NO
627 Pos = MAP_APPFONT( 32 , 1 ) ;
628 Size = MAP_APPFONT( 29 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
629 Text [ en-US ] = "No" ;
633 ImageButton SFX_PB_PROPERTY_REMOVE
635 Pos = MAP_APPFONT( 190 , 1 );
636 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_HEIGHT, RSC_CD_PUSHBUTTON_HEIGHT );
637 QuickHelpText [ en-US ] = "Remove Property" ;
639 Image SFX_IMG_PROPERTY_REMOVE
641 ImageBitmap = Bitmap { File = "deleterow.bmp" ; };
642 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
644 Image SFX_IMG_PROPERTY_REMOVE_HC
646 ImageBitmap = Bitmap { File = "deleterow_h.bmp" ; };
647 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
650 QueryBox SFX_QB_WRONG_TYPE
652 Buttons = WB_OK_CANCEL ;
653 DefButton = WB_DEF_OK ;
654 Message [ en-US ] = "The value entered does not match the specified type.\nThe value will be stored as text." ;
657 // SID_DOCINFO -----------------------------------------------------------
659 TabDialog SID_DOCINFO
664 Text [ en-US ] = "Properties of " ;
672 Identifier = TP_DOCINFODOC ;
673 Text [ en-US ] = "General" ;
677 Identifier = TP_DOCINFODESC ;
678 Text [ en-US ] = "Description" ;
682 Identifier = TP_CUSTOMPROPERTIES ;
683 Text [ en-US ] = "Custom Properties" ;
687 Identifier = TP_DOCINFORELOAD ;
688 Text [ en-US ] = "Internet" ;