Update contrib.
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 #include <techview/eikon.rh>
22 #include <uiklafgt/eikcore.rsg>
24 #include <eikcoctl.rsg>
25 #include <eikfile.rsg>
26 #include <eikprint.rsg>
32 /* TOOLBAR & TOOLBAND MEASUREMENTS */
33 #define KWStdToolbandSpacer 10
36 // Structure definition for the outline control
38 STRUCT OUTLINE_CONTROL
45 RESOURCE RSS_SIGNATURE { }
47 RESOURCE TBUF { buf="Word"; } // default filename
51 hotkeys=r_word_hotkeys;
52 menubar=r_word_menubar;
53 toolbar=r_word_toolbar;
54 toolband=r_word_toolband;
57 RESOURCE HOTKEYS r_word_hotkeys
61 HOTKEY { command=EEikCmdEditSelectAll; key='a'; },
62 HOTKEY { command=EEikCmdFontBold; key='b'; },
63 HOTKEY { command=EEikCmdEditCopy; key='c'; },
64 HOTKEY { command=EEikCmdParaIndent; key='d'; },
65 HOTKEY { command=EEikCmdExit; key='e'; },
66 HOTKEY { command=EEikCmdSearchFind; key='f'; },
67 HOTKEY { command=EWordCmdGoTo; key='g'; },
68 HOTKEY { command=EEikCmdSearchReplace; key='h'; },
69 HOTKEY { command=EEikCmdFontItalic; key='i'; },
70 HOTKEY { command=EEikCmdSearchFindAgain; key='j'; },
71 HOTKEY { command=EWordCmdViewPreferences; key='k'; },
72 HOTKEY { command=EEikCmdZoomIn; key='m';},
73 HOTKEY { command=EEikCmdFileNew; key='n'; },
74 HOTKEY { command=EEikCmdFileOpen; key='o'; },
75 HOTKEY { command=EEikCmdPrintPrint; key='p'; },
76 HOTKEY { command=EEikCmdFileRevert; key='r'; },
77 HOTKEY { command=EEikCmdFileSave; key='s'; },
78 HOTKEY { command=EWordCmdToolbar; key='t';},
79 HOTKEY { command=EEikCmdFontUnderline; key='u'; },
80 HOTKEY { command=EEikCmdEditPaste; key='v'; },
81 HOTKEY { command=EWordCmdWrapToScreen; key='w'; },
82 HOTKEY { command=EEikCmdEditCut; key='x'; },
83 HOTKEY { command=EEikCmdEditRedo; key='y'; },
84 HOTKEY { command=EEikCmdEditUndo; key='z';}
88 HOTKEY { command=EEikCmdParaAlign; key='a'; },
89 HOTKEY { command=EWordCmdInsertBullet; key='b'; },
90 HOTKEY { command=EEikCmdInsertSymbol; key='c';},
91 HOTKEY { command=EEikCmdParaBorder; key='d'; },
92 HOTKEY { command=EWordCmdZoomSet; key='e'; },
93 HOTKEY { command=EEikCmdFontChange; key='f'; },
94 HOTKEY { command=EWordCmdStyleGallery; key='g'; },
95 HOTKEY { command=EWordCmdFormatBullet; key='h'; },
96 HOTKEY { command=EWordCmdRevertToStyleChar; key='i'; },
97 HOTKEY { command=EEikCmdEditPictureFormat; key='j'; },
98 HOTKEY { command=EWordCmdObjectPreferences; key='k'; },
99 HOTKEY { command=EWordCmdOutline; key='l'; },
100 HOTKEY { command=EEikCmdZoomOut; key='m';},
101 HOTKEY { command=EEikCmdParaSpacing; key='n'; },
102 HOTKEY { command=EWordCmdInsertObject; key='o';},
103 HOTKEY { command=EEikCmdPrintSetup; key='p'; },
104 HOTKEY { command=EWordCmdRevertToStylePara; key='r'; },
105 HOTKEY { command=EEikCmdFileSaveAs; key='s'; },
106 HOTKEY { command=EWordCmdToolband; key='t';},
107 HOTKEY { command=EWordCmdPageSetup; key='u'; },
108 HOTKEY { command=EEikCmdPrintPreview; key='v'; },
109 HOTKEY { command=EWordCmdCount; key='w'; },
110 HOTKEY { command=EEikCmdParaTabs; key='y';},
111 HOTKEY { command=EWordCmdReEditObject; key='z'; }
115 RESOURCE MENU_BAR r_word_menubar
119 MENU_TITLE { menu_pane=r_word_file_menu; txt="File"; },
120 MENU_TITLE { menu_pane=r_word_edit_menu; txt="Edit"; },
121 MENU_TITLE { menu_pane=r_word_view_menu; txt="View"; },
122 MENU_TITLE { menu_pane=r_word_insert_menu; txt="Insert"; },
123 MENU_TITLE { menu_pane=r_word_text_menu; txt="Text"; },
124 MENU_TITLE { menu_pane=r_word_paragraph_menu; txt="Paragraph"; },
125 MENU_TITLE { menu_pane=r_word_tools_menu; txt="Tools"; },
126 MENU_TITLE { menu_pane=r_word_test_menu; txt="Test"; }
130 RESOURCE TOOLBAR r_word_toolbar
132 breadth=KEikStdToolBarWidth;
133 flags=EEikToolBarDelayActivation;
138 type=EEikCtFileNameLabel;
140 flags=EEikToolBarCtrlHasSetMinLength;
141 length=KEikStdFileNameLabelHeight;
143 TBAR_BUTTON { id=EWordCmdInsertSketch; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; txt="Insert\nSketch"; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; bmpid=EMbmEikonSketch; bmpmask=EMbmEikonSketchm; },
144 TBAR_BUTTON { id=EWordCmdInsertSheet; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; txt="Insert\nGraph"; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; bmpid=EMbmEikonChart; bmpmask=EMbmEikonChartm; },
145 TBAR_BUTTON { id=EEikCmdPrintPreview; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; txt="Print"; bmpid=EMbmEikonPrint; bmpmask=EMbmEikonPrintm; },
146 TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable; length=0; control=SPACER; },
151 control=CLOCK { digitalresourceid=R_EIK_DIGITAL_CLOCK; analogresourceid=R_EIK_ANALOG_CLOCK; };
153 TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdGapBelowClock; control=SPACER { color=EEikSpacerWhite; }; }
157 RESOURCE TOOLBAND r_word_toolband
159 breadth=KEikStdToolBandHeight;
160 flags=EEikToolBarHorizontal|EEikToolBarDelayActivation;
166 flags=EEikToolBarCtrlHasSetMinLength;
167 length=EEikStdLongTextPopoutToolBandButtonWidth;
168 behavior=EEikButReportOnPointerDown;
169 layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
171 bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
173 TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
177 flags=EEikToolBarCtrlHasSetMinLength;
178 length=EEikStdLongTextPopoutToolBandButtonWidth;
179 behavior=EEikButReportOnPointerDown;
180 layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
182 bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
186 id=EWordButtonFontSize;
187 flags=EEikToolBarCtrlHasSetMinLength;
188 length=EEikStdShortTextPopoutToolBandButtonWidth;
189 behavior=EEikButReportOnPointerDown;
190 layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
192 bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
194 TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
198 flags=EEikToolBarCtrlHasSetMinLength;
199 length=EEikStdTwoStateIconicToolBandButtonWidth;
200 behavior=EEikButLatches;
201 bmpid=EMbmEikonBold; bmpmask=EMbmEikonBoldm;
205 id=EEikCmdFontItalic;
206 flags=EEikToolBarCtrlHasSetMinLength;
207 length=EEikStdTwoStateIconicToolBandButtonWidth;
208 behavior=EEikButLatches;
209 bmpid=EMbmEikonItalic; bmpmask=EMbmEikonItalicm;
213 id=EEikCmdFontUnderline;
214 flags=EEikToolBarCtrlHasSetMinLength;
215 length=EEikStdTwoStateIconicToolBandButtonWidth;
216 behavior=EEikButLatches;
217 bmpid=EMbmEikonUline; bmpmask=EMbmEikonUline;
219 TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
222 type=EEikCtBitmapButton;
224 flags=EEikToolBarCtrlHasSetMinLength;
225 length=EEikStdIconicPopoutToolBandButtonWidth;
228 behavior=EEikButReportOnPointerDown;
229 layout=EEikCmdButFirstLeftSecondRight|EEikCmdButExcessToFirst;
230 bmp1id=EMbmEikonLefta; bmp1mask=EMbmEikonLefta;
231 bmp2id=EMbmEikonDarrow; bmp2mask=EMbmEikonDarrow;
236 type=EEikCtBitmapButton;
237 id=EWordButtonBorders;
238 flags=EEikToolBarCtrlHasSetMinLength;
239 length=EEikStdIconicPopoutToolBandButtonWidth;
242 behavior=EEikButReportOnPointerDown;
243 layout=EEikCmdButFirstLeftSecondRight|EEikCmdButExcessToFirst;
244 bmp1file="*"; bmp1id=EMbmWordBordern; bmp1mask=EMbmWordBordernm;
245 bmp2id=EMbmEikonDarrow; bmp2mask=EMbmEikonDarrow;
250 id=EWordButtonBullets;
251 flags=EEikToolBarCtrlHasSetMinLength;
252 length=EEikStdTwoStateIconicToolBandButtonWidth;
253 behavior=EEikButLatches;
254 bmpid=EMbmEikonBullets; bmpmask=EMbmEikonBullets;
256 TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable; length=0; control=SPACER { color=EEikSpacerDitheredGray; }; },
259 type=EEikCtFileNameLabel;
261 flags=EEikToolBarCtrlHasSetMinLength;
262 length=KEikStdFileNameLabelWidth;
268 RESOURCE MENU_PANE r_word_file_menu
274 command=EEikCmdFileNew;
275 txt="Create new file"<KEllipsis>;
279 command=EEikCmdFileOpen;
280 txt="Open file"<KEllipsis>;
281 flags=EEikMenuItemSeparatorAfter;
285 cascade=r_word_printextra_menu;
290 cascade=r_word_fileoptions_menu;
292 flags=EEikMenuItemSeparatorAfter;
302 RESOURCE MENU_PANE r_word_fileoptions_menu
308 command=EEikCmdFileSaveAs;
309 txt="Save as"<KEllipsis>;
313 command=EEikCmdFileSave;
318 command=EEikCmdFileRevert;
319 txt="Revert to saved";
320 flags=EEikMenuItemSeparatorAfter;
324 command=EWordCmdFileSaveAsTemplate;
325 txt="Save as template"<KEllipsis>;
329 command=EWordCmdFileDeleteTemplate;
330 txt="Delete template"<KEllipsis>;
331 flags=EEikMenuItemSeparatorAfter;
335 command=EEikCmdFileImport;
336 txt="Import text file"<KEllipsis>;
340 command=EEikCmdFileExport;
341 txt="Export as text file"<KEllipsis>;
345 command=EWordCmdHtmlImport;
346 txt="Import HTML file"<KEllipsis>;
351 RESOURCE MENU_PANE r_word_printextra_menu
357 command=EWordCmdPageSetup;
358 txt="Page setup"<KEllipsis>;
362 command=EEikCmdPrintSetup;
363 txt="Print setup"<KEllipsis>;
367 command=EEikCmdPrintPreview;
368 txt="Print preview"<KEllipsis>;
372 command=EEikCmdPrintPrint;
373 txt="Print"<KEllipsis>;
378 RESOURCE MENU_PANE r_word_edit_menu
384 command=EEikCmdEditUndo;
389 command=EEikCmdEditRedo;
391 flags=EEikMenuItemSeparatorAfter;
395 command=EEikCmdEditCut;
400 command=EEikCmdEditCopy;
405 command=EEikCmdEditPaste;
410 command=EEikCmdEditSelectAll;
412 flags=EEikMenuItemSeparatorAfter;
416 cascade=r_word_editfind_menu;
421 cascade=r_word_editoptions_menu;
427 RESOURCE MENU_PANE r_word_editfind_menu
433 command=EEikCmdSearchFind;
434 txt="Find"<KEllipsis>;
438 command=EEikCmdSearchFindAgain;
443 command=EEikCmdSearchReplace;
444 txt="Replace"<KEllipsis>;
448 command=EWordCmdGoTo;
449 txt="Go to"<KEllipsis>;
454 RESOURCE MENU_PANE r_word_editoptions_menu
460 command=EWordCmdReEditObject;
461 txt="Edit object"<KEllipsis>;
465 command=EEikCmdEditPictureFormat;
466 txt="Format object"<KEllipsis>;
471 RESOURCE MENU_PANE r_word_insert_menu
477 command=EWordCmdInsertSketch;
482 command=EWordCmdInsertSheet;
487 command=EWordCmdInsertObject;
488 txt="Other object"<KEllipsis>;
489 flags=EEikMenuItemSeparatorAfter;
493 command=EWordCmdInsertPageBreak;
495 extratxt="Ctrl+Enter";
499 command=EWordCmdInsertLineBreak;
501 extratxt="Shift+Enter";
502 flags=EEikMenuItemSeparatorAfter;
506 command=EEikCmdInsertSymbol;
507 txt="Special character"<KEllipsis>;
512 RESOURCE MENU_PANE r_word_paragraph_menu
518 command=EEikCmdParaIndent;
519 txt="Indents"<KEllipsis>;
523 command=EEikCmdParaTabs;
524 txt="Tab positions"<KEllipsis>;
528 command=EEikCmdParaSpacing;
529 txt="Line spacing"<KEllipsis>;
533 command=EEikCmdParaBorder;
534 txt="Borders"<KEllipsis>;
538 cascade=r_word_para_alignment_menu;
543 cascade=r_word_para_bullets_menu;
548 command=EWordCmdRevertToStylePara;
549 txt="Remove formatting";
550 flags=EEikMenuItemSeparatorAfter;
554 command=EWordCmdStyleGallery;
555 txt="Style gallery"<KEllipsis>;
560 RESOURCE MENU_PANE r_word_para_bullets_menu
566 command=EWordCmdInsertBullet;
571 command=EWordCmdFormatBullet;
572 txt="Format"<KEllipsis>;
577 RESOURCE MENU_PANE r_word_para_alignment_menu
583 command=EWordCmdAlignLeft;
585 flags=EEikMenuItemRadioStart;
589 command=EWordCmdAlignRight;
591 flags=EEikMenuItemRadioMiddle;
595 command=EWordCmdAlignCenter;
597 flags=EEikMenuItemRadioMiddle;
601 command=EWordCmdAlignJustify;
603 flags=EEikMenuItemRadioEnd;
608 RESOURCE MENU_PANE r_word_text_menu
614 command=EEikCmdFontBold;
616 flags=EEikMenuItemCheckBox;
620 command=EEikCmdFontItalic;
622 flags=EEikMenuItemCheckBox;
626 command=EEikCmdFontUnderline;
628 flags=EEikMenuItemSeparatorAfter|EEikMenuItemCheckBox;
632 command=EWordCmdRevertToStyleChar;
633 txt="Remove formatting";
634 flags=EEikMenuItemSeparatorAfter;
638 command=EEikCmdFontChange;
639 txt="Font"<KEllipsis>;
644 RESOURCE MENU_PANE r_word_tools_menu
650 command=EWordCmdViewPreferences;
651 txt="View preferences"<KEllipsis>;
655 command=EWordCmdObjectPreferences;
656 txt="Object preferences"<KEllipsis>;
657 flags=EEikMenuItemSeparatorAfter;
661 command=EWordCmdCount;
666 command=EEikCmdPrintPaginate;
668 flags=EEikMenuItemSeparatorAfter;
672 cascade=r_word_tools_infrared;
678 RESOURCE MENU_PANE r_word_test_menu
684 cascade=r_word_keyboard_menu;
689 command=EWordCmdHighlight;
691 flags=EEikMenuItemCheckBox;
695 command=EWordCmdShadow;
697 flags=EEikMenuItemCheckBox;
701 command=EWordCmdCustomHighlight;
702 txt="Custom highlight";
703 flags=EEikMenuItemCheckBox;
707 cascade=r_word_picture_alignment_menu;
708 txt="Picture alignment";
712 cascade=r_word_cursor_style_menu;
717 command=EWordCmdRuledPaper;
719 flags=EEikMenuItemCheckBox;
723 command=EWordCmdBackgroundBitmap;
724 txt="Background bitmap";
725 flags=EEikMenuItemCheckBox;
729 command=EWordCmdUpperCase;
731 flags=EEikMenuItemCheckBox;
735 command=EWordCmdBenchmark;
736 txt="Benchmark reformatting";
740 command=EWordCmdTruncateWithEllipsis;
741 txt="Truncate with ellipsis";
742 flags=EEikMenuItemCheckBox;
746 command=EWordCmdWrapOn;
751 command=EWordCmdWrapOff;
756 command=EWordCmdInsertPicture;
757 txt="Insert Picture";
761 cascade=r_word_positioning_hint_test_menu;
762 txt="Set cursor positioning hint";
766 cascade=r_word_undo_test_menu;
771 cascade=r_word_selection_highlight_menu;
772 txt="Selection Highlight";
777 RESOURCE MENU_PANE r_word_positioning_hint_test_menu
783 command=EWordCmdPositioningHintNeutral;
785 flags=EEikMenuItemRadioStart;
789 command=EWordCmdPositioningHintInsertLeftToRight;
790 txt="Inserting strong left to right";
791 flags=EEikMenuItemRadioMiddle;
795 command=EWordCmdPositioningHintInsertRightToLeft;
796 txt="Inserting strong right to left";
797 flags=EEikMenuItemRadioEnd;
802 RESOURCE MENU_PANE r_word_undo_test_menu
808 command=EWordCmdUndoTestNotUndoable;
809 txt="Not Undoable Command";
814 RESOURCE MENU_PANE r_word_picture_alignment_menu
820 command=EWordCmdPictureAlignTop;
822 flags=EEikMenuItemRadioStart;
826 command=EWordCmdPictureAlignBottom;
828 flags=EEikMenuItemRadioMiddle;
832 command=EWordCmdPictureAlignCenter;
834 flags=EEikMenuItemRadioMiddle;
838 command=EWordCmdPictureAlignBaseline;
840 flags=EEikMenuItemRadioEnd;
845 RESOURCE MENU_PANE r_word_selection_highlight_menu
851 command=EWordCmdSelectionHighlightNormal;
853 flags=EEikMenuItemRadioStart;
857 command=EWordCmdSelectionHighlightCustom1;
859 flags=EEikMenuItemRadioMiddle;
863 command=EWordCmdSelectionHighlightCustom2;
865 flags=EEikMenuItemRadioEnd;
870 RESOURCE MENU_PANE r_word_cursor_style_menu
876 command=EWordCmdCursorStyleFlash;
878 flags=EEikMenuItemCheckBox;
882 command=EWordCmdCursorStyleHeavy;
884 flags=EEikMenuItemCheckBox;
888 command=EWordCmdCursorStyleRed;
890 flags=EEikMenuItemCheckBox;
894 command=EWordCmdCursorStyleVertical;
896 flags=EEikMenuItemRadioStart;
900 command=EWordCmdCursorStyleUnderlineNext;
901 txt="Underline next character";
902 flags=EEikMenuItemRadioMiddle;
906 command=EWordCmdCursorStyleUnderlinePrev;
907 txt="Underline previous character";
908 flags=EEikMenuItemRadioEnd;
913 RESOURCE MENU_PANE r_word_keyboard_menu
919 command=EWordCmdStandardKeyboard;
920 txt="Standard (Latin) keyboard";
921 flags=EEikMenuItemRadioStart;
925 command=EWordCmdArabicKeyboard;
926 txt="Arabic keyboard";
927 flags=EEikMenuItemRadioMiddle;
931 command=EWordCmdGreekKeyboard;
932 txt="Greek keyboard";
933 flags=EEikMenuItemRadioMiddle;
937 command=EWordCmdRussianKeyboard;
938 txt="Russian keyboard";
939 flags=EEikMenuItemRadioMiddle;
943 command=EWordCmdChineseOn;
944 txt="Chinese FEP on";
945 flags=EEikMenuItemRadioMiddle;
949 command=EWordCmdChineseOff;
950 txt="Chinese FEP off";
951 flags=EEikMenuItemRadioEnd;
956 RESOURCE MENU_PANE r_word_tools_infrared
962 command=EEikCmdIrdaSend;
967 command=EEikCmdIrdaReceive;
973 RESOURCE MENU_PANE r_word_view_menu
979 command=EEikCmdZoomIn;
984 command=EEikCmdZoomOut;
989 command=EWordCmdZoomSet;
990 txt="Set zoom"<KEllipsis>;
991 flags=EEikMenuItemSeparatorAfter;
995 command=EWordCmdToolbar;
997 flags=EEikMenuItemCheckBox;
1001 command=EWordCmdToolband;
1002 txt="Show top toolbar";
1003 flags=EEikMenuItemCheckBox;
1007 command=EWordCmdWrapToScreen;
1008 txt="Wrap to screen";
1009 flags=EEikMenuItemSeparatorAfter|EEikMenuItemCheckBox;
1013 command=EWordCmdOutline;
1014 txt="Outline"<KEllipsis>;
1019 RESOURCE DIALOG r_word_dialog_goto
1021 flags=EEikDialogFlagWait;
1023 buttons=R_EIK_BUTTONS_CANCEL_OK;
1028 prompt="Go to page";
1029 type=EEikCtNumberEditor;
1030 id=EWordCidPageNumber;
1031 control=NUMBER_EDITOR { min=0; max=99999; };
1035 prompt="Pages in this file:";
1038 control=LABEL { txt=""; };
1044 RESOURCE DIALOG r_word_dialog_outline
1046 flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1047 title="Document outline";
1048 buttons=r_word_outline_buttons;
1053 type=EWordCtOutlineNav;
1055 control=OUTLINE_CONTROL
1064 RESOURCE DLG_BUTTONS r_word_outline_buttons
1068 DLG_BUTTON { id=EWordBidOpenAll; button=CMBUT {txt="Open all";}; hotkey='Y'; },
1069 DLG_BUTTON { id=EWordBidCloseAll; button=CMBUT {txt="Close all";}; hotkey='U'; },
1070 DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Done";}; hotkey=EEikBidCancel; },
1071 DLG_BUTTON { id=EEikBidOk; button= CMBUT {txt="Go to";}; hotkey=EEikBidOk; }
1075 RESOURCE DIALOG r_word_dialog_bullet
1077 flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1078 title="Select bullet character";
1079 buttons=r_word_buttons_bullet;
1085 id=EWordCidBulletCharMap;
1091 RESOURCE DLG_BUTTONS r_word_buttons_bullet
1095 DLG_BUTTON { id=EWordCidFormatBullet; button=CMBUT {txt="Format"<KEllipsis>;}; hotkey='F'; },
1096 DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Cancel";}; hotkey=EEikBidCancel; flags=0;},
1097 DLG_BUTTON { id=EEikBidOk; button= CMBUT {txt="OK";}; hotkey=EEikBidOk; flags=0; }
1101 RESOURCE DIALOG r_word_dialog_format_bullet
1103 flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1104 title="Format bullet character";
1105 buttons=R_EIK_BUTTONS_CANCEL_OK;
1110 type=EWordCtBulletPreviewLabel;
1112 id=EWordCidBulletCharacter;
1113 control=LABEL { vert_align=EEikLabelAlignVCenter; txt=""; };
1117 type=EEikCtGraySelector;
1119 id=EWordCidBulletColor;
1120 control=GRAYSEL { flags=EEikGraySelDisplay4Gray; };
1124 type=EEikCtChoiceList;
1126 id=EWordCidBulletHeight;
1127 control=CHOICELIST { };
1131 type=EEikCtCheckBox;
1133 id=EWordCidBulletIndent;
1138 RESOURCE DIALOG r_word_dialog_style_gallery
1140 title="Style gallery";
1141 flags=EEikDialogFlagWait|EEikDialogFlagDensePacking; // |EEikDialogFlagButtonsRight
1142 buttons=r_word_buttons_styleoption;
1147 type = EEikCtColListBox;
1148 id=EWordCidStyleNameList;
1156 type=EEikCtGlobalTextEditor;
1157 id=EWordCidStyleInfo;
1163 flags=EEikEdwinDisplayOnly|EEikEdwinNoAutoSelection|EEikEdwinInclusiveSizeFixed;
1170 RESOURCE DLG_BUTTONS r_word_buttons_styleoption
1174 DLG_BUTTON { id=EWordCidAddStyle; button=CMBUT {txt="New"<KEllipsis>;}; hotkey='N'; },
1175 DLG_BUTTON { id=EWordCidModifyStyle; button=CMBUT {txt="Modify"<KEllipsis>;}; hotkey='M'; },
1176 DLG_BUTTON { id=EEikBidDelete; button=CMBUT {txt="Delete";}; hotkey=EEikBidDelete; },
1177 DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Cancel";}; hotkey=EEikBidCancel; flags =0; },
1178 DLG_BUTTON { id=EEikBidOk; button=CMBUT {txt="Apply";}; hotkey=EEikBidOk; }
1182 RESOURCE DIALOG r_word_dialog_style_format
1184 title="Add new style";
1185 flags=EEikDialogFlagWait;
1186 buttons=r_word_buttons_styleaddoption;
1193 id=EWordCidStyleName;
1194 control= EDWIN { width=10; maxlength=32; };
1198 type=EWordCtStyleShortcutKeyEditor;
1199 prompt="Shortcut key: Ctrl+Fn+";
1205 type=EEikCtCheckBox;
1206 prompt="Insert bullet";
1211 type=EEikCtNumberEditor;
1212 prompt="Outline level";
1213 control=NUMBER_EDITOR {min=0; max=99; };
1219 RESOURCE MENU_PANE r_word_style_format_menu
1225 command=EEikCmdFontChange;
1226 txt="Font"<KEllipsis>;
1230 command=EEikCmdParaIndent;
1231 txt="Indents"<KEllipsis>;
1235 command=EEikCmdParaTabs;
1236 txt="Tab positions"<KEllipsis>;
1240 command=EEikCmdParaSpacing;
1241 txt="Line spacing"<KEllipsis>;
1245 command=EEikCmdParaBorder;
1246 txt="Borders"<KEllipsis>;
1250 command=EWordCmdFormatBullet;
1251 txt="Bullets"<KEllipsis>;
1255 command=EEikCmdParaAlign;
1256 txt="Alignment"<KEllipsis>;
1261 RESOURCE DLG_BUTTONS r_word_buttons_styleaddoption
1265 DLG_BUTTON { id=EWordCidFormatList;
1266 buttontype=EEikCtMenuButton;
1267 button=MNBUT { popout=r_word_style_format_menu;
1268 txt="Format"; bmpfile="z:\\system\\data\\eikon.mbm";
1269 bmpid=EMbmEikonSarrow;
1270 bmpmask=EMbmEikonSarrow;
1274 DLG_BUTTON { id=EEikBidCancel; button=CMBUT{ txt="Cancel";}; hotkey=EEikBidCancel; flags=0; },
1275 DLG_BUTTON { id=EEikBidOk; button=CMBUT{ txt="OK";}; hotkey=EEikBidOk; flags=0; }
1279 RESOURCE ARRAY r_word_view_pref_array
1283 LBUF { txt="All"; },
1284 LBUF { txt="Some"; },
1285 LBUF { txt="None"; }
1289 RESOURCE DIALOG r_word_dialog_view_preferences
1291 flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1292 title="View preferences";
1293 buttons=R_EIK_BUTTONS_CANCEL_OK;
1299 type=EEikCtCheckBox;
1304 prompt="Show spaces";
1305 type=EEikCtCheckBox;
1310 prompt="Show non-breaking spaces";
1311 type=EEikCtCheckBox;
1312 id=EWordCidNonBreakingSpace;
1316 prompt="Show paragraph ends";
1317 type=EEikCtCheckBox;
1318 id=EWordCidParaEnds;
1322 prompt="Show forced line breaks";
1323 type=EEikCtCheckBox;
1324 id=EWordCidForcedLineBreaks;
1328 prompt="Show hard hyphens";
1329 type=EEikCtCheckBox;
1330 id=EWordCidHardHyphens;
1335 RESOURCE DIALOG r_word_dialog_object_preferences
1337 flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1338 title="Object preferences";
1339 buttons=R_EIK_BUTTONS_CANCEL_OK;
1344 prompt="Show new sketch as icon";
1345 type=EEikCtCheckBox;
1346 id=EWordCidShowSketch;
1350 prompt="Show new graph as icon";
1351 type=EEikCtCheckBox;
1352 id=EWordCidShowGraph;
1357 RESOURCE DIALOG r_word_dialog_zoom_set
1359 flags=EEikDialogFlagWait;
1360 title="Set zoom factor";
1361 buttons=R_EIK_BUTTONS_CANCEL_OK;
1366 type=EEikCtNumberEditor;
1370 control= NUMBER_EDITOR {min=1;max=200;};
1375 RESOURCE DIALOG r_word_template_file_new
1377 flags=EEikDialogFlagWait;
1379 buttons=R_EIK_BUTTONS_BROWSE_CANCEL_OK;
1385 type=EEikCtFileNameEd;
1386 id=EEikCidFileNameEd;
1387 control=FILENAMEEDITOR {};
1392 type=EEikCtFolderNameSel;
1393 id=EEikCidFolderNameSel;
1394 control=FOLDERNAMESELECTOR {};
1399 type=EEikCtDriveNameSel;
1400 id=EEikCidDriveNameSel;
1401 control=DRIVENAMESELECTOR {};
1405 type=EEikCtCheckBox;
1406 prompt="Use new file";
1407 id=EEikCidUseNewFileChbx;
1412 type=EWordUnifiedFileNameSelector;
1413 id=EEikCtUnifiedFileSel;
1414 control=UNIFIEDNAMESELECTOR {};
1419 RESOURCE DIALOG r_word_template_save_as
1421 flags=EEikDialogFlagWait;
1422 title="Save as template";
1423 buttons=R_EIK_BUTTONS_CANCEL_OK;
1429 id=EWordCidTemplateSaveAsLabel1;
1432 horiz_align=EEikLabelAlignHLeft;
1433 standard_font=EEikLabelFontAnnotation;
1434 txt = "To save as a standard template, save with the name \"Normal\"";
1439 prompt="Template name";
1440 type=EEikCtFileNameEd;
1441 id=EEikCidFileNameEd;
1442 control=FILENAMEEDITOR {};
1447 type=EEikCtDriveNameSel;
1448 id=EEikCidDriveNameSel;
1449 control=DRIVENAMESELECTOR {};
1454 RESOURCE DIALOG r_word_template_delete
1456 flags=EEikDialogFlagWait;
1457 title="Delete template";
1458 buttons=R_EIK_BUTTONS_CANCEL_OK;
1467 horiz_align=EEikLabelAlignHLeft;
1468 standard_font=EEikLabelFontAnnotation;
1469 txt = "You can only delete templates you created yourself";
1474 prompt="Template to delete";
1475 type=EEikCtUnifiedFileSel;
1476 id=EEikCtUnifiedFileSel;
1477 control=UNIFIEDNAMESELECTOR {};
1482 /* NORMAL TEMPLATE FILE NAME */
1483 RESOURCE TBUF r_word_normal_template_file_name { buf="Normal"; }
1484 RESOURCE TBUF r_word_blank_template_file_name { buf="Blank"; }
1485 /* TEMPLATE MESSAGES */
1486 RESOURCE TBUF r_word_template_saving_file { buf="Saving template"; }
1487 RESOURCE TBUF r_word_template_delete_confirmation_pre { buf="Delete template \""; } // max length 30
1488 RESOURCE TBUF r_word_template_delete_confirmation_post { buf="\"?"; } // max length 30
1489 RESOURCE TBUF r_word_template_not_available { buf="Template not available"; }
1490 RESOURCE TBUF32 r_word_template_saved_message { buf="Template saved as %S"; }
1492 /* FILE OPERATIONS TEXT */
1493 RESOURCE TBUF r_word_document_unchanged { buf="File has not changed"; }
1494 RESOURCE TBUF r_word_text_import_dialog_title { buf="Import text file"; }
1495 RESOURCE TBUF r_word_html_import_dialog_title { buf="Import HTML file"; }
1496 RESOURCE TBUF r_word_text_export_dialog_title { buf="Export text file"; }
1497 RESOURCE TBUF r_word_file_read_only { buf="This file is read-only"; }
1498 RESOURCE TBUF r_word_file_save_read_only { buf="Read-only file"; }
1499 RESOURCE TBUF r_word_file_create_file { buf="Creating file from template"; }
1501 /* SPELLING DIALOGS TEXT */
1502 RESOURCE TBUF r_word_spell_no_suggestions { buf="No suggestions"; } // max length 30
1503 RESOURCE TBUF r_word_spell_correction { buf="Enter a correction"; }
1504 RESOURCE TBUF r_word_spell_unrecognized_word { buf="Unrecognised word \"%S\""; } // max length 40
1505 RESOURCE TBUF r_word_spell_one_unrecognized_word { buf="1 unrecognised word"; } // max length 32
1506 RESOURCE TBUF r_word_spell_many_unrecognized_words { buf="%D unrecognised words"; } // max length 29
1507 RESOURCE TBUF r_word_spell_one_unrecognized_word_in_selection { buf="1 unrecognised word in the selection"; } // max length 52
1508 RESOURCE TBUF r_word_spell_many_unrecognized_words_in_selection { buf="%D unrecognised words in the selection"; } // max length 49
1509 RESOURCE TBUF r_word_spell_load_dictionary { buf="Opening dictionaries... "; }
1510 RESOURCE TBUF r_word_spell_user_dict_not_enabled { buf="Personal dictionary is not enabled"; }
1511 RESOURCE TBUF r_word_spell_dict_not_available { buf="Personal dictionary is not available"; }
1512 RESOURCE TBUF r_word_spell_selection { buf="Spell checking selection"; } // dialog title
1513 RESOURCE TBUF r_word_spell_not_started { buf="Cannot start spell checker"; }
1514 RESOURCE TBUF r_word_spell_information { buf="Information"; }
1515 RESOURCE TBUF r_word_spell_nothing_to_check { buf="No words to spell check"; }
1517 /* STYLE DIALOGS TEXT */
1518 RESOURCE TBUF r_word_style_revert_title { buf= "Revert to style"; }
1519 RESOURCE TBUF r_word_style_revert_char { buf= "Remove manual character formatting"; }
1520 RESOURCE TBUF r_word_style_revert_para { buf= "Remove manual paragraph formatting"; }
1521 RESOURCE TBUF r_word_styleformat_title_modify { buf= "Modify \"%S\""; } // max length 24
1522 RESOURCE TBUF r_word_styleformat_title_add { buf= "Add new style"; }
1523 RESOURCE TBUF r_word_normal { buf="Normal"; } // KMaxParagraphStyleName length = 32
1524 RESOURCE TBUF r_word_nostylename { buf="Type in a style name";}
1525 RESOURCE TBUF r_word_stylenameexists { buf="Style with this name already exists"; }
1526 RESOURCE TBUF r_word_close { buf="Close"; } // max length 20
1527 RESOURCE TBUF r_word_delete_style_title { buf="Delete style \"%S\""; }
1528 RESOURCE TBUF r_word_hotkeyexists { buf="Shortcut is currently assigned to \"%S\""; } // max length 48
1529 RESOURCE TBUF r_word_hotkey_invalid { buf="Invalid shortcut - letter or number only"; }
1530 RESOURCE TBUF r_word_hotkey { buf="Ctrl+Fn+"; } // max length 20
1531 RESOURCE ARRAY r_word_style_gallery_descriptions
1533 /* DO NOT REORDER THE FOLLOWING RESOURCES */
1538 LBUF { txt="Left indent"; },
1539 LBUF { txt="Right indent"; },
1540 LBUF { txt="1st line indent"; },
1543 LBUF { txt="Line spacing"; },
1545 LBUF { txt="Sp before"; },
1546 LBUF { txt="Sp after"; },
1547 LBUF { txt="Keep together"; },
1548 LBUF { txt="Keep with next"; },
1549 LBUF { txt="Start new page"; },
1550 LBUF { txt="Widow/orphan"; },
1552 LBUF { txt="Border margin"; },
1553 LBUF { txt="Top border"; },
1554 LBUF { txt="Bottom border"; },
1555 LBUF { txt="Left border"; },
1556 LBUF { txt="Right border"; },
1557 LBUF { txt="Bullet"; },
1559 LBUF { txt="Tab"; },
1560 LBUF { txt="Italic"; },
1561 LBUF { txt="Bold"; },
1562 LBUF { txt="Superscript"; },
1563 LBUF { txt="Subscript"; },
1564 LBUF { txt="Underline"; },
1565 LBUF { txt="Strikethrough"; },
1566 LBUF { txt="Left aligned"; },
1567 LBUF { txt="Centred"; },
1568 LBUF { txt="Right aligned"; },
1569 LBUF { txt="Justified"; }
1574 /* MISCELLANEOUS TEXT */
1575 RESOURCE TBUF r_word_font_units { buf=" pt";}
1576 RESOURCE TBUF r_word_no_words { buf="Words: %d"; }
1578 RESOURCE TBUF r_word_no_outline { buf="Nothing to show in outline"; }
1579 RESOURCE TBUF r_word_normal_outline { buf="Not available for Normal style";}
1580 RESOURCE TBUF r_word_outline { buf = "Outlining..."; }
1581 RESOURCE TBUF r_word_expand_outline { buf = "Expanding Items..."; }
1582 RESOURCE TBUF r_word_collapse_outline { buf = "Collapsing Items..."; }
1584 RESOURCE TBUF r_word_not_undoable_title { buf = "This operation cannot be undone"; }
1585 RESOURCE TBUF r_word_not_undoable_text { buf = "would you like to proceed anyway?"; }
1587 RESOURCE TBUF r_word_no_html_converter { buf = "Converter not available"; }
1588 RESOURCE TBUF r_word_no_text_to_paste { buf="There is no text on the clipboard"; }
1590 /* CONFIRMATION DIALOGS TEXT */
1591 RESOURCE ARRAY r_word_confirmation_texts
1593 /* DO NOT REORDER THE FOLLOWING RESOURCES */
1596 LBUF {txt="Revert to saved?"; },
1597 LBUF {txt="All changes will be lost"; }