1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: idxmrk.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <svtools/controldims.hrc>
37 #define IDX_PHONETIC_LISTBOX_DESCRIPTION \
38 Text [ en-US ] = "Phonetic reading"; \
40 #define IDX_DIALOG_WINDOW \
43 Pos = MAP_APPFONT ( 0 , 0 ) ; \
44 Size = MAP_APPFONT ( IDX_WIN_WIDTH , WINDOW_HEIGHT ) ; \
47 Pos = MAP_APPFONT ( COL_BUTTONS , 6 ) ; \
48 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \
51 Text [ en-US ] = "Insert";\
53 CancelButton BT_CANCEL \
55 Pos = MAP_APPFONT ( COL_BUTTONS , 23 ) ; \
56 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \
57 Text [ en-US ] = "Close";\
61 Pos = MAP_APPFONT ( COL_BUTTONS , 43 ) ; \
62 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \
66 Pos = MAP_APPFONT ( COL_BUTTONS , 63 ) ; \
67 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \
68 Text [ en-US ] = "~Delete" ; \
73 Pos = MAP_APPFONT ( IDX_COL2 , 14) ; \
74 Size = MAP_APPFONT ( DCB_INDEX_WIDTH , 56 ) ; \
80 Pos = MAP_APPFONT ( IDX_NEWIMAGE_XPOS , 13 ) ; \
81 Size = MAP_APPFONT ( IDX_NEWIMAGE_WIDTH , 15 ) ; \
82 QuickHelpText [ en-US ] = "New User-defined Index";\
84 ImageButton BT_PREVSAME \
87 Pos = MAP_APPFONT ( COL_BUTTONS , 80 ) ; \
88 Size = MAP_APPFONT ( 24 , 14 ) ; \
90 SYMBOL = IMAGEBUTTON_FIRST ; \
95 Pos = MAP_APPFONT ( COL_BUTTONS , 97 ) ; \
96 Size = MAP_APPFONT ( 24 , 14 ) ; \
98 SYMBOL = IMAGEBUTTON_PREV ; \
103 Pos = MAP_APPFONT ( COL_BUTTONS_2 , 97 ) ; \
104 Size = MAP_APPFONT ( 24 , 14 ) ; \
106 SYMBOL = IMAGEBUTTON_NEXT ; \
108 ImageButton BT_NXTSAME \
111 Pos = MAP_APPFONT ( COL_BUTTONS_2 , 80 ) ; \
112 Size = MAP_APPFONT ( 24 , 14 ) ; \
114 SYMBOL = IMAGEBUTTON_LAST ; \
118 Pos = MAP_APPFONT ( 6 , 3 ) ; \
119 Size = MAP_APPFONT ( COL_BUTTONS-5-6 , RSC_CD_FIXEDLINE_HEIGHT ) ; \
120 Text [ en-US ] = "Selection" ; \
122 FixedText LBL_INDEX \
124 Pos = MAP_APPFONT ( IDX_COL1 , 16 ) ; \
125 Size = MAP_APPFONT ( 40 , 10 ) ; \
126 Text [ en-US ] = "~Index" ; \
132 Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_2_LIST ) ; \
133 Size = MAP_APPFONT ( LIST_WIDTH , 12 ) ; \
137 FixedText LBL_ENTRY \
139 Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_2_TEXT ) ; \
140 Size = MAP_APPFONT ( 27 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
141 Text [ en-US ] = "~Entry" ; \
147 Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_3_TEXT ) ; \
148 Size = MAP_APPFONT ( 42 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
149 Text [ en-US ] = "~1st key" ; \
155 Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_3_LIST ) ; \
156 Size = MAP_APPFONT ( LIST_WIDTH , 56 ) ; \
163 Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_4_TEXT ) ; \
164 Size = MAP_APPFONT ( 42 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
165 Text [ en-US ] = "~2nd key" ; \
171 Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_4_LIST ) ; \
172 Size = MAP_APPFONT ( LIST_WIDTH , 56 ) ; \
176 FixedText FT_PHONETIC_1 \
178 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_2_TEXT ) ; \
179 Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
180 Hide = PHONETIC_HIDDEN; \
181 IDX_PHONETIC_LISTBOX_DESCRIPTION \
186 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_2_LIST ) ; \
187 Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \
188 Hide = PHONETIC_HIDDEN; \
192 FixedText FT_PHONETIC_2 \
194 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_3_TEXT ) ; \
195 Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
196 Hide = PHONETIC_HIDDEN; \
197 IDX_PHONETIC_LISTBOX_DESCRIPTION \
202 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_3_LIST ) ; \
203 Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \
204 Hide = PHONETIC_HIDDEN; \
208 FixedText FT_PHONETIC_3 \
210 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_4_TEXT ) ; \
211 Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
212 Hide = PHONETIC_HIDDEN; \
213 IDX_PHONETIC_LISTBOX_DESCRIPTION \
218 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_4_LIST ) ; \
219 Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \
220 Hide = PHONETIC_HIDDEN; \
224 FixedText LBL_LEVEL \
226 Pos = MAP_APPFONT ( IDX_COL1 , 76 ) ; \
227 Size = MAP_APPFONT ( 41 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \
228 Text [ en-US ] = "~Level" ; \
231 NumericField SL_LEVEL \
234 Pos = MAP_APPFONT ( IDX_COL2 , 74 ) ; \
235 Size = MAP_APPFONT ( 18 , 12 ) ; \
246 CheckBox CB_MAIN_ENTRY \
248 Pos = MAP_APPFONT ( IDX_COL1 , 76 ) ; \
249 Size = MAP_APPFONT ( 100 , 8 ) ; \
250 Text [ en-US ] = "~Main entry";\
252 CheckBox CB_APPLY_TO_ALL \
254 Pos = MAP_APPFONT ( IDX_COL1 , 90 ) ; \
255 Size = MAP_APPFONT ( 140 , 12 ) ; \
257 Text [ en-US ] = "~Apply to all similar texts."; \
259 CheckBox CB_CASESENSITIVE \
261 Pos = MAP_APPFONT ( 21 , 104 ) ; \
262 Size = MAP_APPFONT ( 131 , 12 ) ; \
264 Text [ en-US ] = "Ma~tch case";\
266 CheckBox CB_WORDONLY \
268 Pos = MAP_APPFONT ( 21 , 118 ) ; \
269 Size = MAP_APPFONT ( 131 , 12 ) ; \
271 Text [ en-US ] = "~Whole words only";\
275 ModalDialog DLG_EDIT_IDXMARK
281 HelpID = FN_EDIT_IDX_ENTRY_DLG;
283 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_NORMAL
284 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 118 ) ;
285 #define GB_HEIGHT 109
286 #define DCB_INDEX_WIDTH 94
287 #define PHONETIC_HIDDEN TRUE
288 #define LIST_WIDTH 94
289 #define COL_BUTTONS IDX_COL_BUTTONS_NORMAL
290 #define COL_BUTTONS_2 (COL_BUTTONS+26)
291 #define WINDOW_HEIGHT 118
294 ModalDialog DLG_EDIT_IDXMARK_CJK
300 HelpID = FN_EDIT_IDX_ENTRY_DLG;
302 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_CJK
303 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 118 ) ;
304 #define GB_HEIGHT 109
305 #define DCB_INDEX_WIDTH 94
306 #define PHONETIC_HIDDEN FALSE
307 #define LIST_WIDTH IDX_PHONETIC_EDIT_WIDTH
308 #define COL_BUTTONS IDX_COL_BUTTONS_CJK
309 #define COL_BUTTONS_2 (COL_BUTTONS+26)
310 #define WINDOW_HEIGHT 118
313 ModelessDialog DLG_INSIDXMARK
321 HelpID = FN_INSERT_IDX_ENTRY_DLG;
323 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_NORMAL
324 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 138) ;
326 #define GB_HEIGHT 129
327 #define DCB_INDEX_WIDTH 79
328 #define PHONETIC_HIDDEN TRUE
329 #define LIST_WIDTH 94
330 #define COL_BUTTONS IDX_COL_BUTTONS_NORMAL
331 #define COL_BUTTONS_2 (COL_BUTTONS+26)
332 #define WINDOW_HEIGHT 138
335 ModelessDialog DLG_INSIDXMARK_CJK
342 HelpID = FN_INSERT_IDX_ENTRY_DLG;
344 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_CJK
345 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 138) ;
347 #define GB_HEIGHT 129
348 #define DCB_INDEX_WIDTH 79
349 #define PHONETIC_HIDDEN FALSE
350 #define LIST_WIDTH IDX_PHONETIC_EDIT_WIDTH
351 #define COL_BUTTONS IDX_COL_BUTTONS_CJK
352 #define COL_BUTTONS_2 (COL_BUTTONS+26)
353 #define WINDOW_HEIGHT 138
356 ModalDialog DLG_NEW_USER_IDX
362 HelpID = HID_DLG_NEW_USER_IDX;
364 Size = MAP_APPFONT ( 194 , 60 ) ;
367 Pos = MAP_APPFONT ( 141 , 6 ) ;
368 Size = MAP_APPFONT ( 50 , 14 ) ;
372 CancelButton PB_CANCEL
374 Pos = MAP_APPFONT ( 141 , 23 ) ;
375 Size = MAP_APPFONT ( 50 , 14 ) ;
379 Pos = MAP_APPFONT ( 141 , 43 ) ;
380 Size = MAP_APPFONT ( 50 , 14 ) ;
384 Pos = MAP_APPFONT ( 6 , 3 ) ;
385 Size = MAP_APPFONT ( 130 , 8 ) ;
387 Text [ en-US ] = "New user index";
391 Pos = MAP_APPFONT ( 12 , 17 ) ;
392 Size = MAP_APPFONT ( 40 , 8 ) ;
394 Text [ en-US ] = "~Name";
399 Pos = MAP_APPFONT ( 55 , 15 ) ;
400 Size = MAP_APPFONT ( 78 , 12 ) ;
404 Text [ en-US ] = "Create New User-defined Index";
407 String STR_IDXMRK_EDIT
409 Text [ en-US ] = "Edit Index Entry" ;
411 String STR_IDXMRK_INSERT
413 /* ### ACHTUNG: Neuer Text in Resource? Verzeichniseintrag einfügen : Verzeichniseintrag einf³gen */
414 Text [ en-US ] = "Insert Index Entry" ;
417 #define AUTH_DIALOG_WINDOW \
420 Pos = MAP_APPFONT ( 0 , 0 ) ; \
421 Size = MAP_APPFONT ( 218 , 118 + RADIO_BUTTON_HEIGHT) ; \
422 RadioButton RB_FROMCOMPONENT \
424 Pos = MAP_APPFONT ( 12 , 14 ) ; \
425 Size = MAP_APPFONT ( 147 , 12 ) ; \
426 Text [ en-US ] = "From bibliography ~database";\
428 RadioButton RB_FROMDOCCONTENT \
430 Pos = MAP_APPFONT ( 12, 29 ) ; \
431 Size = MAP_APPFONT ( 147 , 12 ) ; \
432 Text [ en-US ] = "~From document content";\
434 FixedText FT_AUTHOR \
436 Pos = MAP_APPFONT ( 12 , 14 + RADIO_BUTTON_HEIGHT) ; \
437 Size = MAP_APPFONT ( 60 , 8 ) ; \
438 Text [ en-US ] = "Author";\
440 FixedText FI_AUTHOR \
442 Pos = MAP_APPFONT ( 12 , 25 + RADIO_BUTTON_HEIGHT) ; \
443 Size = MAP_APPFONT ( 140, 8 ) ; \
448 Pos = MAP_APPFONT ( 12 , 37 + RADIO_BUTTON_HEIGHT) ; \
449 Size = MAP_APPFONT ( 60 , 8 ) ; \
450 Text [ en-US ] = "Title";\
454 Pos = MAP_APPFONT ( 12 , 48 + RADIO_BUTTON_HEIGHT) ; \
455 Size = MAP_APPFONT ( 140, 8 ) ; \
460 Pos = MAP_APPFONT ( 12 , 62 + RADIO_BUTTON_HEIGHT) ; \
461 Size = MAP_APPFONT ( 60 , 8 ) ; \
462 Text [ en-US ] = "Short ~name";\
467 Pos = MAP_APPFONT ( 12 , 73 + RADIO_BUTTON_HEIGHT) ; \
468 Size = MAP_APPFONT ( 140 , 12 ) ; \
475 Pos = MAP_APPFONT ( 12 , 73 + RADIO_BUTTON_HEIGHT) ; \
476 Size = MAP_APPFONT ( 140 , 50 ) ; \
482 Pos = MAP_APPFONT ( 6 , 3 ) ; \
483 Size = MAP_APPFONT ( 146 , 8 ) ; \
484 Text [ en-US ] = "Entry";\
488 Pos = MAP_APPFONT ( 162 , 6 ) ; \
489 Size = MAP_APPFONT ( 50 , 14 ) ; \
492 Text [ en-US ] = "Insert";\
494 CancelButton PB_CANCEL \
496 Pos = MAP_APPFONT ( 162 , 23 ) ; \
497 Size = MAP_APPFONT ( 50 , 14 ) ; \
498 Text [ en-US ] = "Close";\
502 Pos = MAP_APPFONT ( 162 , 43 ) ; \
503 Size = MAP_APPFONT ( 50 , 14 ) ; \
505 PushButton PB_CREATEENTRY \
507 Pos = MAP_APPFONT ( 162 , 60 ) ; \
508 Size = MAP_APPFONT ( 50 , 14 ) ; \
509 Text [ en-US ] = "~New";\
511 PushButton PB_EDITENTRY \
513 Pos = MAP_APPFONT ( 162 , 77 ) ; \
514 Size = MAP_APPFONT ( 50 , 14 ) ; \
515 Text [ en-US ] = "Edit";\
519 Text [ en-US ] = "Modify";\
523 ModalDialog DLG_EDIT_AUTHMARK
529 HelpID = FN_EDIT_AUTH_ENTRY_DLG;
531 Size = MAP_APPFONT ( 218 , 118 ) ;
532 #define RADIO_BUTTON_HEIGHT 0
535 ModelessDialog DLG_INSAUTHMARK
542 HelpID = FN_INSERT_AUTH_ENTRY_DLG;
544 #define RADIO_BUTTON_HEIGHT 30
545 Size = MAP_APPFONT ( 218 , 118 + RADIO_BUTTON_HEIGHT) ;
549 ModalDialog DLG_CREATE_AUTH_ENTRY
551 HelpId = HID_DLG_CREATE_AUTH_ENTRY;
554 Size = MAP_APPFONT ( 365 , 203 ) ;
558 Pos = MAP_APPFONT ( 312 , 6 ) ;
559 Size = MAP_APPFONT ( 50 , 14 ) ;
563 CancelButton PB_CANCEL
565 Pos = MAP_APPFONT ( 312 , 23 ) ;
566 Size = MAP_APPFONT ( 50 , 14 ) ;
570 Pos = MAP_APPFONT ( 312 , 43 ) ;
571 Size = MAP_APPFONT ( 50 , 14 ) ;
575 Pos = MAP_APPFONT ( 6 , 3 ) ;
576 Size = MAP_APPFONT ( 300 , 8 ) ;
577 Text [ en-US ] = "Entry data";
579 Text [ en-US ] = "Define Bibliography Entry";
581 String STR_AUTHMRK_EDIT
584 Text [ en-US ] = "Edit Bibliography Entry";
586 String STR_AUTHMRK_INSERT
589 Text [ en-US ] = "Insert Bibliography Entry";
591 QueryBox DLG_CHANGE_AUTH_ENTRY
593 BUTTONS = WB_YES_NO ;
594 DEFBUTTON = WB_DEF_NO ;
595 Message [ en-US ] = "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?";