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 // include --------------------------------------------------------------- 24#include <sfx2/sfx.hrc> 25#include "doc.hrc" 26#include "docvor.hrc" 27#include "helpid.hrc" 28// pragma ---------------------------------------------------------------- 29 30// DLG_ORGANIZE ---------------------------------------------------------- 31 32#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } 33 34ModalDialog DLG_ORGANIZE 35{ 36 HelpId = CMD_SID_ORGANIZER ; 37 OutputSize = TRUE ; 38 SVLook = TRUE ; 39 Size = MAP_APPFONT ( 271 , 162 ) ; 40 Text [ en-US ] = "Template Management" ; 41 Moveable = TRUE ; 42 HelpButton BTN_HELP 43 { 44 Pos = MAP_APPFONT ( 205 , 43 ) ; 45 Size = MAP_APPFONT ( 60 , 14 ) ; 46 TabStop = TRUE ; 47 }; 48 OKButton BTN_OK 49 { 50 Pos = MAP_APPFONT ( 205 , 6 ) ; 51 Size = MAP_APPFONT ( 60 , 14 ) ; 52 /* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */ 53 /* ### ACHTUNG: Neuer Text in Resource? Schlie�en : Schlie�en */ 54 Text [ en-US ] = "Close" ; 55 TabStop = TRUE ; 56 DefButton = TRUE ; 57 }; 58 PushButton BTN_FILES 59 { 60 HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_FILES"; 61 Pos = MAP_APPFONT ( 205 , 143 ) ; 62 Size = MAP_APPFONT ( 60 , 14 ) ; 63 Text [ en-US ] = "~File..." ; 64 TabStop = TRUE ; 65 }; 66 PushButton BTN_ADDRESSTEMPLATE 67 { 68 HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_ADDRESSTEMPLATE"; 69 Pos = MAP_APPFONT ( 205 , 124 ) ; 70 Size = MAP_APPFONT ( 60 , 14 ) ; 71 Text [ en-US ] = "~Address Book..." ; 72 }; 73 ListBox LB_LEFT_TYP 74 { 75 HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_LEFT_TYP"; 76 Border = TRUE ; 77 Pos = MAP_APPFONT ( 3 , 144 ) ; 78 Size = MAP_APPFONT ( 94 , 55 ) ; 79 TabStop = TRUE ; 80 DropDown = TRUE ; 81 CurPos = 0 ; 82 StringList [ en-US ] = 83 { 84 < "Templates" ; Default ; > ; 85 < "Documents" ; Default ; > ; 86 }; 87 }; 88 ListBox LB_RIGHT_TYP 89 { 90 HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_RIGHT_TYP"; 91 Border = TRUE ; 92 Pos = MAP_APPFONT ( 103 , 144 ) ; 93 Size = MAP_APPFONT ( 94 , 55 ) ; 94 TabStop = TRUE ; 95 DropDown = TRUE ; 96 CurPos = 1 ; 97 StringList [ en-US ] = 98 { 99 < "Templates" ; Default ; > ; 100 < "Documents" ; Default ; > ; 101 }; 102 }; 103 Control LB_LEFT 104 { 105 HelpId = HID_CTL_ORGANIZER_LEFT ; 106 Border = TRUE ; 107 Pos = MAP_APPFONT ( 3 , 6 ) ; 108 Size = MAP_APPFONT ( 94 , 132 ) ; 109 TabStop = TRUE ; 110 ClipChildren = TRUE ; 111 }; 112 Control LB_RIGHT 113 { 114 HelpId = HID_CTL_ORGANIZER_RIGHT ; 115 Border = TRUE ; 116 Pos = MAP_APPFONT ( 103 , 6 ) ; 117 Size = MAP_APPFONT ( 94 , 132 ) ; 118 TabStop = TRUE ; 119 ClipChildren = TRUE ; 120 }; 121 Accelerator ACC_EDIT 122 { 123 ItemList = 124 { 125 AcceleratorItem 126 { 127 Identifier = ID_NEW ; 128 Key = KeyCode 129 { 130 Code = KEY_INSERT ; 131 }; 132 }; 133 AcceleratorItem 134 { 135 Identifier = ID_DELETE ; 136 Key = KeyCode 137 { 138 Code = KEY_DELETE ; 139 }; 140 }; 141 }; 142 }; 143 MenuButton BTN_EDIT 144 { 145 HelpID = "sfx2:MenuButton:DLG_ORGANIZE:BTN_EDIT"; 146 Pos = MAP_APPFONT ( 205 , 23 ) ; 147 Size = MAP_APPFONT ( 60 , 14 ) ; 148 Text [ en-US ] = "Commands" ; 149 TabStop = TRUE ; 150 ButtonMenu = Menu 151 { 152 ItemList = 153 { 154 MenuItem 155 { 156 Identifier = ID_NEW ; 157 HelpId = HID_ORGANIZE_NEW ; 158 Text [ en-US ] = "~New" ; 159 AccelKey = KeyCode 160 { 161 Code = KEY_INSERT ; 162 }; 163 }; 164 MenuItem 165 { 166 Identifier = ID_DELETE ; 167 HelpId = HID_ORGANIZE_DELETE ; 168 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */ 169 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */ 170 Text [ en-US ] = "~Delete" ; 171 AccelKey = KeyCode 172 { 173 Code = KEY_DELETE ; 174 }; 175 }; 176 MenuItem 177 { 178 Identifier = ID_EDIT ; 179 HelpId = HID_ORGANIZE_EDIT ; 180 Text [ en-US ] = "~Edit" ; 181 }; 182 MenuItem 183 { 184 Separator = TRUE ; 185 }; 186 MenuItem 187 { 188 Identifier = ID_COPY_FROM ; 189 HelpId = HID_ORGANIZE_COPY_FROM ; 190 Text [ en-US ] = "Import Template..." ; 191 }; 192 MenuItem 193 { 194 Identifier = ID_COPY_TO ; 195 HelpId = HID_ORGANIZE_COPY_TO ; 196 Text [ en-US ] = "Export Template..." ; 197 }; 198 MenuItem 199 { 200 Separator = TRUE ; 201 }; 202 MenuItem 203 { 204 Identifier = ID_PRINT ; 205 HelpId = HID_ORGANIZE_PRINT ; 206 Text [ en-US ] = "~Print" ; 207 }; 208 MenuItem 209 { 210 Identifier = ID_PRINTER_SETUP ; 211 HelpId = HID_ORGANIZE_PRINTER_SETUP ; 212 Text [ en-US ] = "Printer Settings..." ; 213 }; 214 MenuItem 215 { 216 Separator = TRUE ; 217 }; 218 MenuItem 219 { 220 Identifier = ID_RESCAN ; 221 HelpId = HID_ORGANIZE_RESCAN ; 222 Text [ en-US ] = "Update" ; 223 }; 224 MenuItem 225 { 226 Separator = TRUE ; 227 }; 228 MenuItem 229 { 230 Identifier = ID_DEFAULT_TEMPLATE ; 231 HelpId = HID_ORGANIZE_STDTEMPLATE_ADD ; 232 Text [ en-US ] = "Set As Default Template" ; 233 }; 234 MenuItem 235 { 236 Identifier = ID_RESET_DEFAULT_TEMPLATE ; 237 HelpId = HID_ORGANIZE_STDTEMPLATE_DEL ; 238 Text [ en-US ] = "Reset Default Template" ; 239 }; 240 }; 241 }; 242 }; 243 Image IMG_OPENED_FOLDER 244 { 245 MASKCOLOR ; 246 ImageBitmap = Bitmap { File = "folderop.bmp" ; } ; 247 }; 248 Image IMG_CLOSED_FOLDER 249 { 250 MASKCOLOR ; 251 ImageBitmap = Bitmap { File = "foldercl.bmp" ; } ; 252 }; 253 Image IMG_OPENED_DOC 254 { 255 MASKCOLOR ; 256 ImageBitmap = Bitmap { File = "doccl.bmp" ; } ; 257 }; 258 Image IMG_CLOSED_DOC 259 { 260 MASKCOLOR ; 261 ImageBitmap = Bitmap { File = "doccl.bmp" ; } ; 262 }; 263 Image IMG_OPENED_FOLDER_HC 264 { 265 MASKCOLOR ; 266 ImageBitmap = Bitmap { File = "folderop_h.bmp" ; } ; 267 }; 268 Image IMG_CLOSED_FOLDER_HC 269 { 270 MASKCOLOR ; 271 ImageBitmap = Bitmap { File = "foldercl_h.bmp" ; } ; 272 }; 273 Image IMG_OPENED_DOC_HC 274 { 275 MASKCOLOR ; 276 ImageBitmap = Bitmap { File = "doccl_h.bmp" ; } ; 277 }; 278 Image IMG_CLOSED_DOC_HC 279 { 280 MASKCOLOR ; 281 ImageBitmap = Bitmap { File = "doccl_h.bmp" ; } ; 282 }; 283 /* FixedText FT_DEFAULT_TEMPLATE_LABEL 284 { 285 Pos = MAP_APPFONT ( 3 , 161 ) ; 286 Size = MAP_APPFONT ( 61 , 10 ) ; 287 Text [ en-US ] = "Default template:" ; 288 }; 289 FixedText FT_DEFAULT_TEMPLATE 290 { 291 Pos = MAP_APPFONT ( 66 , 161 ) ; 292 Size = MAP_APPFONT ( 131 , 10 ) ; 293 };*/ 294}; 295 // ********************************************************************** EOF 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317