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 24// include --------------------------------------------------------------- 25#include "helpid.hrc" 26#include "labdlg.hrc" 27#include <svx/dialogs.hrc> 28 29// RID_SVXPAGE_CAPTION --------------------------------------------------- 30TabPage RID_SVXPAGE_CAPTION 31{ 32 HelpId = HID_CAPTION ; 33 Hide = TRUE ; 34 //Size = MAP_APPFONT ( 189, 97 ) ; 35 Size = MAP_APPFONT ( 260, 185 ) ; 36 Text [ en-US ] = "Callouts" ; 37 Control CT_CAPTTYPE 38 { 39 HelpId = HID_CAPTION_CTL_TYPE ; 40 Border = TRUE ; 41 Pos = MAP_APPFONT ( 6, 6 ) ; 42 Size = MAP_APPFONT ( 187, 38 ) ; 43 TabStop = TRUE ; 44 }; 45 FixedText FT_ABSTAND 46 { 47 Pos = MAP_APPFONT ( 6, 53 ) ; 48 Size = MAP_APPFONT ( 42, 8 ) ; 49 Text [ en-US ] = "~Spacing" ; 50 }; 51 MetricField MF_ABSTAND 52 { 53 HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_ABSTAND" ; 54 Border = TRUE ; 55 Pos = MAP_APPFONT ( 50, 51 ) ; 56 Size = MAP_APPFONT ( 50, 12 ) ; 57 TabStop = TRUE ; 58 Repeat = TRUE ; 59 Spin = TRUE ; 60 Maximum = 240000 ; 61 StrictFormat = TRUE ; 62 DecimalDigits = 2 ; 63 Unit = FUNIT_MM ; 64 SpinSize = 50 ; 65 }; 66 FixedText FT_WINKEL 67 { 68 Pos = MAP_APPFONT ( 106, 53 ) ; 69 Size = MAP_APPFONT ( 35, 8 ) ; 70 Text [ en-US ] = "~Angle" ; 71 }; 72 ListBox LB_WINKEL 73 { 74 HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_WINKEL" ; 75 Border = TRUE ; 76 Pos = MAP_APPFONT ( 143, 51 ) ; 77 Size = MAP_APPFONT ( 50, 60 ) ; 78 TabStop = TRUE ; 79 DropDown = TRUE ; 80 CurPos = 0 ; 81 StringList [ en-US ] = 82 { 83 < "Free" ; 1 ; > ; 84 < "30 Degrees" ; 3000 ; > ; 85 < "45 Degrees" ; 4500 ; > ; 86 < "60 Degrees" ; 6000 ; > ; 87 < "90 Degrees" ; 9000 ; > ; 88 }; 89 }; 90 FixedText FT_ANSATZ 91 { 92 Pos = MAP_APPFONT ( 6, 69 ) ; 93 Size = MAP_APPFONT ( 42, 8 ) ; 94 Text [ en-US ] = "~Extension" ; 95 }; 96 ListBox LB_ANSATZ 97 { 98 HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_ANSATZ" ; 99 Border = TRUE ; 100 Pos = MAP_APPFONT ( 50, 67 ) ; 101 Size = MAP_APPFONT ( 50, 60 ) ; 102 TabStop = TRUE ; 103 DropDown = TRUE ; 104 CurPos = 0 ; 105 StringList [ en-US ] = 106 { 107 < "Optimal" ; 4 ; > ; 108 < "From top" ; 3 ; > ; 109 < "From left" ; 3 ; > ; 110 < "Horizontal" ; 1 ; > ; 111 < "Vertical" ; 2 ; > ; 112 }; 113 }; 114 FixedText FT_UM 115 { 116 Pos = MAP_APPFONT ( 106, 69 ) ; 117 Size = MAP_APPFONT ( 35, 8 ) ; 118 Text [ en-US ] = "~By" ; 119 }; 120 MetricField MF_ANSATZ 121 { 122 HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_ANSATZ" ; 123 Border = TRUE ; 124 Pos = MAP_APPFONT ( 143, 67 ) ; 125 Size = MAP_APPFONT ( 50, 12 ) ; 126 TabStop = TRUE ; 127 Repeat = TRUE ; 128 Spin = TRUE ; 129 Maximum = 240000 ; 130 StrictFormat = TRUE ; 131 DecimalDigits = 2 ; 132 Unit = FUNIT_MM ; 133 SpinSize = 50 ; 134 }; 135 FixedText FT_ANSATZ_REL 136 { 137 Pos = MAP_APPFONT ( 106, 69 ) ; 138 Size = MAP_APPFONT ( 35, 8 ) ; 139 Text [ en-US ] = "~Position" ; 140 }; 141 ListBox LB_ANSATZ_REL 142 { 143 HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_ANSATZ_REL" ; 144 Border = TRUE ; 145 Pos = MAP_APPFONT ( 143, 67 ) ; 146 Size = MAP_APPFONT ( 50, 60 ) ; 147 TabStop = TRUE ; 148 DropDown = TRUE ; 149 }; 150 FixedText FT_LAENGE 151 { 152 Pos = MAP_APPFONT ( 6, 85 ) ; 153 Size = MAP_APPFONT ( 42, 8 ) ; 154 Text [ en-US ] = "~Length" ; 155 }; 156 MetricField MF_LAENGE 157 { 158 HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_LAENGE" ; 159 Border = TRUE ; 160 Pos = MAP_APPFONT ( 50, 83 ) ; 161 Size = MAP_APPFONT ( 50, 12 ) ; 162 TabStop = TRUE ; 163 Repeat = TRUE ; 164 Spin = TRUE ; 165 Maximum = 240000 ; 166 StrictFormat = TRUE ; 167 DecimalDigits = 2 ; 168 Unit = FUNIT_MM ; 169 SpinSize = 50 ; 170 }; 171 CheckBox CB_LAENGE 172 { 173 HelpID = "cui:CheckBox:RID_SVXPAGE_CAPTION:CB_LAENGE" ; 174 Pos = MAP_APPFONT ( 106, 84 ) ; 175 Size = MAP_APPFONT ( 50, 10 ) ; 176 TabStop = TRUE ; 177 Text [ en-US ] = "~Optimal" ; 178 }; 179 String STR_CAPTTYPE_1 180 { 181 Text [ en-US ] = "Straight Line" ; 182 }; 183 String STR_CAPTTYPE_2 184 { 185 Text [ en-US ] = "Angled Line" ; 186 }; 187 String STR_CAPTTYPE_3 188 { 189 Text [ en-US ] = "Angled Connector Line" ; 190 }; 191 String STR_CAPTTYPE_4 192 { 193 Text [ en-US ] = "Double-angled line" ; 194 }; 195 String STR_HORZ_LIST 196 { 197 Text [ en-US ] = "Top;Middle;Bottom" ; 198 }; 199 String STR_VERT_LIST 200 { 201 Text [ en-US ] = "Left;Middle;Right" ; 202 }; 203 Bitmap BMP_CAPTTYPE_1 204 { 205 File = "legtyp1.png" ; 206 }; 207 Bitmap BMP_CAPTTYPE_2 208 { 209 File = "legtyp2.png" ; 210 }; 211 Bitmap BMP_CAPTTYPE_3 212 { 213 File = "legtyp3.png" ; 214 }; 215 Bitmap BMP_CAPTTYPE_4 216 { 217 File = "legtyp4.png" ; 218 }; 219 Bitmap BMP_CAPTTYPE_1_H 220 { 221 File = "legtyp1_hc.png" ; 222 }; 223 Bitmap BMP_CAPTTYPE_2_H 224 { 225 File = "legtyp2_hc.png" ; 226 }; 227 Bitmap BMP_CAPTTYPE_3_H 228 { 229 File = "legtyp3_hc.png" ; 230 }; 231 Bitmap BMP_CAPTTYPE_4_H 232 { 233 File = "legtyp4_hc.png" ; 234 }; 235}; 236// RID_SVXDLG_CAPTION ---------------------------------------------------- 237 238#define _POS_SIZE_TEXT \ 239 Text [ en-US ] = "Position and Size" ; \ 240 241TabDialog RID_SVXDLG_CAPTION\ 242{ 243 OutputSize = TRUE ; 244 SVLook = TRUE ; 245 Size = MAP_APPFONT ( 237, 161 ) ; 246 Text [ en-US ] = "Callouts" ; \ 247 Moveable = TRUE ; 248 TabControl TAB_CONTROL\ 249 { 250 OutputSize = TRUE ; 251 Pos = MAP_APPFONT ( 3, 3 ) ; 252 Size = MAP_APPFONT ( 189, 97 ) ; 253 PageList = 254 { 255 PageItem\ 256 { 257 Identifier = RID_SVXPAGE_POSITION_SIZE ; 258 PageResID = RID_SVXPAGE_POSITION_SIZE ; 259 _POS_SIZE_TEXT 260 }; 261 PageItem 262 { 263 Identifier = RID_SVXPAGE_SWPOSSIZE ; 264 PageResID = RID_SVXPAGE_SWPOSSIZE ; 265 _POS_SIZE_TEXT 266 }; 267 PageItem 268 { 269 Identifier = RID_SVXPAGE_CAPTION ; 270 PageResID = RID_SVXPAGE_CAPTION ; 271 Text [ en-US ] = "Callout" ; 272 }; 273 }; 274 }; 275}; 276 277// ********************************************************************** EOF 278