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// include ------------------------------------------------------------------ 23 24#include <cuires.hrc> 25#include "helpid.hrc" 26#include "dlgname.hrc" 27 28// RID_SVXDLG_NAME ---------------------------------------------------------- 29 30ModalDialog RID_SVXDLG_NAME 31{ 32 HelpId = HID_DLG_NAME ; 33 OutputSize = TRUE ; 34 SvLook = TRUE ; 35 Size = MAP_APPFONT ( 180, 63 ) ; 36 Text [ en-US ] = "Name" ; 37 Moveable = TRUE ; 38 FixedText FT_DESCRIPTION 39 { 40 Pos = MAP_APPFONT ( 6, 6 ) ; 41 Size = MAP_APPFONT ( 112, 8 ) ; 42 WordBreak = TRUE ; 43 }; 44 Edit EDT_STRING 45 { 46 HelpID = "cui:Edit:RID_SVXDLG_NAME:EDT_STRING" ; 47 Border = TRUE ; 48 Pos = MAP_APPFONT ( 6, 17 ) ; 49 Size = MAP_APPFONT ( 112, 12 ) ; 50 TabStop = TRUE ; 51 }; 52 OKButton BTN_OK 53 { 54 Pos = MAP_APPFONT ( 124, 6 ) ; 55 Size = MAP_APPFONT ( 50, 14 ) ; 56 TabStop = TRUE ; 57 DefButton = TRUE ; 58 }; 59 CancelButton BTN_CANCEL 60 { 61 Pos = MAP_APPFONT ( 124, 23 ) ; 62 Size = MAP_APPFONT ( 50, 14 ) ; 63 TabStop = TRUE ; 64 }; 65 HelpButton BTN_HELP 66 { 67 Pos = MAP_APPFONT ( 124, 43 ) ; 68 Size = MAP_APPFONT ( 50, 14 ) ; 69 TabStop = TRUE ; 70 }; 71}; 72 73// #i68101# 74// RID_SVXDLG_OBJECT_NAME ---------------------------------------------------------- 75 76ModalDialog RID_SVXDLG_OBJECT_NAME 77{ 78 HelpId = HID_DLG_OBJECT_NAME ; 79 OutputSize = TRUE ; 80 SvLook = TRUE ; 81 Size = MAP_APPFONT ( 180, 54 + 2) ; 82 Text [ en-US ] = "Name" ; 83 Moveable = TRUE ; 84 85 // name 86 FixedText NTD_FT_NAME 87 { 88 Pos = MAP_APPFONT ( 6, 3 ) ; 89 Size = MAP_APPFONT ( 168, 8 ) ; 90 Text [ en-US ] = "~Name" ; 91 }; 92 Edit NTD_EDT_NAME 93 { 94 HelpID = "cui:Edit:RID_SVXDLG_OBJECT_NAME:NTD_EDT_NAME" ; 95 Border = TRUE ; 96 Pos = MAP_APPFONT ( 6, 14 ) ; 97 Size = MAP_APPFONT ( 168, 12 ) ; 98 TabStop = TRUE ; 99 }; 100 101 // divider 102 FixedLine FL_SEPARATOR_A 103 { 104 Pos = MAP_APPFONT ( 0, 39 - 6 - 2 ) ; 105 Size = MAP_APPFONT ( 180, 8 ) ; 106 }; 107 108 // Buttons 109 HelpButton BTN_HELP 110 { 111 Pos = MAP_APPFONT ( 6, 39 - 3 + 3) ; 112 Size = MAP_APPFONT ( 50, 14 ) ; 113 TabStop = TRUE ; 114 }; 115 OKButton BTN_OK 116 { 117 Pos = MAP_APPFONT ( 174 - (50 + 50 + 6), 39 - 3 + 3) ; 118 Size = MAP_APPFONT ( 50, 14 ) ; 119 TabStop = TRUE ; 120 DefButton = TRUE ; 121 }; 122 CancelButton BTN_CANCEL 123 { 124 Pos = MAP_APPFONT ( 174 - (50), 39 - 3 + 3) ; 125 Size = MAP_APPFONT ( 50, 14 ) ; 126 TabStop = TRUE ; 127 }; 128}; 129 130// #i68101# 131// RID_SVXDLG_OBJECTTITLE_DESC ---------------------------------------------------------- 132 133ModalDialog RID_SVXDLG_OBJECT_TITLE_DESC 134{ 135 HelpId = HID_DLG_OBJECT_TITLE_DESC ; 136 OutputSize = TRUE ; 137 SvLook = TRUE ; 138 Size = MAP_APPFONT ( 180, 78 + 27 ) ; 139 Text [ en-US ] = "Description" ; 140 Moveable = TRUE ; 141 142 // title 143 FixedText NTD_FT_TITLE 144 { 145 Pos = MAP_APPFONT ( 6, 3 ) ; 146 Size = MAP_APPFONT ( 168, 8 ) ; 147 WordBreak = TRUE ; 148 Text [ en-US ] = "~Title" ; 149 }; 150 Edit NTD_EDT_TITLE 151 { 152 HelpID = "cui:Edit:RID_SVXDLG_OBJECT_TITLE_DESC:NTD_EDT_TITLE" ; 153 Border = TRUE ; 154 Pos = MAP_APPFONT ( 6, 14 ) ; 155 Size = MAP_APPFONT ( 168, 12 ) ; 156 TabStop = TRUE ; 157 }; 158 159 // description 160 FixedText NTD_FT_DESC 161 { 162 Pos = MAP_APPFONT ( 6, 30 ) ; 163 Size = MAP_APPFONT ( 168, 8 ) ; 164 WordBreak = TRUE ; 165 Text [ en-US ] = "~Description" ; 166 }; 167 MultiLineEdit NTD_EDT_DESC 168 { 169 HelpID = "cui:MultiLineEdit:RID_SVXDLG_OBJECT_TITLE_DESC:NTD_EDT_DESC" ; 170 Border = TRUE ; 171 Pos = MAP_APPFONT ( 6, 41 ) ; 172 Size = MAP_APPFONT ( 168, (12 * 3) - 2 ) ; 173 TabStop = TRUE ; 174 IgnoreTab = TRUE ; 175 VScroll = TRUE ; 176 }; 177 178 // divider 179 FixedLine FL_SEPARATOR_B 180 { 181 Pos = MAP_APPFONT ( 0, 41 + 39 ) ; 182 Size = MAP_APPFONT ( 180, 8 ) ; 183 }; 184 185 // Buttons 186 HelpButton BTN_HELP 187 { 188 Pos = MAP_APPFONT ( 6, 41 + 39 + 3 + 5) ; 189 Size = MAP_APPFONT ( 50, 14 ) ; 190 TabStop = TRUE ; 191 }; 192 OKButton BTN_OK 193 { 194 Pos = MAP_APPFONT ( 174 - (50 + 50 + 6), 41 + 39 + 3 + 5) ; 195 Size = MAP_APPFONT ( 50, 14 ) ; 196 TabStop = TRUE ; 197 DefButton = TRUE ; 198 }; 199 CancelButton BTN_CANCEL 200 { 201 Pos = MAP_APPFONT ( 174 - (50), 41 + 39 + 3 + 5) ; 202 Size = MAP_APPFONT ( 50, 14 ) ; 203 TabStop = TRUE ; 204 }; 205}; 206 207// RID_SVXDLG_MESSBOX ------------------------------------------------------- 208 209ModalDialog RID_SVXDLG_MESSBOX 210{ 211 HelpId = HID_DLG_MESSBOX ; 212 OutputSize = TRUE ; 213 SvLook = TRUE ; 214 Size = MAP_APPFONT ( 212, 64 ) ; 215 Text = "" ; 216 Moveable = TRUE ; 217 PushButton BTN_1 218 { 219 HelpID = "cui:PushButton:RID_SVXDLG_MESSBOX:BTN_1" ; 220 Pos = MAP_APPFONT ( 25, 44 ) ; 221 Size = MAP_APPFONT ( 50, 14 ) ; 222 TabStop = TRUE ; 223 }; 224 PushButton BTN_2 225 { 226 HelpID = "cui:PushButton:RID_SVXDLG_MESSBOX:BTN_2" ; 227 Pos = MAP_APPFONT ( 78, 44 ) ; 228 Size = MAP_APPFONT ( 50, 14 ) ; 229 TabStop = TRUE ; 230 }; 231 CancelButton BTN_CANCEL 232 { 233 Pos = MAP_APPFONT ( 131, 44 ) ; 234 Size = MAP_APPFONT ( 50, 14 ) ; 235 TabStop = TRUE ; 236 }; 237 FixedText FT_DESCRIPTION 238 { 239 Pos = MAP_APPFONT ( 28, 6 ) ; 240 Size = MAP_APPFONT ( 200, 35 ) ; 241 WordBreak = TRUE ; 242 }; 243}; 244 245// ********************************************************************** EOF 246