1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 // include --------------------------------------------------------------- 28#include <sfx2/sfx.hrc> 29#include "doc.hrc" 30#include "docvor.hrc" 31#include "helpid.hrc" 32// pragma ---------------------------------------------------------------- 33 34// DLG_ORGANIZE ---------------------------------------------------------- 35 36#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } 37 38ModalDialog DLG_ORGANIZE 39{ 40 HelpId = CMD_SID_ORGANIZER ; 41 OutputSize = TRUE ; 42 SVLook = TRUE ; 43 Size = MAP_APPFONT ( 271 , 162 ) ; 44 Text [ en-US ] = "Template Management" ; 45 Moveable = TRUE ; 46 HelpButton BTN_HELP 47 { 48 Pos = MAP_APPFONT ( 205 , 43 ) ; 49 Size = MAP_APPFONT ( 60 , 14 ) ; 50 TabStop = TRUE ; 51 }; 52 OKButton BTN_OK 53 { 54 Pos = MAP_APPFONT ( 205 , 6 ) ; 55 Size = MAP_APPFONT ( 60 , 14 ) ; 56 /* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */ 57 /* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */ 58 Text [ en-US ] = "Close" ; 59 TabStop = TRUE ; 60 DefButton = TRUE ; 61 }; 62 PushButton BTN_FILES 63 { 64 HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_FILES"; 65 Pos = MAP_APPFONT ( 205 , 143 ) ; 66 Size = MAP_APPFONT ( 60 , 14 ) ; 67 Text [ en-US ] = "~File..." ; 68 TabStop = TRUE ; 69 }; 70 PushButton BTN_ADDRESSTEMPLATE 71 { 72 HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_ADDRESSTEMPLATE"; 73 Pos = MAP_APPFONT ( 205 , 124 ) ; 74 Size = MAP_APPFONT ( 60 , 14 ) ; 75 Text [ en-US ] = "~Address Book..." ; 76 }; 77 ListBox LB_LEFT_TYP 78 { 79 HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_LEFT_TYP"; 80 Border = TRUE ; 81 Pos = MAP_APPFONT ( 3 , 144 ) ; 82 Size = MAP_APPFONT ( 94 , 55 ) ; 83 TabStop = TRUE ; 84 DropDown = TRUE ; 85 CurPos = 0 ; 86 StringList [ en-US ] = 87 { 88 < "Templates" ; Default ; > ; 89 < "Documents" ; Default ; > ; 90 }; 91 }; 92 ListBox LB_RIGHT_TYP 93 { 94 HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_RIGHT_TYP"; 95 Border = TRUE ; 96 Pos = MAP_APPFONT ( 103 , 144 ) ; 97 Size = MAP_APPFONT ( 94 , 55 ) ; 98 TabStop = TRUE ; 99 DropDown = TRUE ; 100 CurPos = 1 ; 101 StringList [ en-US ] = 102 { 103 < "Templates" ; Default ; > ; 104 < "Documents" ; Default ; > ; 105 }; 106 }; 107 Control LB_LEFT 108 { 109 HelpId = HID_CTL_ORGANIZER_LEFT ; 110 Border = TRUE ; 111 Pos = MAP_APPFONT ( 3 , 6 ) ; 112 Size = MAP_APPFONT ( 94 , 132 ) ; 113 TabStop = TRUE ; 114 ClipChildren = TRUE ; 115 }; 116 Control LB_RIGHT 117 { 118 HelpId = HID_CTL_ORGANIZER_RIGHT ; 119 Border = TRUE ; 120 Pos = MAP_APPFONT ( 103 , 6 ) ; 121 Size = MAP_APPFONT ( 94 , 132 ) ; 122 TabStop = TRUE ; 123 ClipChildren = TRUE ; 124 }; 125 Accelerator ACC_EDIT 126 { 127 ItemList = 128 { 129 AcceleratorItem 130 { 131 Identifier = ID_NEW ; 132 Key = KeyCode 133 { 134 Code = KEY_INSERT ; 135 }; 136 }; 137 AcceleratorItem 138 { 139 Identifier = ID_DELETE ; 140 Key = KeyCode 141 { 142 Code = KEY_DELETE ; 143 }; 144 }; 145 }; 146 }; 147 MenuButton BTN_EDIT 148 { 149 HelpID = "sfx2:MenuButton:DLG_ORGANIZE:BTN_EDIT"; 150 Pos = MAP_APPFONT ( 205 , 23 ) ; 151 Size = MAP_APPFONT ( 60 , 14 ) ; 152 Text [ en-US ] = "Commands" ; 153 TabStop = TRUE ; 154 ButtonMenu = Menu 155 { 156 ItemList = 157 { 158 MenuItem 159 { 160 Identifier = ID_NEW ; 161 HelpId = HID_ORGANIZE_NEW ; 162 Text [ en-US ] = "~New" ; 163 AccelKey = KeyCode 164 { 165 Code = KEY_INSERT ; 166 }; 167 }; 168 MenuItem 169 { 170 Identifier = ID_DELETE ; 171 HelpId = HID_ORGANIZE_DELETE ; 172 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */ 173 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */ 174 Text [ en-US ] = "~Delete" ; 175 AccelKey = KeyCode 176 { 177 Code = KEY_DELETE ; 178 }; 179 }; 180 MenuItem 181 { 182 Identifier = ID_EDIT ; 183 HelpId = HID_ORGANIZE_EDIT ; 184 Text [ en-US ] = "~Edit" ; 185 }; 186 MenuItem 187 { 188 Separator = TRUE ; 189 }; 190 MenuItem 191 { 192 Identifier = ID_COPY_FROM ; 193 HelpId = HID_ORGANIZE_COPY_FROM ; 194 Text [ en-US ] = "Import Template..." ; 195 }; 196 MenuItem 197 { 198 Identifier = ID_COPY_TO ; 199 HelpId = HID_ORGANIZE_COPY_TO ; 200 Text [ en-US ] = "Export Template..." ; 201 }; 202 MenuItem 203 { 204 Separator = TRUE ; 205 }; 206 MenuItem 207 { 208 Identifier = ID_PRINT ; 209 HelpId = HID_ORGANIZE_PRINT ; 210 Text [ en-US ] = "~Print" ; 211 }; 212 MenuItem 213 { 214 Identifier = ID_PRINTER_SETUP ; 215 HelpId = HID_ORGANIZE_PRINTER_SETUP ; 216 Text [ en-US ] = "Printer Settings..." ; 217 }; 218 MenuItem 219 { 220 Separator = TRUE ; 221 }; 222 MenuItem 223 { 224 Identifier = ID_RESCAN ; 225 HelpId = HID_ORGANIZE_RESCAN ; 226 Text [ en-US ] = "Update" ; 227 }; 228 MenuItem 229 { 230 Separator = TRUE ; 231 }; 232 MenuItem 233 { 234 Identifier = ID_DEFAULT_TEMPLATE ; 235 HelpId = HID_ORGANIZE_STDTEMPLATE_ADD ; 236 Text [ en-US ] = "Set As Default Template" ; 237 }; 238 MenuItem 239 { 240 Identifier = ID_RESET_DEFAULT_TEMPLATE ; 241 HelpId = HID_ORGANIZE_STDTEMPLATE_DEL ; 242 Text [ en-US ] = "Reset Default Template" ; 243 }; 244 }; 245 }; 246 }; 247 Image IMG_OPENED_FOLDER 248 { 249 MASKCOLOR ; 250 ImageBitmap = Bitmap { File = "folderop.bmp" ; } ; 251 }; 252 Image IMG_CLOSED_FOLDER 253 { 254 MASKCOLOR ; 255 ImageBitmap = Bitmap { File = "foldercl.bmp" ; } ; 256 }; 257 Image IMG_OPENED_DOC 258 { 259 MASKCOLOR ; 260 ImageBitmap = Bitmap { File = "doccl.bmp" ; } ; 261 }; 262 Image IMG_CLOSED_DOC 263 { 264 MASKCOLOR ; 265 ImageBitmap = Bitmap { File = "doccl.bmp" ; } ; 266 }; 267 Image IMG_OPENED_FOLDER_HC 268 { 269 MASKCOLOR ; 270 ImageBitmap = Bitmap { File = "folderop_h.bmp" ; } ; 271 }; 272 Image IMG_CLOSED_FOLDER_HC 273 { 274 MASKCOLOR ; 275 ImageBitmap = Bitmap { File = "foldercl_h.bmp" ; } ; 276 }; 277 Image IMG_OPENED_DOC_HC 278 { 279 MASKCOLOR ; 280 ImageBitmap = Bitmap { File = "doccl_h.bmp" ; } ; 281 }; 282 Image IMG_CLOSED_DOC_HC 283 { 284 MASKCOLOR ; 285 ImageBitmap = Bitmap { File = "doccl_h.bmp" ; } ; 286 }; 287 /* FixedText FT_DEFAULT_TEMPLATE_LABEL 288 { 289 Pos = MAP_APPFONT ( 3 , 161 ) ; 290 Size = MAP_APPFONT ( 61 , 10 ) ; 291 Text [ en-US ] = "Default template:" ; 292 }; 293 FixedText FT_DEFAULT_TEMPLATE 294 { 295 Pos = MAP_APPFONT ( 66 , 161 ) ; 296 Size = MAP_APPFONT ( 131 , 10 ) ; 297 };*/ 298}; 299 // ********************************************************************** EOF 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321