1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/textrendering/word/group/word.rss Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,1599 @@
1.4 +/*
1.5 +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +NAME "WORD"
1.23 +
1.24 +#include <techview/eikon.rh>
1.25 +#include <uiklafgt/eikcore.rsg>
1.26 +#include <eikctl.rsg>
1.27 +#include <eikcoctl.rsg>
1.28 +#include <eikfile.rsg>
1.29 +#include <eikprint.rsg>
1.30 +#include <eikon.mbg>
1.31 +
1.32 +#include <word.mbg>
1.33 +#include "WORD.HRH"
1.34 +
1.35 +/* TOOLBAR & TOOLBAND MEASUREMENTS */
1.36 +#define KWStdToolbandSpacer 10
1.37 +
1.38 +
1.39 +// Structure definition for the outline control
1.40 +
1.41 +STRUCT OUTLINE_CONTROL
1.42 + {
1.43 + WORD width=320;
1.44 + WORD height=180;
1.45 + }
1.46 +
1.47 +
1.48 +RESOURCE RSS_SIGNATURE { }
1.49 +
1.50 +RESOURCE TBUF { buf="Word"; } // default filename
1.51 +
1.52 +RESOURCE EIK_APP_INFO
1.53 + {
1.54 + hotkeys=r_word_hotkeys;
1.55 + menubar=r_word_menubar;
1.56 + toolbar=r_word_toolbar;
1.57 + toolband=r_word_toolband;
1.58 + }
1.59 +
1.60 +RESOURCE HOTKEYS r_word_hotkeys
1.61 + {
1.62 + control=
1.63 + {
1.64 + HOTKEY { command=EEikCmdEditSelectAll; key='a'; },
1.65 + HOTKEY { command=EEikCmdFontBold; key='b'; },
1.66 + HOTKEY { command=EEikCmdEditCopy; key='c'; },
1.67 + HOTKEY { command=EEikCmdParaIndent; key='d'; },
1.68 + HOTKEY { command=EEikCmdExit; key='e'; },
1.69 + HOTKEY { command=EEikCmdSearchFind; key='f'; },
1.70 + HOTKEY { command=EWordCmdGoTo; key='g'; },
1.71 + HOTKEY { command=EEikCmdSearchReplace; key='h'; },
1.72 + HOTKEY { command=EEikCmdFontItalic; key='i'; },
1.73 + HOTKEY { command=EEikCmdSearchFindAgain; key='j'; },
1.74 + HOTKEY { command=EWordCmdViewPreferences; key='k'; },
1.75 + HOTKEY { command=EEikCmdZoomIn; key='m';},
1.76 + HOTKEY { command=EEikCmdFileNew; key='n'; },
1.77 + HOTKEY { command=EEikCmdFileOpen; key='o'; },
1.78 + HOTKEY { command=EEikCmdPrintPrint; key='p'; },
1.79 + HOTKEY { command=EEikCmdFileRevert; key='r'; },
1.80 + HOTKEY { command=EEikCmdFileSave; key='s'; },
1.81 + HOTKEY { command=EWordCmdToolbar; key='t';},
1.82 + HOTKEY { command=EEikCmdFontUnderline; key='u'; },
1.83 + HOTKEY { command=EEikCmdEditPaste; key='v'; },
1.84 + HOTKEY { command=EWordCmdWrapToScreen; key='w'; },
1.85 + HOTKEY { command=EEikCmdEditCut; key='x'; },
1.86 + HOTKEY { command=EEikCmdEditRedo; key='y'; },
1.87 + HOTKEY { command=EEikCmdEditUndo; key='z';}
1.88 + };
1.89 + shift_control=
1.90 + {
1.91 + HOTKEY { command=EEikCmdParaAlign; key='a'; },
1.92 + HOTKEY { command=EWordCmdInsertBullet; key='b'; },
1.93 + HOTKEY { command=EEikCmdInsertSymbol; key='c';},
1.94 + HOTKEY { command=EEikCmdParaBorder; key='d'; },
1.95 + HOTKEY { command=EWordCmdZoomSet; key='e'; },
1.96 + HOTKEY { command=EEikCmdFontChange; key='f'; },
1.97 + HOTKEY { command=EWordCmdStyleGallery; key='g'; },
1.98 + HOTKEY { command=EWordCmdFormatBullet; key='h'; },
1.99 + HOTKEY { command=EWordCmdRevertToStyleChar; key='i'; },
1.100 + HOTKEY { command=EEikCmdEditPictureFormat; key='j'; },
1.101 + HOTKEY { command=EWordCmdObjectPreferences; key='k'; },
1.102 + HOTKEY { command=EWordCmdOutline; key='l'; },
1.103 + HOTKEY { command=EEikCmdZoomOut; key='m';},
1.104 + HOTKEY { command=EEikCmdParaSpacing; key='n'; },
1.105 + HOTKEY { command=EWordCmdInsertObject; key='o';},
1.106 + HOTKEY { command=EEikCmdPrintSetup; key='p'; },
1.107 + HOTKEY { command=EWordCmdRevertToStylePara; key='r'; },
1.108 + HOTKEY { command=EEikCmdFileSaveAs; key='s'; },
1.109 + HOTKEY { command=EWordCmdToolband; key='t';},
1.110 + HOTKEY { command=EWordCmdPageSetup; key='u'; },
1.111 + HOTKEY { command=EEikCmdPrintPreview; key='v'; },
1.112 + HOTKEY { command=EWordCmdCount; key='w'; },
1.113 + HOTKEY { command=EEikCmdParaTabs; key='y';},
1.114 + HOTKEY { command=EWordCmdReEditObject; key='z'; }
1.115 + };
1.116 + }
1.117 +
1.118 +RESOURCE MENU_BAR r_word_menubar
1.119 + {
1.120 + titles=
1.121 + {
1.122 + MENU_TITLE { menu_pane=r_word_file_menu; txt="File"; },
1.123 + MENU_TITLE { menu_pane=r_word_edit_menu; txt="Edit"; },
1.124 + MENU_TITLE { menu_pane=r_word_view_menu; txt="View"; },
1.125 + MENU_TITLE { menu_pane=r_word_insert_menu; txt="Insert"; },
1.126 + MENU_TITLE { menu_pane=r_word_text_menu; txt="Text"; },
1.127 + MENU_TITLE { menu_pane=r_word_paragraph_menu; txt="Paragraph"; },
1.128 + MENU_TITLE { menu_pane=r_word_tools_menu; txt="Tools"; },
1.129 + MENU_TITLE { menu_pane=r_word_test_menu; txt="Test"; }
1.130 + };
1.131 + }
1.132 +
1.133 +RESOURCE TOOLBAR r_word_toolbar
1.134 + {
1.135 + breadth=KEikStdToolBarWidth;
1.136 + flags=EEikToolBarDelayActivation;
1.137 + controls=
1.138 + {
1.139 + TBAR_CTRL
1.140 + {
1.141 + type=EEikCtFileNameLabel;
1.142 + id=EWordCmdFileName;
1.143 + flags=EEikToolBarCtrlHasSetMinLength;
1.144 + length=KEikStdFileNameLabelHeight;
1.145 + },
1.146 + TBAR_BUTTON { id=EWordCmdInsertSketch; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; txt="Insert\nSketch"; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; bmpid=EMbmEikonSketch; bmpmask=EMbmEikonSketchm; },
1.147 + TBAR_BUTTON { id=EWordCmdInsertSheet; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; txt="Insert\nGraph"; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; bmpid=EMbmEikonChart; bmpmask=EMbmEikonChartm; },
1.148 + TBAR_BUTTON { id=EEikCmdPrintPreview; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; txt="Print"; bmpid=EMbmEikonPrint; bmpmask=EMbmEikonPrintm; },
1.149 + TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable; length=0; control=SPACER; },
1.150 + TBAR_CTRL
1.151 + {
1.152 + type=EEikCtClock;
1.153 + id=0;
1.154 + control=CLOCK { digitalresourceid=R_EIK_DIGITAL_CLOCK; analogresourceid=R_EIK_ANALOG_CLOCK; };
1.155 + },
1.156 + TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdGapBelowClock; control=SPACER { color=EEikSpacerWhite; }; }
1.157 + };
1.158 + }
1.159 +
1.160 +RESOURCE TOOLBAND r_word_toolband
1.161 + {
1.162 + breadth=KEikStdToolBandHeight;
1.163 + flags=EEikToolBarHorizontal|EEikToolBarDelayActivation;
1.164 + controls=
1.165 + {
1.166 + TBAR_BUTTON
1.167 + {
1.168 + id=EWordButtonStyle;
1.169 + flags=EEikToolBarCtrlHasSetMinLength;
1.170 + length=EEikStdLongTextPopoutToolBandButtonWidth;
1.171 + behavior=EEikButReportOnPointerDown;
1.172 + layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
1.173 + txt="Normal";
1.174 + bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
1.175 + },
1.176 + TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
1.177 + TBAR_BUTTON
1.178 + {
1.179 + id=EWordButtonFont;
1.180 + flags=EEikToolBarCtrlHasSetMinLength;
1.181 + length=EEikStdLongTextPopoutToolBandButtonWidth;
1.182 + behavior=EEikButReportOnPointerDown;
1.183 + layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
1.184 + txt=" Arial ";
1.185 + bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
1.186 + },
1.187 + TBAR_BUTTON
1.188 + {
1.189 + id=EWordButtonFontSize;
1.190 + flags=EEikToolBarCtrlHasSetMinLength;
1.191 + length=EEikStdShortTextPopoutToolBandButtonWidth;
1.192 + behavior=EEikButReportOnPointerDown;
1.193 + layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
1.194 + txt=" 10pt";
1.195 + bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
1.196 + },
1.197 + TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
1.198 + TBAR_BUTTON
1.199 + {
1.200 + id=EEikCmdFontBold;
1.201 + flags=EEikToolBarCtrlHasSetMinLength;
1.202 + length=EEikStdTwoStateIconicToolBandButtonWidth;
1.203 + behavior=EEikButLatches;
1.204 + bmpid=EMbmEikonBold; bmpmask=EMbmEikonBoldm;
1.205 + },
1.206 + TBAR_BUTTON
1.207 + {
1.208 + id=EEikCmdFontItalic;
1.209 + flags=EEikToolBarCtrlHasSetMinLength;
1.210 + length=EEikStdTwoStateIconicToolBandButtonWidth;
1.211 + behavior=EEikButLatches;
1.212 + bmpid=EMbmEikonItalic; bmpmask=EMbmEikonItalicm;
1.213 + },
1.214 + TBAR_BUTTON
1.215 + {
1.216 + id=EEikCmdFontUnderline;
1.217 + flags=EEikToolBarCtrlHasSetMinLength;
1.218 + length=EEikStdTwoStateIconicToolBandButtonWidth;
1.219 + behavior=EEikButLatches;
1.220 + bmpid=EMbmEikonUline; bmpmask=EMbmEikonUline;
1.221 + },
1.222 + TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
1.223 + TBAR_CTRL
1.224 + {
1.225 + type=EEikCtBitmapButton;
1.226 + id=EWordButtonAlign;
1.227 + flags=EEikToolBarCtrlHasSetMinLength;
1.228 + length=EEikStdIconicPopoutToolBandButtonWidth;
1.229 + control=BMPBUT
1.230 + {
1.231 + behavior=EEikButReportOnPointerDown;
1.232 + layout=EEikCmdButFirstLeftSecondRight|EEikCmdButExcessToFirst;
1.233 + bmp1id=EMbmEikonLefta; bmp1mask=EMbmEikonLefta;
1.234 + bmp2id=EMbmEikonDarrow; bmp2mask=EMbmEikonDarrow;
1.235 + };
1.236 + },
1.237 + TBAR_CTRL
1.238 + {
1.239 + type=EEikCtBitmapButton;
1.240 + id=EWordButtonBorders;
1.241 + flags=EEikToolBarCtrlHasSetMinLength;
1.242 + length=EEikStdIconicPopoutToolBandButtonWidth;
1.243 + control=BMPBUT
1.244 + {
1.245 + behavior=EEikButReportOnPointerDown;
1.246 + layout=EEikCmdButFirstLeftSecondRight|EEikCmdButExcessToFirst;
1.247 + bmp1file="*"; bmp1id=EMbmWordBordern; bmp1mask=EMbmWordBordernm;
1.248 + bmp2id=EMbmEikonDarrow; bmp2mask=EMbmEikonDarrow;
1.249 + };
1.250 + },
1.251 + TBAR_BUTTON
1.252 + {
1.253 + id=EWordButtonBullets;
1.254 + flags=EEikToolBarCtrlHasSetMinLength;
1.255 + length=EEikStdTwoStateIconicToolBandButtonWidth;
1.256 + behavior=EEikButLatches;
1.257 + bmpid=EMbmEikonBullets; bmpmask=EMbmEikonBullets;
1.258 + },
1.259 + TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable; length=0; control=SPACER { color=EEikSpacerDitheredGray; }; },
1.260 + TBAR_CTRL
1.261 + {
1.262 + type=EEikCtFileNameLabel;
1.263 + id=EWordCmdFileName;
1.264 + flags=EEikToolBarCtrlHasSetMinLength;
1.265 + length=KEikStdFileNameLabelWidth;
1.266 + }
1.267 + };
1.268 + }
1.269 +
1.270 +
1.271 +RESOURCE MENU_PANE r_word_file_menu
1.272 + {
1.273 + items=
1.274 + {
1.275 + MENU_ITEM
1.276 + {
1.277 + command=EEikCmdFileNew;
1.278 + txt="Create new file"<KEllipsis>;
1.279 + },
1.280 + MENU_ITEM
1.281 + {
1.282 + command=EEikCmdFileOpen;
1.283 + txt="Open file"<KEllipsis>;
1.284 + flags=EEikMenuItemSeparatorAfter;
1.285 + },
1.286 + MENU_ITEM
1.287 + {
1.288 + cascade=r_word_printextra_menu;
1.289 + txt="Printing";
1.290 + },
1.291 + MENU_ITEM
1.292 + {
1.293 + cascade=r_word_fileoptions_menu;
1.294 + txt="More";
1.295 + flags=EEikMenuItemSeparatorAfter;
1.296 + },
1.297 + MENU_ITEM
1.298 + {
1.299 + command=EEikCmdExit;
1.300 + txt="Close";
1.301 + }
1.302 + };
1.303 + }
1.304 +
1.305 +RESOURCE MENU_PANE r_word_fileoptions_menu
1.306 + {
1.307 + items=
1.308 + {
1.309 + MENU_ITEM
1.310 + {
1.311 + command=EEikCmdFileSaveAs;
1.312 + txt="Save as"<KEllipsis>;
1.313 + },
1.314 + MENU_ITEM
1.315 + {
1.316 + command=EEikCmdFileSave;
1.317 + txt="Save";
1.318 + },
1.319 + MENU_ITEM
1.320 + {
1.321 + command=EEikCmdFileRevert;
1.322 + txt="Revert to saved";
1.323 + flags=EEikMenuItemSeparatorAfter;
1.324 + },
1.325 + MENU_ITEM
1.326 + {
1.327 + command=EWordCmdFileSaveAsTemplate;
1.328 + txt="Save as template"<KEllipsis>;
1.329 + },
1.330 + MENU_ITEM
1.331 + {
1.332 + command=EWordCmdFileDeleteTemplate;
1.333 + txt="Delete template"<KEllipsis>;
1.334 + flags=EEikMenuItemSeparatorAfter;
1.335 + },
1.336 + MENU_ITEM
1.337 + {
1.338 + command=EEikCmdFileImport;
1.339 + txt="Import text file"<KEllipsis>;
1.340 + },
1.341 + MENU_ITEM
1.342 + {
1.343 + command=EEikCmdFileExport;
1.344 + txt="Export as text file"<KEllipsis>;
1.345 + },
1.346 + MENU_ITEM
1.347 + {
1.348 + command=EWordCmdHtmlImport;
1.349 + txt="Import HTML file"<KEllipsis>;
1.350 + }
1.351 + };
1.352 + }
1.353 +
1.354 +RESOURCE MENU_PANE r_word_printextra_menu
1.355 + {
1.356 + items=
1.357 + {
1.358 + MENU_ITEM
1.359 + {
1.360 + command=EWordCmdPageSetup;
1.361 + txt="Page setup"<KEllipsis>;
1.362 + },
1.363 + MENU_ITEM
1.364 + {
1.365 + command=EEikCmdPrintSetup;
1.366 + txt="Print setup"<KEllipsis>;
1.367 + },
1.368 + MENU_ITEM
1.369 + {
1.370 + command=EEikCmdPrintPreview;
1.371 + txt="Print preview"<KEllipsis>;
1.372 + },
1.373 + MENU_ITEM
1.374 + {
1.375 + command=EEikCmdPrintPrint;
1.376 + txt="Print"<KEllipsis>;
1.377 + }
1.378 + };
1.379 + }
1.380 +
1.381 +RESOURCE MENU_PANE r_word_edit_menu
1.382 + {
1.383 + items=
1.384 + {
1.385 + MENU_ITEM
1.386 + {
1.387 + command=EEikCmdEditUndo;
1.388 + txt="Undo";
1.389 + },
1.390 + MENU_ITEM
1.391 + {
1.392 + command=EEikCmdEditRedo;
1.393 + txt="Redo";
1.394 + flags=EEikMenuItemSeparatorAfter;
1.395 + },
1.396 + MENU_ITEM
1.397 + {
1.398 + command=EEikCmdEditCut;
1.399 + txt="Cut";
1.400 + },
1.401 + MENU_ITEM
1.402 + {
1.403 + command=EEikCmdEditCopy;
1.404 + txt="Copy";
1.405 + },
1.406 + MENU_ITEM
1.407 + {
1.408 + command=EEikCmdEditPaste;
1.409 + txt="Paste";
1.410 + },
1.411 + MENU_ITEM
1.412 + {
1.413 + command=EEikCmdEditSelectAll;
1.414 + txt="Select all";
1.415 + flags=EEikMenuItemSeparatorAfter;
1.416 + },
1.417 + MENU_ITEM
1.418 + {
1.419 + cascade=r_word_editfind_menu;
1.420 + txt="Find";
1.421 + },
1.422 + MENU_ITEM
1.423 + {
1.424 + cascade=r_word_editoptions_menu;
1.425 + txt="Object";
1.426 + }
1.427 + };
1.428 + }
1.429 +
1.430 +RESOURCE MENU_PANE r_word_editfind_menu
1.431 + {
1.432 + items=
1.433 + {
1.434 + MENU_ITEM
1.435 + {
1.436 + command=EEikCmdSearchFind;
1.437 + txt="Find"<KEllipsis>;
1.438 + },
1.439 + MENU_ITEM
1.440 + {
1.441 + command=EEikCmdSearchFindAgain;
1.442 + txt="Find next";
1.443 + },
1.444 + MENU_ITEM
1.445 + {
1.446 + command=EEikCmdSearchReplace;
1.447 + txt="Replace"<KEllipsis>;
1.448 + },
1.449 + MENU_ITEM
1.450 + {
1.451 + command=EWordCmdGoTo;
1.452 + txt="Go to"<KEllipsis>;
1.453 + }
1.454 + };
1.455 + }
1.456 +
1.457 +RESOURCE MENU_PANE r_word_editoptions_menu
1.458 + {
1.459 + items=
1.460 + {
1.461 + MENU_ITEM
1.462 + {
1.463 + command=EWordCmdReEditObject;
1.464 + txt="Edit object"<KEllipsis>;
1.465 + },
1.466 + MENU_ITEM
1.467 + {
1.468 + command=EEikCmdEditPictureFormat;
1.469 + txt="Format object"<KEllipsis>;
1.470 + }
1.471 + };
1.472 + }
1.473 +
1.474 +RESOURCE MENU_PANE r_word_insert_menu
1.475 + {
1.476 + items=
1.477 + {
1.478 + MENU_ITEM
1.479 + {
1.480 + command=EWordCmdInsertSketch;
1.481 + txt="Sketch";
1.482 + },
1.483 + MENU_ITEM
1.484 + {
1.485 + command=EWordCmdInsertSheet;
1.486 + txt="Graph";
1.487 + },
1.488 + MENU_ITEM
1.489 + {
1.490 + command=EWordCmdInsertObject;
1.491 + txt="Other object"<KEllipsis>;
1.492 + flags=EEikMenuItemSeparatorAfter;
1.493 + },
1.494 + MENU_ITEM
1.495 + {
1.496 + command=EWordCmdInsertPageBreak;
1.497 + txt="Page break";
1.498 + extratxt="Ctrl+Enter";
1.499 + },
1.500 + MENU_ITEM
1.501 + {
1.502 + command=EWordCmdInsertLineBreak;
1.503 + txt="Line break";
1.504 + extratxt="Shift+Enter";
1.505 + flags=EEikMenuItemSeparatorAfter;
1.506 + },
1.507 + MENU_ITEM
1.508 + {
1.509 + command=EEikCmdInsertSymbol;
1.510 + txt="Special character"<KEllipsis>;
1.511 + }
1.512 + };
1.513 + }
1.514 +
1.515 +RESOURCE MENU_PANE r_word_paragraph_menu
1.516 + {
1.517 + items=
1.518 + {
1.519 + MENU_ITEM
1.520 + {
1.521 + command=EEikCmdParaIndent;
1.522 + txt="Indents"<KEllipsis>;
1.523 + },
1.524 + MENU_ITEM
1.525 + {
1.526 + command=EEikCmdParaTabs;
1.527 + txt="Tab positions"<KEllipsis>;
1.528 + },
1.529 + MENU_ITEM
1.530 + {
1.531 + command=EEikCmdParaSpacing;
1.532 + txt="Line spacing"<KEllipsis>;
1.533 + },
1.534 + MENU_ITEM
1.535 + {
1.536 + command=EEikCmdParaBorder;
1.537 + txt="Borders"<KEllipsis>;
1.538 + },
1.539 + MENU_ITEM
1.540 + {
1.541 + cascade=r_word_para_alignment_menu;
1.542 + txt="Alignment";
1.543 + },
1.544 + MENU_ITEM
1.545 + {
1.546 + cascade=r_word_para_bullets_menu;
1.547 + txt="Bullets";
1.548 + },
1.549 + MENU_ITEM
1.550 + {
1.551 + command=EWordCmdRevertToStylePara;
1.552 + txt="Remove formatting";
1.553 + flags=EEikMenuItemSeparatorAfter;
1.554 + },
1.555 + MENU_ITEM
1.556 + {
1.557 + command=EWordCmdStyleGallery;
1.558 + txt="Style gallery"<KEllipsis>;
1.559 + }
1.560 + };
1.561 + }
1.562 +
1.563 +RESOURCE MENU_PANE r_word_para_bullets_menu
1.564 + {
1.565 + items=
1.566 + {
1.567 + MENU_ITEM
1.568 + {
1.569 + command=EWordCmdInsertBullet;
1.570 + txt="Insert";
1.571 + },
1.572 + MENU_ITEM
1.573 + {
1.574 + command=EWordCmdFormatBullet;
1.575 + txt="Format"<KEllipsis>;
1.576 + }
1.577 + };
1.578 + }
1.579 +
1.580 +RESOURCE MENU_PANE r_word_para_alignment_menu
1.581 + {
1.582 + items=
1.583 + {
1.584 + MENU_ITEM
1.585 + {
1.586 + command=EWordCmdAlignLeft;
1.587 + txt="Left";
1.588 + flags=EEikMenuItemRadioStart;
1.589 + },
1.590 + MENU_ITEM
1.591 + {
1.592 + command=EWordCmdAlignRight;
1.593 + txt="Right";
1.594 + flags=EEikMenuItemRadioMiddle;
1.595 + },
1.596 + MENU_ITEM
1.597 + {
1.598 + command=EWordCmdAlignCenter;
1.599 + txt="Centred";
1.600 + flags=EEikMenuItemRadioMiddle;
1.601 + },
1.602 + MENU_ITEM
1.603 + {
1.604 + command=EWordCmdAlignJustify;
1.605 + txt="Justified";
1.606 + flags=EEikMenuItemRadioEnd;
1.607 + }
1.608 + };
1.609 + }
1.610 +
1.611 +RESOURCE MENU_PANE r_word_text_menu
1.612 + {
1.613 + items=
1.614 + {
1.615 + MENU_ITEM
1.616 + {
1.617 + command=EEikCmdFontBold;
1.618 + txt="Bold";
1.619 + flags=EEikMenuItemCheckBox;
1.620 + },
1.621 + MENU_ITEM
1.622 + {
1.623 + command=EEikCmdFontItalic;
1.624 + txt="Italic";
1.625 + flags=EEikMenuItemCheckBox;
1.626 + },
1.627 + MENU_ITEM
1.628 + {
1.629 + command=EEikCmdFontUnderline;
1.630 + txt="Underline";
1.631 + flags=EEikMenuItemSeparatorAfter|EEikMenuItemCheckBox;
1.632 + },
1.633 + MENU_ITEM
1.634 + {
1.635 + command=EWordCmdRevertToStyleChar;
1.636 + txt="Remove formatting";
1.637 + flags=EEikMenuItemSeparatorAfter;
1.638 + },
1.639 + MENU_ITEM
1.640 + {
1.641 + command=EEikCmdFontChange;
1.642 + txt="Font"<KEllipsis>;
1.643 + }
1.644 + };
1.645 + }
1.646 +
1.647 +RESOURCE MENU_PANE r_word_tools_menu
1.648 + {
1.649 + items=
1.650 + {
1.651 + MENU_ITEM
1.652 + {
1.653 + command=EWordCmdViewPreferences;
1.654 + txt="View preferences"<KEllipsis>;
1.655 + },
1.656 + MENU_ITEM
1.657 + {
1.658 + command=EWordCmdObjectPreferences;
1.659 + txt="Object preferences"<KEllipsis>;
1.660 + flags=EEikMenuItemSeparatorAfter;
1.661 + },
1.662 + MENU_ITEM
1.663 + {
1.664 + command=EWordCmdCount;
1.665 + txt="Word count";
1.666 + },
1.667 + MENU_ITEM
1.668 + {
1.669 + command=EEikCmdPrintPaginate;
1.670 + txt="Paginate";
1.671 + flags=EEikMenuItemSeparatorAfter;
1.672 + },
1.673 + MENU_ITEM
1.674 + {
1.675 + cascade=r_word_tools_infrared;
1.676 + txt="Infrared";
1.677 + }
1.678 + };
1.679 + }
1.680 +
1.681 +RESOURCE MENU_PANE r_word_test_menu
1.682 + {
1.683 + items=
1.684 + {
1.685 + MENU_ITEM
1.686 + {
1.687 + cascade=r_word_keyboard_menu;
1.688 + txt="Keyboard";
1.689 + },
1.690 + MENU_ITEM
1.691 + {
1.692 + command=EWordCmdHighlight;
1.693 + txt="Highlight";
1.694 + flags=EEikMenuItemCheckBox;
1.695 + },
1.696 + MENU_ITEM
1.697 + {
1.698 + command=EWordCmdShadow;
1.699 + txt="Shadow";
1.700 + flags=EEikMenuItemCheckBox;
1.701 + },
1.702 + MENU_ITEM
1.703 + {
1.704 + command=EWordCmdCustomHighlight;
1.705 + txt="Custom highlight";
1.706 + flags=EEikMenuItemCheckBox;
1.707 + },
1.708 + MENU_ITEM
1.709 + {
1.710 + cascade=r_word_picture_alignment_menu;
1.711 + txt="Picture alignment";
1.712 + },
1.713 + MENU_ITEM
1.714 + {
1.715 + cascade=r_word_cursor_style_menu;
1.716 + txt="Cursor style";
1.717 + },
1.718 + MENU_ITEM
1.719 + {
1.720 + command=EWordCmdRuledPaper;
1.721 + txt="Ruled paper";
1.722 + flags=EEikMenuItemCheckBox;
1.723 + },
1.724 + MENU_ITEM
1.725 + {
1.726 + command=EWordCmdBackgroundBitmap;
1.727 + txt="Background bitmap";
1.728 + flags=EEikMenuItemCheckBox;
1.729 + },
1.730 + MENU_ITEM
1.731 + {
1.732 + command=EWordCmdUpperCase;
1.733 + txt="Uppercase";
1.734 + flags=EEikMenuItemCheckBox;
1.735 + },
1.736 + MENU_ITEM
1.737 + {
1.738 + command=EWordCmdBenchmark;
1.739 + txt="Benchmark reformatting";
1.740 + },
1.741 + MENU_ITEM
1.742 + {
1.743 + command=EWordCmdTruncateWithEllipsis;
1.744 + txt="Truncate with ellipsis";
1.745 + flags=EEikMenuItemCheckBox;
1.746 + },
1.747 + MENU_ITEM
1.748 + {
1.749 + command=EWordCmdWrapOn;
1.750 + txt="Wrap on";
1.751 + },
1.752 + MENU_ITEM
1.753 + {
1.754 + command=EWordCmdWrapOff;
1.755 + txt="Wrap off";
1.756 + },
1.757 + MENU_ITEM
1.758 + {
1.759 + command=EWordCmdInsertPicture;
1.760 + txt="Insert Picture";
1.761 + },
1.762 + MENU_ITEM
1.763 + {
1.764 + cascade=r_word_positioning_hint_test_menu;
1.765 + txt="Set cursor positioning hint";
1.766 + },
1.767 + MENU_ITEM
1.768 + {
1.769 + cascade=r_word_undo_test_menu;
1.770 + txt="Undo tests";
1.771 + },
1.772 + MENU_ITEM
1.773 + {
1.774 + cascade=r_word_selection_highlight_menu;
1.775 + txt="Selection Highlight";
1.776 + }
1.777 + };
1.778 + }
1.779 +
1.780 +RESOURCE MENU_PANE r_word_positioning_hint_test_menu
1.781 + {
1.782 + items=
1.783 + {
1.784 + MENU_ITEM
1.785 + {
1.786 + command=EWordCmdPositioningHintNeutral;
1.787 + txt="Neutral";
1.788 + flags=EEikMenuItemRadioStart;
1.789 + },
1.790 + MENU_ITEM
1.791 + {
1.792 + command=EWordCmdPositioningHintInsertLeftToRight;
1.793 + txt="Inserting strong left to right";
1.794 + flags=EEikMenuItemRadioMiddle;
1.795 + },
1.796 + MENU_ITEM
1.797 + {
1.798 + command=EWordCmdPositioningHintInsertRightToLeft;
1.799 + txt="Inserting strong right to left";
1.800 + flags=EEikMenuItemRadioEnd;
1.801 + }
1.802 + };
1.803 + }
1.804 +
1.805 +RESOURCE MENU_PANE r_word_undo_test_menu
1.806 + {
1.807 + items=
1.808 + {
1.809 + MENU_ITEM
1.810 + {
1.811 + command=EWordCmdUndoTestNotUndoable;
1.812 + txt="Not Undoable Command";
1.813 + }
1.814 + };
1.815 + }
1.816 +
1.817 +RESOURCE MENU_PANE r_word_picture_alignment_menu
1.818 + {
1.819 + items=
1.820 + {
1.821 + MENU_ITEM
1.822 + {
1.823 + command=EWordCmdPictureAlignTop;
1.824 + txt="Top";
1.825 + flags=EEikMenuItemRadioStart;
1.826 + },
1.827 + MENU_ITEM
1.828 + {
1.829 + command=EWordCmdPictureAlignBottom;
1.830 + txt="Bottom";
1.831 + flags=EEikMenuItemRadioMiddle;
1.832 + },
1.833 + MENU_ITEM
1.834 + {
1.835 + command=EWordCmdPictureAlignCenter;
1.836 + txt="Centred";
1.837 + flags=EEikMenuItemRadioMiddle;
1.838 + },
1.839 + MENU_ITEM
1.840 + {
1.841 + command=EWordCmdPictureAlignBaseline;
1.842 + txt="Baseline";
1.843 + flags=EEikMenuItemRadioEnd;
1.844 + }
1.845 + };
1.846 + }
1.847 +
1.848 +RESOURCE MENU_PANE r_word_selection_highlight_menu
1.849 + {
1.850 + items=
1.851 + {
1.852 + MENU_ITEM
1.853 + {
1.854 + command=EWordCmdSelectionHighlightNormal;
1.855 + txt="Normal";
1.856 + flags=EEikMenuItemRadioStart;
1.857 + },
1.858 + MENU_ITEM
1.859 + {
1.860 + command=EWordCmdSelectionHighlightCustom1;
1.861 + txt="Blue XOR";
1.862 + flags=EEikMenuItemRadioMiddle;
1.863 + },
1.864 + MENU_ITEM
1.865 + {
1.866 + command=EWordCmdSelectionHighlightCustom2;
1.867 + txt="White on red";
1.868 + flags=EEikMenuItemRadioEnd;
1.869 + }
1.870 + };
1.871 + }
1.872 +
1.873 +RESOURCE MENU_PANE r_word_cursor_style_menu
1.874 + {
1.875 + items=
1.876 + {
1.877 + MENU_ITEM
1.878 + {
1.879 + command=EWordCmdCursorStyleFlash;
1.880 + txt="Flash";
1.881 + flags=EEikMenuItemCheckBox;
1.882 + },
1.883 + MENU_ITEM
1.884 + {
1.885 + command=EWordCmdCursorStyleHeavy;
1.886 + txt="Heavy";
1.887 + flags=EEikMenuItemCheckBox;
1.888 + },
1.889 + MENU_ITEM
1.890 + {
1.891 + command=EWordCmdCursorStyleRed;
1.892 + txt="Red";
1.893 + flags=EEikMenuItemCheckBox;
1.894 + },
1.895 + MENU_ITEM
1.896 + {
1.897 + command=EWordCmdCursorStyleVertical;
1.898 + txt="Vertical";
1.899 + flags=EEikMenuItemRadioStart;
1.900 + },
1.901 + MENU_ITEM
1.902 + {
1.903 + command=EWordCmdCursorStyleUnderlineNext;
1.904 + txt="Underline next character";
1.905 + flags=EEikMenuItemRadioMiddle;
1.906 + },
1.907 + MENU_ITEM
1.908 + {
1.909 + command=EWordCmdCursorStyleUnderlinePrev;
1.910 + txt="Underline previous character";
1.911 + flags=EEikMenuItemRadioEnd;
1.912 + }
1.913 + };
1.914 + }
1.915 +
1.916 +RESOURCE MENU_PANE r_word_keyboard_menu
1.917 + {
1.918 + items=
1.919 + {
1.920 + MENU_ITEM
1.921 + {
1.922 + command=EWordCmdStandardKeyboard;
1.923 + txt="Standard (Latin) keyboard";
1.924 + flags=EEikMenuItemRadioStart;
1.925 + },
1.926 + MENU_ITEM
1.927 + {
1.928 + command=EWordCmdArabicKeyboard;
1.929 + txt="Arabic keyboard";
1.930 + flags=EEikMenuItemRadioMiddle;
1.931 + },
1.932 + MENU_ITEM
1.933 + {
1.934 + command=EWordCmdGreekKeyboard;
1.935 + txt="Greek keyboard";
1.936 + flags=EEikMenuItemRadioMiddle;
1.937 + },
1.938 + MENU_ITEM
1.939 + {
1.940 + command=EWordCmdRussianKeyboard;
1.941 + txt="Russian keyboard";
1.942 + flags=EEikMenuItemRadioMiddle;
1.943 + },
1.944 + MENU_ITEM
1.945 + {
1.946 + command=EWordCmdChineseOn;
1.947 + txt="Chinese FEP on";
1.948 + flags=EEikMenuItemRadioMiddle;
1.949 + },
1.950 + MENU_ITEM
1.951 + {
1.952 + command=EWordCmdChineseOff;
1.953 + txt="Chinese FEP off";
1.954 + flags=EEikMenuItemRadioEnd;
1.955 + }
1.956 + };
1.957 + }
1.958 +
1.959 +RESOURCE MENU_PANE r_word_tools_infrared
1.960 + {
1.961 + items=
1.962 + {
1.963 + MENU_ITEM
1.964 + {
1.965 + command=EEikCmdIrdaSend;
1.966 + txt="Send";
1.967 + },
1.968 + MENU_ITEM
1.969 + {
1.970 + command=EEikCmdIrdaReceive;
1.971 + txt="Receive";
1.972 + }
1.973 + };
1.974 + }
1.975 +
1.976 +RESOURCE MENU_PANE r_word_view_menu
1.977 + {
1.978 + items=
1.979 + {
1.980 + MENU_ITEM
1.981 + {
1.982 + command=EEikCmdZoomIn;
1.983 + txt="Zoom in";
1.984 + },
1.985 + MENU_ITEM
1.986 + {
1.987 + command=EEikCmdZoomOut;
1.988 + txt="Zoom out";
1.989 + },
1.990 + MENU_ITEM
1.991 + {
1.992 + command=EWordCmdZoomSet;
1.993 + txt="Set zoom"<KEllipsis>;
1.994 + flags=EEikMenuItemSeparatorAfter;
1.995 + },
1.996 + MENU_ITEM
1.997 + {
1.998 + command=EWordCmdToolbar;
1.999 + txt="Show toolbar";
1.1000 + flags=EEikMenuItemCheckBox;
1.1001 + },
1.1002 + MENU_ITEM
1.1003 + {
1.1004 + command=EWordCmdToolband;
1.1005 + txt="Show top toolbar";
1.1006 + flags=EEikMenuItemCheckBox;
1.1007 + },
1.1008 + MENU_ITEM
1.1009 + {
1.1010 + command=EWordCmdWrapToScreen;
1.1011 + txt="Wrap to screen";
1.1012 + flags=EEikMenuItemSeparatorAfter|EEikMenuItemCheckBox;
1.1013 + },
1.1014 + MENU_ITEM
1.1015 + {
1.1016 + command=EWordCmdOutline;
1.1017 + txt="Outline"<KEllipsis>;
1.1018 + }
1.1019 + };
1.1020 + }
1.1021 +
1.1022 +RESOURCE DIALOG r_word_dialog_goto
1.1023 + {
1.1024 + flags=EEikDialogFlagWait;
1.1025 + title="Go to page";
1.1026 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1027 + items=
1.1028 + {
1.1029 + DLG_LINE
1.1030 + {
1.1031 + prompt="Go to page";
1.1032 + type=EEikCtNumberEditor;
1.1033 + id=EWordCidPageNumber;
1.1034 + control=NUMBER_EDITOR { min=0; max=99999; };
1.1035 + },
1.1036 + DLG_LINE
1.1037 + {
1.1038 + prompt="Pages in this file:";
1.1039 + type=EEikCtLabel;
1.1040 + id=EWordCidPages;
1.1041 + control=LABEL { txt=""; };
1.1042 + }
1.1043 + };
1.1044 + }
1.1045 +
1.1046 +
1.1047 +RESOURCE DIALOG r_word_dialog_outline
1.1048 + {
1.1049 + flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1.1050 + title="Document outline";
1.1051 + buttons=r_word_outline_buttons;
1.1052 + items=
1.1053 + {
1.1054 + DLG_LINE
1.1055 + {
1.1056 + type=EWordCtOutlineNav;
1.1057 + id=EWordCidOutline;
1.1058 + control=OUTLINE_CONTROL
1.1059 + {
1.1060 + width=390;
1.1061 + height=180;
1.1062 + };
1.1063 + }
1.1064 + };
1.1065 + }
1.1066 +
1.1067 +RESOURCE DLG_BUTTONS r_word_outline_buttons
1.1068 + {
1.1069 + buttons=
1.1070 + {
1.1071 + DLG_BUTTON { id=EWordBidOpenAll; button=CMBUT {txt="Open all";}; hotkey='Y'; },
1.1072 + DLG_BUTTON { id=EWordBidCloseAll; button=CMBUT {txt="Close all";}; hotkey='U'; },
1.1073 + DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Done";}; hotkey=EEikBidCancel; },
1.1074 + DLG_BUTTON { id=EEikBidOk; button= CMBUT {txt="Go to";}; hotkey=EEikBidOk; }
1.1075 + };
1.1076 + }
1.1077 +
1.1078 +RESOURCE DIALOG r_word_dialog_bullet
1.1079 + {
1.1080 + flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1.1081 + title="Select bullet character";
1.1082 + buttons=r_word_buttons_bullet;
1.1083 + items=
1.1084 + {
1.1085 + DLG_LINE
1.1086 + {
1.1087 + type=EEikCtCharMap;
1.1088 + id=EWordCidBulletCharMap;
1.1089 + // no value
1.1090 + }
1.1091 + };
1.1092 + }
1.1093 +
1.1094 +RESOURCE DLG_BUTTONS r_word_buttons_bullet
1.1095 + {
1.1096 + buttons=
1.1097 + {
1.1098 + DLG_BUTTON { id=EWordCidFormatBullet; button=CMBUT {txt="Format"<KEllipsis>;}; hotkey='F'; },
1.1099 + DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Cancel";}; hotkey=EEikBidCancel; flags=0;},
1.1100 + DLG_BUTTON { id=EEikBidOk; button= CMBUT {txt="OK";}; hotkey=EEikBidOk; flags=0; }
1.1101 + };
1.1102 + }
1.1103 +
1.1104 +RESOURCE DIALOG r_word_dialog_format_bullet
1.1105 + {
1.1106 + flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1.1107 + title="Format bullet character";
1.1108 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1109 + items=
1.1110 + {
1.1111 + DLG_LINE
1.1112 + {
1.1113 + type=EWordCtBulletPreviewLabel;
1.1114 + prompt="Bullet";
1.1115 + id=EWordCidBulletCharacter;
1.1116 + control=LABEL { vert_align=EEikLabelAlignVCenter; txt=""; };
1.1117 + },
1.1118 + DLG_LINE
1.1119 + {
1.1120 + type=EEikCtGraySelector;
1.1121 + prompt="Colour";
1.1122 + id=EWordCidBulletColor;
1.1123 + control=GRAYSEL { flags=EEikGraySelDisplay4Gray; };
1.1124 + },
1.1125 + DLG_LINE
1.1126 + {
1.1127 + type=EEikCtChoiceList;
1.1128 + prompt="Size";
1.1129 + id=EWordCidBulletHeight;
1.1130 + control=CHOICELIST { };
1.1131 + },
1.1132 + DLG_LINE
1.1133 + {
1.1134 + type=EEikCtCheckBox;
1.1135 + prompt="Indent";
1.1136 + id=EWordCidBulletIndent;
1.1137 + }
1.1138 + };
1.1139 + }
1.1140 +
1.1141 +RESOURCE DIALOG r_word_dialog_style_gallery
1.1142 + {
1.1143 + title="Style gallery";
1.1144 + flags=EEikDialogFlagWait|EEikDialogFlagDensePacking; // |EEikDialogFlagButtonsRight
1.1145 + buttons=r_word_buttons_styleoption;
1.1146 + items=
1.1147 + {
1.1148 + DLG_LINE
1.1149 + {
1.1150 + type = EEikCtColListBox;
1.1151 + id=EWordCidStyleNameList;
1.1152 + control=LISTBOX
1.1153 + {
1.1154 + height=4;
1.1155 + };
1.1156 + },
1.1157 + DLG_LINE
1.1158 + {
1.1159 + type=EEikCtGlobalTextEditor;
1.1160 + id=EWordCidStyleInfo;
1.1161 + control=GTXTED
1.1162 + {
1.1163 + width=252;
1.1164 + height=50;
1.1165 + numlines=3;
1.1166 + flags=EEikEdwinDisplayOnly|EEikEdwinNoAutoSelection|EEikEdwinInclusiveSizeFixed;
1.1167 + };
1.1168 + }
1.1169 + };
1.1170 + }
1.1171 +
1.1172 +
1.1173 +RESOURCE DLG_BUTTONS r_word_buttons_styleoption
1.1174 + {
1.1175 + buttons=
1.1176 + {
1.1177 + DLG_BUTTON { id=EWordCidAddStyle; button=CMBUT {txt="New"<KEllipsis>;}; hotkey='N'; },
1.1178 + DLG_BUTTON { id=EWordCidModifyStyle; button=CMBUT {txt="Modify"<KEllipsis>;}; hotkey='M'; },
1.1179 + DLG_BUTTON { id=EEikBidDelete; button=CMBUT {txt="Delete";}; hotkey=EEikBidDelete; },
1.1180 + DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Cancel";}; hotkey=EEikBidCancel; flags =0; },
1.1181 + DLG_BUTTON { id=EEikBidOk; button=CMBUT {txt="Apply";}; hotkey=EEikBidOk; }
1.1182 + };
1.1183 + }
1.1184 +
1.1185 +RESOURCE DIALOG r_word_dialog_style_format
1.1186 + {
1.1187 + title="Add new style";
1.1188 + flags=EEikDialogFlagWait;
1.1189 + buttons=r_word_buttons_styleaddoption;
1.1190 + items=
1.1191 + {
1.1192 + DLG_LINE
1.1193 + {
1.1194 + type=EEikCtEdwin;
1.1195 + prompt="Name";
1.1196 + id=EWordCidStyleName;
1.1197 + control= EDWIN { width=10; maxlength=32; };
1.1198 + },
1.1199 + DLG_LINE
1.1200 + {
1.1201 + type=EWordCtStyleShortcutKeyEditor;
1.1202 + prompt="Shortcut key: Ctrl+Fn+";
1.1203 + id=EWordCidHotKey;
1.1204 + },
1.1205 + DLG_LINE
1.1206 + {
1.1207 + id=EWordCidBullet;
1.1208 + type=EEikCtCheckBox;
1.1209 + prompt="Insert bullet";
1.1210 + },
1.1211 + DLG_LINE
1.1212 + {
1.1213 + id=EWordCidOutline;
1.1214 + type=EEikCtNumberEditor;
1.1215 + prompt="Outline level";
1.1216 + control=NUMBER_EDITOR {min=0; max=99; };
1.1217 + }
1.1218 + };
1.1219 + }
1.1220 +
1.1221 +
1.1222 +RESOURCE MENU_PANE r_word_style_format_menu
1.1223 + {
1.1224 + items=
1.1225 + {
1.1226 + MENU_ITEM
1.1227 + {
1.1228 + command=EEikCmdFontChange;
1.1229 + txt="Font"<KEllipsis>;
1.1230 + },
1.1231 + MENU_ITEM
1.1232 + {
1.1233 + command=EEikCmdParaIndent;
1.1234 + txt="Indents"<KEllipsis>;
1.1235 + },
1.1236 + MENU_ITEM
1.1237 + {
1.1238 + command=EEikCmdParaTabs;
1.1239 + txt="Tab positions"<KEllipsis>;
1.1240 + },
1.1241 + MENU_ITEM
1.1242 + {
1.1243 + command=EEikCmdParaSpacing;
1.1244 + txt="Line spacing"<KEllipsis>;
1.1245 + },
1.1246 + MENU_ITEM
1.1247 + {
1.1248 + command=EEikCmdParaBorder;
1.1249 + txt="Borders"<KEllipsis>;
1.1250 + },
1.1251 + MENU_ITEM
1.1252 + {
1.1253 + command=EWordCmdFormatBullet;
1.1254 + txt="Bullets"<KEllipsis>;
1.1255 + },
1.1256 + MENU_ITEM
1.1257 + {
1.1258 + command=EEikCmdParaAlign;
1.1259 + txt="Alignment"<KEllipsis>;
1.1260 + }
1.1261 + };
1.1262 + }
1.1263 +
1.1264 +RESOURCE DLG_BUTTONS r_word_buttons_styleaddoption
1.1265 + {
1.1266 + buttons=
1.1267 + {
1.1268 + DLG_BUTTON { id=EWordCidFormatList;
1.1269 + buttontype=EEikCtMenuButton;
1.1270 + button=MNBUT { popout=r_word_style_format_menu;
1.1271 + txt="Format"; bmpfile="z:\\system\\data\\eikon.mbm";
1.1272 + bmpid=EMbmEikonSarrow;
1.1273 + bmpmask=EMbmEikonSarrow;
1.1274 + };
1.1275 + hotkey='F';
1.1276 + },
1.1277 + DLG_BUTTON { id=EEikBidCancel; button=CMBUT{ txt="Cancel";}; hotkey=EEikBidCancel; flags=0; },
1.1278 + DLG_BUTTON { id=EEikBidOk; button=CMBUT{ txt="OK";}; hotkey=EEikBidOk; flags=0; }
1.1279 + };
1.1280 + }
1.1281 +
1.1282 +RESOURCE ARRAY r_word_view_pref_array
1.1283 + {
1.1284 + items=
1.1285 + {
1.1286 + LBUF { txt="All"; },
1.1287 + LBUF { txt="Some"; },
1.1288 + LBUF { txt="None"; }
1.1289 + };
1.1290 + }
1.1291 +
1.1292 +RESOURCE DIALOG r_word_dialog_view_preferences
1.1293 + {
1.1294 + flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1.1295 + title="View preferences";
1.1296 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1297 + items=
1.1298 + {
1.1299 + DLG_LINE
1.1300 + {
1.1301 + prompt="Show tabs";
1.1302 + type=EEikCtCheckBox;
1.1303 + id=EWordCidTab;
1.1304 + },
1.1305 + DLG_LINE
1.1306 + {
1.1307 + prompt="Show spaces";
1.1308 + type=EEikCtCheckBox;
1.1309 + id=EWordCidSpaces;
1.1310 + },
1.1311 + DLG_LINE
1.1312 + {
1.1313 + prompt="Show non-breaking spaces";
1.1314 + type=EEikCtCheckBox;
1.1315 + id=EWordCidNonBreakingSpace;
1.1316 + },
1.1317 + DLG_LINE
1.1318 + {
1.1319 + prompt="Show paragraph ends";
1.1320 + type=EEikCtCheckBox;
1.1321 + id=EWordCidParaEnds;
1.1322 + },
1.1323 + DLG_LINE
1.1324 + {
1.1325 + prompt="Show forced line breaks";
1.1326 + type=EEikCtCheckBox;
1.1327 + id=EWordCidForcedLineBreaks;
1.1328 + },
1.1329 + DLG_LINE
1.1330 + {
1.1331 + prompt="Show hard hyphens";
1.1332 + type=EEikCtCheckBox;
1.1333 + id=EWordCidHardHyphens;
1.1334 + }
1.1335 + };
1.1336 + }
1.1337 +
1.1338 +RESOURCE DIALOG r_word_dialog_object_preferences
1.1339 + {
1.1340 + flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
1.1341 + title="Object preferences";
1.1342 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1343 + items=
1.1344 + {
1.1345 + DLG_LINE
1.1346 + {
1.1347 + prompt="Show new sketch as icon";
1.1348 + type=EEikCtCheckBox;
1.1349 + id=EWordCidShowSketch;
1.1350 + },
1.1351 + DLG_LINE
1.1352 + {
1.1353 + prompt="Show new graph as icon";
1.1354 + type=EEikCtCheckBox;
1.1355 + id=EWordCidShowGraph;
1.1356 + }
1.1357 + };
1.1358 + }
1.1359 +
1.1360 +RESOURCE DIALOG r_word_dialog_zoom_set
1.1361 + {
1.1362 + flags=EEikDialogFlagWait;
1.1363 + title="Set zoom factor";
1.1364 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1365 + items=
1.1366 + {
1.1367 + DLG_LINE
1.1368 + {
1.1369 + type=EEikCtNumberEditor;
1.1370 + prompt="Zoom to";
1.1371 + trailer="%";
1.1372 + id=EWordCidZoomSet;
1.1373 + control= NUMBER_EDITOR {min=1;max=200;};
1.1374 + }
1.1375 + };
1.1376 + }
1.1377 +
1.1378 +RESOURCE DIALOG r_word_template_file_new
1.1379 + {
1.1380 + flags=EEikDialogFlagWait;
1.1381 + title="Open file";
1.1382 + buttons=R_EIK_BUTTONS_BROWSE_CANCEL_OK;
1.1383 + items=
1.1384 + {
1.1385 + DLG_LINE
1.1386 + {
1.1387 + prompt="Name";
1.1388 + type=EEikCtFileNameEd;
1.1389 + id=EEikCidFileNameEd;
1.1390 + control=FILENAMEEDITOR {};
1.1391 + },
1.1392 + DLG_LINE
1.1393 + {
1.1394 + prompt="Folder";
1.1395 + type=EEikCtFolderNameSel;
1.1396 + id=EEikCidFolderNameSel;
1.1397 + control=FOLDERNAMESELECTOR {};
1.1398 + },
1.1399 + DLG_LINE
1.1400 + {
1.1401 + prompt="Disk";
1.1402 + type=EEikCtDriveNameSel;
1.1403 + id=EEikCidDriveNameSel;
1.1404 + control=DRIVENAMESELECTOR {};
1.1405 + },
1.1406 + DLG_LINE
1.1407 + {
1.1408 + type=EEikCtCheckBox;
1.1409 + prompt="Use new file";
1.1410 + id=EEikCidUseNewFileChbx;
1.1411 + },
1.1412 + DLG_LINE
1.1413 + {
1.1414 + prompt="Template";
1.1415 + type=EWordUnifiedFileNameSelector;
1.1416 + id=EEikCtUnifiedFileSel;
1.1417 + control=UNIFIEDNAMESELECTOR {};
1.1418 + }
1.1419 + };
1.1420 + }
1.1421 +
1.1422 +RESOURCE DIALOG r_word_template_save_as
1.1423 + {
1.1424 + flags=EEikDialogFlagWait;
1.1425 + title="Save as template";
1.1426 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1427 + items=
1.1428 + {
1.1429 + DLG_LINE
1.1430 + {
1.1431 + type=EEikCtLabel;
1.1432 + id=EWordCidTemplateSaveAsLabel1;
1.1433 + control=LABEL
1.1434 + {
1.1435 + horiz_align=EEikLabelAlignHLeft;
1.1436 + standard_font=EEikLabelFontAnnotation;
1.1437 + txt = "To save as a standard template, save with the name \"Normal\"";
1.1438 + };
1.1439 + },
1.1440 + DLG_LINE
1.1441 + {
1.1442 + prompt="Template name";
1.1443 + type=EEikCtFileNameEd;
1.1444 + id=EEikCidFileNameEd;
1.1445 + control=FILENAMEEDITOR {};
1.1446 + },
1.1447 + DLG_LINE
1.1448 + {
1.1449 + prompt="Disk";
1.1450 + type=EEikCtDriveNameSel;
1.1451 + id=EEikCidDriveNameSel;
1.1452 + control=DRIVENAMESELECTOR {};
1.1453 + }
1.1454 + };
1.1455 + }
1.1456 +
1.1457 +RESOURCE DIALOG r_word_template_delete
1.1458 + {
1.1459 + flags=EEikDialogFlagWait;
1.1460 + title="Delete template";
1.1461 + buttons=R_EIK_BUTTONS_CANCEL_OK;
1.1462 + items=
1.1463 + {
1.1464 + DLG_LINE
1.1465 + {
1.1466 + type=EEikCtLabel;
1.1467 + id=EEikCtLabel;
1.1468 + control=LABEL
1.1469 + {
1.1470 + horiz_align=EEikLabelAlignHLeft;
1.1471 + standard_font=EEikLabelFontAnnotation;
1.1472 + txt = "You can only delete templates you created yourself";
1.1473 + };
1.1474 + },
1.1475 + DLG_LINE
1.1476 + {
1.1477 + prompt="Template to delete";
1.1478 + type=EEikCtUnifiedFileSel;
1.1479 + id=EEikCtUnifiedFileSel;
1.1480 + control=UNIFIEDNAMESELECTOR {};
1.1481 + }
1.1482 + };
1.1483 + }
1.1484 +
1.1485 +/* NORMAL TEMPLATE FILE NAME */
1.1486 +RESOURCE TBUF r_word_normal_template_file_name { buf="Normal"; }
1.1487 +RESOURCE TBUF r_word_blank_template_file_name { buf="Blank"; }
1.1488 +/* TEMPLATE MESSAGES */
1.1489 +RESOURCE TBUF r_word_template_saving_file { buf="Saving template"; }
1.1490 +RESOURCE TBUF r_word_template_delete_confirmation_pre { buf="Delete template \""; } // max length 30
1.1491 +RESOURCE TBUF r_word_template_delete_confirmation_post { buf="\"?"; } // max length 30
1.1492 +RESOURCE TBUF r_word_template_not_available { buf="Template not available"; }
1.1493 +RESOURCE TBUF32 r_word_template_saved_message { buf="Template saved as %S"; }
1.1494 +
1.1495 +/* FILE OPERATIONS TEXT */
1.1496 +RESOURCE TBUF r_word_document_unchanged { buf="File has not changed"; }
1.1497 +RESOURCE TBUF r_word_text_import_dialog_title { buf="Import text file"; }
1.1498 +RESOURCE TBUF r_word_html_import_dialog_title { buf="Import HTML file"; }
1.1499 +RESOURCE TBUF r_word_text_export_dialog_title { buf="Export text file"; }
1.1500 +RESOURCE TBUF r_word_file_read_only { buf="This file is read-only"; }
1.1501 +RESOURCE TBUF r_word_file_save_read_only { buf="Read-only file"; }
1.1502 +RESOURCE TBUF r_word_file_create_file { buf="Creating file from template"; }
1.1503 +
1.1504 +/* SPELLING DIALOGS TEXT */
1.1505 +RESOURCE TBUF r_word_spell_no_suggestions { buf="No suggestions"; } // max length 30
1.1506 +RESOURCE TBUF r_word_spell_correction { buf="Enter a correction"; }
1.1507 +RESOURCE TBUF r_word_spell_unrecognized_word { buf="Unrecognised word \"%S\""; } // max length 40
1.1508 +RESOURCE TBUF r_word_spell_one_unrecognized_word { buf="1 unrecognised word"; } // max length 32
1.1509 +RESOURCE TBUF r_word_spell_many_unrecognized_words { buf="%D unrecognised words"; } // max length 29
1.1510 +RESOURCE TBUF r_word_spell_one_unrecognized_word_in_selection { buf="1 unrecognised word in the selection"; } // max length 52
1.1511 +RESOURCE TBUF r_word_spell_many_unrecognized_words_in_selection { buf="%D unrecognised words in the selection"; } // max length 49
1.1512 +RESOURCE TBUF r_word_spell_load_dictionary { buf="Opening dictionaries... "; }
1.1513 +RESOURCE TBUF r_word_spell_user_dict_not_enabled { buf="Personal dictionary is not enabled"; }
1.1514 +RESOURCE TBUF r_word_spell_dict_not_available { buf="Personal dictionary is not available"; }
1.1515 +RESOURCE TBUF r_word_spell_selection { buf="Spell checking selection"; } // dialog title
1.1516 +RESOURCE TBUF r_word_spell_not_started { buf="Cannot start spell checker"; }
1.1517 +RESOURCE TBUF r_word_spell_information { buf="Information"; }
1.1518 +RESOURCE TBUF r_word_spell_nothing_to_check { buf="No words to spell check"; }
1.1519 +
1.1520 +/* STYLE DIALOGS TEXT */
1.1521 +RESOURCE TBUF r_word_style_revert_title { buf= "Revert to style"; }
1.1522 +RESOURCE TBUF r_word_style_revert_char { buf= "Remove manual character formatting"; }
1.1523 +RESOURCE TBUF r_word_style_revert_para { buf= "Remove manual paragraph formatting"; }
1.1524 +RESOURCE TBUF r_word_styleformat_title_modify { buf= "Modify \"%S\""; } // max length 24
1.1525 +RESOURCE TBUF r_word_styleformat_title_add { buf= "Add new style"; }
1.1526 +RESOURCE TBUF r_word_normal { buf="Normal"; } // KMaxParagraphStyleName length = 32
1.1527 +RESOURCE TBUF r_word_nostylename { buf="Type in a style name";}
1.1528 +RESOURCE TBUF r_word_stylenameexists { buf="Style with this name already exists"; }
1.1529 +RESOURCE TBUF r_word_close { buf="Close"; } // max length 20
1.1530 +RESOURCE TBUF r_word_delete_style_title { buf="Delete style \"%S\""; }
1.1531 +RESOURCE TBUF r_word_hotkeyexists { buf="Shortcut is currently assigned to \"%S\""; } // max length 48
1.1532 +RESOURCE TBUF r_word_hotkey_invalid { buf="Invalid shortcut - letter or number only"; }
1.1533 +RESOURCE TBUF r_word_hotkey { buf="Ctrl+Fn+"; } // max length 20
1.1534 +RESOURCE ARRAY r_word_style_gallery_descriptions
1.1535 + {
1.1536 +/* DO NOT REORDER THE FOLLOWING RESOURCES */
1.1537 + items=
1.1538 + {
1.1539 + LBUF { txt=""; },
1.1540 + LBUF { txt=""; },
1.1541 + LBUF { txt="Left indent"; },
1.1542 + LBUF { txt="Right indent"; },
1.1543 + LBUF { txt="1st line indent"; },
1.1544 + LBUF { txt=""; },
1.1545 + LBUF { txt=""; },
1.1546 + LBUF { txt="Line spacing"; },
1.1547 + LBUF { txt=""; },
1.1548 + LBUF { txt="Sp before"; },
1.1549 + LBUF { txt="Sp after"; },
1.1550 + LBUF { txt="Keep together"; },
1.1551 + LBUF { txt="Keep with next"; },
1.1552 + LBUF { txt="Start new page"; },
1.1553 + LBUF { txt="Widow/orphan"; },
1.1554 + LBUF { txt=""; },
1.1555 + LBUF { txt="Border margin"; },
1.1556 + LBUF { txt="Top border"; },
1.1557 + LBUF { txt="Bottom border"; },
1.1558 + LBUF { txt="Left border"; },
1.1559 + LBUF { txt="Right border"; },
1.1560 + LBUF { txt="Bullet"; },
1.1561 + LBUF { txt=""; },
1.1562 + LBUF { txt="Tab"; },
1.1563 + LBUF { txt="Italic"; },
1.1564 + LBUF { txt="Bold"; },
1.1565 + LBUF { txt="Superscript"; },
1.1566 + LBUF { txt="Subscript"; },
1.1567 + LBUF { txt="Underline"; },
1.1568 + LBUF { txt="Strikethrough"; },
1.1569 + LBUF { txt="Left aligned"; },
1.1570 + LBUF { txt="Centred"; },
1.1571 + LBUF { txt="Right aligned"; },
1.1572 + LBUF { txt="Justified"; }
1.1573 + };
1.1574 + }
1.1575 +
1.1576 +
1.1577 +/* MISCELLANEOUS TEXT */
1.1578 +RESOURCE TBUF r_word_font_units { buf=" pt";}
1.1579 +RESOURCE TBUF r_word_no_words { buf="Words: %d"; }
1.1580 +
1.1581 +RESOURCE TBUF r_word_no_outline { buf="Nothing to show in outline"; }
1.1582 +RESOURCE TBUF r_word_normal_outline { buf="Not available for Normal style";}
1.1583 +RESOURCE TBUF r_word_outline { buf = "Outlining..."; }
1.1584 +RESOURCE TBUF r_word_expand_outline { buf = "Expanding Items..."; }
1.1585 +RESOURCE TBUF r_word_collapse_outline { buf = "Collapsing Items..."; }
1.1586 +
1.1587 +RESOURCE TBUF r_word_not_undoable_title { buf = "This operation cannot be undone"; }
1.1588 +RESOURCE TBUF r_word_not_undoable_text { buf = "would you like to proceed anyway?"; }
1.1589 +
1.1590 +RESOURCE TBUF r_word_no_html_converter { buf = "Converter not available"; }
1.1591 +RESOURCE TBUF r_word_no_text_to_paste { buf="There is no text on the clipboard"; }
1.1592 +
1.1593 +/* CONFIRMATION DIALOGS TEXT */
1.1594 +RESOURCE ARRAY r_word_confirmation_texts
1.1595 + {
1.1596 +/* DO NOT REORDER THE FOLLOWING RESOURCES */
1.1597 + items=
1.1598 + {
1.1599 + LBUF {txt="Revert to saved?"; },
1.1600 + LBUF {txt="All changes will be lost"; }
1.1601 + };
1.1602 + }