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: hfedtdlg.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 ************************************************************************/
30 /* StarView ressource file */
31 #include "hfedtdlg.hrc"
32 #define HFEDIT_DLGTITLE \
33 Text [ en-US ] = "Headers/Footers" ; \
36 Text [ en-US ] = "Header" ; \
39 Text [ en-US ] = "Footer" ; \
41 #define HEADER_RIGHT \
42 Text [ en-US ] = "Header (right)" ; \
45 Text [ en-US ] = "Header (left)" ; \
47 #define FOOTER_RIGHT \
48 Text [ en-US ] = "Footer (right)" ; \
51 Text [ en-US ] = "Footer (left)" ; \
53 //------------------------------------------------------------------------
54 // Bearbeiten vom Seitendialog aus aufgerufen
55 //------------------------------------------------------------------------
56 TabDialog RID_SCDLG_HFED_HEADER
60 Size = MAP_APPFONT ( 270 , 140 ) ;
61 Text [ en-US ] = "Headers" ;
68 Pos = MAP_APPFONT ( 6 , 3 ) ;
69 Size = MAP_APPFONT ( 260 , 135 ) ;
76 PageResID = HID_SCPAGE_HFED_HR ;
82 PageResID = HID_SCPAGE_HFED_HL ;
87 TabDialog RID_SCDLG_HFED_FOOTER
91 Size = MAP_APPFONT ( 270 , 140 ) ;
92 Text [ en-US ] = "Footers" ;
99 Pos = MAP_APPFONT ( 6 , 3 ) ;
100 Size = MAP_APPFONT ( 260 , 135 ) ;
107 PageResID = HID_SCPAGE_HFED_FR ;
113 PageResID = HID_SCPAGE_HFED_FL ;
118 //------------------------------------------------------------------------
119 // Bearbeiten/Kopf-Fusszeile:
120 //------------------------------------------------------------------------
121 TabDialog RID_SCDLG_HFEDIT_ALL
125 Size = MAP_APPFONT ( 270 , 140 ) ;
133 Pos = MAP_APPFONT ( 6 , 3 ) ;
134 Size = MAP_APPFONT ( 260 , 135 ) ;
141 PageResID = HID_SCPAGE_HFED_HR ;
147 PageResID = HID_SCPAGE_HFED_HL ;
153 PageResID = HID_SCPAGE_HFED_FR ;
159 PageResID = HID_SCPAGE_HFED_FL ;
164 TabDialog RID_SCDLG_HFEDIT_SHDR
168 Size = MAP_APPFONT ( 270 , 140 ) ;
176 Pos = MAP_APPFONT ( 6 , 3 ) ;
177 Size = MAP_APPFONT ( 260 , 135 ) ;
184 PageResID = HID_SCPAGE_HFED_HR ;
190 PageResID = HID_SCPAGE_HFED_FR ;
196 PageResID = HID_SCPAGE_HFED_FL ;
201 TabDialog RID_SCDLG_HFEDIT_SFTR
205 Size = MAP_APPFONT ( 270 , 140 ) ;
213 Pos = MAP_APPFONT ( 6 , 3 ) ;
214 Size = MAP_APPFONT ( 260 , 135 ) ;
221 PageResID = HID_SCPAGE_HFED_HR ;
227 PageResID = HID_SCPAGE_HFED_HL ;
233 PageResID = HID_SCPAGE_HFED_FR ;
238 TabDialog RID_SCDLG_HFEDIT
242 Size = MAP_APPFONT ( 270 , 140 ) ;
250 Pos = MAP_APPFONT ( 6 , 3 ) ;
251 Size = MAP_APPFONT ( 260 , 135 ) ;
258 PageResID = HID_SCPAGE_HFED_HR ;
264 PageResID = HID_SCPAGE_HFED_FR ;
269 TabDialog RID_SCDLG_HFEDIT_HEADER
273 Size = MAP_APPFONT ( 270 , 140 ) ;
281 Pos = MAP_APPFONT ( 6 , 3 ) ;
282 Size = MAP_APPFONT ( 260 , 135 ) ;
289 PageResID = HID_SCPAGE_HFED_HR ;
295 PageResID = HID_SCPAGE_HFED_HL ;
300 TabDialog RID_SCDLG_HFEDIT_FOOTER
304 Size = MAP_APPFONT ( 270 , 140 ) ;
312 Pos = MAP_APPFONT ( 6 , 3 ) ;
313 Size = MAP_APPFONT ( 260 , 135 ) ;
320 PageResID = HID_SCPAGE_HFED_FR ;
326 PageResID = HID_SCPAGE_HFED_FL ;
331 TabDialog RID_SCDLG_HFEDIT_RIGHTHEADER
335 Size = MAP_APPFONT ( 270 , 140 ) ;
343 Pos = MAP_APPFONT ( 6 , 3 ) ;
344 Size = MAP_APPFONT ( 260 , 135 ) ;
351 PageResID = HID_SCPAGE_HFED_HR ;
356 TabDialog RID_SCDLG_HFEDIT_LEFTHEADER
360 Size = MAP_APPFONT ( 270 , 140 ) ;
368 Pos = MAP_APPFONT ( 6 , 3 ) ;
369 Size = MAP_APPFONT ( 260 , 135 ) ;
376 PageResID = HID_SCPAGE_HFED_HL ;
381 TabDialog RID_SCDLG_HFEDIT_RIGHTFOOTER
385 Size = MAP_APPFONT ( 270 , 140 ) ;
393 Pos = MAP_APPFONT ( 6 , 3 ) ;
394 Size = MAP_APPFONT ( 260 , 135 ) ;
401 PageResID = HID_SCPAGE_HFED_FR ;
406 TabDialog RID_SCDLG_HFEDIT_LEFTFOOTER
410 Size = MAP_APPFONT ( 270 , 140 ) ;
418 Pos = MAP_APPFONT ( 6 , 3 ) ;
419 Size = MAP_APPFONT ( 260 , 135 ) ;
426 PageResID = HID_SCPAGE_HFED_FL ;
431 //------------------------------------------------------------------------
433 //------------------------------------------------------------------------
437 HelpId = HID_SCPAGE_HFEDIT ;
438 Pos = MAP_APPFONT ( 0 , 0 ) ;
439 Size = MAP_APPFONT ( 260 , 185 ) ;
442 Pos = MAP_APPFONT ( 6 , 6 ) ;
443 Size = MAP_APPFONT ( 75 , 10 ) ;
444 Text [ en-US ] = "~Left area" ;
446 /* "Control" braucht eigene HelpId, darum in der Ableitung:
450 Pos = MAP_APPFONT ( 6 , 18 ) ;
451 Size = MAP_APPFONT ( 80 , 72 ) ;
457 Pos = MAP_APPFONT ( 90 , 6 ) ;
458 Size = MAP_APPFONT ( 75 , 10 ) ;
459 Text [ en-US ] = "~Center area" ;
461 /* "Control" braucht eigene HelpId, darum in der Ableitung:
465 Pos = MAP_APPFONT ( 90 , 18 ) ;
466 Size = MAP_APPFONT ( 80 , 72 ) ;
472 Pos = MAP_APPFONT ( 174 , 6 ) ;
473 Size = MAP_APPFONT ( 75 , 10 ) ;
474 Text [ en-US ] = "R~ight area" ;
476 /* "Control" braucht eigene HelpId, darum in der Ableitung:
480 Pos = MAP_APPFONT ( 174 , 18 ) ;
481 Size = MAP_APPFONT ( 80 , 72 ) ;
485 FixedText FT_HF_DEFINED
487 Pos = MAP_APPFONT ( 12 , 102 ) ;
488 Size = MAP_APPFONT ( 76 , 10 ) ;
489 Text [ en-US ] = "Hea~der" ;
492 /* #i84123# list box needs own help id, which is set in the derived tab pages
496 Pos = MAP_APPFONT ( 90 , 100 ) ;
497 Size = MAP_APPFONT ( 130 , 80 ) ;
503 FixedText FT_HF_CUSTOM
505 Pos = MAP_APPFONT ( 12 , 124 ) ;
506 Size = MAP_APPFONT ( 76 , 10 ) ;
507 Text [ en-US ] = "Custom header" ;
512 HelpId = HID_SC_HF_TEXT ;
513 Pos = MAP_APPFONT ( 90 , 122 ) ;
514 Size = MAP_APPFONT ( 15 , 15 ) ;
516 QuickHelpText [ en-US ] = "Text Attributes" ;
519 ImageBitmap = Bitmap { File = "text.bmp" ; };
520 MaskColor = STD_MASKCOLOR ;
525 ImageBitmap = Bitmap { File = "text_h.bmp" ; };
526 MaskColor = SC_HC_MASKCOLOR;
530 HelpId = HID_SC_HF_FILE ;
531 Pos = MAP_APPFONT ( 113 , 122 ) ;
532 Size = MAP_APPFONT ( 15 , 15 ) ;
534 QuickHelpText [ en-US ] = "Title" ;
537 ImageBitmap = Bitmap { File = "file.bmp" ; };
538 MaskColor = STD_MASKCOLOR ;
543 ImageBitmap = Bitmap { File = "file_h.bmp" ; };
544 MaskColor = SC_HC_MASKCOLOR;
547 Menu RID_POPUP_FCOMMAND
553 Identifier = FILE_COMMAND_TITEL ;
554 HelpID = HID_FCOMMAND_TITEL ;
555 Text [ en-US ] = "Title";
559 Identifier = FILE_COMMAND_FILENAME;
560 HelpID = HID_FCOMMAND_FILENAME;
562 Text [ en-US ] = "File Name";
566 Identifier = FILE_COMMAND_PATH;
567 HelpID = HID_FCOMMAND_PATH;
569 Text [ en-US ] = "Path/File Name";
574 ImageButton BTN_TABLE
576 HelpId = HID_SC_HF_TABLE ;
577 Pos = MAP_APPFONT ( 130 , 122 ) ;
578 Size = MAP_APPFONT ( 15 , 15 ) ;
580 QuickHelpText [ en-US ] = "Sheet Name" ;
583 ImageBitmap = Bitmap { File = "table.bmp" ; };
584 MaskColor = STD_MASKCOLOR;
589 ImageBitmap = Bitmap { File = "table_h.bmp" ; };
590 MaskColor = SC_HC_MASKCOLOR;
594 HelpId = HID_SC_HF_PAGE ;
595 Pos = MAP_APPFONT ( 150 , 122 ) ;
596 Size = MAP_APPFONT ( 15 , 15 ) ;
598 QuickHelpText [ en-US ] = "Page" ;
601 ImageBitmap = Bitmap { File = "page.bmp" ; };
602 MaskColor = STD_MASKCOLOR ;
607 ImageBitmap = Bitmap { File = "page_h.bmp" ; };
608 MaskColor = SC_HC_MASKCOLOR;
610 ImageButton BTN_PAGES
612 HelpId = HID_SC_HF_PAGES ;
613 Pos = MAP_APPFONT ( 167 , 122 ) ;
614 Size = MAP_APPFONT ( 15 , 15 ) ;
616 QuickHelpText [ en-US ] = "Pages" ;
619 ImageBitmap = Bitmap { File = "pages.bmp" ; };
620 MaskColor = STD_MASKCOLOR ;
625 ImageBitmap = Bitmap { File = "pages_h.bmp" ; };
626 MaskColor = SC_HC_MASKCOLOR;
630 HelpId = HID_SC_HF_DATE ;
631 Pos = MAP_APPFONT ( 187 , 122 ) ;
632 Size = MAP_APPFONT ( 15 , 15 ) ;
634 QuickHelpText [ en-US ] = "Date" ;
637 ImageBitmap = Bitmap { File = "date.bmp" ; };
638 MaskColor = STD_MASKCOLOR ;
643 ImageBitmap = Bitmap { File = "date_h.bmp" ; };
644 MaskColor = SC_HC_MASKCOLOR;
648 HelpId = HID_SC_HF_TIME ;
649 Pos = MAP_APPFONT ( 204 , 122 ) ;
650 Size = MAP_APPFONT ( 15 , 15 ) ;
652 QuickHelpText [ en-US ] = "Time" ;
655 ImageBitmap = Bitmap { File = "time.bmp" ; };
656 MaskColor = STD_MASKCOLOR ;
661 ImageBitmap = Bitmap { File = "time_h.bmp" ; };
662 MaskColor = SC_HC_MASKCOLOR;
666 Pos = MAP_APPFONT ( 12 , 155 ) ;
667 Size = MAP_APPFONT ( 240 , 24 ) ;
669 Text [ en-US ] = "Use the buttons to change the font or insert field commands such as date, time, etc." ;
673 Pos = MAP_APPFONT ( 6 , 144 ) ;
674 Size = MAP_APPFONT ( 248 , 8 ) ;
675 Text [ en-US ] = "Note" ;
678 // Kombinationen: Header/Footer links/rechts
679 // die Eingabefenster jeweils mit eigener ID, sonst aus RID_HFBASE kopiert
680 TabPage RID_SCPAGE_HFED_HL < RID_HFBASE
683 HelpId = HID_SCPAGE_HFED_HL ;
686 HelpId = HID_SC_HF_HLL ;
688 Pos = MAP_APPFONT ( 6 , 18 ) ;
689 Size = MAP_APPFONT ( 80 , 72 ) ;
694 HelpId = HID_SC_HF_HLC ;
696 Pos = MAP_APPFONT ( 90 , 18 ) ;
697 Size = MAP_APPFONT ( 80 , 72 ) ;
702 HelpId = HID_SC_HF_HLR ;
704 Pos = MAP_APPFONT ( 174 , 18 ) ;
705 Size = MAP_APPFONT ( 80 , 72 ) ;
710 HelpId = HID_SC_HF_HL_DEFINED ;
712 Pos = MAP_APPFONT ( 90 , 100 ) ;
713 Size = MAP_APPFONT ( 130 , 80 ) ;
718 TabPage RID_SCPAGE_HFED_HR < RID_HFBASE
721 HelpId = HID_SCPAGE_HFED_HR ;
724 HelpId = HID_SC_HF_HRL ;
726 Pos = MAP_APPFONT ( 6 , 18 ) ;
727 Size = MAP_APPFONT ( 80 , 72 ) ;
732 HelpId = HID_SC_HF_HRC ;
734 Pos = MAP_APPFONT ( 90 , 18 ) ;
735 Size = MAP_APPFONT ( 80 , 72 ) ;
740 HelpId = HID_SC_HF_HRR ;
742 Pos = MAP_APPFONT ( 174 , 18 ) ;
743 Size = MAP_APPFONT ( 80 , 72 ) ;
748 HelpId = HID_SC_HF_HR_DEFINED ;
750 Pos = MAP_APPFONT ( 90 , 100 ) ;
751 Size = MAP_APPFONT ( 130 , 80 ) ;
756 TabPage RID_SCPAGE_HFED_FL < RID_HFBASE
759 HelpId = HID_SCPAGE_HFED_FL ;
762 HelpId = HID_SC_HF_FLL ;
764 Pos = MAP_APPFONT ( 6 , 18 ) ;
765 Size = MAP_APPFONT ( 80 , 72 ) ;
770 HelpId = HID_SC_HF_FLC ;
772 Pos = MAP_APPFONT ( 90 , 18 ) ;
773 Size = MAP_APPFONT ( 80 , 72 ) ;
778 HelpId = HID_SC_HF_FLR ;
780 Pos = MAP_APPFONT ( 174 , 18 ) ;
781 Size = MAP_APPFONT ( 80 , 72 ) ;
786 HelpId = HID_SC_HF_FL_DEFINED ;
788 Pos = MAP_APPFONT ( 90 , 100 ) ;
789 Size = MAP_APPFONT ( 130 , 80 ) ;
794 TabPage RID_SCPAGE_HFED_FR < RID_HFBASE
797 HelpId = HID_SCPAGE_HFED_FR ;
800 HelpId = HID_SC_HF_FRL ;
802 Pos = MAP_APPFONT ( 6 , 18 ) ;
803 Size = MAP_APPFONT ( 80 , 72 ) ;
808 HelpId = HID_SC_HF_FRC ;
810 Pos = MAP_APPFONT ( 90 , 18 ) ;
811 Size = MAP_APPFONT ( 80 , 72 ) ;
816 HelpId = HID_SC_HF_FRR ;
818 Pos = MAP_APPFONT ( 174 , 18 ) ;
819 Size = MAP_APPFONT ( 80 , 72 ) ;
824 HelpId = HID_SC_HF_FR_DEFINED ;
826 Pos = MAP_APPFONT ( 90 , 100 ) ;
827 Size = MAP_APPFONT ( 130 , 80 ) ;