xref: /aoo41x/main/sfx2/source/appl/newhelp.src (revision acbf353a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "app.hrc"
25#include "newhelp.hrc"
26#include "helpid.hrc"
27
28Window WIN_HELPINDEX
29{
30	Hide = TRUE ;
31	Size = MAP_APPFONT ( 120 , 200 ) ;
32	DialogControl = TRUE;
33	ListBox LB_ACTIVE
34	{
35		HelpId = HID_HELP_LISTBOX;
36		Border = TRUE ;
37		DropDown = TRUE;
38		Pos = MAP_APPFONT ( 3 , 3 ) ;
39		Size = MAP_APPFONT ( 114 , 40 ) ;
40	};
41	FixedLine FL_ACTIVE
42	{
43		Hide = True;
44		Pos = MAP_APPFONT ( 2, 19 ) ;
45		Size = MAP_APPFONT ( 118 , 1 ) ;
46	};
47	TabControl TC_INDEX
48	{
49		HelpId = HID_HELP_TABCONTROL;
50		Pos = MAP_APPFONT ( 3, 19 ) ;
51		TabStop = TRUE;
52		PageList =
53		{
54			PageItem
55			{
56				Identifier = HELP_INDEX_PAGE_CONTENTS ;
57				Text [ en-US ] = "Contents";
58			};
59			PageItem
60			{
61				Identifier = HELP_INDEX_PAGE_INDEX ;
62				Text [ en-US ] = "Index";
63			};
64			PageItem
65			{
66				Identifier = HELP_INDEX_PAGE_SEARCH ;
67				Text [ en-US ] = "Find";
68			};
69			PageItem
70			{
71				Identifier = HELP_INDEX_PAGE_BOOKMARKS ;
72				Text [ en-US ] = "Bookmarks";
73			};
74		};
75	};
76};
77
78TabPage TP_HELP_INDEX
79{
80	HelpId = HID_HELP_TABPAGE_INDEX;
81	Hide = TRUE ;
82	DialogControl = TRUE;
83	Size = MAP_APPFONT ( 120 , 200 ) ;
84	FixedText FT_EXPRESSION
85	{
86		Pos = MAP_APPFONT ( 6 , 6 ) ;
87		Size = MAP_APPFONT ( 108 , 10 ) ;
88		Text [ en-US ] = "~Search term" ;
89	};
90	ComboBox CB_INDEX
91	{
92	    HelpID = "sfx2:ComboBox:TP_HELP_INDEX:CB_INDEX";
93		Border = TRUE ;
94		Pos = MAP_APPFONT ( 6 , 17 ) ;
95		Size = MAP_APPFONT ( 108 , 97 ) ;
96	};
97	PushButton PB_OPEN_INDEX
98	{
99	    HelpID = "sfx2:PushButton:TP_HELP_INDEX:PB_OPEN_INDEX";
100		Pos = MAP_APPFONT ( 64 , 115 ) ;
101		Size = MAP_APPFONT ( 50 , 14 ) ;
102		Text [ en-US ] = "~Display" ;
103	};
104};
105
106TabPage TP_HELP_SEARCH
107{
108	HelpId = HID_HELP_TABPAGE_SEARCH;
109	Hide = TRUE ;
110	DialogControl = TRUE;
111    Size = MAP_APPFONT ( 140 , 122 ) ;
112	FixedText FT_SEARCH
113	{
114		Pos = MAP_APPFONT ( 6 , 6 ) ;
115        Size = MAP_APPFONT ( 128 , 10 ) ;
116		Text [ en-US ] = "S~earch term" ;
117	};
118	ComboBox ED_SEARCH
119	{
120	    HelpID = "sfx2:ComboBox:TP_HELP_SEARCH:ED_SEARCH";
121		Border = TRUE ;
122		DropDown = TRUE;
123		Pos = MAP_APPFONT ( 6 , 17 ) ;
124        Size = MAP_APPFONT ( 92 , 40 ) ;
125	};
126	PushButton PB_SEARCH
127	{
128	    HelpID = "sfx2:PushButton:TP_HELP_SEARCH:PB_SEARCH";
129        Pos = MAP_APPFONT ( 101 , 17 ) ;
130		Size = MAP_APPFONT ( 50 , 14 ) ;
131		Text [ en-US ] = "~Find";
132	};
133	CheckBox CB_FULLWORDS
134	{
135	    HelpID = "sfx2:CheckBox:TP_HELP_SEARCH:CB_FULLWORDS";
136        Pos = MAP_APPFONT ( 6, 34 ) ;
137        Size = MAP_APPFONT ( 128 , 10 ) ;
138		Text [ en-US ] = "~Complete words only";
139	};
140	CheckBox CB_SCOPE
141	{
142	    HelpID = "sfx2:CheckBox:TP_HELP_SEARCH:CB_SCOPE";
143        Pos = MAP_APPFONT ( 6, 47 ) ;
144        Size = MAP_APPFONT ( 128 , 10 ) ;
145		Text [ en-US ] = "Find in ~headings only";
146	};
147	ListBox LB_RESULT
148	{
149	    HelpID = "sfx2:ListBox:TP_HELP_SEARCH:LB_RESULT";
150		Border = TRUE ;
151		Pos = MAP_APPFONT ( 6 , 60 ) ;
152        Size = MAP_APPFONT ( 128 , 30 ) ;
153	};
154	PushButton PB_OPEN_SEARCH
155	{
156	    HelpID = "sfx2:PushButton:TP_HELP_SEARCH:PB_OPEN_SEARCH";
157        Pos = MAP_APPFONT ( 84 , 182 ) ;
158		Size = MAP_APPFONT ( 50 , 14 ) ;
159		Text [ en-US ] = "~Display" ;
160	};
161};
162
163TabPage TP_HELP_BOOKMARKS
164{
165	HelpId = HID_HELP_TABPAGE_BOOKMARKS;
166	Hide = TRUE ;
167	DialogControl = TRUE;
168	Size = MAP_APPFONT ( 120 , 200 ) ;
169	FixedText FT_BOOKMARKS
170	{
171		Pos = MAP_APPFONT ( 6 , 6 ) ;
172		Size = MAP_APPFONT ( 108 , 10 ) ;
173		Text [ en-US ] = "~Bookmarks" ;
174	};
175	ListBox LB_BOOKMARKS
176	{
177	    HelpID = "sfx2:ListBox:TP_HELP_BOOKMARKS:LB_BOOKMARKS";
178		Border = TRUE ;
179		Sort = TRUE;
180		Pos = MAP_APPFONT ( 6 , 19 ) ;
181		Size = MAP_APPFONT ( 108 , 97 ) ;
182	};
183	PushButton PB_BOOKMARKS
184	{
185	    HelpID = "sfx2:PushButton:TP_HELP_BOOKMARKS:PB_BOOKMARKS";
186		Pos = MAP_APPFONT ( 64 , 119 ) ;
187		Size = MAP_APPFONT ( 50 , 14 ) ;
188		Text [ en-US ] = "~Display" ;
189	};
190};
191
192TabPage TP_HELP_CONTENT
193{
194	HelpId = HID_HELP_TABPAGE_CONTENTS;
195	Hide = TRUE ;
196	DialogControl = TRUE;
197	Size = MAP_APPFONT ( 120 , 200 ) ;
198	Control LB_CONTENTS
199	{
200		HelpId = HID_HELP_TREELISTBOX_CONTENTS ;
201		Border = TRUE ;
202		TabStop = TRUE;
203		Pos = MAP_APPFONT ( 6 , 6 ) ;
204		Size = MAP_APPFONT ( 108 , 188 ) ;
205	};
206};
207
208#define MASKCOLOR_MAGENTA \
209	MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
210
211Image IMG_HELP_TOOLBOX_INDEX_ON
212{
213	ImageBitmap = Bitmap { File = "indexon_small.bmp" ; };
214	MASKCOLOR_MAGENTA
215};
216Image IMG_HELP_TOOLBOX_INDEX_OFF
217{
218	ImageBitmap = Bitmap { File = "indexoff_small.bmp" ; };
219	MASKCOLOR_MAGENTA
220};
221Image IMG_HELP_TOOLBOX_START
222{
223	ImageBitmap = Bitmap { File = "sc06303.bmp" ; };
224	MASKCOLOR_MAGENTA
225};
226Image IMG_HELP_TOOLBOX_PREV
227{
228	ImageBitmap = Bitmap { File = "sc06301.bmp" ; };
229	MASKCOLOR_MAGENTA
230};
231Image IMG_HELP_TOOLBOX_NEXT
232{
233	ImageBitmap = Bitmap { File = "sc06300.bmp" ; };
234	MASKCOLOR_MAGENTA
235};
236Image IMG_HELP_TOOLBOX_PRINT
237{
238	ImageBitmap = Bitmap { File = "sc05504.bmp" ; };
239	MASKCOLOR_MAGENTA
240};
241Image IMG_HELP_TOOLBOX_BOOKMARKS
242{
243	ImageBitmap = Bitmap { File = "favourite.bmp" ; };
244	MASKCOLOR_MAGENTA
245};
246Image IMG_HELP_TOOLBOX_SEARCHDIALOG
247{
248	ImageBitmap = Bitmap { File = "sc05961.bmp" ; };
249	MASKCOLOR_MAGENTA
250};
251Image IMG_HELP_TOOLBOX_COPY
252{
253	ImageBitmap = Bitmap { File = "sc05711.bmp" ; };
254	MASKCOLOR_MAGENTA
255};
256Image IMG_HELP_CONTENT_BOOK_OPEN
257{
258	ImageBitmap = Bitmap { File = "hlpbookopen.bmp" ; };
259	MASKCOLOR_MAGENTA
260};
261Image IMG_HELP_CONTENT_BOOK_OPEN_HC
262{
263	ImageBitmap = Bitmap { File = "hlpbookopen_h.bmp" ; };
264	MASKCOLOR_MAGENTA
265};
266Image IMG_HELP_CONTENT_BOOK_CLOSED
267{
268	ImageBitmap = Bitmap { File = "hlpbookclosed.bmp" ; };
269	MASKCOLOR_MAGENTA
270};
271Image IMG_HELP_CONTENT_BOOK_CLOSED_HC
272{
273	ImageBitmap = Bitmap { File = "hlpbookclosed_h.bmp" ; };
274	MASKCOLOR_MAGENTA
275};
276Image IMG_HELP_CONTENT_DOC
277{
278	ImageBitmap = Bitmap { File = "hlpdoc.bmp" ; };
279	MASKCOLOR_MAGENTA
280};
281Image IMG_HELP_CONTENT_DOC_HC
282{
283	ImageBitmap = Bitmap { File = "hlpdoc_h.bmp" ; };
284	MASKCOLOR_MAGENTA
285};
286
287String STR_HELP_WINDOW_TITLE
288{
289	Text [ en-US ] = "%PRODUCTNAME Help";
290};
291String STR_HELP_BUTTON_INDEX_ON
292{
293	Text [ en-US ] = "Show Navigation Pane";
294};
295String STR_HELP_BUTTON_INDEX_OFF
296{
297	Text [ en-US ] = "Hide Navigation Pane";
298};
299String STR_HELP_BUTTON_START
300{
301	Text [ en-US ] = "First Page";
302};
303String STR_HELP_BUTTON_PREV
304{
305	Text [ en-US ] = "Previous Page";
306};
307String STR_HELP_BUTTON_NEXT
308{
309	Text [ en-US ] = "Next Page";
310};
311String STR_HELP_BUTTON_PRINT
312{
313	Text [ en-US ] = "Print...";
314};
315String STR_HELP_BUTTON_ADDBOOKMARK
316{
317	Text [ en-US ] = "Add to Bookmarks...";
318};
319String STR_HELP_BUTTON_SEARCHDIALOG
320{
321	Text [ en-US ] = "Find on this Page...";
322};
323String STR_HELP_BUTTON_SOURCEVIEW
324{
325	Text [ en-US ] = "HTML Source";
326};
327
328String STR_HELP_FIRST_MESSAGE
329{
330	Text [ en-US ] = "The Help is being started...";
331};
332String STR_HELP_FIRST_HTML
333{
334	Text = "<html></head><body><center><br></br><br></br><p><tt>%1</tt></center></body></html>";
335};
336String STR_HELP_MENU_TEXT_SELECTION_MODE
337{
338    Text [ en-US ] = "Select Text";
339};
340String STR_HELP_MENU_TEXT_COPY
341{
342    Text [ en-US ] = "~Copy" ;
343};
344ModalDialog DLG_HELP_ADDBOOKMARK
345{
346    HelpID = "sfx2:ModalDialog:DLG_HELP_ADDBOOKMARK";
347	Size = MAP_APPFONT ( 208 , 43 ) ;
348	Text [ en-US ] = "Add to Bookmarks";
349	MOVEABLE = TRUE ;
350	CLOSEABLE = TRUE ;
351	OUTPUTSIZE = TRUE ;
352	SVLOOK = TRUE ;
353	FixedText FT_BOOKMARK_TITLE
354	{
355		PosSize = MAP_APPFONT ( 6 , 6 , 140 , 10 ) ;
356		Text [ en-US ] = "Bookmark:" ;
357		TABSTOP = FALSE ;
358		GROUP = TRUE ;
359		LEFT = TRUE ;
360	};
361	Edit ED_BOOKMARK_TITLE
362	{
363	    HelpID = "sfx2:Edit:DLG_HELP_ADDBOOKMARK:ED_BOOKMARK_TITLE";
364		PosSize = MAP_APPFONT ( 6 , 19 , 140 , 12 ) ;
365		TABSTOP = TRUE ;
366		BORDER = TRUE ;
367	};
368	OKButton PB_BOOKMARK_OK
369	{
370		PosSize = MAP_APPFONT ( 152 , 6 , 50 , 14 ) ;
371		HIDE = FALSE ;
372		TABSTOP = TRUE ;
373		GROUP = TRUE ;
374		Disable = FALSE ;
375		DefButton = TRUE ;
376	};
377	CancelButton PB_BOOKMARK_CANCEL
378	{
379		PosSize = MAP_APPFONT ( 152 , 23 , 50 , 14 ) ;
380		TABSTOP = TRUE ;
381		GROUP = TRUE ;
382	};
383	HelpButton PB_BOOKMARK_HELP
384	{
385		PosSize = MAP_APPFONT ( 152 , 43 , 50 , 14 ) ;
386		TABSTOP = TRUE ;
387		GROUP = TRUE ;
388		Hide = TRUE;
389	};
390	String STR_BOOKMARK_RENAME
391	{
392		Text [ en-US ] = "Rename Bookmark";
393	};
394};
395
396Menu MENU_HELP_BOOKMARKS
397{
398	ItemList =
399	{
400		MenuItem
401		{
402			Identifier = MID_OPEN ;
403			HelpId = HID_HELP_BOOKMARKS_OPEN;
404			Text [ en-US ] = "Display";
405		};
406		MenuItem
407		{
408			Separator = TRUE ;
409		};
410		MenuItem
411		{
412			Identifier = MID_RENAME ;
413			HelpId = HID_HELP_BOOKMARKS_RENAME;
414			Text [ en-US ] = "Rename...";
415		};
416		MenuItem
417		{
418			Identifier = MID_DELETE ;
419			HelpId = HID_HELP_BOOKMARKS_DELETE;
420			Text [ en-US ] = "Delete";
421		};
422	};
423};
424
425InfoBox RID_INFO_NOSEARCHRESULTS
426{
427	BUTTONS = WB_OK ;
428	DEFBUTTON = WB_DEF_OK ;
429	Message [ en-US ] = "No topics found.";
430};
431
432InfoBox RID_INFO_NOSEARCHTEXTFOUND
433{
434	BUTTONS = WB_OK ;
435	DEFBUTTON = WB_DEF_OK ;
436	Message [ en-US ] = "The text you entered was not found.";
437};
438
439Image IMG_HELP_TOOLBOX_HC_INDEX_ON
440{
441	ImageBitmap = Bitmap { File = "indexon_small_h.bmp" ; };
442	MASKCOLOR_MAGENTA
443};
444Image IMG_HELP_TOOLBOX_HC_INDEX_OFF
445{
446	ImageBitmap = Bitmap { File = "indexoff_small_h.bmp" ; };
447	MASKCOLOR_MAGENTA
448};
449Image IMG_HELP_TOOLBOX_HC_START
450{
451	ImageBitmap = Bitmap { File = "sch06303.bmp" ; };
452	MASKCOLOR_MAGENTA
453};
454Image IMG_HELP_TOOLBOX_HC_PREV
455{
456	ImageBitmap = Bitmap { File = "sch06301.bmp" ; };
457	MASKCOLOR_MAGENTA
458};
459Image IMG_HELP_TOOLBOX_HC_NEXT
460{
461	ImageBitmap = Bitmap { File = "sch06300.bmp" ; };
462	MASKCOLOR_MAGENTA
463};
464Image IMG_HELP_TOOLBOX_HC_PRINT
465{
466	ImageBitmap = Bitmap { File = "sch05504.bmp" ; };
467	MASKCOLOR_MAGENTA
468};
469Image IMG_HELP_TOOLBOX_HC_BOOKMARKS
470{
471	ImageBitmap = Bitmap { File = "favourite_h.bmp" ; };
472	MASKCOLOR_MAGENTA
473};
474Image IMG_HELP_TOOLBOX_HC_SEARCHDIALOG
475{
476	ImageBitmap = Bitmap { File = "sch05961.bmp" ; };
477	MASKCOLOR_MAGENTA
478};
479Image IMG_HELP_TOOLBOX_HC_COPY
480{
481	ImageBitmap = Bitmap { File = "sch05711.bmp" ; };
482	MASKCOLOR_MAGENTA
483};
484
485Image IMG_HELP_TOOLBOX_L_INDEX_ON
486{
487	ImageBitmap = Bitmap { File = "indexon_big.bmp" ; };
488	MASKCOLOR_MAGENTA
489};
490Image IMG_HELP_TOOLBOX_L_INDEX_OFF
491{
492	ImageBitmap = Bitmap { File = "indexoff_big.bmp" ; };
493	MASKCOLOR_MAGENTA
494};
495Image IMG_HELP_TOOLBOX_L_START
496{
497	ImageBitmap = Bitmap { File = "lc06303.bmp" ; };
498	MASKCOLOR_MAGENTA
499};
500Image IMG_HELP_TOOLBOX_L_PREV
501{
502	ImageBitmap = Bitmap { File = "lc06301.bmp" ; };
503	MASKCOLOR_MAGENTA
504};
505Image IMG_HELP_TOOLBOX_L_NEXT
506{
507	ImageBitmap = Bitmap { File = "lc06300.bmp" ; };
508	MASKCOLOR_MAGENTA
509};
510Image IMG_HELP_TOOLBOX_L_PRINT
511{
512	ImageBitmap = Bitmap { File = "lc05504.bmp" ; };
513	MASKCOLOR_MAGENTA
514};
515Image IMG_HELP_TOOLBOX_L_BOOKMARKS
516{
517	ImageBitmap = Bitmap { File = "favourite_big.bmp" ; };
518	MASKCOLOR_MAGENTA
519};
520Image IMG_HELP_TOOLBOX_L_SEARCHDIALOG
521{
522	ImageBitmap = Bitmap { File = "lc05961.bmp" ; };
523	MASKCOLOR_MAGENTA
524};
525Image IMG_HELP_TOOLBOX_L_COPY
526{
527	ImageBitmap = Bitmap { File = "lc05711.bmp" ; };
528	MASKCOLOR_MAGENTA
529};
530
531Image IMG_HELP_TOOLBOX_HCL_INDEX_ON
532{
533	ImageBitmap = Bitmap { File = "indexon_big_h.bmp" ; };
534	MASKCOLOR_MAGENTA
535};
536Image IMG_HELP_TOOLBOX_HCL_INDEX_OFF
537{
538	ImageBitmap = Bitmap { File = "indexoff_big_h.bmp" ; };
539	MASKCOLOR_MAGENTA
540};
541Image IMG_HELP_TOOLBOX_HCL_START
542{
543	ImageBitmap = Bitmap { File = "lch06303.bmp" ; };
544	MASKCOLOR_MAGENTA
545};
546Image IMG_HELP_TOOLBOX_HCL_PREV
547{
548	ImageBitmap = Bitmap { File = "lch06301.bmp" ; };
549	MASKCOLOR_MAGENTA
550};
551Image IMG_HELP_TOOLBOX_HCL_NEXT
552{
553	ImageBitmap = Bitmap { File = "lch06300.bmp" ; };
554	MASKCOLOR_MAGENTA
555};
556Image IMG_HELP_TOOLBOX_HCL_PRINT
557{
558	ImageBitmap = Bitmap { File = "lch05504.bmp" ; };
559	MASKCOLOR_MAGENTA
560};
561Image IMG_HELP_TOOLBOX_HCL_BOOKMARKS
562{
563	ImageBitmap = Bitmap { File = "favourite_big_h.bmp" ; };
564	MASKCOLOR_MAGENTA
565};
566Image IMG_HELP_TOOLBOX_HCL_SEARCHDIALOG
567{
568	ImageBitmap = Bitmap { File = "lch05961.bmp" ; };
569	MASKCOLOR_MAGENTA
570};
571Image IMG_HELP_TOOLBOX_HCL_COPY
572{
573	ImageBitmap = Bitmap { File = "lch05711.bmp" ; };
574	MASKCOLOR_MAGENTA
575};
576
577CheckBox RID_HELP_ONSTARTUP_BOX
578{
579	HelpId = HID_HELP_ONSTARTUP_BOX;
580	Hide = TRUE;
581	TabStop = TRUE;
582	Size = MAP_APPFONT ( 200 , 10 ) ;
583};
584String RID_HELP_ONSTARTUP_TEXT
585{
586    Text [ en-US ] = "~Display %PRODUCTNAME %MODULENAME Help at Startup";
587};
588
589