1acbf353aSAndrew Rist/************************************************************** 2*f9aa2394Smseidel * 3acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4acbf353aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5acbf353aSAndrew Rist * distributed with this work for additional information 6acbf353aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8acbf353aSAndrew Rist * "License"); you may not use this file except in compliance 9acbf353aSAndrew Rist * with the License. You may obtain a copy of the License at 10*f9aa2394Smseidel * 11acbf353aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*f9aa2394Smseidel * 13acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14acbf353aSAndrew Rist * software distributed under the License is distributed on an 15acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16acbf353aSAndrew Rist * KIND, either express or implied. See the License for the 17acbf353aSAndrew Rist * specific language governing permissions and limitations 18acbf353aSAndrew Rist * under the License. 19*f9aa2394Smseidel * 20acbf353aSAndrew Rist *************************************************************/ 21acbf353aSAndrew Rist 22acbf353aSAndrew Rist 23*f9aa2394Smseidel 24*f9aa2394Smseidel// include --------------------------------------------------------------- 25cdf0e10cSrcweir#include <sfx2/sfx.hrc> 26cdf0e10cSrcweir#include "doc.hrc" 27cdf0e10cSrcweir#include "docvor.hrc" 28cdf0e10cSrcweir#include "helpid.hrc" 29cdf0e10cSrcweir// pragma ---------------------------------------------------------------- 30cdf0e10cSrcweir 31cdf0e10cSrcweir// DLG_ORGANIZE ---------------------------------------------------------- 32cdf0e10cSrcweir 33cdf0e10cSrcweirModalDialog DLG_ORGANIZE 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir HelpId = CMD_SID_ORGANIZER ; 36cdf0e10cSrcweir OutputSize = TRUE ; 37cdf0e10cSrcweir SVLook = TRUE ; 38*f9aa2394Smseidel Size = MAP_APPFONT ( 271, 162 ) ; 39cdf0e10cSrcweir Text [ en-US ] = "Template Management" ; 40cdf0e10cSrcweir Moveable = TRUE ; 41cdf0e10cSrcweir HelpButton BTN_HELP 42cdf0e10cSrcweir { 43*f9aa2394Smseidel Pos = MAP_APPFONT ( 205, 43 ) ; 44*f9aa2394Smseidel Size = MAP_APPFONT ( 60, 14 ) ; 45cdf0e10cSrcweir TabStop = TRUE ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir OKButton BTN_OK 48cdf0e10cSrcweir { 49*f9aa2394Smseidel Pos = MAP_APPFONT ( 205, 6 ) ; 50*f9aa2394Smseidel Size = MAP_APPFONT ( 60, 14 ) ; 51cdf0e10cSrcweir Text [ en-US ] = "Close" ; 52cdf0e10cSrcweir TabStop = TRUE ; 53cdf0e10cSrcweir DefButton = TRUE ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir PushButton BTN_FILES 56cdf0e10cSrcweir { 57*f9aa2394Smseidel HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_FILES" ; 58*f9aa2394Smseidel Pos = MAP_APPFONT ( 205, 143 ) ; 59*f9aa2394Smseidel Size = MAP_APPFONT ( 60, 14 ) ; 60cdf0e10cSrcweir Text [ en-US ] = "~File..." ; 61cdf0e10cSrcweir TabStop = TRUE ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir PushButton BTN_ADDRESSTEMPLATE 64cdf0e10cSrcweir { 65*f9aa2394Smseidel HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_ADDRESSTEMPLATE" ; 66*f9aa2394Smseidel Pos = MAP_APPFONT ( 205, 124 ) ; 67*f9aa2394Smseidel Size = MAP_APPFONT ( 60, 14 ) ; 68cdf0e10cSrcweir Text [ en-US ] = "~Address Book..." ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir ListBox LB_LEFT_TYP 71cdf0e10cSrcweir { 72*f9aa2394Smseidel HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_LEFT_TYP" ; 73cdf0e10cSrcweir Border = TRUE ; 74*f9aa2394Smseidel Pos = MAP_APPFONT ( 3, 144 ) ; 75*f9aa2394Smseidel Size = MAP_APPFONT ( 94, 55 ) ; 76cdf0e10cSrcweir TabStop = TRUE ; 77cdf0e10cSrcweir DropDown = TRUE ; 78cdf0e10cSrcweir CurPos = 0 ; 79cdf0e10cSrcweir StringList [ en-US ] = 80cdf0e10cSrcweir { 81*f9aa2394Smseidel < "Templates" ; Default ; > ; 82*f9aa2394Smseidel < "Documents" ; Default ; > ; 83cdf0e10cSrcweir }; 84cdf0e10cSrcweir }; 85cdf0e10cSrcweir ListBox LB_RIGHT_TYP 86cdf0e10cSrcweir { 87*f9aa2394Smseidel HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_RIGHT_TYP" ; 88cdf0e10cSrcweir Border = TRUE ; 89*f9aa2394Smseidel Pos = MAP_APPFONT ( 103, 144 ) ; 90*f9aa2394Smseidel Size = MAP_APPFONT ( 94, 55 ) ; 91cdf0e10cSrcweir TabStop = TRUE ; 92cdf0e10cSrcweir DropDown = TRUE ; 93cdf0e10cSrcweir CurPos = 1 ; 94cdf0e10cSrcweir StringList [ en-US ] = 95cdf0e10cSrcweir { 96*f9aa2394Smseidel < "Templates" ; Default ; > ; 97*f9aa2394Smseidel < "Documents" ; Default ; > ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir Control LB_LEFT 101cdf0e10cSrcweir { 102cdf0e10cSrcweir HelpId = HID_CTL_ORGANIZER_LEFT ; 103cdf0e10cSrcweir Border = TRUE ; 104*f9aa2394Smseidel Pos = MAP_APPFONT ( 3, 6 ) ; 105*f9aa2394Smseidel Size = MAP_APPFONT ( 94, 132 ) ; 106cdf0e10cSrcweir TabStop = TRUE ; 107cdf0e10cSrcweir ClipChildren = TRUE ; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir Control LB_RIGHT 110cdf0e10cSrcweir { 111cdf0e10cSrcweir HelpId = HID_CTL_ORGANIZER_RIGHT ; 112cdf0e10cSrcweir Border = TRUE ; 113*f9aa2394Smseidel Pos = MAP_APPFONT ( 103, 6 ) ; 114*f9aa2394Smseidel Size = MAP_APPFONT ( 94, 132 ) ; 115cdf0e10cSrcweir TabStop = TRUE ; 116cdf0e10cSrcweir ClipChildren = TRUE ; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir Accelerator ACC_EDIT 119cdf0e10cSrcweir { 120cdf0e10cSrcweir ItemList = 121cdf0e10cSrcweir { 122cdf0e10cSrcweir AcceleratorItem 123cdf0e10cSrcweir { 124cdf0e10cSrcweir Identifier = ID_NEW ; 125cdf0e10cSrcweir Key = KeyCode 126cdf0e10cSrcweir { 127cdf0e10cSrcweir Code = KEY_INSERT ; 128cdf0e10cSrcweir }; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir AcceleratorItem 131cdf0e10cSrcweir { 132cdf0e10cSrcweir Identifier = ID_DELETE ; 133cdf0e10cSrcweir Key = KeyCode 134cdf0e10cSrcweir { 135cdf0e10cSrcweir Code = KEY_DELETE ; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir }; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir MenuButton BTN_EDIT 141cdf0e10cSrcweir { 142*f9aa2394Smseidel HelpID = "sfx2:MenuButton:DLG_ORGANIZE:BTN_EDIT" ; 143*f9aa2394Smseidel Pos = MAP_APPFONT ( 205, 23 ) ; 144*f9aa2394Smseidel Size = MAP_APPFONT ( 60, 14 ) ; 145cdf0e10cSrcweir Text [ en-US ] = "Commands" ; 146cdf0e10cSrcweir TabStop = TRUE ; 147cdf0e10cSrcweir ButtonMenu = Menu 148cdf0e10cSrcweir { 149cdf0e10cSrcweir ItemList = 150cdf0e10cSrcweir { 151cdf0e10cSrcweir MenuItem 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Identifier = ID_NEW ; 154cdf0e10cSrcweir HelpId = HID_ORGANIZE_NEW ; 155cdf0e10cSrcweir Text [ en-US ] = "~New" ; 156cdf0e10cSrcweir AccelKey = KeyCode 157cdf0e10cSrcweir { 158cdf0e10cSrcweir Code = KEY_INSERT ; 159cdf0e10cSrcweir }; 160cdf0e10cSrcweir }; 161cdf0e10cSrcweir MenuItem 162cdf0e10cSrcweir { 163cdf0e10cSrcweir Identifier = ID_DELETE ; 164cdf0e10cSrcweir HelpId = HID_ORGANIZE_DELETE ; 165cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 166cdf0e10cSrcweir AccelKey = KeyCode 167cdf0e10cSrcweir { 168cdf0e10cSrcweir Code = KEY_DELETE ; 169cdf0e10cSrcweir }; 170cdf0e10cSrcweir }; 171cdf0e10cSrcweir MenuItem 172cdf0e10cSrcweir { 173cdf0e10cSrcweir Identifier = ID_EDIT ; 174cdf0e10cSrcweir HelpId = HID_ORGANIZE_EDIT ; 175cdf0e10cSrcweir Text [ en-US ] = "~Edit" ; 176cdf0e10cSrcweir }; 177cdf0e10cSrcweir MenuItem 178cdf0e10cSrcweir { 179cdf0e10cSrcweir Separator = TRUE ; 180cdf0e10cSrcweir }; 181cdf0e10cSrcweir MenuItem 182cdf0e10cSrcweir { 183cdf0e10cSrcweir Identifier = ID_COPY_FROM ; 184cdf0e10cSrcweir HelpId = HID_ORGANIZE_COPY_FROM ; 185cdf0e10cSrcweir Text [ en-US ] = "Import Template..." ; 186cdf0e10cSrcweir }; 187cdf0e10cSrcweir MenuItem 188cdf0e10cSrcweir { 189cdf0e10cSrcweir Identifier = ID_COPY_TO ; 190cdf0e10cSrcweir HelpId = HID_ORGANIZE_COPY_TO ; 191cdf0e10cSrcweir Text [ en-US ] = "Export Template..." ; 192cdf0e10cSrcweir }; 193cdf0e10cSrcweir MenuItem 194cdf0e10cSrcweir { 195cdf0e10cSrcweir Separator = TRUE ; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir MenuItem 198cdf0e10cSrcweir { 199cdf0e10cSrcweir Identifier = ID_PRINT ; 200cdf0e10cSrcweir HelpId = HID_ORGANIZE_PRINT ; 201cdf0e10cSrcweir Text [ en-US ] = "~Print" ; 202cdf0e10cSrcweir }; 203cdf0e10cSrcweir MenuItem 204cdf0e10cSrcweir { 205cdf0e10cSrcweir Identifier = ID_PRINTER_SETUP ; 206cdf0e10cSrcweir HelpId = HID_ORGANIZE_PRINTER_SETUP ; 207cdf0e10cSrcweir Text [ en-US ] = "Printer Settings..." ; 208cdf0e10cSrcweir }; 209cdf0e10cSrcweir MenuItem 210cdf0e10cSrcweir { 211cdf0e10cSrcweir Separator = TRUE ; 212cdf0e10cSrcweir }; 213cdf0e10cSrcweir MenuItem 214cdf0e10cSrcweir { 215cdf0e10cSrcweir Identifier = ID_RESCAN ; 216cdf0e10cSrcweir HelpId = HID_ORGANIZE_RESCAN ; 217cdf0e10cSrcweir Text [ en-US ] = "Update" ; 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir MenuItem 220cdf0e10cSrcweir { 221cdf0e10cSrcweir Separator = TRUE ; 222cdf0e10cSrcweir }; 223cdf0e10cSrcweir MenuItem 224cdf0e10cSrcweir { 225cdf0e10cSrcweir Identifier = ID_DEFAULT_TEMPLATE ; 226cdf0e10cSrcweir HelpId = HID_ORGANIZE_STDTEMPLATE_ADD ; 227cdf0e10cSrcweir Text [ en-US ] = "Set As Default Template" ; 228cdf0e10cSrcweir }; 229cdf0e10cSrcweir MenuItem 230cdf0e10cSrcweir { 231cdf0e10cSrcweir Identifier = ID_RESET_DEFAULT_TEMPLATE ; 232cdf0e10cSrcweir HelpId = HID_ORGANIZE_STDTEMPLATE_DEL ; 233cdf0e10cSrcweir Text [ en-US ] = "Reset Default Template" ; 234cdf0e10cSrcweir }; 235cdf0e10cSrcweir }; 236cdf0e10cSrcweir }; 237cdf0e10cSrcweir }; 238cdf0e10cSrcweir Image IMG_OPENED_FOLDER 239cdf0e10cSrcweir { 240*f9aa2394Smseidel ImageBitmap = Bitmap {File = "folderop.png" ;} ; 241cdf0e10cSrcweir }; 242cdf0e10cSrcweir Image IMG_CLOSED_FOLDER 243cdf0e10cSrcweir { 244*f9aa2394Smseidel ImageBitmap = Bitmap {File = "foldercl.png" ;} ; 245cdf0e10cSrcweir }; 246cdf0e10cSrcweir Image IMG_OPENED_DOC 247cdf0e10cSrcweir { 248*f9aa2394Smseidel ImageBitmap = Bitmap {File = "doccl.png" ;} ; 249cdf0e10cSrcweir }; 250cdf0e10cSrcweir Image IMG_CLOSED_DOC 251cdf0e10cSrcweir { 252*f9aa2394Smseidel ImageBitmap = Bitmap {File = "doccl.png" ;} ; 253cdf0e10cSrcweir }; 254cdf0e10cSrcweir Image IMG_OPENED_FOLDER_HC 255cdf0e10cSrcweir { 256*f9aa2394Smseidel ImageBitmap = Bitmap {File = "folderop_h.png" ;} ; 257cdf0e10cSrcweir }; 258cdf0e10cSrcweir Image IMG_CLOSED_FOLDER_HC 259cdf0e10cSrcweir { 260*f9aa2394Smseidel ImageBitmap = Bitmap {File = "foldercl_h.png" ;} ; 261cdf0e10cSrcweir }; 262cdf0e10cSrcweir Image IMG_OPENED_DOC_HC 263cdf0e10cSrcweir { 264*f9aa2394Smseidel ImageBitmap = Bitmap {File = "doccl_h.png" ;} ; 265cdf0e10cSrcweir }; 266cdf0e10cSrcweir Image IMG_CLOSED_DOC_HC 267cdf0e10cSrcweir { 268*f9aa2394Smseidel ImageBitmap = Bitmap {File = "doccl_h.png" ;} ; 269cdf0e10cSrcweir }; 270*f9aa2394Smseidel /*FixedText FT_DEFAULT_TEMPLATE_LABEL 271cdf0e10cSrcweir { 272*f9aa2394Smseidel Pos = MAP_APPFONT ( 3, 161 ) ; 273*f9aa2394Smseidel Size = MAP_APPFONT ( 61, 10 ) ; 274cdf0e10cSrcweir Text [ en-US ] = "Default template:" ; 275cdf0e10cSrcweir }; 276cdf0e10cSrcweir FixedText FT_DEFAULT_TEMPLATE 277cdf0e10cSrcweir { 278*f9aa2394Smseidel Pos = MAP_APPFONT ( 66, 161 ) ; 279*f9aa2394Smseidel Size = MAP_APPFONT ( 131, 10 ) ; 280cdf0e10cSrcweir };*/ 281cdf0e10cSrcweir}; 282cdf0e10cSrcweir 283*f9aa2394Smseidel// ********************************************************************** EOF 284