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