sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
|
sl@0
|
19 |
NAME "WORD"
|
sl@0
|
20 |
|
sl@0
|
21 |
#include <techview/eikon.rh>
|
sl@0
|
22 |
#include <uiklafgt/eikcore.rsg>
|
sl@0
|
23 |
#include <eikctl.rsg>
|
sl@0
|
24 |
#include <eikcoctl.rsg>
|
sl@0
|
25 |
#include <eikfile.rsg>
|
sl@0
|
26 |
#include <eikprint.rsg>
|
sl@0
|
27 |
#include <eikon.mbg>
|
sl@0
|
28 |
|
sl@0
|
29 |
#include <word.mbg>
|
sl@0
|
30 |
#include "WORD.HRH"
|
sl@0
|
31 |
|
sl@0
|
32 |
/* TOOLBAR & TOOLBAND MEASUREMENTS */
|
sl@0
|
33 |
#define KWStdToolbandSpacer 10
|
sl@0
|
34 |
|
sl@0
|
35 |
|
sl@0
|
36 |
// Structure definition for the outline control
|
sl@0
|
37 |
|
sl@0
|
38 |
STRUCT OUTLINE_CONTROL
|
sl@0
|
39 |
{
|
sl@0
|
40 |
WORD width=320;
|
sl@0
|
41 |
WORD height=180;
|
sl@0
|
42 |
}
|
sl@0
|
43 |
|
sl@0
|
44 |
|
sl@0
|
45 |
RESOURCE RSS_SIGNATURE { }
|
sl@0
|
46 |
|
sl@0
|
47 |
RESOURCE TBUF { buf="Word"; } // default filename
|
sl@0
|
48 |
|
sl@0
|
49 |
RESOURCE EIK_APP_INFO
|
sl@0
|
50 |
{
|
sl@0
|
51 |
hotkeys=r_word_hotkeys;
|
sl@0
|
52 |
menubar=r_word_menubar;
|
sl@0
|
53 |
toolbar=r_word_toolbar;
|
sl@0
|
54 |
toolband=r_word_toolband;
|
sl@0
|
55 |
}
|
sl@0
|
56 |
|
sl@0
|
57 |
RESOURCE HOTKEYS r_word_hotkeys
|
sl@0
|
58 |
{
|
sl@0
|
59 |
control=
|
sl@0
|
60 |
{
|
sl@0
|
61 |
HOTKEY { command=EEikCmdEditSelectAll; key='a'; },
|
sl@0
|
62 |
HOTKEY { command=EEikCmdFontBold; key='b'; },
|
sl@0
|
63 |
HOTKEY { command=EEikCmdEditCopy; key='c'; },
|
sl@0
|
64 |
HOTKEY { command=EEikCmdParaIndent; key='d'; },
|
sl@0
|
65 |
HOTKEY { command=EEikCmdExit; key='e'; },
|
sl@0
|
66 |
HOTKEY { command=EEikCmdSearchFind; key='f'; },
|
sl@0
|
67 |
HOTKEY { command=EWordCmdGoTo; key='g'; },
|
sl@0
|
68 |
HOTKEY { command=EEikCmdSearchReplace; key='h'; },
|
sl@0
|
69 |
HOTKEY { command=EEikCmdFontItalic; key='i'; },
|
sl@0
|
70 |
HOTKEY { command=EEikCmdSearchFindAgain; key='j'; },
|
sl@0
|
71 |
HOTKEY { command=EWordCmdViewPreferences; key='k'; },
|
sl@0
|
72 |
HOTKEY { command=EEikCmdZoomIn; key='m';},
|
sl@0
|
73 |
HOTKEY { command=EEikCmdFileNew; key='n'; },
|
sl@0
|
74 |
HOTKEY { command=EEikCmdFileOpen; key='o'; },
|
sl@0
|
75 |
HOTKEY { command=EEikCmdPrintPrint; key='p'; },
|
sl@0
|
76 |
HOTKEY { command=EEikCmdFileRevert; key='r'; },
|
sl@0
|
77 |
HOTKEY { command=EEikCmdFileSave; key='s'; },
|
sl@0
|
78 |
HOTKEY { command=EWordCmdToolbar; key='t';},
|
sl@0
|
79 |
HOTKEY { command=EEikCmdFontUnderline; key='u'; },
|
sl@0
|
80 |
HOTKEY { command=EEikCmdEditPaste; key='v'; },
|
sl@0
|
81 |
HOTKEY { command=EWordCmdWrapToScreen; key='w'; },
|
sl@0
|
82 |
HOTKEY { command=EEikCmdEditCut; key='x'; },
|
sl@0
|
83 |
HOTKEY { command=EEikCmdEditRedo; key='y'; },
|
sl@0
|
84 |
HOTKEY { command=EEikCmdEditUndo; key='z';}
|
sl@0
|
85 |
};
|
sl@0
|
86 |
shift_control=
|
sl@0
|
87 |
{
|
sl@0
|
88 |
HOTKEY { command=EEikCmdParaAlign; key='a'; },
|
sl@0
|
89 |
HOTKEY { command=EWordCmdInsertBullet; key='b'; },
|
sl@0
|
90 |
HOTKEY { command=EEikCmdInsertSymbol; key='c';},
|
sl@0
|
91 |
HOTKEY { command=EEikCmdParaBorder; key='d'; },
|
sl@0
|
92 |
HOTKEY { command=EWordCmdZoomSet; key='e'; },
|
sl@0
|
93 |
HOTKEY { command=EEikCmdFontChange; key='f'; },
|
sl@0
|
94 |
HOTKEY { command=EWordCmdStyleGallery; key='g'; },
|
sl@0
|
95 |
HOTKEY { command=EWordCmdFormatBullet; key='h'; },
|
sl@0
|
96 |
HOTKEY { command=EWordCmdRevertToStyleChar; key='i'; },
|
sl@0
|
97 |
HOTKEY { command=EEikCmdEditPictureFormat; key='j'; },
|
sl@0
|
98 |
HOTKEY { command=EWordCmdObjectPreferences; key='k'; },
|
sl@0
|
99 |
HOTKEY { command=EWordCmdOutline; key='l'; },
|
sl@0
|
100 |
HOTKEY { command=EEikCmdZoomOut; key='m';},
|
sl@0
|
101 |
HOTKEY { command=EEikCmdParaSpacing; key='n'; },
|
sl@0
|
102 |
HOTKEY { command=EWordCmdInsertObject; key='o';},
|
sl@0
|
103 |
HOTKEY { command=EEikCmdPrintSetup; key='p'; },
|
sl@0
|
104 |
HOTKEY { command=EWordCmdRevertToStylePara; key='r'; },
|
sl@0
|
105 |
HOTKEY { command=EEikCmdFileSaveAs; key='s'; },
|
sl@0
|
106 |
HOTKEY { command=EWordCmdToolband; key='t';},
|
sl@0
|
107 |
HOTKEY { command=EWordCmdPageSetup; key='u'; },
|
sl@0
|
108 |
HOTKEY { command=EEikCmdPrintPreview; key='v'; },
|
sl@0
|
109 |
HOTKEY { command=EWordCmdCount; key='w'; },
|
sl@0
|
110 |
HOTKEY { command=EEikCmdParaTabs; key='y';},
|
sl@0
|
111 |
HOTKEY { command=EWordCmdReEditObject; key='z'; }
|
sl@0
|
112 |
};
|
sl@0
|
113 |
}
|
sl@0
|
114 |
|
sl@0
|
115 |
RESOURCE MENU_BAR r_word_menubar
|
sl@0
|
116 |
{
|
sl@0
|
117 |
titles=
|
sl@0
|
118 |
{
|
sl@0
|
119 |
MENU_TITLE { menu_pane=r_word_file_menu; txt="File"; },
|
sl@0
|
120 |
MENU_TITLE { menu_pane=r_word_edit_menu; txt="Edit"; },
|
sl@0
|
121 |
MENU_TITLE { menu_pane=r_word_view_menu; txt="View"; },
|
sl@0
|
122 |
MENU_TITLE { menu_pane=r_word_insert_menu; txt="Insert"; },
|
sl@0
|
123 |
MENU_TITLE { menu_pane=r_word_text_menu; txt="Text"; },
|
sl@0
|
124 |
MENU_TITLE { menu_pane=r_word_paragraph_menu; txt="Paragraph"; },
|
sl@0
|
125 |
MENU_TITLE { menu_pane=r_word_tools_menu; txt="Tools"; },
|
sl@0
|
126 |
MENU_TITLE { menu_pane=r_word_test_menu; txt="Test"; }
|
sl@0
|
127 |
};
|
sl@0
|
128 |
}
|
sl@0
|
129 |
|
sl@0
|
130 |
RESOURCE TOOLBAR r_word_toolbar
|
sl@0
|
131 |
{
|
sl@0
|
132 |
breadth=KEikStdToolBarWidth;
|
sl@0
|
133 |
flags=EEikToolBarDelayActivation;
|
sl@0
|
134 |
controls=
|
sl@0
|
135 |
{
|
sl@0
|
136 |
TBAR_CTRL
|
sl@0
|
137 |
{
|
sl@0
|
138 |
type=EEikCtFileNameLabel;
|
sl@0
|
139 |
id=EWordCmdFileName;
|
sl@0
|
140 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
141 |
length=KEikStdFileNameLabelHeight;
|
sl@0
|
142 |
},
|
sl@0
|
143 |
TBAR_BUTTON { id=EWordCmdInsertSketch; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; txt="Insert\nSketch"; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; bmpid=EMbmEikonSketch; bmpmask=EMbmEikonSketchm; },
|
sl@0
|
144 |
TBAR_BUTTON { id=EWordCmdInsertSheet; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; txt="Insert\nGraph"; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; bmpid=EMbmEikonChart; bmpmask=EMbmEikonChartm; },
|
sl@0
|
145 |
TBAR_BUTTON { id=EEikCmdPrintPreview; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdToolBarButtonHeight; layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; txt="Print"; bmpid=EMbmEikonPrint; bmpmask=EMbmEikonPrintm; },
|
sl@0
|
146 |
TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable; length=0; control=SPACER; },
|
sl@0
|
147 |
TBAR_CTRL
|
sl@0
|
148 |
{
|
sl@0
|
149 |
type=EEikCtClock;
|
sl@0
|
150 |
id=0;
|
sl@0
|
151 |
control=CLOCK { digitalresourceid=R_EIK_DIGITAL_CLOCK; analogresourceid=R_EIK_ANALOG_CLOCK; };
|
sl@0
|
152 |
},
|
sl@0
|
153 |
TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KEikStdGapBelowClock; control=SPACER { color=EEikSpacerWhite; }; }
|
sl@0
|
154 |
};
|
sl@0
|
155 |
}
|
sl@0
|
156 |
|
sl@0
|
157 |
RESOURCE TOOLBAND r_word_toolband
|
sl@0
|
158 |
{
|
sl@0
|
159 |
breadth=KEikStdToolBandHeight;
|
sl@0
|
160 |
flags=EEikToolBarHorizontal|EEikToolBarDelayActivation;
|
sl@0
|
161 |
controls=
|
sl@0
|
162 |
{
|
sl@0
|
163 |
TBAR_BUTTON
|
sl@0
|
164 |
{
|
sl@0
|
165 |
id=EWordButtonStyle;
|
sl@0
|
166 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
167 |
length=EEikStdLongTextPopoutToolBandButtonWidth;
|
sl@0
|
168 |
behavior=EEikButReportOnPointerDown;
|
sl@0
|
169 |
layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
|
sl@0
|
170 |
txt="Normal";
|
sl@0
|
171 |
bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
|
sl@0
|
172 |
},
|
sl@0
|
173 |
TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
|
sl@0
|
174 |
TBAR_BUTTON
|
sl@0
|
175 |
{
|
sl@0
|
176 |
id=EWordButtonFont;
|
sl@0
|
177 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
178 |
length=EEikStdLongTextPopoutToolBandButtonWidth;
|
sl@0
|
179 |
behavior=EEikButReportOnPointerDown;
|
sl@0
|
180 |
layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
|
sl@0
|
181 |
txt=" Arial ";
|
sl@0
|
182 |
bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
|
sl@0
|
183 |
},
|
sl@0
|
184 |
TBAR_BUTTON
|
sl@0
|
185 |
{
|
sl@0
|
186 |
id=EWordButtonFontSize;
|
sl@0
|
187 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
188 |
length=EEikStdShortTextPopoutToolBandButtonWidth;
|
sl@0
|
189 |
behavior=EEikButReportOnPointerDown;
|
sl@0
|
190 |
layout=EEikCmdButTextLeftPictureRight|EEikCmdButExcessToText;
|
sl@0
|
191 |
txt=" 10pt";
|
sl@0
|
192 |
bmpid=EMbmEikonDarrow; bmpmask=EMbmEikonDarrow;
|
sl@0
|
193 |
},
|
sl@0
|
194 |
TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
|
sl@0
|
195 |
TBAR_BUTTON
|
sl@0
|
196 |
{
|
sl@0
|
197 |
id=EEikCmdFontBold;
|
sl@0
|
198 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
199 |
length=EEikStdTwoStateIconicToolBandButtonWidth;
|
sl@0
|
200 |
behavior=EEikButLatches;
|
sl@0
|
201 |
bmpid=EMbmEikonBold; bmpmask=EMbmEikonBoldm;
|
sl@0
|
202 |
},
|
sl@0
|
203 |
TBAR_BUTTON
|
sl@0
|
204 |
{
|
sl@0
|
205 |
id=EEikCmdFontItalic;
|
sl@0
|
206 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
207 |
length=EEikStdTwoStateIconicToolBandButtonWidth;
|
sl@0
|
208 |
behavior=EEikButLatches;
|
sl@0
|
209 |
bmpid=EMbmEikonItalic; bmpmask=EMbmEikonItalicm;
|
sl@0
|
210 |
},
|
sl@0
|
211 |
TBAR_BUTTON
|
sl@0
|
212 |
{
|
sl@0
|
213 |
id=EEikCmdFontUnderline;
|
sl@0
|
214 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
215 |
length=EEikStdTwoStateIconicToolBandButtonWidth;
|
sl@0
|
216 |
behavior=EEikButLatches;
|
sl@0
|
217 |
bmpid=EMbmEikonUline; bmpmask=EMbmEikonUline;
|
sl@0
|
218 |
},
|
sl@0
|
219 |
TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength; length=KWStdToolbandSpacer; control=SPACER { color=EEikSpacerDitheredGray; }; },
|
sl@0
|
220 |
TBAR_CTRL
|
sl@0
|
221 |
{
|
sl@0
|
222 |
type=EEikCtBitmapButton;
|
sl@0
|
223 |
id=EWordButtonAlign;
|
sl@0
|
224 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
225 |
length=EEikStdIconicPopoutToolBandButtonWidth;
|
sl@0
|
226 |
control=BMPBUT
|
sl@0
|
227 |
{
|
sl@0
|
228 |
behavior=EEikButReportOnPointerDown;
|
sl@0
|
229 |
layout=EEikCmdButFirstLeftSecondRight|EEikCmdButExcessToFirst;
|
sl@0
|
230 |
bmp1id=EMbmEikonLefta; bmp1mask=EMbmEikonLefta;
|
sl@0
|
231 |
bmp2id=EMbmEikonDarrow; bmp2mask=EMbmEikonDarrow;
|
sl@0
|
232 |
};
|
sl@0
|
233 |
},
|
sl@0
|
234 |
TBAR_CTRL
|
sl@0
|
235 |
{
|
sl@0
|
236 |
type=EEikCtBitmapButton;
|
sl@0
|
237 |
id=EWordButtonBorders;
|
sl@0
|
238 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
239 |
length=EEikStdIconicPopoutToolBandButtonWidth;
|
sl@0
|
240 |
control=BMPBUT
|
sl@0
|
241 |
{
|
sl@0
|
242 |
behavior=EEikButReportOnPointerDown;
|
sl@0
|
243 |
layout=EEikCmdButFirstLeftSecondRight|EEikCmdButExcessToFirst;
|
sl@0
|
244 |
bmp1file="*"; bmp1id=EMbmWordBordern; bmp1mask=EMbmWordBordernm;
|
sl@0
|
245 |
bmp2id=EMbmEikonDarrow; bmp2mask=EMbmEikonDarrow;
|
sl@0
|
246 |
};
|
sl@0
|
247 |
},
|
sl@0
|
248 |
TBAR_BUTTON
|
sl@0
|
249 |
{
|
sl@0
|
250 |
id=EWordButtonBullets;
|
sl@0
|
251 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
252 |
length=EEikStdTwoStateIconicToolBandButtonWidth;
|
sl@0
|
253 |
behavior=EEikButLatches;
|
sl@0
|
254 |
bmpid=EMbmEikonBullets; bmpmask=EMbmEikonBullets;
|
sl@0
|
255 |
},
|
sl@0
|
256 |
TBAR_CTRL { type=EEikCtSpacer; id=EWordCidToolbarSpacer; flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable; length=0; control=SPACER { color=EEikSpacerDitheredGray; }; },
|
sl@0
|
257 |
TBAR_CTRL
|
sl@0
|
258 |
{
|
sl@0
|
259 |
type=EEikCtFileNameLabel;
|
sl@0
|
260 |
id=EWordCmdFileName;
|
sl@0
|
261 |
flags=EEikToolBarCtrlHasSetMinLength;
|
sl@0
|
262 |
length=KEikStdFileNameLabelWidth;
|
sl@0
|
263 |
}
|
sl@0
|
264 |
};
|
sl@0
|
265 |
}
|
sl@0
|
266 |
|
sl@0
|
267 |
|
sl@0
|
268 |
RESOURCE MENU_PANE r_word_file_menu
|
sl@0
|
269 |
{
|
sl@0
|
270 |
items=
|
sl@0
|
271 |
{
|
sl@0
|
272 |
MENU_ITEM
|
sl@0
|
273 |
{
|
sl@0
|
274 |
command=EEikCmdFileNew;
|
sl@0
|
275 |
txt="Create new file"<KEllipsis>;
|
sl@0
|
276 |
},
|
sl@0
|
277 |
MENU_ITEM
|
sl@0
|
278 |
{
|
sl@0
|
279 |
command=EEikCmdFileOpen;
|
sl@0
|
280 |
txt="Open file"<KEllipsis>;
|
sl@0
|
281 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
282 |
},
|
sl@0
|
283 |
MENU_ITEM
|
sl@0
|
284 |
{
|
sl@0
|
285 |
cascade=r_word_printextra_menu;
|
sl@0
|
286 |
txt="Printing";
|
sl@0
|
287 |
},
|
sl@0
|
288 |
MENU_ITEM
|
sl@0
|
289 |
{
|
sl@0
|
290 |
cascade=r_word_fileoptions_menu;
|
sl@0
|
291 |
txt="More";
|
sl@0
|
292 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
293 |
},
|
sl@0
|
294 |
MENU_ITEM
|
sl@0
|
295 |
{
|
sl@0
|
296 |
command=EEikCmdExit;
|
sl@0
|
297 |
txt="Close";
|
sl@0
|
298 |
}
|
sl@0
|
299 |
};
|
sl@0
|
300 |
}
|
sl@0
|
301 |
|
sl@0
|
302 |
RESOURCE MENU_PANE r_word_fileoptions_menu
|
sl@0
|
303 |
{
|
sl@0
|
304 |
items=
|
sl@0
|
305 |
{
|
sl@0
|
306 |
MENU_ITEM
|
sl@0
|
307 |
{
|
sl@0
|
308 |
command=EEikCmdFileSaveAs;
|
sl@0
|
309 |
txt="Save as"<KEllipsis>;
|
sl@0
|
310 |
},
|
sl@0
|
311 |
MENU_ITEM
|
sl@0
|
312 |
{
|
sl@0
|
313 |
command=EEikCmdFileSave;
|
sl@0
|
314 |
txt="Save";
|
sl@0
|
315 |
},
|
sl@0
|
316 |
MENU_ITEM
|
sl@0
|
317 |
{
|
sl@0
|
318 |
command=EEikCmdFileRevert;
|
sl@0
|
319 |
txt="Revert to saved";
|
sl@0
|
320 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
321 |
},
|
sl@0
|
322 |
MENU_ITEM
|
sl@0
|
323 |
{
|
sl@0
|
324 |
command=EWordCmdFileSaveAsTemplate;
|
sl@0
|
325 |
txt="Save as template"<KEllipsis>;
|
sl@0
|
326 |
},
|
sl@0
|
327 |
MENU_ITEM
|
sl@0
|
328 |
{
|
sl@0
|
329 |
command=EWordCmdFileDeleteTemplate;
|
sl@0
|
330 |
txt="Delete template"<KEllipsis>;
|
sl@0
|
331 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
332 |
},
|
sl@0
|
333 |
MENU_ITEM
|
sl@0
|
334 |
{
|
sl@0
|
335 |
command=EEikCmdFileImport;
|
sl@0
|
336 |
txt="Import text file"<KEllipsis>;
|
sl@0
|
337 |
},
|
sl@0
|
338 |
MENU_ITEM
|
sl@0
|
339 |
{
|
sl@0
|
340 |
command=EEikCmdFileExport;
|
sl@0
|
341 |
txt="Export as text file"<KEllipsis>;
|
sl@0
|
342 |
},
|
sl@0
|
343 |
MENU_ITEM
|
sl@0
|
344 |
{
|
sl@0
|
345 |
command=EWordCmdHtmlImport;
|
sl@0
|
346 |
txt="Import HTML file"<KEllipsis>;
|
sl@0
|
347 |
}
|
sl@0
|
348 |
};
|
sl@0
|
349 |
}
|
sl@0
|
350 |
|
sl@0
|
351 |
RESOURCE MENU_PANE r_word_printextra_menu
|
sl@0
|
352 |
{
|
sl@0
|
353 |
items=
|
sl@0
|
354 |
{
|
sl@0
|
355 |
MENU_ITEM
|
sl@0
|
356 |
{
|
sl@0
|
357 |
command=EWordCmdPageSetup;
|
sl@0
|
358 |
txt="Page setup"<KEllipsis>;
|
sl@0
|
359 |
},
|
sl@0
|
360 |
MENU_ITEM
|
sl@0
|
361 |
{
|
sl@0
|
362 |
command=EEikCmdPrintSetup;
|
sl@0
|
363 |
txt="Print setup"<KEllipsis>;
|
sl@0
|
364 |
},
|
sl@0
|
365 |
MENU_ITEM
|
sl@0
|
366 |
{
|
sl@0
|
367 |
command=EEikCmdPrintPreview;
|
sl@0
|
368 |
txt="Print preview"<KEllipsis>;
|
sl@0
|
369 |
},
|
sl@0
|
370 |
MENU_ITEM
|
sl@0
|
371 |
{
|
sl@0
|
372 |
command=EEikCmdPrintPrint;
|
sl@0
|
373 |
txt="Print"<KEllipsis>;
|
sl@0
|
374 |
}
|
sl@0
|
375 |
};
|
sl@0
|
376 |
}
|
sl@0
|
377 |
|
sl@0
|
378 |
RESOURCE MENU_PANE r_word_edit_menu
|
sl@0
|
379 |
{
|
sl@0
|
380 |
items=
|
sl@0
|
381 |
{
|
sl@0
|
382 |
MENU_ITEM
|
sl@0
|
383 |
{
|
sl@0
|
384 |
command=EEikCmdEditUndo;
|
sl@0
|
385 |
txt="Undo";
|
sl@0
|
386 |
},
|
sl@0
|
387 |
MENU_ITEM
|
sl@0
|
388 |
{
|
sl@0
|
389 |
command=EEikCmdEditRedo;
|
sl@0
|
390 |
txt="Redo";
|
sl@0
|
391 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
392 |
},
|
sl@0
|
393 |
MENU_ITEM
|
sl@0
|
394 |
{
|
sl@0
|
395 |
command=EEikCmdEditCut;
|
sl@0
|
396 |
txt="Cut";
|
sl@0
|
397 |
},
|
sl@0
|
398 |
MENU_ITEM
|
sl@0
|
399 |
{
|
sl@0
|
400 |
command=EEikCmdEditCopy;
|
sl@0
|
401 |
txt="Copy";
|
sl@0
|
402 |
},
|
sl@0
|
403 |
MENU_ITEM
|
sl@0
|
404 |
{
|
sl@0
|
405 |
command=EEikCmdEditPaste;
|
sl@0
|
406 |
txt="Paste";
|
sl@0
|
407 |
},
|
sl@0
|
408 |
MENU_ITEM
|
sl@0
|
409 |
{
|
sl@0
|
410 |
command=EEikCmdEditSelectAll;
|
sl@0
|
411 |
txt="Select all";
|
sl@0
|
412 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
413 |
},
|
sl@0
|
414 |
MENU_ITEM
|
sl@0
|
415 |
{
|
sl@0
|
416 |
cascade=r_word_editfind_menu;
|
sl@0
|
417 |
txt="Find";
|
sl@0
|
418 |
},
|
sl@0
|
419 |
MENU_ITEM
|
sl@0
|
420 |
{
|
sl@0
|
421 |
cascade=r_word_editoptions_menu;
|
sl@0
|
422 |
txt="Object";
|
sl@0
|
423 |
}
|
sl@0
|
424 |
};
|
sl@0
|
425 |
}
|
sl@0
|
426 |
|
sl@0
|
427 |
RESOURCE MENU_PANE r_word_editfind_menu
|
sl@0
|
428 |
{
|
sl@0
|
429 |
items=
|
sl@0
|
430 |
{
|
sl@0
|
431 |
MENU_ITEM
|
sl@0
|
432 |
{
|
sl@0
|
433 |
command=EEikCmdSearchFind;
|
sl@0
|
434 |
txt="Find"<KEllipsis>;
|
sl@0
|
435 |
},
|
sl@0
|
436 |
MENU_ITEM
|
sl@0
|
437 |
{
|
sl@0
|
438 |
command=EEikCmdSearchFindAgain;
|
sl@0
|
439 |
txt="Find next";
|
sl@0
|
440 |
},
|
sl@0
|
441 |
MENU_ITEM
|
sl@0
|
442 |
{
|
sl@0
|
443 |
command=EEikCmdSearchReplace;
|
sl@0
|
444 |
txt="Replace"<KEllipsis>;
|
sl@0
|
445 |
},
|
sl@0
|
446 |
MENU_ITEM
|
sl@0
|
447 |
{
|
sl@0
|
448 |
command=EWordCmdGoTo;
|
sl@0
|
449 |
txt="Go to"<KEllipsis>;
|
sl@0
|
450 |
}
|
sl@0
|
451 |
};
|
sl@0
|
452 |
}
|
sl@0
|
453 |
|
sl@0
|
454 |
RESOURCE MENU_PANE r_word_editoptions_menu
|
sl@0
|
455 |
{
|
sl@0
|
456 |
items=
|
sl@0
|
457 |
{
|
sl@0
|
458 |
MENU_ITEM
|
sl@0
|
459 |
{
|
sl@0
|
460 |
command=EWordCmdReEditObject;
|
sl@0
|
461 |
txt="Edit object"<KEllipsis>;
|
sl@0
|
462 |
},
|
sl@0
|
463 |
MENU_ITEM
|
sl@0
|
464 |
{
|
sl@0
|
465 |
command=EEikCmdEditPictureFormat;
|
sl@0
|
466 |
txt="Format object"<KEllipsis>;
|
sl@0
|
467 |
}
|
sl@0
|
468 |
};
|
sl@0
|
469 |
}
|
sl@0
|
470 |
|
sl@0
|
471 |
RESOURCE MENU_PANE r_word_insert_menu
|
sl@0
|
472 |
{
|
sl@0
|
473 |
items=
|
sl@0
|
474 |
{
|
sl@0
|
475 |
MENU_ITEM
|
sl@0
|
476 |
{
|
sl@0
|
477 |
command=EWordCmdInsertSketch;
|
sl@0
|
478 |
txt="Sketch";
|
sl@0
|
479 |
},
|
sl@0
|
480 |
MENU_ITEM
|
sl@0
|
481 |
{
|
sl@0
|
482 |
command=EWordCmdInsertSheet;
|
sl@0
|
483 |
txt="Graph";
|
sl@0
|
484 |
},
|
sl@0
|
485 |
MENU_ITEM
|
sl@0
|
486 |
{
|
sl@0
|
487 |
command=EWordCmdInsertObject;
|
sl@0
|
488 |
txt="Other object"<KEllipsis>;
|
sl@0
|
489 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
490 |
},
|
sl@0
|
491 |
MENU_ITEM
|
sl@0
|
492 |
{
|
sl@0
|
493 |
command=EWordCmdInsertPageBreak;
|
sl@0
|
494 |
txt="Page break";
|
sl@0
|
495 |
extratxt="Ctrl+Enter";
|
sl@0
|
496 |
},
|
sl@0
|
497 |
MENU_ITEM
|
sl@0
|
498 |
{
|
sl@0
|
499 |
command=EWordCmdInsertLineBreak;
|
sl@0
|
500 |
txt="Line break";
|
sl@0
|
501 |
extratxt="Shift+Enter";
|
sl@0
|
502 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
503 |
},
|
sl@0
|
504 |
MENU_ITEM
|
sl@0
|
505 |
{
|
sl@0
|
506 |
command=EEikCmdInsertSymbol;
|
sl@0
|
507 |
txt="Special character"<KEllipsis>;
|
sl@0
|
508 |
}
|
sl@0
|
509 |
};
|
sl@0
|
510 |
}
|
sl@0
|
511 |
|
sl@0
|
512 |
RESOURCE MENU_PANE r_word_paragraph_menu
|
sl@0
|
513 |
{
|
sl@0
|
514 |
items=
|
sl@0
|
515 |
{
|
sl@0
|
516 |
MENU_ITEM
|
sl@0
|
517 |
{
|
sl@0
|
518 |
command=EEikCmdParaIndent;
|
sl@0
|
519 |
txt="Indents"<KEllipsis>;
|
sl@0
|
520 |
},
|
sl@0
|
521 |
MENU_ITEM
|
sl@0
|
522 |
{
|
sl@0
|
523 |
command=EEikCmdParaTabs;
|
sl@0
|
524 |
txt="Tab positions"<KEllipsis>;
|
sl@0
|
525 |
},
|
sl@0
|
526 |
MENU_ITEM
|
sl@0
|
527 |
{
|
sl@0
|
528 |
command=EEikCmdParaSpacing;
|
sl@0
|
529 |
txt="Line spacing"<KEllipsis>;
|
sl@0
|
530 |
},
|
sl@0
|
531 |
MENU_ITEM
|
sl@0
|
532 |
{
|
sl@0
|
533 |
command=EEikCmdParaBorder;
|
sl@0
|
534 |
txt="Borders"<KEllipsis>;
|
sl@0
|
535 |
},
|
sl@0
|
536 |
MENU_ITEM
|
sl@0
|
537 |
{
|
sl@0
|
538 |
cascade=r_word_para_alignment_menu;
|
sl@0
|
539 |
txt="Alignment";
|
sl@0
|
540 |
},
|
sl@0
|
541 |
MENU_ITEM
|
sl@0
|
542 |
{
|
sl@0
|
543 |
cascade=r_word_para_bullets_menu;
|
sl@0
|
544 |
txt="Bullets";
|
sl@0
|
545 |
},
|
sl@0
|
546 |
MENU_ITEM
|
sl@0
|
547 |
{
|
sl@0
|
548 |
command=EWordCmdRevertToStylePara;
|
sl@0
|
549 |
txt="Remove formatting";
|
sl@0
|
550 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
551 |
},
|
sl@0
|
552 |
MENU_ITEM
|
sl@0
|
553 |
{
|
sl@0
|
554 |
command=EWordCmdStyleGallery;
|
sl@0
|
555 |
txt="Style gallery"<KEllipsis>;
|
sl@0
|
556 |
}
|
sl@0
|
557 |
};
|
sl@0
|
558 |
}
|
sl@0
|
559 |
|
sl@0
|
560 |
RESOURCE MENU_PANE r_word_para_bullets_menu
|
sl@0
|
561 |
{
|
sl@0
|
562 |
items=
|
sl@0
|
563 |
{
|
sl@0
|
564 |
MENU_ITEM
|
sl@0
|
565 |
{
|
sl@0
|
566 |
command=EWordCmdInsertBullet;
|
sl@0
|
567 |
txt="Insert";
|
sl@0
|
568 |
},
|
sl@0
|
569 |
MENU_ITEM
|
sl@0
|
570 |
{
|
sl@0
|
571 |
command=EWordCmdFormatBullet;
|
sl@0
|
572 |
txt="Format"<KEllipsis>;
|
sl@0
|
573 |
}
|
sl@0
|
574 |
};
|
sl@0
|
575 |
}
|
sl@0
|
576 |
|
sl@0
|
577 |
RESOURCE MENU_PANE r_word_para_alignment_menu
|
sl@0
|
578 |
{
|
sl@0
|
579 |
items=
|
sl@0
|
580 |
{
|
sl@0
|
581 |
MENU_ITEM
|
sl@0
|
582 |
{
|
sl@0
|
583 |
command=EWordCmdAlignLeft;
|
sl@0
|
584 |
txt="Left";
|
sl@0
|
585 |
flags=EEikMenuItemRadioStart;
|
sl@0
|
586 |
},
|
sl@0
|
587 |
MENU_ITEM
|
sl@0
|
588 |
{
|
sl@0
|
589 |
command=EWordCmdAlignRight;
|
sl@0
|
590 |
txt="Right";
|
sl@0
|
591 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
592 |
},
|
sl@0
|
593 |
MENU_ITEM
|
sl@0
|
594 |
{
|
sl@0
|
595 |
command=EWordCmdAlignCenter;
|
sl@0
|
596 |
txt="Centred";
|
sl@0
|
597 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
598 |
},
|
sl@0
|
599 |
MENU_ITEM
|
sl@0
|
600 |
{
|
sl@0
|
601 |
command=EWordCmdAlignJustify;
|
sl@0
|
602 |
txt="Justified";
|
sl@0
|
603 |
flags=EEikMenuItemRadioEnd;
|
sl@0
|
604 |
}
|
sl@0
|
605 |
};
|
sl@0
|
606 |
}
|
sl@0
|
607 |
|
sl@0
|
608 |
RESOURCE MENU_PANE r_word_text_menu
|
sl@0
|
609 |
{
|
sl@0
|
610 |
items=
|
sl@0
|
611 |
{
|
sl@0
|
612 |
MENU_ITEM
|
sl@0
|
613 |
{
|
sl@0
|
614 |
command=EEikCmdFontBold;
|
sl@0
|
615 |
txt="Bold";
|
sl@0
|
616 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
617 |
},
|
sl@0
|
618 |
MENU_ITEM
|
sl@0
|
619 |
{
|
sl@0
|
620 |
command=EEikCmdFontItalic;
|
sl@0
|
621 |
txt="Italic";
|
sl@0
|
622 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
623 |
},
|
sl@0
|
624 |
MENU_ITEM
|
sl@0
|
625 |
{
|
sl@0
|
626 |
command=EEikCmdFontUnderline;
|
sl@0
|
627 |
txt="Underline";
|
sl@0
|
628 |
flags=EEikMenuItemSeparatorAfter|EEikMenuItemCheckBox;
|
sl@0
|
629 |
},
|
sl@0
|
630 |
MENU_ITEM
|
sl@0
|
631 |
{
|
sl@0
|
632 |
command=EWordCmdRevertToStyleChar;
|
sl@0
|
633 |
txt="Remove formatting";
|
sl@0
|
634 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
635 |
},
|
sl@0
|
636 |
MENU_ITEM
|
sl@0
|
637 |
{
|
sl@0
|
638 |
command=EEikCmdFontChange;
|
sl@0
|
639 |
txt="Font"<KEllipsis>;
|
sl@0
|
640 |
}
|
sl@0
|
641 |
};
|
sl@0
|
642 |
}
|
sl@0
|
643 |
|
sl@0
|
644 |
RESOURCE MENU_PANE r_word_tools_menu
|
sl@0
|
645 |
{
|
sl@0
|
646 |
items=
|
sl@0
|
647 |
{
|
sl@0
|
648 |
MENU_ITEM
|
sl@0
|
649 |
{
|
sl@0
|
650 |
command=EWordCmdViewPreferences;
|
sl@0
|
651 |
txt="View preferences"<KEllipsis>;
|
sl@0
|
652 |
},
|
sl@0
|
653 |
MENU_ITEM
|
sl@0
|
654 |
{
|
sl@0
|
655 |
command=EWordCmdObjectPreferences;
|
sl@0
|
656 |
txt="Object preferences"<KEllipsis>;
|
sl@0
|
657 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
658 |
},
|
sl@0
|
659 |
MENU_ITEM
|
sl@0
|
660 |
{
|
sl@0
|
661 |
command=EWordCmdCount;
|
sl@0
|
662 |
txt="Word count";
|
sl@0
|
663 |
},
|
sl@0
|
664 |
MENU_ITEM
|
sl@0
|
665 |
{
|
sl@0
|
666 |
command=EEikCmdPrintPaginate;
|
sl@0
|
667 |
txt="Paginate";
|
sl@0
|
668 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
669 |
},
|
sl@0
|
670 |
MENU_ITEM
|
sl@0
|
671 |
{
|
sl@0
|
672 |
cascade=r_word_tools_infrared;
|
sl@0
|
673 |
txt="Infrared";
|
sl@0
|
674 |
}
|
sl@0
|
675 |
};
|
sl@0
|
676 |
}
|
sl@0
|
677 |
|
sl@0
|
678 |
RESOURCE MENU_PANE r_word_test_menu
|
sl@0
|
679 |
{
|
sl@0
|
680 |
items=
|
sl@0
|
681 |
{
|
sl@0
|
682 |
MENU_ITEM
|
sl@0
|
683 |
{
|
sl@0
|
684 |
cascade=r_word_keyboard_menu;
|
sl@0
|
685 |
txt="Keyboard";
|
sl@0
|
686 |
},
|
sl@0
|
687 |
MENU_ITEM
|
sl@0
|
688 |
{
|
sl@0
|
689 |
command=EWordCmdHighlight;
|
sl@0
|
690 |
txt="Highlight";
|
sl@0
|
691 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
692 |
},
|
sl@0
|
693 |
MENU_ITEM
|
sl@0
|
694 |
{
|
sl@0
|
695 |
command=EWordCmdShadow;
|
sl@0
|
696 |
txt="Shadow";
|
sl@0
|
697 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
698 |
},
|
sl@0
|
699 |
MENU_ITEM
|
sl@0
|
700 |
{
|
sl@0
|
701 |
command=EWordCmdCustomHighlight;
|
sl@0
|
702 |
txt="Custom highlight";
|
sl@0
|
703 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
704 |
},
|
sl@0
|
705 |
MENU_ITEM
|
sl@0
|
706 |
{
|
sl@0
|
707 |
cascade=r_word_picture_alignment_menu;
|
sl@0
|
708 |
txt="Picture alignment";
|
sl@0
|
709 |
},
|
sl@0
|
710 |
MENU_ITEM
|
sl@0
|
711 |
{
|
sl@0
|
712 |
cascade=r_word_cursor_style_menu;
|
sl@0
|
713 |
txt="Cursor style";
|
sl@0
|
714 |
},
|
sl@0
|
715 |
MENU_ITEM
|
sl@0
|
716 |
{
|
sl@0
|
717 |
command=EWordCmdRuledPaper;
|
sl@0
|
718 |
txt="Ruled paper";
|
sl@0
|
719 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
720 |
},
|
sl@0
|
721 |
MENU_ITEM
|
sl@0
|
722 |
{
|
sl@0
|
723 |
command=EWordCmdBackgroundBitmap;
|
sl@0
|
724 |
txt="Background bitmap";
|
sl@0
|
725 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
726 |
},
|
sl@0
|
727 |
MENU_ITEM
|
sl@0
|
728 |
{
|
sl@0
|
729 |
command=EWordCmdUpperCase;
|
sl@0
|
730 |
txt="Uppercase";
|
sl@0
|
731 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
732 |
},
|
sl@0
|
733 |
MENU_ITEM
|
sl@0
|
734 |
{
|
sl@0
|
735 |
command=EWordCmdBenchmark;
|
sl@0
|
736 |
txt="Benchmark reformatting";
|
sl@0
|
737 |
},
|
sl@0
|
738 |
MENU_ITEM
|
sl@0
|
739 |
{
|
sl@0
|
740 |
command=EWordCmdTruncateWithEllipsis;
|
sl@0
|
741 |
txt="Truncate with ellipsis";
|
sl@0
|
742 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
743 |
},
|
sl@0
|
744 |
MENU_ITEM
|
sl@0
|
745 |
{
|
sl@0
|
746 |
command=EWordCmdWrapOn;
|
sl@0
|
747 |
txt="Wrap on";
|
sl@0
|
748 |
},
|
sl@0
|
749 |
MENU_ITEM
|
sl@0
|
750 |
{
|
sl@0
|
751 |
command=EWordCmdWrapOff;
|
sl@0
|
752 |
txt="Wrap off";
|
sl@0
|
753 |
},
|
sl@0
|
754 |
MENU_ITEM
|
sl@0
|
755 |
{
|
sl@0
|
756 |
command=EWordCmdInsertPicture;
|
sl@0
|
757 |
txt="Insert Picture";
|
sl@0
|
758 |
},
|
sl@0
|
759 |
MENU_ITEM
|
sl@0
|
760 |
{
|
sl@0
|
761 |
cascade=r_word_positioning_hint_test_menu;
|
sl@0
|
762 |
txt="Set cursor positioning hint";
|
sl@0
|
763 |
},
|
sl@0
|
764 |
MENU_ITEM
|
sl@0
|
765 |
{
|
sl@0
|
766 |
cascade=r_word_undo_test_menu;
|
sl@0
|
767 |
txt="Undo tests";
|
sl@0
|
768 |
},
|
sl@0
|
769 |
MENU_ITEM
|
sl@0
|
770 |
{
|
sl@0
|
771 |
cascade=r_word_selection_highlight_menu;
|
sl@0
|
772 |
txt="Selection Highlight";
|
sl@0
|
773 |
}
|
sl@0
|
774 |
};
|
sl@0
|
775 |
}
|
sl@0
|
776 |
|
sl@0
|
777 |
RESOURCE MENU_PANE r_word_positioning_hint_test_menu
|
sl@0
|
778 |
{
|
sl@0
|
779 |
items=
|
sl@0
|
780 |
{
|
sl@0
|
781 |
MENU_ITEM
|
sl@0
|
782 |
{
|
sl@0
|
783 |
command=EWordCmdPositioningHintNeutral;
|
sl@0
|
784 |
txt="Neutral";
|
sl@0
|
785 |
flags=EEikMenuItemRadioStart;
|
sl@0
|
786 |
},
|
sl@0
|
787 |
MENU_ITEM
|
sl@0
|
788 |
{
|
sl@0
|
789 |
command=EWordCmdPositioningHintInsertLeftToRight;
|
sl@0
|
790 |
txt="Inserting strong left to right";
|
sl@0
|
791 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
792 |
},
|
sl@0
|
793 |
MENU_ITEM
|
sl@0
|
794 |
{
|
sl@0
|
795 |
command=EWordCmdPositioningHintInsertRightToLeft;
|
sl@0
|
796 |
txt="Inserting strong right to left";
|
sl@0
|
797 |
flags=EEikMenuItemRadioEnd;
|
sl@0
|
798 |
}
|
sl@0
|
799 |
};
|
sl@0
|
800 |
}
|
sl@0
|
801 |
|
sl@0
|
802 |
RESOURCE MENU_PANE r_word_undo_test_menu
|
sl@0
|
803 |
{
|
sl@0
|
804 |
items=
|
sl@0
|
805 |
{
|
sl@0
|
806 |
MENU_ITEM
|
sl@0
|
807 |
{
|
sl@0
|
808 |
command=EWordCmdUndoTestNotUndoable;
|
sl@0
|
809 |
txt="Not Undoable Command";
|
sl@0
|
810 |
}
|
sl@0
|
811 |
};
|
sl@0
|
812 |
}
|
sl@0
|
813 |
|
sl@0
|
814 |
RESOURCE MENU_PANE r_word_picture_alignment_menu
|
sl@0
|
815 |
{
|
sl@0
|
816 |
items=
|
sl@0
|
817 |
{
|
sl@0
|
818 |
MENU_ITEM
|
sl@0
|
819 |
{
|
sl@0
|
820 |
command=EWordCmdPictureAlignTop;
|
sl@0
|
821 |
txt="Top";
|
sl@0
|
822 |
flags=EEikMenuItemRadioStart;
|
sl@0
|
823 |
},
|
sl@0
|
824 |
MENU_ITEM
|
sl@0
|
825 |
{
|
sl@0
|
826 |
command=EWordCmdPictureAlignBottom;
|
sl@0
|
827 |
txt="Bottom";
|
sl@0
|
828 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
829 |
},
|
sl@0
|
830 |
MENU_ITEM
|
sl@0
|
831 |
{
|
sl@0
|
832 |
command=EWordCmdPictureAlignCenter;
|
sl@0
|
833 |
txt="Centred";
|
sl@0
|
834 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
835 |
},
|
sl@0
|
836 |
MENU_ITEM
|
sl@0
|
837 |
{
|
sl@0
|
838 |
command=EWordCmdPictureAlignBaseline;
|
sl@0
|
839 |
txt="Baseline";
|
sl@0
|
840 |
flags=EEikMenuItemRadioEnd;
|
sl@0
|
841 |
}
|
sl@0
|
842 |
};
|
sl@0
|
843 |
}
|
sl@0
|
844 |
|
sl@0
|
845 |
RESOURCE MENU_PANE r_word_selection_highlight_menu
|
sl@0
|
846 |
{
|
sl@0
|
847 |
items=
|
sl@0
|
848 |
{
|
sl@0
|
849 |
MENU_ITEM
|
sl@0
|
850 |
{
|
sl@0
|
851 |
command=EWordCmdSelectionHighlightNormal;
|
sl@0
|
852 |
txt="Normal";
|
sl@0
|
853 |
flags=EEikMenuItemRadioStart;
|
sl@0
|
854 |
},
|
sl@0
|
855 |
MENU_ITEM
|
sl@0
|
856 |
{
|
sl@0
|
857 |
command=EWordCmdSelectionHighlightCustom1;
|
sl@0
|
858 |
txt="Blue XOR";
|
sl@0
|
859 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
860 |
},
|
sl@0
|
861 |
MENU_ITEM
|
sl@0
|
862 |
{
|
sl@0
|
863 |
command=EWordCmdSelectionHighlightCustom2;
|
sl@0
|
864 |
txt="White on red";
|
sl@0
|
865 |
flags=EEikMenuItemRadioEnd;
|
sl@0
|
866 |
}
|
sl@0
|
867 |
};
|
sl@0
|
868 |
}
|
sl@0
|
869 |
|
sl@0
|
870 |
RESOURCE MENU_PANE r_word_cursor_style_menu
|
sl@0
|
871 |
{
|
sl@0
|
872 |
items=
|
sl@0
|
873 |
{
|
sl@0
|
874 |
MENU_ITEM
|
sl@0
|
875 |
{
|
sl@0
|
876 |
command=EWordCmdCursorStyleFlash;
|
sl@0
|
877 |
txt="Flash";
|
sl@0
|
878 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
879 |
},
|
sl@0
|
880 |
MENU_ITEM
|
sl@0
|
881 |
{
|
sl@0
|
882 |
command=EWordCmdCursorStyleHeavy;
|
sl@0
|
883 |
txt="Heavy";
|
sl@0
|
884 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
885 |
},
|
sl@0
|
886 |
MENU_ITEM
|
sl@0
|
887 |
{
|
sl@0
|
888 |
command=EWordCmdCursorStyleRed;
|
sl@0
|
889 |
txt="Red";
|
sl@0
|
890 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
891 |
},
|
sl@0
|
892 |
MENU_ITEM
|
sl@0
|
893 |
{
|
sl@0
|
894 |
command=EWordCmdCursorStyleVertical;
|
sl@0
|
895 |
txt="Vertical";
|
sl@0
|
896 |
flags=EEikMenuItemRadioStart;
|
sl@0
|
897 |
},
|
sl@0
|
898 |
MENU_ITEM
|
sl@0
|
899 |
{
|
sl@0
|
900 |
command=EWordCmdCursorStyleUnderlineNext;
|
sl@0
|
901 |
txt="Underline next character";
|
sl@0
|
902 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
903 |
},
|
sl@0
|
904 |
MENU_ITEM
|
sl@0
|
905 |
{
|
sl@0
|
906 |
command=EWordCmdCursorStyleUnderlinePrev;
|
sl@0
|
907 |
txt="Underline previous character";
|
sl@0
|
908 |
flags=EEikMenuItemRadioEnd;
|
sl@0
|
909 |
}
|
sl@0
|
910 |
};
|
sl@0
|
911 |
}
|
sl@0
|
912 |
|
sl@0
|
913 |
RESOURCE MENU_PANE r_word_keyboard_menu
|
sl@0
|
914 |
{
|
sl@0
|
915 |
items=
|
sl@0
|
916 |
{
|
sl@0
|
917 |
MENU_ITEM
|
sl@0
|
918 |
{
|
sl@0
|
919 |
command=EWordCmdStandardKeyboard;
|
sl@0
|
920 |
txt="Standard (Latin) keyboard";
|
sl@0
|
921 |
flags=EEikMenuItemRadioStart;
|
sl@0
|
922 |
},
|
sl@0
|
923 |
MENU_ITEM
|
sl@0
|
924 |
{
|
sl@0
|
925 |
command=EWordCmdArabicKeyboard;
|
sl@0
|
926 |
txt="Arabic keyboard";
|
sl@0
|
927 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
928 |
},
|
sl@0
|
929 |
MENU_ITEM
|
sl@0
|
930 |
{
|
sl@0
|
931 |
command=EWordCmdGreekKeyboard;
|
sl@0
|
932 |
txt="Greek keyboard";
|
sl@0
|
933 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
934 |
},
|
sl@0
|
935 |
MENU_ITEM
|
sl@0
|
936 |
{
|
sl@0
|
937 |
command=EWordCmdRussianKeyboard;
|
sl@0
|
938 |
txt="Russian keyboard";
|
sl@0
|
939 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
940 |
},
|
sl@0
|
941 |
MENU_ITEM
|
sl@0
|
942 |
{
|
sl@0
|
943 |
command=EWordCmdChineseOn;
|
sl@0
|
944 |
txt="Chinese FEP on";
|
sl@0
|
945 |
flags=EEikMenuItemRadioMiddle;
|
sl@0
|
946 |
},
|
sl@0
|
947 |
MENU_ITEM
|
sl@0
|
948 |
{
|
sl@0
|
949 |
command=EWordCmdChineseOff;
|
sl@0
|
950 |
txt="Chinese FEP off";
|
sl@0
|
951 |
flags=EEikMenuItemRadioEnd;
|
sl@0
|
952 |
}
|
sl@0
|
953 |
};
|
sl@0
|
954 |
}
|
sl@0
|
955 |
|
sl@0
|
956 |
RESOURCE MENU_PANE r_word_tools_infrared
|
sl@0
|
957 |
{
|
sl@0
|
958 |
items=
|
sl@0
|
959 |
{
|
sl@0
|
960 |
MENU_ITEM
|
sl@0
|
961 |
{
|
sl@0
|
962 |
command=EEikCmdIrdaSend;
|
sl@0
|
963 |
txt="Send";
|
sl@0
|
964 |
},
|
sl@0
|
965 |
MENU_ITEM
|
sl@0
|
966 |
{
|
sl@0
|
967 |
command=EEikCmdIrdaReceive;
|
sl@0
|
968 |
txt="Receive";
|
sl@0
|
969 |
}
|
sl@0
|
970 |
};
|
sl@0
|
971 |
}
|
sl@0
|
972 |
|
sl@0
|
973 |
RESOURCE MENU_PANE r_word_view_menu
|
sl@0
|
974 |
{
|
sl@0
|
975 |
items=
|
sl@0
|
976 |
{
|
sl@0
|
977 |
MENU_ITEM
|
sl@0
|
978 |
{
|
sl@0
|
979 |
command=EEikCmdZoomIn;
|
sl@0
|
980 |
txt="Zoom in";
|
sl@0
|
981 |
},
|
sl@0
|
982 |
MENU_ITEM
|
sl@0
|
983 |
{
|
sl@0
|
984 |
command=EEikCmdZoomOut;
|
sl@0
|
985 |
txt="Zoom out";
|
sl@0
|
986 |
},
|
sl@0
|
987 |
MENU_ITEM
|
sl@0
|
988 |
{
|
sl@0
|
989 |
command=EWordCmdZoomSet;
|
sl@0
|
990 |
txt="Set zoom"<KEllipsis>;
|
sl@0
|
991 |
flags=EEikMenuItemSeparatorAfter;
|
sl@0
|
992 |
},
|
sl@0
|
993 |
MENU_ITEM
|
sl@0
|
994 |
{
|
sl@0
|
995 |
command=EWordCmdToolbar;
|
sl@0
|
996 |
txt="Show toolbar";
|
sl@0
|
997 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
998 |
},
|
sl@0
|
999 |
MENU_ITEM
|
sl@0
|
1000 |
{
|
sl@0
|
1001 |
command=EWordCmdToolband;
|
sl@0
|
1002 |
txt="Show top toolbar";
|
sl@0
|
1003 |
flags=EEikMenuItemCheckBox;
|
sl@0
|
1004 |
},
|
sl@0
|
1005 |
MENU_ITEM
|
sl@0
|
1006 |
{
|
sl@0
|
1007 |
command=EWordCmdWrapToScreen;
|
sl@0
|
1008 |
txt="Wrap to screen";
|
sl@0
|
1009 |
flags=EEikMenuItemSeparatorAfter|EEikMenuItemCheckBox;
|
sl@0
|
1010 |
},
|
sl@0
|
1011 |
MENU_ITEM
|
sl@0
|
1012 |
{
|
sl@0
|
1013 |
command=EWordCmdOutline;
|
sl@0
|
1014 |
txt="Outline"<KEllipsis>;
|
sl@0
|
1015 |
}
|
sl@0
|
1016 |
};
|
sl@0
|
1017 |
}
|
sl@0
|
1018 |
|
sl@0
|
1019 |
RESOURCE DIALOG r_word_dialog_goto
|
sl@0
|
1020 |
{
|
sl@0
|
1021 |
flags=EEikDialogFlagWait;
|
sl@0
|
1022 |
title="Go to page";
|
sl@0
|
1023 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1024 |
items=
|
sl@0
|
1025 |
{
|
sl@0
|
1026 |
DLG_LINE
|
sl@0
|
1027 |
{
|
sl@0
|
1028 |
prompt="Go to page";
|
sl@0
|
1029 |
type=EEikCtNumberEditor;
|
sl@0
|
1030 |
id=EWordCidPageNumber;
|
sl@0
|
1031 |
control=NUMBER_EDITOR { min=0; max=99999; };
|
sl@0
|
1032 |
},
|
sl@0
|
1033 |
DLG_LINE
|
sl@0
|
1034 |
{
|
sl@0
|
1035 |
prompt="Pages in this file:";
|
sl@0
|
1036 |
type=EEikCtLabel;
|
sl@0
|
1037 |
id=EWordCidPages;
|
sl@0
|
1038 |
control=LABEL { txt=""; };
|
sl@0
|
1039 |
}
|
sl@0
|
1040 |
};
|
sl@0
|
1041 |
}
|
sl@0
|
1042 |
|
sl@0
|
1043 |
|
sl@0
|
1044 |
RESOURCE DIALOG r_word_dialog_outline
|
sl@0
|
1045 |
{
|
sl@0
|
1046 |
flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
|
sl@0
|
1047 |
title="Document outline";
|
sl@0
|
1048 |
buttons=r_word_outline_buttons;
|
sl@0
|
1049 |
items=
|
sl@0
|
1050 |
{
|
sl@0
|
1051 |
DLG_LINE
|
sl@0
|
1052 |
{
|
sl@0
|
1053 |
type=EWordCtOutlineNav;
|
sl@0
|
1054 |
id=EWordCidOutline;
|
sl@0
|
1055 |
control=OUTLINE_CONTROL
|
sl@0
|
1056 |
{
|
sl@0
|
1057 |
width=390;
|
sl@0
|
1058 |
height=180;
|
sl@0
|
1059 |
};
|
sl@0
|
1060 |
}
|
sl@0
|
1061 |
};
|
sl@0
|
1062 |
}
|
sl@0
|
1063 |
|
sl@0
|
1064 |
RESOURCE DLG_BUTTONS r_word_outline_buttons
|
sl@0
|
1065 |
{
|
sl@0
|
1066 |
buttons=
|
sl@0
|
1067 |
{
|
sl@0
|
1068 |
DLG_BUTTON { id=EWordBidOpenAll; button=CMBUT {txt="Open all";}; hotkey='Y'; },
|
sl@0
|
1069 |
DLG_BUTTON { id=EWordBidCloseAll; button=CMBUT {txt="Close all";}; hotkey='U'; },
|
sl@0
|
1070 |
DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Done";}; hotkey=EEikBidCancel; },
|
sl@0
|
1071 |
DLG_BUTTON { id=EEikBidOk; button= CMBUT {txt="Go to";}; hotkey=EEikBidOk; }
|
sl@0
|
1072 |
};
|
sl@0
|
1073 |
}
|
sl@0
|
1074 |
|
sl@0
|
1075 |
RESOURCE DIALOG r_word_dialog_bullet
|
sl@0
|
1076 |
{
|
sl@0
|
1077 |
flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
|
sl@0
|
1078 |
title="Select bullet character";
|
sl@0
|
1079 |
buttons=r_word_buttons_bullet;
|
sl@0
|
1080 |
items=
|
sl@0
|
1081 |
{
|
sl@0
|
1082 |
DLG_LINE
|
sl@0
|
1083 |
{
|
sl@0
|
1084 |
type=EEikCtCharMap;
|
sl@0
|
1085 |
id=EWordCidBulletCharMap;
|
sl@0
|
1086 |
// no value
|
sl@0
|
1087 |
}
|
sl@0
|
1088 |
};
|
sl@0
|
1089 |
}
|
sl@0
|
1090 |
|
sl@0
|
1091 |
RESOURCE DLG_BUTTONS r_word_buttons_bullet
|
sl@0
|
1092 |
{
|
sl@0
|
1093 |
buttons=
|
sl@0
|
1094 |
{
|
sl@0
|
1095 |
DLG_BUTTON { id=EWordCidFormatBullet; button=CMBUT {txt="Format"<KEllipsis>;}; hotkey='F'; },
|
sl@0
|
1096 |
DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Cancel";}; hotkey=EEikBidCancel; flags=0;},
|
sl@0
|
1097 |
DLG_BUTTON { id=EEikBidOk; button= CMBUT {txt="OK";}; hotkey=EEikBidOk; flags=0; }
|
sl@0
|
1098 |
};
|
sl@0
|
1099 |
}
|
sl@0
|
1100 |
|
sl@0
|
1101 |
RESOURCE DIALOG r_word_dialog_format_bullet
|
sl@0
|
1102 |
{
|
sl@0
|
1103 |
flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
|
sl@0
|
1104 |
title="Format bullet character";
|
sl@0
|
1105 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1106 |
items=
|
sl@0
|
1107 |
{
|
sl@0
|
1108 |
DLG_LINE
|
sl@0
|
1109 |
{
|
sl@0
|
1110 |
type=EWordCtBulletPreviewLabel;
|
sl@0
|
1111 |
prompt="Bullet";
|
sl@0
|
1112 |
id=EWordCidBulletCharacter;
|
sl@0
|
1113 |
control=LABEL { vert_align=EEikLabelAlignVCenter; txt=""; };
|
sl@0
|
1114 |
},
|
sl@0
|
1115 |
DLG_LINE
|
sl@0
|
1116 |
{
|
sl@0
|
1117 |
type=EEikCtGraySelector;
|
sl@0
|
1118 |
prompt="Colour";
|
sl@0
|
1119 |
id=EWordCidBulletColor;
|
sl@0
|
1120 |
control=GRAYSEL { flags=EEikGraySelDisplay4Gray; };
|
sl@0
|
1121 |
},
|
sl@0
|
1122 |
DLG_LINE
|
sl@0
|
1123 |
{
|
sl@0
|
1124 |
type=EEikCtChoiceList;
|
sl@0
|
1125 |
prompt="Size";
|
sl@0
|
1126 |
id=EWordCidBulletHeight;
|
sl@0
|
1127 |
control=CHOICELIST { };
|
sl@0
|
1128 |
},
|
sl@0
|
1129 |
DLG_LINE
|
sl@0
|
1130 |
{
|
sl@0
|
1131 |
type=EEikCtCheckBox;
|
sl@0
|
1132 |
prompt="Indent";
|
sl@0
|
1133 |
id=EWordCidBulletIndent;
|
sl@0
|
1134 |
}
|
sl@0
|
1135 |
};
|
sl@0
|
1136 |
}
|
sl@0
|
1137 |
|
sl@0
|
1138 |
RESOURCE DIALOG r_word_dialog_style_gallery
|
sl@0
|
1139 |
{
|
sl@0
|
1140 |
title="Style gallery";
|
sl@0
|
1141 |
flags=EEikDialogFlagWait|EEikDialogFlagDensePacking; // |EEikDialogFlagButtonsRight
|
sl@0
|
1142 |
buttons=r_word_buttons_styleoption;
|
sl@0
|
1143 |
items=
|
sl@0
|
1144 |
{
|
sl@0
|
1145 |
DLG_LINE
|
sl@0
|
1146 |
{
|
sl@0
|
1147 |
type = EEikCtColListBox;
|
sl@0
|
1148 |
id=EWordCidStyleNameList;
|
sl@0
|
1149 |
control=LISTBOX
|
sl@0
|
1150 |
{
|
sl@0
|
1151 |
height=4;
|
sl@0
|
1152 |
};
|
sl@0
|
1153 |
},
|
sl@0
|
1154 |
DLG_LINE
|
sl@0
|
1155 |
{
|
sl@0
|
1156 |
type=EEikCtGlobalTextEditor;
|
sl@0
|
1157 |
id=EWordCidStyleInfo;
|
sl@0
|
1158 |
control=GTXTED
|
sl@0
|
1159 |
{
|
sl@0
|
1160 |
width=252;
|
sl@0
|
1161 |
height=50;
|
sl@0
|
1162 |
numlines=3;
|
sl@0
|
1163 |
flags=EEikEdwinDisplayOnly|EEikEdwinNoAutoSelection|EEikEdwinInclusiveSizeFixed;
|
sl@0
|
1164 |
};
|
sl@0
|
1165 |
}
|
sl@0
|
1166 |
};
|
sl@0
|
1167 |
}
|
sl@0
|
1168 |
|
sl@0
|
1169 |
|
sl@0
|
1170 |
RESOURCE DLG_BUTTONS r_word_buttons_styleoption
|
sl@0
|
1171 |
{
|
sl@0
|
1172 |
buttons=
|
sl@0
|
1173 |
{
|
sl@0
|
1174 |
DLG_BUTTON { id=EWordCidAddStyle; button=CMBUT {txt="New"<KEllipsis>;}; hotkey='N'; },
|
sl@0
|
1175 |
DLG_BUTTON { id=EWordCidModifyStyle; button=CMBUT {txt="Modify"<KEllipsis>;}; hotkey='M'; },
|
sl@0
|
1176 |
DLG_BUTTON { id=EEikBidDelete; button=CMBUT {txt="Delete";}; hotkey=EEikBidDelete; },
|
sl@0
|
1177 |
DLG_BUTTON { id=EEikBidCancel; button=CMBUT {txt="Cancel";}; hotkey=EEikBidCancel; flags =0; },
|
sl@0
|
1178 |
DLG_BUTTON { id=EEikBidOk; button=CMBUT {txt="Apply";}; hotkey=EEikBidOk; }
|
sl@0
|
1179 |
};
|
sl@0
|
1180 |
}
|
sl@0
|
1181 |
|
sl@0
|
1182 |
RESOURCE DIALOG r_word_dialog_style_format
|
sl@0
|
1183 |
{
|
sl@0
|
1184 |
title="Add new style";
|
sl@0
|
1185 |
flags=EEikDialogFlagWait;
|
sl@0
|
1186 |
buttons=r_word_buttons_styleaddoption;
|
sl@0
|
1187 |
items=
|
sl@0
|
1188 |
{
|
sl@0
|
1189 |
DLG_LINE
|
sl@0
|
1190 |
{
|
sl@0
|
1191 |
type=EEikCtEdwin;
|
sl@0
|
1192 |
prompt="Name";
|
sl@0
|
1193 |
id=EWordCidStyleName;
|
sl@0
|
1194 |
control= EDWIN { width=10; maxlength=32; };
|
sl@0
|
1195 |
},
|
sl@0
|
1196 |
DLG_LINE
|
sl@0
|
1197 |
{
|
sl@0
|
1198 |
type=EWordCtStyleShortcutKeyEditor;
|
sl@0
|
1199 |
prompt="Shortcut key: Ctrl+Fn+";
|
sl@0
|
1200 |
id=EWordCidHotKey;
|
sl@0
|
1201 |
},
|
sl@0
|
1202 |
DLG_LINE
|
sl@0
|
1203 |
{
|
sl@0
|
1204 |
id=EWordCidBullet;
|
sl@0
|
1205 |
type=EEikCtCheckBox;
|
sl@0
|
1206 |
prompt="Insert bullet";
|
sl@0
|
1207 |
},
|
sl@0
|
1208 |
DLG_LINE
|
sl@0
|
1209 |
{
|
sl@0
|
1210 |
id=EWordCidOutline;
|
sl@0
|
1211 |
type=EEikCtNumberEditor;
|
sl@0
|
1212 |
prompt="Outline level";
|
sl@0
|
1213 |
control=NUMBER_EDITOR {min=0; max=99; };
|
sl@0
|
1214 |
}
|
sl@0
|
1215 |
};
|
sl@0
|
1216 |
}
|
sl@0
|
1217 |
|
sl@0
|
1218 |
|
sl@0
|
1219 |
RESOURCE MENU_PANE r_word_style_format_menu
|
sl@0
|
1220 |
{
|
sl@0
|
1221 |
items=
|
sl@0
|
1222 |
{
|
sl@0
|
1223 |
MENU_ITEM
|
sl@0
|
1224 |
{
|
sl@0
|
1225 |
command=EEikCmdFontChange;
|
sl@0
|
1226 |
txt="Font"<KEllipsis>;
|
sl@0
|
1227 |
},
|
sl@0
|
1228 |
MENU_ITEM
|
sl@0
|
1229 |
{
|
sl@0
|
1230 |
command=EEikCmdParaIndent;
|
sl@0
|
1231 |
txt="Indents"<KEllipsis>;
|
sl@0
|
1232 |
},
|
sl@0
|
1233 |
MENU_ITEM
|
sl@0
|
1234 |
{
|
sl@0
|
1235 |
command=EEikCmdParaTabs;
|
sl@0
|
1236 |
txt="Tab positions"<KEllipsis>;
|
sl@0
|
1237 |
},
|
sl@0
|
1238 |
MENU_ITEM
|
sl@0
|
1239 |
{
|
sl@0
|
1240 |
command=EEikCmdParaSpacing;
|
sl@0
|
1241 |
txt="Line spacing"<KEllipsis>;
|
sl@0
|
1242 |
},
|
sl@0
|
1243 |
MENU_ITEM
|
sl@0
|
1244 |
{
|
sl@0
|
1245 |
command=EEikCmdParaBorder;
|
sl@0
|
1246 |
txt="Borders"<KEllipsis>;
|
sl@0
|
1247 |
},
|
sl@0
|
1248 |
MENU_ITEM
|
sl@0
|
1249 |
{
|
sl@0
|
1250 |
command=EWordCmdFormatBullet;
|
sl@0
|
1251 |
txt="Bullets"<KEllipsis>;
|
sl@0
|
1252 |
},
|
sl@0
|
1253 |
MENU_ITEM
|
sl@0
|
1254 |
{
|
sl@0
|
1255 |
command=EEikCmdParaAlign;
|
sl@0
|
1256 |
txt="Alignment"<KEllipsis>;
|
sl@0
|
1257 |
}
|
sl@0
|
1258 |
};
|
sl@0
|
1259 |
}
|
sl@0
|
1260 |
|
sl@0
|
1261 |
RESOURCE DLG_BUTTONS r_word_buttons_styleaddoption
|
sl@0
|
1262 |
{
|
sl@0
|
1263 |
buttons=
|
sl@0
|
1264 |
{
|
sl@0
|
1265 |
DLG_BUTTON { id=EWordCidFormatList;
|
sl@0
|
1266 |
buttontype=EEikCtMenuButton;
|
sl@0
|
1267 |
button=MNBUT { popout=r_word_style_format_menu;
|
sl@0
|
1268 |
txt="Format"; bmpfile="z:\\system\\data\\eikon.mbm";
|
sl@0
|
1269 |
bmpid=EMbmEikonSarrow;
|
sl@0
|
1270 |
bmpmask=EMbmEikonSarrow;
|
sl@0
|
1271 |
};
|
sl@0
|
1272 |
hotkey='F';
|
sl@0
|
1273 |
},
|
sl@0
|
1274 |
DLG_BUTTON { id=EEikBidCancel; button=CMBUT{ txt="Cancel";}; hotkey=EEikBidCancel; flags=0; },
|
sl@0
|
1275 |
DLG_BUTTON { id=EEikBidOk; button=CMBUT{ txt="OK";}; hotkey=EEikBidOk; flags=0; }
|
sl@0
|
1276 |
};
|
sl@0
|
1277 |
}
|
sl@0
|
1278 |
|
sl@0
|
1279 |
RESOURCE ARRAY r_word_view_pref_array
|
sl@0
|
1280 |
{
|
sl@0
|
1281 |
items=
|
sl@0
|
1282 |
{
|
sl@0
|
1283 |
LBUF { txt="All"; },
|
sl@0
|
1284 |
LBUF { txt="Some"; },
|
sl@0
|
1285 |
LBUF { txt="None"; }
|
sl@0
|
1286 |
};
|
sl@0
|
1287 |
}
|
sl@0
|
1288 |
|
sl@0
|
1289 |
RESOURCE DIALOG r_word_dialog_view_preferences
|
sl@0
|
1290 |
{
|
sl@0
|
1291 |
flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
|
sl@0
|
1292 |
title="View preferences";
|
sl@0
|
1293 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1294 |
items=
|
sl@0
|
1295 |
{
|
sl@0
|
1296 |
DLG_LINE
|
sl@0
|
1297 |
{
|
sl@0
|
1298 |
prompt="Show tabs";
|
sl@0
|
1299 |
type=EEikCtCheckBox;
|
sl@0
|
1300 |
id=EWordCidTab;
|
sl@0
|
1301 |
},
|
sl@0
|
1302 |
DLG_LINE
|
sl@0
|
1303 |
{
|
sl@0
|
1304 |
prompt="Show spaces";
|
sl@0
|
1305 |
type=EEikCtCheckBox;
|
sl@0
|
1306 |
id=EWordCidSpaces;
|
sl@0
|
1307 |
},
|
sl@0
|
1308 |
DLG_LINE
|
sl@0
|
1309 |
{
|
sl@0
|
1310 |
prompt="Show non-breaking spaces";
|
sl@0
|
1311 |
type=EEikCtCheckBox;
|
sl@0
|
1312 |
id=EWordCidNonBreakingSpace;
|
sl@0
|
1313 |
},
|
sl@0
|
1314 |
DLG_LINE
|
sl@0
|
1315 |
{
|
sl@0
|
1316 |
prompt="Show paragraph ends";
|
sl@0
|
1317 |
type=EEikCtCheckBox;
|
sl@0
|
1318 |
id=EWordCidParaEnds;
|
sl@0
|
1319 |
},
|
sl@0
|
1320 |
DLG_LINE
|
sl@0
|
1321 |
{
|
sl@0
|
1322 |
prompt="Show forced line breaks";
|
sl@0
|
1323 |
type=EEikCtCheckBox;
|
sl@0
|
1324 |
id=EWordCidForcedLineBreaks;
|
sl@0
|
1325 |
},
|
sl@0
|
1326 |
DLG_LINE
|
sl@0
|
1327 |
{
|
sl@0
|
1328 |
prompt="Show hard hyphens";
|
sl@0
|
1329 |
type=EEikCtCheckBox;
|
sl@0
|
1330 |
id=EWordCidHardHyphens;
|
sl@0
|
1331 |
}
|
sl@0
|
1332 |
};
|
sl@0
|
1333 |
}
|
sl@0
|
1334 |
|
sl@0
|
1335 |
RESOURCE DIALOG r_word_dialog_object_preferences
|
sl@0
|
1336 |
{
|
sl@0
|
1337 |
flags=EEikDialogFlagWait|EEikDialogFlagButtonsRight;
|
sl@0
|
1338 |
title="Object preferences";
|
sl@0
|
1339 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1340 |
items=
|
sl@0
|
1341 |
{
|
sl@0
|
1342 |
DLG_LINE
|
sl@0
|
1343 |
{
|
sl@0
|
1344 |
prompt="Show new sketch as icon";
|
sl@0
|
1345 |
type=EEikCtCheckBox;
|
sl@0
|
1346 |
id=EWordCidShowSketch;
|
sl@0
|
1347 |
},
|
sl@0
|
1348 |
DLG_LINE
|
sl@0
|
1349 |
{
|
sl@0
|
1350 |
prompt="Show new graph as icon";
|
sl@0
|
1351 |
type=EEikCtCheckBox;
|
sl@0
|
1352 |
id=EWordCidShowGraph;
|
sl@0
|
1353 |
}
|
sl@0
|
1354 |
};
|
sl@0
|
1355 |
}
|
sl@0
|
1356 |
|
sl@0
|
1357 |
RESOURCE DIALOG r_word_dialog_zoom_set
|
sl@0
|
1358 |
{
|
sl@0
|
1359 |
flags=EEikDialogFlagWait;
|
sl@0
|
1360 |
title="Set zoom factor";
|
sl@0
|
1361 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1362 |
items=
|
sl@0
|
1363 |
{
|
sl@0
|
1364 |
DLG_LINE
|
sl@0
|
1365 |
{
|
sl@0
|
1366 |
type=EEikCtNumberEditor;
|
sl@0
|
1367 |
prompt="Zoom to";
|
sl@0
|
1368 |
trailer="%";
|
sl@0
|
1369 |
id=EWordCidZoomSet;
|
sl@0
|
1370 |
control= NUMBER_EDITOR {min=1;max=200;};
|
sl@0
|
1371 |
}
|
sl@0
|
1372 |
};
|
sl@0
|
1373 |
}
|
sl@0
|
1374 |
|
sl@0
|
1375 |
RESOURCE DIALOG r_word_template_file_new
|
sl@0
|
1376 |
{
|
sl@0
|
1377 |
flags=EEikDialogFlagWait;
|
sl@0
|
1378 |
title="Open file";
|
sl@0
|
1379 |
buttons=R_EIK_BUTTONS_BROWSE_CANCEL_OK;
|
sl@0
|
1380 |
items=
|
sl@0
|
1381 |
{
|
sl@0
|
1382 |
DLG_LINE
|
sl@0
|
1383 |
{
|
sl@0
|
1384 |
prompt="Name";
|
sl@0
|
1385 |
type=EEikCtFileNameEd;
|
sl@0
|
1386 |
id=EEikCidFileNameEd;
|
sl@0
|
1387 |
control=FILENAMEEDITOR {};
|
sl@0
|
1388 |
},
|
sl@0
|
1389 |
DLG_LINE
|
sl@0
|
1390 |
{
|
sl@0
|
1391 |
prompt="Folder";
|
sl@0
|
1392 |
type=EEikCtFolderNameSel;
|
sl@0
|
1393 |
id=EEikCidFolderNameSel;
|
sl@0
|
1394 |
control=FOLDERNAMESELECTOR {};
|
sl@0
|
1395 |
},
|
sl@0
|
1396 |
DLG_LINE
|
sl@0
|
1397 |
{
|
sl@0
|
1398 |
prompt="Disk";
|
sl@0
|
1399 |
type=EEikCtDriveNameSel;
|
sl@0
|
1400 |
id=EEikCidDriveNameSel;
|
sl@0
|
1401 |
control=DRIVENAMESELECTOR {};
|
sl@0
|
1402 |
},
|
sl@0
|
1403 |
DLG_LINE
|
sl@0
|
1404 |
{
|
sl@0
|
1405 |
type=EEikCtCheckBox;
|
sl@0
|
1406 |
prompt="Use new file";
|
sl@0
|
1407 |
id=EEikCidUseNewFileChbx;
|
sl@0
|
1408 |
},
|
sl@0
|
1409 |
DLG_LINE
|
sl@0
|
1410 |
{
|
sl@0
|
1411 |
prompt="Template";
|
sl@0
|
1412 |
type=EWordUnifiedFileNameSelector;
|
sl@0
|
1413 |
id=EEikCtUnifiedFileSel;
|
sl@0
|
1414 |
control=UNIFIEDNAMESELECTOR {};
|
sl@0
|
1415 |
}
|
sl@0
|
1416 |
};
|
sl@0
|
1417 |
}
|
sl@0
|
1418 |
|
sl@0
|
1419 |
RESOURCE DIALOG r_word_template_save_as
|
sl@0
|
1420 |
{
|
sl@0
|
1421 |
flags=EEikDialogFlagWait;
|
sl@0
|
1422 |
title="Save as template";
|
sl@0
|
1423 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1424 |
items=
|
sl@0
|
1425 |
{
|
sl@0
|
1426 |
DLG_LINE
|
sl@0
|
1427 |
{
|
sl@0
|
1428 |
type=EEikCtLabel;
|
sl@0
|
1429 |
id=EWordCidTemplateSaveAsLabel1;
|
sl@0
|
1430 |
control=LABEL
|
sl@0
|
1431 |
{
|
sl@0
|
1432 |
horiz_align=EEikLabelAlignHLeft;
|
sl@0
|
1433 |
standard_font=EEikLabelFontAnnotation;
|
sl@0
|
1434 |
txt = "To save as a standard template, save with the name \"Normal\"";
|
sl@0
|
1435 |
};
|
sl@0
|
1436 |
},
|
sl@0
|
1437 |
DLG_LINE
|
sl@0
|
1438 |
{
|
sl@0
|
1439 |
prompt="Template name";
|
sl@0
|
1440 |
type=EEikCtFileNameEd;
|
sl@0
|
1441 |
id=EEikCidFileNameEd;
|
sl@0
|
1442 |
control=FILENAMEEDITOR {};
|
sl@0
|
1443 |
},
|
sl@0
|
1444 |
DLG_LINE
|
sl@0
|
1445 |
{
|
sl@0
|
1446 |
prompt="Disk";
|
sl@0
|
1447 |
type=EEikCtDriveNameSel;
|
sl@0
|
1448 |
id=EEikCidDriveNameSel;
|
sl@0
|
1449 |
control=DRIVENAMESELECTOR {};
|
sl@0
|
1450 |
}
|
sl@0
|
1451 |
};
|
sl@0
|
1452 |
}
|
sl@0
|
1453 |
|
sl@0
|
1454 |
RESOURCE DIALOG r_word_template_delete
|
sl@0
|
1455 |
{
|
sl@0
|
1456 |
flags=EEikDialogFlagWait;
|
sl@0
|
1457 |
title="Delete template";
|
sl@0
|
1458 |
buttons=R_EIK_BUTTONS_CANCEL_OK;
|
sl@0
|
1459 |
items=
|
sl@0
|
1460 |
{
|
sl@0
|
1461 |
DLG_LINE
|
sl@0
|
1462 |
{
|
sl@0
|
1463 |
type=EEikCtLabel;
|
sl@0
|
1464 |
id=EEikCtLabel;
|
sl@0
|
1465 |
control=LABEL
|
sl@0
|
1466 |
{
|
sl@0
|
1467 |
horiz_align=EEikLabelAlignHLeft;
|
sl@0
|
1468 |
standard_font=EEikLabelFontAnnotation;
|
sl@0
|
1469 |
txt = "You can only delete templates you created yourself";
|
sl@0
|
1470 |
};
|
sl@0
|
1471 |
},
|
sl@0
|
1472 |
DLG_LINE
|
sl@0
|
1473 |
{
|
sl@0
|
1474 |
prompt="Template to delete";
|
sl@0
|
1475 |
type=EEikCtUnifiedFileSel;
|
sl@0
|
1476 |
id=EEikCtUnifiedFileSel;
|
sl@0
|
1477 |
control=UNIFIEDNAMESELECTOR {};
|
sl@0
|
1478 |
}
|
sl@0
|
1479 |
};
|
sl@0
|
1480 |
}
|
sl@0
|
1481 |
|
sl@0
|
1482 |
/* NORMAL TEMPLATE FILE NAME */
|
sl@0
|
1483 |
RESOURCE TBUF r_word_normal_template_file_name { buf="Normal"; }
|
sl@0
|
1484 |
RESOURCE TBUF r_word_blank_template_file_name { buf="Blank"; }
|
sl@0
|
1485 |
/* TEMPLATE MESSAGES */
|
sl@0
|
1486 |
RESOURCE TBUF r_word_template_saving_file { buf="Saving template"; }
|
sl@0
|
1487 |
RESOURCE TBUF r_word_template_delete_confirmation_pre { buf="Delete template \""; } // max length 30
|
sl@0
|
1488 |
RESOURCE TBUF r_word_template_delete_confirmation_post { buf="\"?"; } // max length 30
|
sl@0
|
1489 |
RESOURCE TBUF r_word_template_not_available { buf="Template not available"; }
|
sl@0
|
1490 |
RESOURCE TBUF32 r_word_template_saved_message { buf="Template saved as %S"; }
|
sl@0
|
1491 |
|
sl@0
|
1492 |
/* FILE OPERATIONS TEXT */
|
sl@0
|
1493 |
RESOURCE TBUF r_word_document_unchanged { buf="File has not changed"; }
|
sl@0
|
1494 |
RESOURCE TBUF r_word_text_import_dialog_title { buf="Import text file"; }
|
sl@0
|
1495 |
RESOURCE TBUF r_word_html_import_dialog_title { buf="Import HTML file"; }
|
sl@0
|
1496 |
RESOURCE TBUF r_word_text_export_dialog_title { buf="Export text file"; }
|
sl@0
|
1497 |
RESOURCE TBUF r_word_file_read_only { buf="This file is read-only"; }
|
sl@0
|
1498 |
RESOURCE TBUF r_word_file_save_read_only { buf="Read-only file"; }
|
sl@0
|
1499 |
RESOURCE TBUF r_word_file_create_file { buf="Creating file from template"; }
|
sl@0
|
1500 |
|
sl@0
|
1501 |
/* SPELLING DIALOGS TEXT */
|
sl@0
|
1502 |
RESOURCE TBUF r_word_spell_no_suggestions { buf="No suggestions"; } // max length 30
|
sl@0
|
1503 |
RESOURCE TBUF r_word_spell_correction { buf="Enter a correction"; }
|
sl@0
|
1504 |
RESOURCE TBUF r_word_spell_unrecognized_word { buf="Unrecognised word \"%S\""; } // max length 40
|
sl@0
|
1505 |
RESOURCE TBUF r_word_spell_one_unrecognized_word { buf="1 unrecognised word"; } // max length 32
|
sl@0
|
1506 |
RESOURCE TBUF r_word_spell_many_unrecognized_words { buf="%D unrecognised words"; } // max length 29
|
sl@0
|
1507 |
RESOURCE TBUF r_word_spell_one_unrecognized_word_in_selection { buf="1 unrecognised word in the selection"; } // max length 52
|
sl@0
|
1508 |
RESOURCE TBUF r_word_spell_many_unrecognized_words_in_selection { buf="%D unrecognised words in the selection"; } // max length 49
|
sl@0
|
1509 |
RESOURCE TBUF r_word_spell_load_dictionary { buf="Opening dictionaries... "; }
|
sl@0
|
1510 |
RESOURCE TBUF r_word_spell_user_dict_not_enabled { buf="Personal dictionary is not enabled"; }
|
sl@0
|
1511 |
RESOURCE TBUF r_word_spell_dict_not_available { buf="Personal dictionary is not available"; }
|
sl@0
|
1512 |
RESOURCE TBUF r_word_spell_selection { buf="Spell checking selection"; } // dialog title
|
sl@0
|
1513 |
RESOURCE TBUF r_word_spell_not_started { buf="Cannot start spell checker"; }
|
sl@0
|
1514 |
RESOURCE TBUF r_word_spell_information { buf="Information"; }
|
sl@0
|
1515 |
RESOURCE TBUF r_word_spell_nothing_to_check { buf="No words to spell check"; }
|
sl@0
|
1516 |
|
sl@0
|
1517 |
/* STYLE DIALOGS TEXT */
|
sl@0
|
1518 |
RESOURCE TBUF r_word_style_revert_title { buf= "Revert to style"; }
|
sl@0
|
1519 |
RESOURCE TBUF r_word_style_revert_char { buf= "Remove manual character formatting"; }
|
sl@0
|
1520 |
RESOURCE TBUF r_word_style_revert_para { buf= "Remove manual paragraph formatting"; }
|
sl@0
|
1521 |
RESOURCE TBUF r_word_styleformat_title_modify { buf= "Modify \"%S\""; } // max length 24
|
sl@0
|
1522 |
RESOURCE TBUF r_word_styleformat_title_add { buf= "Add new style"; }
|
sl@0
|
1523 |
RESOURCE TBUF r_word_normal { buf="Normal"; } // KMaxParagraphStyleName length = 32
|
sl@0
|
1524 |
RESOURCE TBUF r_word_nostylename { buf="Type in a style name";}
|
sl@0
|
1525 |
RESOURCE TBUF r_word_stylenameexists { buf="Style with this name already exists"; }
|
sl@0
|
1526 |
RESOURCE TBUF r_word_close { buf="Close"; } // max length 20
|
sl@0
|
1527 |
RESOURCE TBUF r_word_delete_style_title { buf="Delete style \"%S\""; }
|
sl@0
|
1528 |
RESOURCE TBUF r_word_hotkeyexists { buf="Shortcut is currently assigned to \"%S\""; } // max length 48
|
sl@0
|
1529 |
RESOURCE TBUF r_word_hotkey_invalid { buf="Invalid shortcut - letter or number only"; }
|
sl@0
|
1530 |
RESOURCE TBUF r_word_hotkey { buf="Ctrl+Fn+"; } // max length 20
|
sl@0
|
1531 |
RESOURCE ARRAY r_word_style_gallery_descriptions
|
sl@0
|
1532 |
{
|
sl@0
|
1533 |
/* DO NOT REORDER THE FOLLOWING RESOURCES */
|
sl@0
|
1534 |
items=
|
sl@0
|
1535 |
{
|
sl@0
|
1536 |
LBUF { txt=""; },
|
sl@0
|
1537 |
LBUF { txt=""; },
|
sl@0
|
1538 |
LBUF { txt="Left indent"; },
|
sl@0
|
1539 |
LBUF { txt="Right indent"; },
|
sl@0
|
1540 |
LBUF { txt="1st line indent"; },
|
sl@0
|
1541 |
LBUF { txt=""; },
|
sl@0
|
1542 |
LBUF { txt=""; },
|
sl@0
|
1543 |
LBUF { txt="Line spacing"; },
|
sl@0
|
1544 |
LBUF { txt=""; },
|
sl@0
|
1545 |
LBUF { txt="Sp before"; },
|
sl@0
|
1546 |
LBUF { txt="Sp after"; },
|
sl@0
|
1547 |
LBUF { txt="Keep together"; },
|
sl@0
|
1548 |
LBUF { txt="Keep with next"; },
|
sl@0
|
1549 |
LBUF { txt="Start new page"; },
|
sl@0
|
1550 |
LBUF { txt="Widow/orphan"; },
|
sl@0
|
1551 |
LBUF { txt=""; },
|
sl@0
|
1552 |
LBUF { txt="Border margin"; },
|
sl@0
|
1553 |
LBUF { txt="Top border"; },
|
sl@0
|
1554 |
LBUF { txt="Bottom border"; },
|
sl@0
|
1555 |
LBUF { txt="Left border"; },
|
sl@0
|
1556 |
LBUF { txt="Right border"; },
|
sl@0
|
1557 |
LBUF { txt="Bullet"; },
|
sl@0
|
1558 |
LBUF { txt=""; },
|
sl@0
|
1559 |
LBUF { txt="Tab"; },
|
sl@0
|
1560 |
LBUF { txt="Italic"; },
|
sl@0
|
1561 |
LBUF { txt="Bold"; },
|
sl@0
|
1562 |
LBUF { txt="Superscript"; },
|
sl@0
|
1563 |
LBUF { txt="Subscript"; },
|
sl@0
|
1564 |
LBUF { txt="Underline"; },
|
sl@0
|
1565 |
LBUF { txt="Strikethrough"; },
|
sl@0
|
1566 |
LBUF { txt="Left aligned"; },
|
sl@0
|
1567 |
LBUF { txt="Centred"; },
|
sl@0
|
1568 |
LBUF { txt="Right aligned"; },
|
sl@0
|
1569 |
LBUF { txt="Justified"; }
|
sl@0
|
1570 |
};
|
sl@0
|
1571 |
}
|
sl@0
|
1572 |
|
sl@0
|
1573 |
|
sl@0
|
1574 |
/* MISCELLANEOUS TEXT */
|
sl@0
|
1575 |
RESOURCE TBUF r_word_font_units { buf=" pt";}
|
sl@0
|
1576 |
RESOURCE TBUF r_word_no_words { buf="Words: %d"; }
|
sl@0
|
1577 |
|
sl@0
|
1578 |
RESOURCE TBUF r_word_no_outline { buf="Nothing to show in outline"; }
|
sl@0
|
1579 |
RESOURCE TBUF r_word_normal_outline { buf="Not available for Normal style";}
|
sl@0
|
1580 |
RESOURCE TBUF r_word_outline { buf = "Outlining..."; }
|
sl@0
|
1581 |
RESOURCE TBUF r_word_expand_outline { buf = "Expanding Items..."; }
|
sl@0
|
1582 |
RESOURCE TBUF r_word_collapse_outline { buf = "Collapsing Items..."; }
|
sl@0
|
1583 |
|
sl@0
|
1584 |
RESOURCE TBUF r_word_not_undoable_title { buf = "This operation cannot be undone"; }
|
sl@0
|
1585 |
RESOURCE TBUF r_word_not_undoable_text { buf = "would you like to proceed anyway?"; }
|
sl@0
|
1586 |
|
sl@0
|
1587 |
RESOURCE TBUF r_word_no_html_converter { buf = "Converter not available"; }
|
sl@0
|
1588 |
RESOURCE TBUF r_word_no_text_to_paste { buf="There is no text on the clipboard"; }
|
sl@0
|
1589 |
|
sl@0
|
1590 |
/* CONFIRMATION DIALOGS TEXT */
|
sl@0
|
1591 |
RESOURCE ARRAY r_word_confirmation_texts
|
sl@0
|
1592 |
{
|
sl@0
|
1593 |
/* DO NOT REORDER THE FOLLOWING RESOURCES */
|
sl@0
|
1594 |
items=
|
sl@0
|
1595 |
{
|
sl@0
|
1596 |
LBUF {txt="Revert to saved?"; },
|
sl@0
|
1597 |
LBUF {txt="All changes will be lost"; }
|
sl@0
|
1598 |
};
|
sl@0
|
1599 |
}
|