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 28#include <sfx2/sfx.hrc> 29#include "doc.hrc" 30#include "doctdlg.hrc" 31#include <sfx2/sfxcommands.h> 32 33ModalDialog DLG_DOC_TEMPLATE 34{ 35 HelpId = CMD_SID_DOCTEMPLATE ; 36 OutputSize = TRUE ; 37 SVLook = TRUE ; 38 Size = MAP_APPFONT ( 280 , 128 ) ; 39 Text [ en-US ] = "Templates" ; 40 Moveable = TRUE ; 41 FixedLine FL_EDIT 42 { 43 Pos = MAP_APPFONT ( 6 , 3 ) ; 44 Size = MAP_APPFONT ( 212 , 8 ) ; 45 Text [ en-US ] = "New template" ; 46 }; 47 Edit ED_NAME 48 { 49 HelpID = "sfx2:Edit:DLG_DOC_TEMPLATE:ED_NAME"; 50 Border = TRUE ; 51 Pos = MAP_APPFONT ( 12 , 14 ) ; 52 Size = MAP_APPFONT ( 200 , 12 ) ; 53 }; 54 FixedLine FL_STYLESHEETS 55 { 56 Pos = MAP_APPFONT ( 6 , 32 ) ; 57 Size = MAP_APPFONT ( 212 , 8 ) ; 58 Text [ en-US ] = "Templates" ; 59 }; 60 FixedText FT_SECTION 61 { 62 Pos = MAP_APPFONT ( 12 , 43 ) ; 63 Size = MAP_APPFONT ( 97 , 10 ) ; 64 Text [ en-US ] = "~Categories" ; 65 }; 66 ListBox LB_SECTION 67 { 68 HelpID = "sfx2:ListBox:DLG_DOC_TEMPLATE:LB_SECTION"; 69 Border = TRUE ; 70 Pos = MAP_APPFONT ( 12 , 56 ) ; 71 Size = MAP_APPFONT ( 97 , 66 ) ; 72 }; 73 FixedText FT_STYLESHEETS 74 { 75 Pos = MAP_APPFONT ( 115 , 43 ) ; 76 Size = MAP_APPFONT ( 97 , 10 ) ; 77 Text [ en-US ] = "~Templates" ; 78 }; 79 ListBox LB_STYLESHEETS 80 { 81 HelpID = "sfx2:ListBox:DLG_DOC_TEMPLATE:LB_STYLESHEETS"; 82 Border = TRUE ; 83 Pos = MAP_APPFONT ( 115 , 56 ) ; 84 Size = MAP_APPFONT ( 97 , 66 ) ; 85 }; 86 OKButton BT_OK 87 { 88 Pos = MAP_APPFONT ( 224 , 6 ) ; 89 Size = MAP_APPFONT ( 50 , 14 ) ; 90 DefButton = TRUE ; 91 Disable = TRUE ; 92 }; 93 CancelButton BT_CANCEL 94 { 95 Pos = MAP_APPFONT ( 224 , 23 ) ; 96 Size = MAP_APPFONT ( 50 , 14 ) ; 97 }; 98 HelpButton BT_HELP 99 { 100 Pos = MAP_APPFONT ( 224 , 43 ) ; 101 Size = MAP_APPFONT ( 50 , 14 ) ; 102 }; 103 PushButton BT_EDIT 104 { 105 HelpID = "sfx2:PushButton:DLG_DOC_TEMPLATE:BT_EDIT"; 106 Pos = MAP_APPFONT ( 224 , 62 ) ; 107 Size = MAP_APPFONT ( 50 , 14 ) ; 108 Text [ en-US ] = "~Edit" ; 109 }; 110 PushButton BT_ORGANIZE 111 { 112 HelpID = "sfx2:PushButton:DLG_DOC_TEMPLATE:BT_ORGANIZE"; 113 Pos = MAP_APPFONT ( 224 , 79 ) ; 114 Size = MAP_APPFONT ( 50 , 14 ) ; 115 Text [ en-US ] = "~Organizer..." ; 116 }; 117}; 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153