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//#pragma CHARSET_ANSI
24
25#include "sections.hrc"
26#include "bibliography.hrc"
27
28#define FT_POS          12
29#define FTSIZE_LEFT     88
30#define ED_POS_LEFT		FT_POS+FTSIZE_LEFT+1
31#define ED_SIZE         70
32#define ED_POS_LEFT2	ED_POS_LEFT + ED_SIZE +1
33#define FT_POS_MIDDLE	ED_POS_LEFT2 + 5
34#define FT_POS_RIGHT 	FT_POS_MIDDLE + FT_POS_MIDDLE - FT_POS
35
36#define FL_POS          6
37#define PAGE_WIDTH      FT_POS_RIGHT + FTSIZE_LEFT + (FTSIZE_LEFT * 8 / 10) + FL_POS + 5
38#define FL_WIDTH        PAGE_WIDTH - 2 * FL_POS
39
40TabPage RID_TP_GENERAL
41{
42	SVLook = TRUE ;
43    Size = MAP_APPFONT( PAGE_WIDTH, 209 );
44	HelpId = HID_BIB_CONTROL_PAGE;
45
46	FixedText FT_IDENTIFIER
47	{
48		Pos = MAP_APPFONT( FT_POS, 6 );
49		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
50        Right = TRUE;
51	};
52	FixedText FT_AUTHTYPE
53	{
54		Pos = MAP_APPFONT( FT_POS_MIDDLE, 6 );
55		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
56        Right = TRUE;
57    };
58	FixedText FT_YEAR
59	{
60		Pos = MAP_APPFONT( FT_POS_RIGHT, 6 );
61		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
62        Right = TRUE;
63    };
64	FixedText FT_AUTHOR
65	{
66		Pos = MAP_APPFONT( FT_POS, 20 );
67		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
68        Right = TRUE;
69    };
70	FixedText FT_TITLE
71	{
72		Pos = MAP_APPFONT( FT_POS_MIDDLE, 20 );
73		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
74        Right = TRUE;
75    };
76	FixedText FT_PUBLISHER
77	{
78		Pos = MAP_APPFONT( FT_POS, 34 );
79		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
80        Right = TRUE;
81    };
82	FixedText FT_ADDRESS
83	{
84		Pos = MAP_APPFONT( FT_POS_MIDDLE, 34 );
85		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
86        Right = TRUE;
87    };
88	FixedText FT_ISBN
89	{
90		Pos = MAP_APPFONT( FT_POS_RIGHT, 34 );
91		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
92        Right = TRUE;
93    };
94	FixedText FT_CHAPTER
95	{
96		Pos = MAP_APPFONT( FT_POS, 48 );
97		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
98        Right = TRUE;
99    };
100	FixedText FT_PAGE
101	{
102		Pos = MAP_APPFONT( FT_POS_MIDDLE, 48 );
103		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
104        Right = TRUE;
105    };
106    FixedLine FL_1
107    {
108        Pos = MAP_APPFONT( FL_POS, 62 );
109        Size = MAP_APPFONT( FL_WIDTH, 8 );
110    };
111	FixedText FT_EDITOR
112	{
113        Pos = MAP_APPFONT( FT_POS, 73 );
114		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
115        Right = TRUE;
116    };
117	FixedText FT_EDITION
118	{
119        Pos = MAP_APPFONT( FT_POS_MIDDLE, 73 );
120		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
121        Right = TRUE;
122    };
123	FixedText FT_BOOKTITLE
124	{
125        Pos = MAP_APPFONT( FT_POS, 87 );
126		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
127        Right = TRUE;
128    };
129	FixedText FT_VOLUME
130	{
131        Pos = MAP_APPFONT( FT_POS_MIDDLE, 87 );
132		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
133        Right = TRUE;
134    };
135	FixedText FT_HOWPUBLISHED
136	{
137        Pos = MAP_APPFONT( FT_POS_RIGHT, 87 );
138		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
139        Right = TRUE;
140    };
141	FixedText FT_ORGANIZATION
142	{
143        Pos = MAP_APPFONT( FT_POS, 101 );
144		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
145        Right = TRUE;
146    };
147	FixedText FT_INSTITUTION
148	{
149        Pos = MAP_APPFONT( FT_POS_MIDDLE, 101 );
150		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
151        Right = TRUE;
152    };
153	FixedText FT_SCHOOL
154	{
155        Pos = MAP_APPFONT( FT_POS_RIGHT, 101 );
156		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
157        Right = TRUE;
158    };
159	FixedText FT_REPORT
160	{
161        Pos = MAP_APPFONT( FT_POS, 115);
162		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
163        Right = TRUE;
164    };
165	FixedText FT_MONTH
166	{
167        Pos = MAP_APPFONT( FT_POS_MIDDLE, 115 );
168		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
169        Right = TRUE;
170    };
171    FixedLine FL_2
172    {
173        Pos = MAP_APPFONT( FL_POS, 129 );
174        Size = MAP_APPFONT( FL_WIDTH, 8 );
175    };
176    FixedText FT_JOURNAL
177	{
178        Pos = MAP_APPFONT( FT_POS, 140 );
179		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
180        Right = TRUE;
181    };
182
183	FixedText FT_NUMBER
184	{
185        Pos = MAP_APPFONT( FT_POS_MIDDLE, 140 );
186		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
187        Right = TRUE;
188    };
189	FixedText FT_SERIES
190	{
191        Pos = MAP_APPFONT( FT_POS_RIGHT, 140 );
192		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
193        Right = TRUE;
194    };
195	FixedText FT_ANNOTE
196	{
197        Pos = MAP_APPFONT( FT_POS, 154 );
198		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
199        Right = TRUE;
200    };
201	FixedText FT_NOTE
202	{
203        Pos = MAP_APPFONT( FT_POS_MIDDLE, 154 );
204		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
205        Right = TRUE;
206    };
207	FixedText FT_URL
208	{
209        Pos = MAP_APPFONT( FT_POS_RIGHT, 154 );
210		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
211        Right = TRUE;
212    };
213    FixedLine FL_3
214    {
215        Pos = MAP_APPFONT( FL_POS, 168 );
216        Size = MAP_APPFONT( FL_WIDTH, 8 );
217    };
218    FixedText FT_CUSTOM1
219	{
220        Pos = MAP_APPFONT( FT_POS, 179 );
221		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
222        Right = TRUE;
223    };
224	FixedText FT_CUSTOM2
225	{
226        Pos = MAP_APPFONT( FT_POS_MIDDLE, 179 );
227		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
228        Right = TRUE;
229    };
230	FixedText FT_CUSTOM3
231	{
232        Pos = MAP_APPFONT( FT_POS_RIGHT, 179 );
233		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
234        Right = TRUE;
235    };
236	FixedText FT_CUSTOM4
237	{
238        Pos = MAP_APPFONT( FT_POS, 193 );
239		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
240        Right = TRUE;
241    };
242	FixedText FT_CUSTOM5
243	{
244        Pos = MAP_APPFONT( FT_POS_MIDDLE, 193 );
245		Size = MAP_APPFONT( FTSIZE_LEFT, 10 );
246        Right = TRUE;
247    };
248	String ST_ERROR_PREFIX
249	{
250		Text [ en-US ] = "The following column names could not be assigned:\n";
251	};
252	String ST_TYPE_ARTICLE
253	{
254		Text [ en-US ] = "Article";
255	};
256	String ST_TYPE_BOOK
257	{
258		Text [ en-US ] = "Book";
259	};
260	String ST_TYPE_BOOKLET
261	{
262		Text [ en-US ] = "Brochures";
263	};
264	String ST_TYPE_CONFERENCE
265	{
266		Text [ en-US ] = "Conference proceedings";
267	};
268	String ST_TYPE_INBOOK
269	{
270		Text [ en-US ] = "Book excerpt";
271	};
272	String ST_TYPE_INCOLLECTION
273	{
274		Text [ en-US ] = "Book excerpt with title";
275	};
276	String ST_TYPE_INPROCEEDINGS
277	{
278		Text [ en-US ] = "Conference proceedings";
279	};
280	String ST_TYPE_JOURNAL
281	{
282		Text [ en-US ] = "Journal";
283	};
284	String ST_TYPE_MANUAL
285	{
286		Text [ en-US ] = "Techn. documentation";
287	};
288	String ST_TYPE_MASTERSTHESIS
289	{
290		Text [ en-US ] = "Thesis";
291	};
292	String ST_TYPE_MISC
293	{
294		Text [ en-US ] = "Miscellaneous";
295	};
296	String ST_TYPE_PHDTHESIS
297	{
298		Text [ en-US ] = "Dissertation";
299	};
300	String ST_TYPE_PROCEEDINGS
301	{
302		Text [ en-US ] = "Conference proceedings";
303	};
304	String ST_TYPE_TECHREPORT
305	{
306		Text [ en-US ] = "Research report";
307	};
308	String ST_TYPE_UNPUBLISHED
309	{
310		Text [ en-US ] = "Unpublished";
311	};
312	String ST_TYPE_EMAIL
313	{
314		Text [ en-US ] = "e-mail";
315	};
316	String ST_TYPE_WWW
317	{
318		Text [ en-US ] = "WWW document";
319	};
320	String ST_TYPE_CUSTOM1
321	{
322		Text [ en-US ] = "User-defined1";
323	};
324	String ST_TYPE_CUSTOM2
325	{
326		Text [ en-US ] = "User-defined2";
327	};
328	String ST_TYPE_CUSTOM3
329	{
330		Text [ en-US ] = "User-defined3";
331	};
332	String ST_TYPE_CUSTOM4
333	{
334		Text [ en-US ] = "User-defined4";
335	};
336	String ST_TYPE_CUSTOM5
337	{
338		Text [ en-US ] = "User-defined5";
339	};
340	Text [ en-US ] = "General";
341};
342Menu RID_POPUP_ME_VIEW
343{
344	ItemList =
345	{
346		MenuItem
347		{
348			Identifier = PU_INSERT;
349			Text [ en-US ] = "Insert Section...";
350		};
351		MenuItem
352		{
353			Identifier = PU_REMOVE;
354			Text [ en-US ] = "Delete Section...";
355		};
356		MenuItem
357		{
358			Identifier = PU_CHG_NAME;
359			Text [ en-US ] = "Modify Name...";
360		};
361	};
362};
363
364String ST_IDENTIFIER
365{
366    Text [ en-US ] = "~Short name";
367};
368String ST_AUTHTYPE
369{
370    Text [ en-US ] = "~Type";
371};
372String ST_YEAR
373{
374    Text [ en-US ] = "~Year";
375};
376String ST_AUTHOR
377{
378	Text [ en-US ] = "Author(s)";
379};
380String ST_TITLE
381{
382    Text [ en-US ] = "Tit~le";
383};
384String ST_PUBLISHER
385{
386    Text [ en-US ] = "~Publisher";
387};
388String ST_ADDRESS
389{
390    Text [ en-US ] = "A~ddress";
391};
392String ST_ISBN
393{
394    Text [ en-US ] = "~ISBN";
395};
396String ST_CHAPTER
397{
398    Text [ en-US ] = "~Chapter";
399};
400String ST_PAGE
401{
402    Text [ en-US ] = "Pa~ge(s)";
403};
404String ST_EDITOR
405{
406    Text [ en-US ] = "Editor";
407};
408String ST_EDITION
409{
410    Text [ en-US ] = "Ed~ition";
411};
412String ST_BOOKTITLE
413{
414    Text [ en-US ] = "~Book title";
415};
416String ST_VOLUME
417{
418	Text [ en-US ] = "Volume";
419};
420String ST_HOWPUBLISHED
421{
422    Text [ en-US ] = "Publication t~ype";
423};
424String ST_ORGANIZATION
425{
426    Text [ en-US ] = "Organi~zation";
427};
428String ST_INSTITUTION
429{
430    Text [ en-US ] = "Instit~ution";
431};
432String ST_SCHOOL
433{
434	Text [ en-US ] = "University";
435};
436String ST_REPORT
437{
438	Text [ en-US ] = "Type of re~port";
439};
440String ST_MONTH
441{
442    Text [ en-US ] = "~Month";
443};
444String ST_JOURNAL
445{
446    Text [ en-US ] = "~Journal";
447};
448
449String ST_NUMBER
450{
451    Text [ en-US ] = "Numb~er";
452};
453String ST_SERIES
454{
455    Text [ en-US ] = "Se~ries";
456};
457String ST_ANNOTE
458{
459    Text [ en-US ] = "Ann~otation";
460};
461String ST_NOTE
462{
463    Text [ en-US ] = "~Note";
464};
465String ST_URL
466{
467    Text [ en-US ] = "URL";
468};
469String ST_CUSTOM1
470{
471    Text [ en-US ] = "User-defined field ~1";
472};
473String ST_CUSTOM2
474{
475    Text [ en-US ] = "User-defined field ~2";
476};
477String ST_CUSTOM3
478{
479    Text [ en-US ] = "User-defined field ~3";
480};
481String ST_CUSTOM4
482{
483    Text [ en-US ] = "User-defined field ~4";
484};
485String ST_CUSTOM5
486{
487    Text [ en-US ] = "User-defined field ~5";
488};
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581