1*8660f102SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8660f102SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8660f102SAndrew Rist * distributed with this work for additional information 6*8660f102SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance 9*8660f102SAndrew Rist * with the License. You may obtain a copy of the License at 10*8660f102SAndrew Rist * 11*8660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8660f102SAndrew Rist * 13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8660f102SAndrew Rist * software distributed under the License is distributed on an 15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8660f102SAndrew Rist * KIND, either express or implied. See the License for the 17*8660f102SAndrew Rist * specific language governing permissions and limitations 18*8660f102SAndrew Rist * under the License. 19*8660f102SAndrew Rist * 20*8660f102SAndrew Rist *************************************************************/ 21*8660f102SAndrew Rist 22*8660f102SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <svtools/controldims.hrc> 25cdf0e10cSrcweir#include "index.hrc" 26cdf0e10cSrcweir#include "idxmrk.hrc" 27cdf0e10cSrcweir#include "helpid.h" 28cdf0e10cSrcweir#include "cmdid.h" 29cdf0e10cSrcweir 30cdf0e10cSrcweir#define IDX_PHONETIC_LISTBOX_DESCRIPTION \ 31cdf0e10cSrcweirText [ en-US ] = "Phonetic reading"; \ 32cdf0e10cSrcweir 33cdf0e10cSrcweir#define IDX_DIALOG_WINDOW \ 34cdf0e10cSrcweir Window WIN_DLG \ 35cdf0e10cSrcweir { \ 36cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; \ 37cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_WIN_WIDTH , WINDOW_HEIGHT ) ; \ 38cdf0e10cSrcweir OKButton BT_OK \ 39cdf0e10cSrcweir { \ 40cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS , 6 ) ; \ 41cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 42cdf0e10cSrcweir TabStop = TRUE ; \ 43cdf0e10cSrcweir DefButton = TRUE ; \ 44cdf0e10cSrcweir Text [ en-US ] = "Insert";\ 45cdf0e10cSrcweir }; \ 46cdf0e10cSrcweir CancelButton BT_CANCEL \ 47cdf0e10cSrcweir { \ 48cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS , 23 ) ; \ 49cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 50cdf0e10cSrcweir Text [ en-US ] = "Close";\ 51cdf0e10cSrcweir }; \ 52cdf0e10cSrcweir HelpButton BT_HELP \ 53cdf0e10cSrcweir { \ 54cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS , 43 ) ; \ 55cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 56cdf0e10cSrcweir }; \ 57cdf0e10cSrcweir PushButton BT_DEL \ 58cdf0e10cSrcweir { \ 59cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS , 63 ) ; \ 60cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 61cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; \ 62cdf0e10cSrcweir TabStop = TRUE ; \ 63cdf0e10cSrcweir }; \ 64cdf0e10cSrcweir ListBox DCB_INDEX \ 65cdf0e10cSrcweir { \ 66cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL2 , 14) ; \ 67cdf0e10cSrcweir Size = MAP_APPFONT ( DCB_INDEX_WIDTH , 56 ) ; \ 68cdf0e10cSrcweir TabStop = TRUE ; \ 69cdf0e10cSrcweir DropDown = TRUE ; \ 70cdf0e10cSrcweir }; \ 71cdf0e10cSrcweir ImageButton BT_NEW \ 72cdf0e10cSrcweir { \ 73cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_NEWIMAGE_XPOS , 13 ) ; \ 74cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_NEWIMAGE_WIDTH , 15 ) ; \ 75cdf0e10cSrcweir QuickHelpText [ en-US ] = "New User-defined Index";\ 76cdf0e10cSrcweir }; \ 77cdf0e10cSrcweir ImageButton BT_PREVSAME \ 78cdf0e10cSrcweir { \ 79cdf0e10cSrcweir Hide = TRUE ; \ 80cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS , 80 ) ; \ 81cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 14 ) ; \ 82cdf0e10cSrcweir TabStop = TRUE ; \ 83cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_FIRST ; \ 84cdf0e10cSrcweir }; \ 85cdf0e10cSrcweir ImageButton BT_PREV \ 86cdf0e10cSrcweir { \ 87cdf0e10cSrcweir Hide = TRUE ; \ 88cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS , 97 ) ; \ 89cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 14 ) ; \ 90cdf0e10cSrcweir TabStop = TRUE ; \ 91cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_PREV ; \ 92cdf0e10cSrcweir }; \ 93cdf0e10cSrcweir ImageButton BT_NXT \ 94cdf0e10cSrcweir { \ 95cdf0e10cSrcweir Hide = TRUE ; \ 96cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS_2 , 97 ) ; \ 97cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 14 ) ; \ 98cdf0e10cSrcweir TabStop = TRUE ; \ 99cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_NEXT ; \ 100cdf0e10cSrcweir }; \ 101cdf0e10cSrcweir ImageButton BT_NXTSAME \ 102cdf0e10cSrcweir { \ 103cdf0e10cSrcweir Hide = TRUE ; \ 104cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_BUTTONS_2 , 80 ) ; \ 105cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 14 ) ; \ 106cdf0e10cSrcweir TabStop = TRUE ; \ 107cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_LAST ; \ 108cdf0e10cSrcweir }; \ 109cdf0e10cSrcweir FixedLine FL_INDEX \ 110cdf0e10cSrcweir { \ 111cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; \ 112cdf0e10cSrcweir Size = MAP_APPFONT ( COL_BUTTONS-5-6 , RSC_CD_FIXEDLINE_HEIGHT ) ; \ 113cdf0e10cSrcweir Text [ en-US ] = "Selection" ; \ 114cdf0e10cSrcweir }; \ 115cdf0e10cSrcweir FixedText LBL_INDEX \ 116cdf0e10cSrcweir { \ 117cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , 16 ) ; \ 118cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; \ 119cdf0e10cSrcweir Text [ en-US ] = "~Index" ; \ 120cdf0e10cSrcweir Left = TRUE ; \ 121cdf0e10cSrcweir }; \ 122cdf0e10cSrcweir Edit SL_ENTRY \ 123cdf0e10cSrcweir { \ 124cdf0e10cSrcweir Border = TRUE ; \ 125cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_2_LIST ) ; \ 126cdf0e10cSrcweir Size = MAP_APPFONT ( LIST_WIDTH , 12 ) ; \ 127cdf0e10cSrcweir TabStop = TRUE ; \ 128cdf0e10cSrcweir Left = TRUE ; \ 129cdf0e10cSrcweir }; \ 130cdf0e10cSrcweir FixedText LBL_ENTRY \ 131cdf0e10cSrcweir { \ 132cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_2_TEXT ) ; \ 133cdf0e10cSrcweir Size = MAP_APPFONT ( 27 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 134cdf0e10cSrcweir Text [ en-US ] = "~Entry" ; \ 135cdf0e10cSrcweir Left = TRUE ; \ 136cdf0e10cSrcweir }; \ 137cdf0e10cSrcweir FixedText LBL_KEY \ 138cdf0e10cSrcweir { \ 139cdf0e10cSrcweir Disable = TRUE ; \ 140cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_3_TEXT ) ; \ 141cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 142cdf0e10cSrcweir Text [ en-US ] = "~1st key" ; \ 143cdf0e10cSrcweir Left = TRUE ; \ 144cdf0e10cSrcweir }; \ 145cdf0e10cSrcweir ComboBox DCB_KEY \ 146cdf0e10cSrcweir { \ 147cdf0e10cSrcweir Disable = TRUE ; \ 148cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_3_LIST ) ; \ 149cdf0e10cSrcweir Size = MAP_APPFONT ( LIST_WIDTH , 56 ) ; \ 150cdf0e10cSrcweir TabStop = TRUE ; \ 151cdf0e10cSrcweir DropDown = TRUE ; \ 152cdf0e10cSrcweir }; \ 153cdf0e10cSrcweir FixedText LBL_KEY2 \ 154cdf0e10cSrcweir { \ 155cdf0e10cSrcweir Disable = TRUE ; \ 156cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_4_TEXT ) ; \ 157cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 158cdf0e10cSrcweir Text [ en-US ] = "~2nd key" ; \ 159cdf0e10cSrcweir Left = TRUE ; \ 160cdf0e10cSrcweir }; \ 161cdf0e10cSrcweir ComboBox DCB_KEY2 \ 162cdf0e10cSrcweir { \ 163cdf0e10cSrcweir Disable = TRUE ; \ 164cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_4_LIST ) ; \ 165cdf0e10cSrcweir Size = MAP_APPFONT ( LIST_WIDTH , 56 ) ; \ 166cdf0e10cSrcweir TabStop = TRUE ; \ 167cdf0e10cSrcweir DropDown = TRUE ; \ 168cdf0e10cSrcweir }; \ 169cdf0e10cSrcweir FixedText FT_PHONETIC_1 \ 170cdf0e10cSrcweir { \ 171cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_2_TEXT ) ; \ 172cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 173cdf0e10cSrcweir Hide = PHONETIC_HIDDEN; \ 174cdf0e10cSrcweir IDX_PHONETIC_LISTBOX_DESCRIPTION \ 175cdf0e10cSrcweir }; \ 176cdf0e10cSrcweir Edit ED_PHONETIC_1 \ 177cdf0e10cSrcweir { \ 178cdf0e10cSrcweir Border = TRUE ; \ 179cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_2_LIST ) ; \ 180cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \ 181cdf0e10cSrcweir Hide = PHONETIC_HIDDEN; \ 182cdf0e10cSrcweir TabStop = TRUE ; \ 183cdf0e10cSrcweir Left = TRUE ; \ 184cdf0e10cSrcweir }; \ 185cdf0e10cSrcweir FixedText FT_PHONETIC_2 \ 186cdf0e10cSrcweir { \ 187cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_3_TEXT ) ; \ 188cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 189cdf0e10cSrcweir Hide = PHONETIC_HIDDEN; \ 190cdf0e10cSrcweir IDX_PHONETIC_LISTBOX_DESCRIPTION \ 191cdf0e10cSrcweir }; \ 192cdf0e10cSrcweir Edit ED_PHONETIC_2 \ 193cdf0e10cSrcweir { \ 194cdf0e10cSrcweir Border = TRUE ; \ 195cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_3_LIST ) ; \ 196cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \ 197cdf0e10cSrcweir Hide = PHONETIC_HIDDEN; \ 198cdf0e10cSrcweir TabStop = TRUE ; \ 199cdf0e10cSrcweir Left = TRUE ; \ 200cdf0e10cSrcweir }; \ 201cdf0e10cSrcweir FixedText FT_PHONETIC_3 \ 202cdf0e10cSrcweir { \ 203cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_4_TEXT ) ; \ 204cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 205cdf0e10cSrcweir Hide = PHONETIC_HIDDEN; \ 206cdf0e10cSrcweir IDX_PHONETIC_LISTBOX_DESCRIPTION \ 207cdf0e10cSrcweir }; \ 208cdf0e10cSrcweir Edit ED_PHONETIC_3 \ 209cdf0e10cSrcweir { \ 210cdf0e10cSrcweir Border = TRUE ; \ 211cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_4_LIST ) ; \ 212cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \ 213cdf0e10cSrcweir Hide = PHONETIC_HIDDEN; \ 214cdf0e10cSrcweir TabStop = TRUE ; \ 215cdf0e10cSrcweir Left = TRUE ; \ 216cdf0e10cSrcweir }; \ 217cdf0e10cSrcweir FixedText LBL_LEVEL \ 218cdf0e10cSrcweir { \ 219cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , 76 ) ; \ 220cdf0e10cSrcweir Size = MAP_APPFONT ( 41 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 221cdf0e10cSrcweir Text [ en-US ] = "~Level" ; \ 222cdf0e10cSrcweir Left = TRUE ; \ 223cdf0e10cSrcweir }; \ 224cdf0e10cSrcweir NumericField SL_LEVEL \ 225cdf0e10cSrcweir { \ 226cdf0e10cSrcweir Border = TRUE ; \ 227cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL2 , 74 ) ; \ 228cdf0e10cSrcweir Size = MAP_APPFONT ( 18 , 12 ) ; \ 229cdf0e10cSrcweir TabStop = TRUE ; \ 230cdf0e10cSrcweir Left = TRUE ; \ 231cdf0e10cSrcweir Repeat = TRUE ; \ 232cdf0e10cSrcweir Spin = TRUE ; \ 233cdf0e10cSrcweir Minimum = 1 ; \ 234cdf0e10cSrcweir Maximum = 10 ; \ 235cdf0e10cSrcweir Value = 1 ; \ 236cdf0e10cSrcweir Last = 10 ; \ 237cdf0e10cSrcweir SpinSize = 1 ; \ 238cdf0e10cSrcweir }; \ 239cdf0e10cSrcweir CheckBox CB_MAIN_ENTRY \ 240cdf0e10cSrcweir { \ 241cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , 76 ) ; \ 242cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 8 ) ; \ 243cdf0e10cSrcweir Text [ en-US ] = "~Main entry";\ 244cdf0e10cSrcweir }; \ 245cdf0e10cSrcweir CheckBox CB_APPLY_TO_ALL \ 246cdf0e10cSrcweir { \ 247cdf0e10cSrcweir Pos = MAP_APPFONT ( IDX_COL1 , 90 ) ; \ 248cdf0e10cSrcweir Size = MAP_APPFONT ( 140 , 12 ) ; \ 249cdf0e10cSrcweir Hide = TRUE; \ 250cdf0e10cSrcweir Text [ en-US ] = "~Apply to all similar texts."; \ 251cdf0e10cSrcweir }; \ 252cdf0e10cSrcweir CheckBox CB_CASESENSITIVE \ 253cdf0e10cSrcweir { \ 254cdf0e10cSrcweir Pos = MAP_APPFONT ( 21 , 104 ) ; \ 255cdf0e10cSrcweir Size = MAP_APPFONT ( 131 , 12 ) ; \ 256cdf0e10cSrcweir Hide = TRUE;\ 257cdf0e10cSrcweir Text [ en-US ] = "Ma~tch case";\ 258cdf0e10cSrcweir }; \ 259cdf0e10cSrcweir CheckBox CB_WORDONLY \ 260cdf0e10cSrcweir { \ 261cdf0e10cSrcweir Pos = MAP_APPFONT ( 21 , 118 ) ; \ 262cdf0e10cSrcweir Size = MAP_APPFONT ( 131 , 12 ) ; \ 263cdf0e10cSrcweir Hide = TRUE;\ 264cdf0e10cSrcweir Text [ en-US ] = "~Whole words only";\ 265cdf0e10cSrcweir }; \ 266cdf0e10cSrcweir }; 267cdf0e10cSrcweir 268cdf0e10cSrcweirModalDialog DLG_EDIT_IDXMARK 269cdf0e10cSrcweir{ 270cdf0e10cSrcweir OutputSize = TRUE ; 271cdf0e10cSrcweir Moveable = TRUE ; 272cdf0e10cSrcweir Closeable = TRUE; 273cdf0e10cSrcweir Sizeable = FALSE ; 274cdf0e10cSrcweir HelpId = CMD_FN_EDIT_IDX_ENTRY_DLG; 275cdf0e10cSrcweir SVLook = TRUE ; 276cdf0e10cSrcweir #define IDX_WIN_WIDTH IDX_WIN_WIDTH_NORMAL 277cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_WIN_WIDTH , 118 ) ; 278cdf0e10cSrcweir #define GB_HEIGHT 109 279cdf0e10cSrcweir #define DCB_INDEX_WIDTH 94 280cdf0e10cSrcweir #define PHONETIC_HIDDEN TRUE 281cdf0e10cSrcweir #define LIST_WIDTH 94 282cdf0e10cSrcweir #define COL_BUTTONS IDX_COL_BUTTONS_NORMAL 283cdf0e10cSrcweir #define COL_BUTTONS_2 (COL_BUTTONS+26) 284cdf0e10cSrcweir #define WINDOW_HEIGHT 118 285cdf0e10cSrcweir IDX_DIALOG_WINDOW 286cdf0e10cSrcweir #undef IDX_WIN_WIDTH 287cdf0e10cSrcweir #undef GB_HEIGHT 288cdf0e10cSrcweir #undef DCB_INDEX_WIDTH 289cdf0e10cSrcweir #undef PHONETIC_HIDDEN 290cdf0e10cSrcweir #undef LIST_WIDTH 291cdf0e10cSrcweir #undef COL_BUTTONS 292cdf0e10cSrcweir #undef COL_BUTTONS_2 293cdf0e10cSrcweir #undef WINDOW_HEIGHT 294cdf0e10cSrcweir}; 295cdf0e10cSrcweirModalDialog DLG_EDIT_IDXMARK_CJK 296cdf0e10cSrcweir{ 297cdf0e10cSrcweir OutputSize = TRUE ; 298cdf0e10cSrcweir Moveable = TRUE ; 299cdf0e10cSrcweir Closeable = TRUE; 300cdf0e10cSrcweir Sizeable = FALSE ; 301cdf0e10cSrcweir HelpId = CMD_FN_EDIT_IDX_ENTRY_DLG; 302cdf0e10cSrcweir SVLook = TRUE ; 303cdf0e10cSrcweir #define IDX_WIN_WIDTH IDX_WIN_WIDTH_CJK 304cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_WIN_WIDTH , 118 ) ; 305cdf0e10cSrcweir #define GB_HEIGHT 109 306cdf0e10cSrcweir #define DCB_INDEX_WIDTH 94 307cdf0e10cSrcweir #define PHONETIC_HIDDEN FALSE 308cdf0e10cSrcweir #define LIST_WIDTH IDX_PHONETIC_EDIT_WIDTH 309cdf0e10cSrcweir #define COL_BUTTONS IDX_COL_BUTTONS_CJK 310cdf0e10cSrcweir #define COL_BUTTONS_2 (COL_BUTTONS+26) 311cdf0e10cSrcweir #define WINDOW_HEIGHT 118 312cdf0e10cSrcweir IDX_DIALOG_WINDOW 313cdf0e10cSrcweir #undef IDX_WIN_WIDTH 314cdf0e10cSrcweir #undef GB_HEIGHT 315cdf0e10cSrcweir #undef DCB_INDEX_WIDTH 316cdf0e10cSrcweir #undef PHONETIC_HIDDEN 317cdf0e10cSrcweir #undef LIST_WIDTH 318cdf0e10cSrcweir #undef COL_BUTTONS 319cdf0e10cSrcweir #undef COL_BUTTONS_2 320cdf0e10cSrcweir #undef WINDOW_HEIGHT 321cdf0e10cSrcweir}; 322cdf0e10cSrcweirModelessDialog DLG_INSIDXMARK 323cdf0e10cSrcweir{ 324cdf0e10cSrcweir OutputSize = TRUE ; 325cdf0e10cSrcweir Moveable = TRUE ; 326cdf0e10cSrcweir Closeable = TRUE; 327cdf0e10cSrcweir Sizeable = FALSE ; 328cdf0e10cSrcweir Hide = TRUE ; 329cdf0e10cSrcweir// Zoomable = TRUE ; 330cdf0e10cSrcweir HelpId = CMD_FN_INSERT_IDX_ENTRY_DLG; 331cdf0e10cSrcweir SVLook = TRUE ; 332cdf0e10cSrcweir #define IDX_WIN_WIDTH IDX_WIN_WIDTH_NORMAL 333cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_WIN_WIDTH , 138) ; 334cdf0e10cSrcweir// Moveable = TRUE ; 335cdf0e10cSrcweir #define GB_HEIGHT 129 336cdf0e10cSrcweir #define DCB_INDEX_WIDTH 79 337cdf0e10cSrcweir #define PHONETIC_HIDDEN TRUE 338cdf0e10cSrcweir #define LIST_WIDTH 94 339cdf0e10cSrcweir #define COL_BUTTONS IDX_COL_BUTTONS_NORMAL 340cdf0e10cSrcweir #define COL_BUTTONS_2 (COL_BUTTONS+26) 341cdf0e10cSrcweir #define WINDOW_HEIGHT 138 342cdf0e10cSrcweir IDX_DIALOG_WINDOW 343cdf0e10cSrcweir #undef IDX_WIN_WIDTH 344cdf0e10cSrcweir #undef GB_HEIGHT 345cdf0e10cSrcweir #undef DCB_INDEX_WIDTH 346cdf0e10cSrcweir #undef PHONETIC_HIDDEN 347cdf0e10cSrcweir #undef LIST_WIDTH 348cdf0e10cSrcweir #undef COL_BUTTONS 349cdf0e10cSrcweir #undef COL_BUTTONS_2 350cdf0e10cSrcweir #undef WINDOW_HEIGHT 351cdf0e10cSrcweir}; 352cdf0e10cSrcweirModelessDialog DLG_INSIDXMARK_CJK 353cdf0e10cSrcweir{ 354cdf0e10cSrcweir OutputSize = TRUE ; 355cdf0e10cSrcweir Moveable = TRUE ; 356cdf0e10cSrcweir Closeable = TRUE; 357cdf0e10cSrcweir Sizeable = FALSE ; 358cdf0e10cSrcweir// Zoomable = TRUE ; 359cdf0e10cSrcweir HelpId = CMD_FN_INSERT_IDX_ENTRY_DLG; 360cdf0e10cSrcweir SVLook = TRUE ; 361cdf0e10cSrcweir #define IDX_WIN_WIDTH IDX_WIN_WIDTH_CJK 362cdf0e10cSrcweir Size = MAP_APPFONT ( IDX_WIN_WIDTH , 138) ; 363cdf0e10cSrcweir// Moveable = TRUE ; 364cdf0e10cSrcweir #define GB_HEIGHT 129 365cdf0e10cSrcweir #define DCB_INDEX_WIDTH 79 366cdf0e10cSrcweir #define PHONETIC_HIDDEN FALSE 367cdf0e10cSrcweir #define LIST_WIDTH IDX_PHONETIC_EDIT_WIDTH 368cdf0e10cSrcweir #define COL_BUTTONS IDX_COL_BUTTONS_CJK 369cdf0e10cSrcweir #define COL_BUTTONS_2 (COL_BUTTONS+26) 370cdf0e10cSrcweir #define WINDOW_HEIGHT 138 371cdf0e10cSrcweir IDX_DIALOG_WINDOW 372cdf0e10cSrcweir #undef IDX_WIN_WIDTH 373cdf0e10cSrcweir #undef GB_HEIGHT 374cdf0e10cSrcweir #undef DCB_INDEX_WIDTH 375cdf0e10cSrcweir #undef PHONETIC_HIDDEN 376cdf0e10cSrcweir #undef LIST_WIDTH 377cdf0e10cSrcweir #undef COL_BUTTONS 378cdf0e10cSrcweir #undef COL_BUTTONS_2 379cdf0e10cSrcweir #undef WINDOW_HEIGHT 380cdf0e10cSrcweir}; 381cdf0e10cSrcweirModalDialog DLG_NEW_USER_IDX 382cdf0e10cSrcweir{ 383cdf0e10cSrcweir OutputSize = TRUE ; 384cdf0e10cSrcweir Moveable = TRUE ; 385cdf0e10cSrcweir Closeable = TRUE; 386cdf0e10cSrcweir Sizeable = FALSE ; 387cdf0e10cSrcweir HelpID = HID_DLG_NEW_USER_IDX; 388cdf0e10cSrcweir SVLook = TRUE ; 389cdf0e10cSrcweir Size = MAP_APPFONT ( 194 , 60 ) ; 390cdf0e10cSrcweir OKButton PB_OK 391cdf0e10cSrcweir { 392cdf0e10cSrcweir Pos = MAP_APPFONT ( 141 , 6 ) ; 393cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 394cdf0e10cSrcweir TabStop = TRUE ; 395cdf0e10cSrcweir DefButton = TRUE ; 396cdf0e10cSrcweir }; 397cdf0e10cSrcweir CancelButton PB_CANCEL 398cdf0e10cSrcweir { 399cdf0e10cSrcweir Pos = MAP_APPFONT ( 141 , 23 ) ; 400cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 401cdf0e10cSrcweir }; 402cdf0e10cSrcweir HelpButton PB_HELP 403cdf0e10cSrcweir { 404cdf0e10cSrcweir Pos = MAP_APPFONT ( 141 , 43 ) ; 405cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 406cdf0e10cSrcweir }; 407cdf0e10cSrcweir FixedLine FL_NAME 408cdf0e10cSrcweir { 409cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 410cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 8 ) ; 411cdf0e10cSrcweir 412cdf0e10cSrcweir Text [ en-US ] = "New user index"; 413cdf0e10cSrcweir }; 414cdf0e10cSrcweir FixedText FT_NAME 415cdf0e10cSrcweir { 416cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 17 ) ; 417cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 418cdf0e10cSrcweir 419cdf0e10cSrcweir Text [ en-US ] = "~Name"; 420cdf0e10cSrcweir }; 421cdf0e10cSrcweir Edit ED_NAME 422cdf0e10cSrcweir { 423cdf0e10cSrcweir HelpID = "sw:Edit:DLG_NEW_USER_IDX:ED_NAME"; 424cdf0e10cSrcweir Border = TRUE ; 425cdf0e10cSrcweir Pos = MAP_APPFONT ( 55 , 15 ) ; 426cdf0e10cSrcweir Size = MAP_APPFONT ( 78 , 12 ) ; 427cdf0e10cSrcweir TabStop = TRUE ; 428cdf0e10cSrcweir Left = TRUE ; 429cdf0e10cSrcweir }; 430cdf0e10cSrcweir Text [ en-US ] = "Create New User-defined Index"; 431cdf0e10cSrcweir}; 432cdf0e10cSrcweir 433cdf0e10cSrcweirString STR_IDXMRK_EDIT 434cdf0e10cSrcweir{ 435cdf0e10cSrcweir Text [ en-US ] = "Edit Index Entry" ; 436cdf0e10cSrcweir}; 437cdf0e10cSrcweirString STR_IDXMRK_INSERT 438cdf0e10cSrcweir{ 439cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Verzeichniseintrag einf�gen : Verzeichniseintrag einf�gen */ 440cdf0e10cSrcweir Text [ en-US ] = "Insert Index Entry" ; 441cdf0e10cSrcweir}; 442cdf0e10cSrcweir 443cdf0e10cSrcweir#define AUTH_DIALOG_WINDOW \ 444cdf0e10cSrcweir Window WIN_DLG \ 445cdf0e10cSrcweir { \ 446cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; \ 447cdf0e10cSrcweir Size = MAP_APPFONT ( 218 , 118 + RADIO_BUTTON_HEIGHT) ; \ 448cdf0e10cSrcweir RadioButton RB_FROMCOMPONENT \ 449cdf0e10cSrcweir { \ 450cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; \ 451cdf0e10cSrcweir Size = MAP_APPFONT ( 147 , 12 ) ; \ 452cdf0e10cSrcweir Text [ en-US ] = "From bibliography ~database";\ 453cdf0e10cSrcweir }; \ 454cdf0e10cSrcweir RadioButton RB_FROMDOCCONTENT \ 455cdf0e10cSrcweir { \ 456cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 29 ) ; \ 457cdf0e10cSrcweir Size = MAP_APPFONT ( 147 , 12 ) ; \ 458cdf0e10cSrcweir Text [ en-US ] = "~From document content";\ 459cdf0e10cSrcweir }; \ 460cdf0e10cSrcweir FixedText FT_AUTHOR \ 461cdf0e10cSrcweir { \ 462cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 + RADIO_BUTTON_HEIGHT) ; \ 463cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; \ 464cdf0e10cSrcweir Text [ en-US ] = "Author";\ 465cdf0e10cSrcweir }; \ 466cdf0e10cSrcweir FixedText FI_AUTHOR \ 467cdf0e10cSrcweir { \ 468cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 25 + RADIO_BUTTON_HEIGHT) ; \ 469cdf0e10cSrcweir Size = MAP_APPFONT ( 140, 8 ) ; \ 470cdf0e10cSrcweir WordBreak = TRUE; \ 471cdf0e10cSrcweir }; \ 472cdf0e10cSrcweir FixedText FT_TITLE \ 473cdf0e10cSrcweir { \ 474cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 37 + RADIO_BUTTON_HEIGHT) ; \ 475cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; \ 476cdf0e10cSrcweir Text [ en-US ] = "Title";\ 477cdf0e10cSrcweir }; \ 478cdf0e10cSrcweir FixedText FI_TITLE \ 479cdf0e10cSrcweir { \ 480cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 48 + RADIO_BUTTON_HEIGHT) ; \ 481cdf0e10cSrcweir Size = MAP_APPFONT ( 140, 8 ) ; \ 482cdf0e10cSrcweir WordBreak = TRUE; \ 483cdf0e10cSrcweir }; \ 484cdf0e10cSrcweir FixedText FT_ENTRY \ 485cdf0e10cSrcweir { \ 486cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 62 + RADIO_BUTTON_HEIGHT) ; \ 487cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; \ 488cdf0e10cSrcweir Text [ en-US ] = "Short ~name";\ 489cdf0e10cSrcweir }; \ 490cdf0e10cSrcweir Edit ED_ENTRY \ 491cdf0e10cSrcweir { \ 492cdf0e10cSrcweir Border = TRUE ; \ 493cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 73 + RADIO_BUTTON_HEIGHT) ; \ 494cdf0e10cSrcweir Size = MAP_APPFONT ( 140 , 12 ) ; \ 495cdf0e10cSrcweir TabStop = TRUE ; \ 496cdf0e10cSrcweir Left = TRUE ; \ 497cdf0e10cSrcweir }; \ 498cdf0e10cSrcweir ListBox LB_ENTRY \ 499cdf0e10cSrcweir { \ 500cdf0e10cSrcweir Border = TRUE ; \ 501cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 73 + RADIO_BUTTON_HEIGHT) ; \ 502cdf0e10cSrcweir Size = MAP_APPFONT ( 140 , 50 ) ; \ 503cdf0e10cSrcweir TabStop = TRUE ; \ 504cdf0e10cSrcweir DropDown = TRUE ; \ 505cdf0e10cSrcweir }; \ 506cdf0e10cSrcweir FixedLine FL_ENTRY \ 507cdf0e10cSrcweir { \ 508cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; \ 509cdf0e10cSrcweir Size = MAP_APPFONT ( 146 , 8 ) ; \ 510cdf0e10cSrcweir Text [ en-US ] = "Entry";\ 511cdf0e10cSrcweir }; \ 512cdf0e10cSrcweir OKButton PB_OK \ 513cdf0e10cSrcweir { \ 514cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 6 ) ; \ 515cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 516cdf0e10cSrcweir TabStop = TRUE ; \ 517cdf0e10cSrcweir DefButton = TRUE ; \ 518cdf0e10cSrcweir Text [ en-US ] = "Insert";\ 519cdf0e10cSrcweir }; \ 520cdf0e10cSrcweir CancelButton PB_CANCEL \ 521cdf0e10cSrcweir { \ 522cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 23 ) ; \ 523cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 524cdf0e10cSrcweir Text [ en-US ] = "Close";\ 525cdf0e10cSrcweir }; \ 526cdf0e10cSrcweir HelpButton PB_HELP \ 527cdf0e10cSrcweir { \ 528cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 43 ) ; \ 529cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 530cdf0e10cSrcweir }; \ 531cdf0e10cSrcweir PushButton PB_CREATEENTRY \ 532cdf0e10cSrcweir { \ 533cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 60 ) ; \ 534cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 535cdf0e10cSrcweir Text [ en-US ] = "~New";\ 536cdf0e10cSrcweir }; \ 537cdf0e10cSrcweir PushButton PB_EDITENTRY \ 538cdf0e10cSrcweir { \ 539cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 77 ) ; \ 540cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 541cdf0e10cSrcweir Text [ en-US ] = "Edit";\ 542cdf0e10cSrcweir }; \ 543cdf0e10cSrcweir String ST_CHANGE \ 544cdf0e10cSrcweir { \ 545cdf0e10cSrcweir Text [ en-US ] = "Modify";\ 546cdf0e10cSrcweir }; \ 547cdf0e10cSrcweir }; 548cdf0e10cSrcweir 549cdf0e10cSrcweirModalDialog DLG_EDIT_AUTHMARK 550cdf0e10cSrcweir{ 551cdf0e10cSrcweir OutputSize = TRUE ; 552cdf0e10cSrcweir Moveable = TRUE ; 553cdf0e10cSrcweir Closeable = TRUE ; 554cdf0e10cSrcweir Sizeable = FALSE ; 555cdf0e10cSrcweir HelpId = CMD_FN_EDIT_AUTH_ENTRY_DLG; 556cdf0e10cSrcweir SVLook = TRUE ; 557cdf0e10cSrcweir Size = MAP_APPFONT ( 218 , 118 ) ; 558cdf0e10cSrcweir #define RADIO_BUTTON_HEIGHT 0 559cdf0e10cSrcweir AUTH_DIALOG_WINDOW 560cdf0e10cSrcweir #undef RADIO_BUTTON_HEIGHT 561cdf0e10cSrcweir}; 562cdf0e10cSrcweirModelessDialog DLG_INSAUTHMARK 563cdf0e10cSrcweir{ 564cdf0e10cSrcweir OutputSize = TRUE ; 565cdf0e10cSrcweir Moveable = TRUE ; 566cdf0e10cSrcweir Closeable = TRUE ; 567cdf0e10cSrcweir Sizeable = FALSE ; 568cdf0e10cSrcweir// Zoomable = TRUE ; 569cdf0e10cSrcweir HelpId = CMD_FN_INSERT_AUTH_ENTRY_DLG; 570cdf0e10cSrcweir SVLook = TRUE ; 571cdf0e10cSrcweir #define RADIO_BUTTON_HEIGHT 30 572cdf0e10cSrcweir Size = MAP_APPFONT ( 218 , 118 + RADIO_BUTTON_HEIGHT) ; 573cdf0e10cSrcweir// Moveable = TRUE ; 574cdf0e10cSrcweir AUTH_DIALOG_WINDOW 575cdf0e10cSrcweir #undef RADIO_BUTTON_HEIGHT 576cdf0e10cSrcweir}; 577cdf0e10cSrcweirModalDialog DLG_CREATE_AUTH_ENTRY 578cdf0e10cSrcweir{ 579cdf0e10cSrcweir HelpId = HID_DLG_CREATE_AUTH_ENTRY; 580cdf0e10cSrcweir OutputSize = TRUE ; 581cdf0e10cSrcweir SVLook = TRUE ; 582cdf0e10cSrcweir Size = MAP_APPFONT ( 365 , 203 ) ; 583cdf0e10cSrcweir Moveable = TRUE ; 584cdf0e10cSrcweir OKButton PB_OK 585cdf0e10cSrcweir { 586cdf0e10cSrcweir Pos = MAP_APPFONT ( 312 , 6 ) ; 587cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 588cdf0e10cSrcweir TabStop = TRUE ; 589cdf0e10cSrcweir DefButton = TRUE ; 590cdf0e10cSrcweir }; 591cdf0e10cSrcweir CancelButton PB_CANCEL 592cdf0e10cSrcweir { 593cdf0e10cSrcweir Pos = MAP_APPFONT ( 312 , 23 ) ; 594cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 595cdf0e10cSrcweir }; 596cdf0e10cSrcweir HelpButton PB_HELP 597cdf0e10cSrcweir { 598cdf0e10cSrcweir Pos = MAP_APPFONT ( 312 , 43 ) ; 599cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 600cdf0e10cSrcweir }; 601cdf0e10cSrcweir FixedLine FL_ENTRIES 602cdf0e10cSrcweir { 603cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 604cdf0e10cSrcweir Size = MAP_APPFONT ( 300 , 8 ) ; 605cdf0e10cSrcweir Text [ en-US ] = "Entry data"; 606cdf0e10cSrcweir }; 607cdf0e10cSrcweir Text [ en-US ] = "Define Bibliography Entry"; 608cdf0e10cSrcweir}; 609cdf0e10cSrcweirString STR_AUTHMRK_EDIT 610cdf0e10cSrcweir{ 611cdf0e10cSrcweir 612cdf0e10cSrcweir Text [ en-US ] = "Edit Bibliography Entry"; 613cdf0e10cSrcweir}; 614cdf0e10cSrcweirString STR_AUTHMRK_INSERT 615cdf0e10cSrcweir{ 616cdf0e10cSrcweir 617cdf0e10cSrcweir Text [ en-US ] = "Insert Bibliography Entry"; 618cdf0e10cSrcweir}; 619cdf0e10cSrcweirQueryBox DLG_CHANGE_AUTH_ENTRY 620cdf0e10cSrcweir{ 621cdf0e10cSrcweir BUTTONS = WB_YES_NO ; 622cdf0e10cSrcweir DEFBUTTON = WB_DEF_NO ; 623cdf0e10cSrcweir Message [ en-US ] = "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?"; 624cdf0e10cSrcweir}; 625cdf0e10cSrcweir 626cdf0e10cSrcweir 627cdf0e10cSrcweir 628cdf0e10cSrcweir 629cdf0e10cSrcweir 630cdf0e10cSrcweir 631cdf0e10cSrcweir 632cdf0e10cSrcweir 633cdf0e10cSrcweir 634cdf0e10cSrcweir 635cdf0e10cSrcweir 636cdf0e10cSrcweir 637cdf0e10cSrcweir 638cdf0e10cSrcweir 639cdf0e10cSrcweir 640cdf0e10cSrcweir 641cdf0e10cSrcweir 642cdf0e10cSrcweir 643cdf0e10cSrcweir 644cdf0e10cSrcweir 645cdf0e10cSrcweir 646cdf0e10cSrcweir 647cdf0e10cSrcweir 648cdf0e10cSrcweir 649cdf0e10cSrcweir 650cdf0e10cSrcweir 651cdf0e10cSrcweir 652cdf0e10cSrcweir 653cdf0e10cSrcweir 654cdf0e10cSrcweir 655cdf0e10cSrcweir 656cdf0e10cSrcweir 657cdf0e10cSrcweir 658cdf0e10cSrcweir 659cdf0e10cSrcweir 660cdf0e10cSrcweir 661cdf0e10cSrcweir 662cdf0e10cSrcweir 663cdf0e10cSrcweir 664cdf0e10cSrcweir 665cdf0e10cSrcweir 666cdf0e10cSrcweir 667