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 "app.hrc" 29#include "layeroptionsdlg.hrc" 30#include "helpids.h" 31 32ModalDialog DLG_INSERT_LAYER 33{ 34 HelpID = CMD_SID_INSERTLAYER ; 35 OutputSize = TRUE ; 36 SVLook = TRUE ; 37 Size = MAP_APPFONT ( 200 , 172 ) ; 38 Text [ en-US ] = "Insert Layer" ; 39 Moveable = TRUE ; 40 41 FixedText FT_NAME 42 { 43 Pos = MAP_APPFONT ( 6 , 6 ) ; 44 Size = MAP_APPFONT ( 188 , 8 ) ; 45 Text [ en-US ] = "~Name" ; 46 }; 47 48 Edit EDT_NAME 49 { 50 HelpID = "sd:Edit:DLG_INSERT_LAYER:EDT_NAME"; 51 Border = TRUE ; 52 Pos = MAP_APPFONT ( 6 , 17 ) ; 53 Size = MAP_APPFONT ( 188 , 12 ) ; 54 TabStop = TRUE ; 55 }; 56 57 FixedText FT_TITLE 58 { 59 Pos = MAP_APPFONT ( 6 , 32 ) ; 60 Size = MAP_APPFONT ( 188 , 8 ) ; 61 Text [ en-US ] = "~Title" ; 62 }; 63 64 Edit EDT_TITLE 65 { 66 HelpID = "sd:Edit:DLG_INSERT_LAYER:EDT_TITLE"; 67 Border = TRUE ; 68 Pos = MAP_APPFONT ( 6 , 43 ) ; 69 Size = MAP_APPFONT ( 188 , 12 ) ; 70 TabStop = TRUE ; 71 }; 72 73 FixedText FT_DESCRIPTION 74 { 75 Pos = MAP_APPFONT ( 6 , 58 ) ; 76 Size = MAP_APPFONT ( 188 , 8 ) ; 77 Text [ en-US ] = "~Description" ; 78 }; 79 80 MultiLineEdit EDT_DESCRIPTION 81 { 82 HelpID = "sd:MultiLineEdit:DLG_INSERT_LAYER:EDT_DESCRIPTION"; 83 Border = TRUE ; 84 Pos = MAP_APPFONT ( 6 , 69 ) ; 85 Size = MAP_APPFONT ( 188 , 34 ) ; 86 TabStop = TRUE ; 87 IgnoreTab = TRUE; 88 VScroll = TRUE; 89 }; 90 91 CheckBox CBX_VISIBLE 92 { 93 HelpID = "sd:CheckBox:DLG_INSERT_LAYER:CBX_VISIBLE"; 94 Pos = MAP_APPFONT ( 6 , 106 ) ; 95 Size = MAP_APPFONT ( 188 , 10 ) ; 96 Text [ en-US ] = "~Visible" ; 97 TabStop = TRUE ; 98 }; 99 100 CheckBox CBX_PRINTABLE 101 { 102 HelpID = "sd:CheckBox:DLG_INSERT_LAYER:CBX_PRINTABLE"; 103 Pos = MAP_APPFONT ( 6 , 119 ) ; 104 Size = MAP_APPFONT ( 188 , 10 ) ; 105 Text [ en-US ] = "~Printable" ; 106 TabStop = TRUE ; 107 }; 108 109 CheckBox CBX_LOCKED 110 { 111 HelpID = "sd:CheckBox:DLG_INSERT_LAYER:CBX_LOCKED"; 112 Pos = MAP_APPFONT ( 6 , 132 ) ; 113 Size = MAP_APPFONT ( 188 , 10 ) ; 114 Text [ en-US ] = "~Locked" ; 115 TabStop = TRUE ; 116 }; 117 118 // divider 119 FixedLine FL_SEPARATOR_B 120 { 121 Pos = MAP_APPFONT ( 0 , 144 ) ; 122 Size = MAP_APPFONT ( 200 , 4 ) ; 123 }; 124 125 // Buttons 126 HelpButton BTN_HELP 127 { 128 Pos = MAP_APPFONT ( 6, 152 ) ; 129 Size = MAP_APPFONT ( 50 , 14 ) ; 130 TabStop = TRUE ; 131 }; 132 OKButton BTN_OK 133 { 134 Pos = MAP_APPFONT ( 200 - (50 + 50 + 9), 152) ; 135 Size = MAP_APPFONT ( 50 , 14 ) ; 136 TabStop = TRUE ; 137 DefButton = TRUE ; 138 }; 139 CancelButton BTN_CANCEL 140 { 141 Pos = MAP_APPFONT ( 200 - (50 + 6), 152) ; 142 Size = MAP_APPFONT ( 50 , 14 ) ; 143 TabStop = TRUE ; 144 }; 145}; 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191