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 ************************************************************************/ 27interface TextDraw : TextDrawBase 28[ 29 uuid = "626DE480-111A-101D-9757-6E74207A7520" 30] 31{ 32 SID_ATTR_LINEEND_STYLE 33 [ 34 SlotType = SfxBoolItem ; 35 ExecMethod = ExecDrawAttrArgs ; 36 StateMethod = DisableState ; 37 Export = FALSE; 38 ] 39 40 SID_ATTR_LINE_STYLE 41 [ 42 Export = FALSE; 43 ExecMethod = ExecDrawAttrArgs ; 44 StateMethod = GetDrawAttrState ; 45 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 46 ] 47 48 SID_ATTR_LINE_DASH 49 [ 50 ExecMethod = ExecDrawAttrArgs ; 51 StateMethod = GetDrawAttrState ; 52 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 53 ] 54 55 SID_DASH_LIST 56 [ 57 StateMethod = GetDrawAttrState ; 58 ] 59 60 SID_LINEEND_LIST 61 [ 62 StateMethod = GetDrawAttrState ; 63 ] 64 65 SID_COLOR_TABLE 66 [ 67 StateMethod = GetDrawAttrState ; 68 ] 69 70 SID_GRADIENT_LIST 71 [ 72 StateMethod = GetDrawAttrState ; 73 ] 74 75 SID_HATCH_LIST 76 [ 77 StateMethod = GetDrawAttrState ; 78 ] 79 80 SID_BITMAP_LIST 81 [ 82 StateMethod = GetDrawAttrState ; 83 ] 84 85 SID_ATTR_LINE_WIDTH 86 [ 87 ExecMethod = ExecDrawAttrArgs ; 88 StateMethod = GetDrawAttrState ; 89 Export = FALSE; 90 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 91 ] 92 93 SID_ATTR_LINE_COLOR 94 [ 95 Export = FALSE; 96 ExecMethod = ExecDrawAttrArgs ; 97 StateMethod = GetDrawAttrState ; 98 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 99 ] 100 101 SID_ATTR_FILL_STYLE 102 [ 103 Export = FALSE; 104 ExecMethod = ExecDrawAttrArgs ; 105 StateMethod = GetDrawAttrState ; 106 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 107 ] 108 109 SID_ATTR_FILL_COLOR 110 [ 111 Export = FALSE; 112 ExecMethod = ExecDrawAttrArgs ; 113 StateMethod = GetDrawAttrState ; 114 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 115 ] 116 117 SID_ATTR_FILL_GRADIENT 118 [ 119 Export = FALSE; 120 ExecMethod = ExecDrawAttrArgs ; 121 StateMethod = GetDrawAttrState ; 122 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 123 ] 124 125 SID_ATTR_FILL_HATCH 126 [ 127 Export = FALSE; 128 ExecMethod = ExecDrawAttrArgs ; 129 StateMethod = GetDrawAttrState ; 130 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 131 ] 132 133 SID_ATTR_FILL_BITMAP 134 [ 135 Export = FALSE; 136 ExecMethod = ExecDrawAttrArgs ; 137 StateMethod = GetDrawAttrState ; 138 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 139 ] 140 141 SID_ATTRIBUTES_LINE 142 [ 143 ExecMethod = ExecDrawDlg ; 144 StateMethod = DisableState ; 145 ] 146 147 SID_ATTRIBUTES_AREA 148 [ 149 ExecMethod = ExecDrawDlg ; 150 StateMethod = DisableState ; 151 ] 152 153 FN_DRAWTEXT_ATTR_DLG 154 [ 155 ExecMethod = ExecDrawDlg ; 156 StateMethod = DisableState ; 157 ] 158 159 FN_FLIP_VERT_GRAFIC 160 [ 161 ExecMethod = Execute ; 162 StateMethod = GetState ; 163 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 164 ] 165 166 FN_FLIP_HORZ_GRAFIC 167 [ 168 ExecMethod = Execute ; 169 StateMethod = GetState ; 170 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 171 ] 172 173 SID_OBJECT_ROTATE 174 [ 175 Export = FALSE; 176 ExecMethod = Execute ; 177 StateMethod = GetState ; 178 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 179 ] 180 181 SID_BEZIER_EDIT 182 [ 183 Export = FALSE; 184 ExecMethod = Execute ; 185 StateMethod = GetState ; 186 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 187 ] 188 189 SID_FONTWORK 190 [ 191 ExecMethod = Execute ; 192 StateMethod = GetState ; 193 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 194 ] 195 196 SID_OBJECT_HELL 197 [ 198 ExecMethod = Execute ; 199 StateMethod = GetState ; 200 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 201 ] 202 203 SID_OBJECT_HEAVEN 204 [ 205 ExecMethod = Execute ; 206 StateMethod = GetState ; 207 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 208 ] 209 210 FN_TOOL_HIERARCHIE 211 [ 212 ExecMethod = Execute ; 213 StateMethod = GetState ; 214 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 215 ] 216 217 SID_EXTRUSION_TOOGLE 218 [ 219 ExecMethod = Execute ; 220 StateMethod = GetState ; 221 ] 222 SID_EXTRUSION_TILT_DOWN 223 [ 224 ExecMethod = Execute ; 225 StateMethod = GetState ; 226 ] 227 SID_EXTRUSION_TILT_UP 228 [ 229 ExecMethod = Execute ; 230 StateMethod = GetState ; 231 ] 232 SID_EXTRUSION_TILT_LEFT 233 [ 234 ExecMethod = Execute ; 235 StateMethod = GetState ; 236 ] 237 SID_EXTRUSION_TILT_RIGHT 238 [ 239 ExecMethod = Execute ; 240 StateMethod = GetState ; 241 ] 242 SID_EXTRUSION_DEPTH_FLOATER 243 [ 244 ExecMethod = Execute ; 245 StateMethod = GetState ; 246 ] 247 SID_EXTRUSION_DEPTH_DIALOG 248 [ 249 ExecMethod = Execute ; 250 StateMethod = GetState ; 251 ] 252 SID_EXTRUSION_DIRECTION_FLOATER 253 [ 254 ExecMethod = Execute ; 255 StateMethod = GetState ; 256 ] 257 SID_EXTRUSION_LIGHTING_FLOATER 258 [ 259 ExecMethod = Execute ; 260 StateMethod = GetState ; 261 ] 262 SID_EXTRUSION_SURFACE_FLOATER 263 [ 264 ExecMethod = Execute ; 265 StateMethod = GetState ; 266 ] 267 SID_EXTRUSION_3D_COLOR 268 [ 269 ExecMethod = Execute ; 270 StateMethod = GetState ; 271 ] 272 SID_EXTRUSION_DEPTH 273 [ 274 ExecMethod = Execute ; 275 StateMethod = GetState ; 276 ] 277 SID_EXTRUSION_DIRECTION 278 [ 279 ExecMethod = Execute ; 280 StateMethod = GetState ; 281 ] 282 SID_EXTRUSION_PROJECTION 283 [ 284 ExecMethod = Execute ; 285 StateMethod = GetState ; 286 ] 287 SID_EXTRUSION_LIGHTING_DIRECTION 288 [ 289 ExecMethod = Execute ; 290 StateMethod = GetState ; 291 ] 292 SID_EXTRUSION_LIGHTING_INTENSITY 293 [ 294 ExecMethod = Execute ; 295 StateMethod = GetState ; 296 ] 297 SID_EXTRUSION_SURFACE 298 [ 299 ExecMethod = Execute ; 300 StateMethod = GetState ; 301 ] 302 SID_FONTWORK_SHAPE 303 [ 304 ExecMethod = Execute ; 305 StateMethod = GetState ; 306 ] 307 SID_FONTWORK_SHAPE_TYPE 308 [ 309 ExecMethod = Execute ; 310 StateMethod = GetState ; 311 ] 312 SID_FONTWORK_ALIGNMENT_FLOATER 313 [ 314 ExecMethod = Execute ; 315 StateMethod = GetState ; 316 ] 317 SID_FONTWORK_CHARACTER_SPACING_FLOATER 318 [ 319 ExecMethod = Execute ; 320 StateMethod = GetState ; 321 ] 322 SID_FONTWORK_ALIGNMENT 323 [ 324 ExecMethod = Execute ; 325 StateMethod = GetState ; 326 ] 327 SID_FONTWORK_SAME_LETTER_HEIGHTS 328 [ 329 ExecMethod = Execute ; 330 StateMethod = GetState ; 331 ] 332 SID_FONTWORK_CHARACTER_SPACING 333 [ 334 ExecMethod = Execute ; 335 StateMethod = GetState ; 336 ] 337 SID_FONTWORK_KERN_CHARACTER_PAIRS 338 [ 339 ExecMethod = Execute ; 340 StateMethod = GetState ; 341 ] 342 SID_FONTWORK_CHARACTER_SPACING_DIALOG 343 [ 344 ExecMethod = Execute ; 345 StateMethod = GetState ; 346 ] 347 SID_INSERT_GRAPHIC 348 [ 349 StateMethod = StateDisableItems ; 350 ] 351 SID_TWAIN_SELECT 352 [ 353 StateMethod = StateDisableItems ; 354 ] 355 356 SID_TWAIN_TRANSFER 357 [ 358 StateMethod = StateDisableItems ; 359 ] 360} 361 362shell SwDrawShell : SwDrawBaseShell 363{ 364 import TextDraw [Automation]; 365 366 // no export 367 368 SID_FORMTEXT_STYLE 369 [ 370 ExecMethod = ExecFormText ; 371 StateMethod = GetFormTextState ; 372 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 373 ] 374 375 376 SID_FORMTEXT_ADJUST 377 [ 378 ExecMethod = ExecFormText ; 379 StateMethod = GetFormTextState ; 380 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 381 ] 382 383 384 SID_FORMTEXT_DISTANCE 385 [ 386 ExecMethod = ExecFormText ; 387 StateMethod = GetFormTextState ; 388 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 389 ] 390 391 392 SID_FORMTEXT_START 393 [ 394 ExecMethod = ExecFormText ; 395 StateMethod = GetFormTextState ; 396 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 397 ] 398 399 SID_FORMTEXT_MIRROR 400 [ 401 ExecMethod = ExecFormText ; 402 StateMethod = GetFormTextState ; 403 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 404 ] 405 406 407 SID_FORMTEXT_HIDEFORM 408 [ 409 ExecMethod = ExecFormText ; 410 StateMethod = GetFormTextState ; 411 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 412 ] 413 414 SID_FORMTEXT_OUTLINE 415 [ 416 ExecMethod = ExecFormText ; 417 StateMethod = GetFormTextState ; 418 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 419 ] 420 421 SID_FORMTEXT_SHDWXVAL 422 [ 423 ExecMethod = ExecFormText ; 424 StateMethod = GetFormTextState ; 425 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 426 ] 427 428 SID_FORMTEXT_SHADOW 429 [ 430 ExecMethod = ExecFormText ; 431 StateMethod = GetFormTextState ; 432 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 433 ] 434 435 SID_FORMTEXT_SHDWCOLOR 436 [ 437 ExecMethod = ExecFormText ; 438 StateMethod = GetFormTextState ; 439 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 440 ] 441 442 SID_FORMTEXT_SHDWYVAL 443 [ 444 ExecMethod = ExecFormText ; 445 StateMethod = GetFormTextState ; 446 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 447 ] 448 449 SID_FORMTEXT_STDFORM 450 [ 451 ExecMethod = ExecFormText ; 452 StateMethod = GetFormTextState ; 453 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 454 ] 455 456 FN_FORMAT_FOOTNOTE_DLG // status() 457 [ 458 ExecMethod = Execute; 459 ] 460 461 SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ? 462 [ 463 ExecMethod = Execute ; 464 ] 465 466 FN_WORDCOUNT_DIALOG 467 [ 468 ExecMethod = Execute; 469 ] 470 471 FN_NUMBERING_OUTLINE_DLG // status(final|play) 472 [ 473 ExecMethod = Execute ; 474 ] 475} 476 477 478