| 1 | /* |
|---|
| 2 | * Copyright 2007-2008, Plutext Pty Ltd. |
|---|
| 3 | * |
|---|
| 4 | * This file is part of docx4j. |
|---|
| 5 | |
|---|
| 6 | docx4j is licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 7 | you may not use this file except in compliance with the License. |
|---|
| 8 | |
|---|
| 9 | 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, software |
|---|
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 16 | See the License for the specific language governing permissions and |
|---|
| 17 | limitations under the License. |
|---|
| 18 | |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | package org.docx4j.vml; |
|---|
| 23 | |
|---|
| 24 | import java.math.BigDecimal; |
|---|
| 25 | import javax.xml.bind.Unmarshaller; |
|---|
| 26 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 27 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 28 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 29 | import javax.xml.bind.annotation.XmlElement; |
|---|
| 30 | import javax.xml.bind.annotation.XmlTransient; |
|---|
| 31 | import javax.xml.bind.annotation.XmlType; |
|---|
| 32 | import org.jvnet.jaxb2_commons.ppp.Child; |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | /** |
|---|
| 36 | * <p>Java class for CT_Fill complex type. |
|---|
| 37 | * |
|---|
| 38 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 39 | * |
|---|
| 40 | * <pre> |
|---|
| 41 | * <complexType name="CT_Fill"> |
|---|
| 42 | * <complexContent> |
|---|
| 43 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 44 | * <sequence> |
|---|
| 45 | * <element ref="{urn:schemas-microsoft-com:office:office}fill" minOccurs="0"/> |
|---|
| 46 | * </sequence> |
|---|
| 47 | * <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/> |
|---|
| 48 | * <attribute name="type" type="{urn:schemas-microsoft-com:vml}ST_FillType" /> |
|---|
| 49 | * <attribute name="on" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" /> |
|---|
| 50 | * <attribute name="color" type="{urn:schemas-microsoft-com:vml}ST_ColorType" /> |
|---|
| 51 | * <attribute name="opacity" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 52 | * <attribute name="color2" type="{urn:schemas-microsoft-com:vml}ST_ColorType" /> |
|---|
| 53 | * <attribute name="src" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 54 | * <attribute ref="{urn:schemas-microsoft-com:office:office}href"/> |
|---|
| 55 | * <attribute ref="{urn:schemas-microsoft-com:office:office}althref"/> |
|---|
| 56 | * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 57 | * <attribute name="origin" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 58 | * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 59 | * <attribute name="aspect" type="{urn:schemas-microsoft-com:vml}ST_ImageAspect" /> |
|---|
| 60 | * <attribute name="colors" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 61 | * <attribute name="angle" type="{http://www.w3.org/2001/XMLSchema}decimal" /> |
|---|
| 62 | * <attribute name="alignshape" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" /> |
|---|
| 63 | * <attribute name="focus" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 64 | * <attribute name="focussize" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 65 | * <attribute name="focusposition" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 66 | * <attribute name="method" type="{urn:schemas-microsoft-com:vml}ST_FillMethod" /> |
|---|
| 67 | * <attribute ref="{urn:schemas-microsoft-com:office:office}detectmouseclick"/> |
|---|
| 68 | * <attribute ref="{urn:schemas-microsoft-com:office:office}title"/> |
|---|
| 69 | * <attribute ref="{urn:schemas-microsoft-com:office:office}opacity2"/> |
|---|
| 70 | * <attribute name="recolor" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" /> |
|---|
| 71 | * <attribute name="rotate" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" /> |
|---|
| 72 | * <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/> |
|---|
| 73 | * <attribute ref="{urn:schemas-microsoft-com:office:office}relid"/> |
|---|
| 74 | * </restriction> |
|---|
| 75 | * </complexContent> |
|---|
| 76 | * </complexType> |
|---|
| 77 | * </pre> |
|---|
| 78 | * |
|---|
| 79 | * |
|---|
| 80 | */ |
|---|
| 81 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 82 | @XmlType(name = "CT_Fill", propOrder = { |
|---|
| 83 | "fill" |
|---|
| 84 | }) |
|---|
| 85 | public class CTFill implements Child |
|---|
| 86 | { |
|---|
| 87 | |
|---|
| 88 | @XmlElement(namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 89 | protected org.docx4j.vml.officedrawing.CTFill fill; |
|---|
| 90 | @XmlAttribute(name = "type") |
|---|
| 91 | protected STFillType type; |
|---|
| 92 | @XmlAttribute(name = "on") |
|---|
| 93 | protected org.docx4j.vml.STTrueFalse on; |
|---|
| 94 | @XmlAttribute(name = "color") |
|---|
| 95 | protected String color; |
|---|
| 96 | @XmlAttribute(name = "opacity") |
|---|
| 97 | protected String opacity; |
|---|
| 98 | @XmlAttribute(name = "color2") |
|---|
| 99 | protected String color2; |
|---|
| 100 | @XmlAttribute(name = "src") |
|---|
| 101 | protected String src; |
|---|
| 102 | @XmlAttribute(name = "href", namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 103 | protected String href; |
|---|
| 104 | @XmlAttribute(name = "althref", namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 105 | protected String althref; |
|---|
| 106 | @XmlAttribute(name = "size") |
|---|
| 107 | protected String size; |
|---|
| 108 | @XmlAttribute(name = "origin") |
|---|
| 109 | protected String origin; |
|---|
| 110 | @XmlAttribute(name = "position") |
|---|
| 111 | protected String position; |
|---|
| 112 | @XmlAttribute(name = "aspect") |
|---|
| 113 | protected STImageAspect aspect; |
|---|
| 114 | @XmlAttribute(name = "colors") |
|---|
| 115 | protected String colors; |
|---|
| 116 | @XmlAttribute(name = "angle") |
|---|
| 117 | protected BigDecimal angle; |
|---|
| 118 | @XmlAttribute(name = "alignshape") |
|---|
| 119 | protected org.docx4j.vml.STTrueFalse alignshape; |
|---|
| 120 | @XmlAttribute(name = "focus") |
|---|
| 121 | protected String focus; |
|---|
| 122 | @XmlAttribute(name = "focussize") |
|---|
| 123 | protected String focussize; |
|---|
| 124 | @XmlAttribute(name = "focusposition") |
|---|
| 125 | protected String focusposition; |
|---|
| 126 | @XmlAttribute(name = "method") |
|---|
| 127 | protected STFillMethod method; |
|---|
| 128 | @XmlAttribute(name = "detectmouseclick", namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 129 | protected org.docx4j.vml.officedrawing.STTrueFalse detectmouseclick; |
|---|
| 130 | @XmlAttribute(name = "title", namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 131 | protected String title; |
|---|
| 132 | @XmlAttribute(name = "opacity2", namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 133 | protected String opacity2; |
|---|
| 134 | @XmlAttribute(name = "recolor") |
|---|
| 135 | protected org.docx4j.vml.STTrueFalse recolor; |
|---|
| 136 | @XmlAttribute(name = "rotate") |
|---|
| 137 | protected org.docx4j.vml.STTrueFalse rotate; |
|---|
| 138 | @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships") |
|---|
| 139 | protected String id; |
|---|
| 140 | @XmlAttribute(name = "relid", namespace = "urn:schemas-microsoft-com:office:office") |
|---|
| 141 | protected String relid; |
|---|
| 142 | @XmlAttribute(name = "id") |
|---|
| 143 | protected String vmlId; |
|---|
| 144 | @XmlTransient |
|---|
| 145 | private Object parent; |
|---|
| 146 | |
|---|
| 147 | /** |
|---|
| 148 | * Gets the value of the fill property. |
|---|
| 149 | * |
|---|
| 150 | * @return |
|---|
| 151 | * possible object is |
|---|
| 152 | * {@link org.docx4j.vml.officedrawing.CTFill } |
|---|
| 153 | * |
|---|
| 154 | */ |
|---|
| 155 | public org.docx4j.vml.officedrawing.CTFill getFill() { |
|---|
| 156 | return fill; |
|---|
| 157 | } |
|---|
| 158 | |
|---|
| 159 | /** |
|---|
| 160 | * Sets the value of the fill property. |
|---|
| 161 | * |
|---|
| 162 | * @param value |
|---|
| 163 | * allowed object is |
|---|
| 164 | * {@link org.docx4j.vml.officedrawing.CTFill } |
|---|
| 165 | * |
|---|
| 166 | */ |
|---|
| 167 | public void setFill(org.docx4j.vml.officedrawing.CTFill value) { |
|---|
| 168 | this.fill = value; |
|---|
| 169 | } |
|---|
| 170 | |
|---|
| 171 | /** |
|---|
| 172 | * Gets the value of the type property. |
|---|
| 173 | * |
|---|
| 174 | * @return |
|---|
| 175 | * possible object is |
|---|
| 176 | * {@link STFillType } |
|---|
| 177 | * |
|---|
| 178 | */ |
|---|
| 179 | public STFillType getType() { |
|---|
| 180 | return type; |
|---|
| 181 | } |
|---|
| 182 | |
|---|
| 183 | /** |
|---|
| 184 | * Sets the value of the type property. |
|---|
| 185 | * |
|---|
| 186 | * @param value |
|---|
| 187 | * allowed object is |
|---|
| 188 | * {@link STFillType } |
|---|
| 189 | * |
|---|
| 190 | */ |
|---|
| 191 | public void setType(STFillType value) { |
|---|
| 192 | this.type = value; |
|---|
| 193 | } |
|---|
| 194 | |
|---|
| 195 | /** |
|---|
| 196 | * Gets the value of the on property. |
|---|
| 197 | * |
|---|
| 198 | * @return |
|---|
| 199 | * possible object is |
|---|
| 200 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 201 | * |
|---|
| 202 | */ |
|---|
| 203 | public org.docx4j.vml.STTrueFalse getOn() { |
|---|
| 204 | return on; |
|---|
| 205 | } |
|---|
| 206 | |
|---|
| 207 | /** |
|---|
| 208 | * Sets the value of the on property. |
|---|
| 209 | * |
|---|
| 210 | * @param value |
|---|
| 211 | * allowed object is |
|---|
| 212 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 213 | * |
|---|
| 214 | */ |
|---|
| 215 | public void setOn(org.docx4j.vml.STTrueFalse value) { |
|---|
| 216 | this.on = value; |
|---|
| 217 | } |
|---|
| 218 | |
|---|
| 219 | /** |
|---|
| 220 | * Gets the value of the color property. |
|---|
| 221 | * |
|---|
| 222 | * @return |
|---|
| 223 | * possible object is |
|---|
| 224 | * {@link String } |
|---|
| 225 | * |
|---|
| 226 | */ |
|---|
| 227 | public String getColor() { |
|---|
| 228 | return color; |
|---|
| 229 | } |
|---|
| 230 | |
|---|
| 231 | /** |
|---|
| 232 | * Sets the value of the color property. |
|---|
| 233 | * |
|---|
| 234 | * @param value |
|---|
| 235 | * allowed object is |
|---|
| 236 | * {@link String } |
|---|
| 237 | * |
|---|
| 238 | */ |
|---|
| 239 | public void setColor(String value) { |
|---|
| 240 | this.color = value; |
|---|
| 241 | } |
|---|
| 242 | |
|---|
| 243 | /** |
|---|
| 244 | * Gets the value of the opacity property. |
|---|
| 245 | * |
|---|
| 246 | * @return |
|---|
| 247 | * possible object is |
|---|
| 248 | * {@link String } |
|---|
| 249 | * |
|---|
| 250 | */ |
|---|
| 251 | public String getOpacity() { |
|---|
| 252 | return opacity; |
|---|
| 253 | } |
|---|
| 254 | |
|---|
| 255 | /** |
|---|
| 256 | * Sets the value of the opacity property. |
|---|
| 257 | * |
|---|
| 258 | * @param value |
|---|
| 259 | * allowed object is |
|---|
| 260 | * {@link String } |
|---|
| 261 | * |
|---|
| 262 | */ |
|---|
| 263 | public void setOpacity(String value) { |
|---|
| 264 | this.opacity = value; |
|---|
| 265 | } |
|---|
| 266 | |
|---|
| 267 | /** |
|---|
| 268 | * Gets the value of the color2 property. |
|---|
| 269 | * |
|---|
| 270 | * @return |
|---|
| 271 | * possible object is |
|---|
| 272 | * {@link String } |
|---|
| 273 | * |
|---|
| 274 | */ |
|---|
| 275 | public String getColor2() { |
|---|
| 276 | return color2; |
|---|
| 277 | } |
|---|
| 278 | |
|---|
| 279 | /** |
|---|
| 280 | * Sets the value of the color2 property. |
|---|
| 281 | * |
|---|
| 282 | * @param value |
|---|
| 283 | * allowed object is |
|---|
| 284 | * {@link String } |
|---|
| 285 | * |
|---|
| 286 | */ |
|---|
| 287 | public void setColor2(String value) { |
|---|
| 288 | this.color2 = value; |
|---|
| 289 | } |
|---|
| 290 | |
|---|
| 291 | /** |
|---|
| 292 | * Gets the value of the src property. |
|---|
| 293 | * |
|---|
| 294 | * @return |
|---|
| 295 | * possible object is |
|---|
| 296 | * {@link String } |
|---|
| 297 | * |
|---|
| 298 | */ |
|---|
| 299 | public String getSrc() { |
|---|
| 300 | return src; |
|---|
| 301 | } |
|---|
| 302 | |
|---|
| 303 | /** |
|---|
| 304 | * Sets the value of the src property. |
|---|
| 305 | * |
|---|
| 306 | * @param value |
|---|
| 307 | * allowed object is |
|---|
| 308 | * {@link String } |
|---|
| 309 | * |
|---|
| 310 | */ |
|---|
| 311 | public void setSrc(String value) { |
|---|
| 312 | this.src = value; |
|---|
| 313 | } |
|---|
| 314 | |
|---|
| 315 | /** |
|---|
| 316 | * Hyperlink Target |
|---|
| 317 | * |
|---|
| 318 | * @return |
|---|
| 319 | * possible object is |
|---|
| 320 | * {@link String } |
|---|
| 321 | * |
|---|
| 322 | */ |
|---|
| 323 | public String getHref() { |
|---|
| 324 | return href; |
|---|
| 325 | } |
|---|
| 326 | |
|---|
| 327 | /** |
|---|
| 328 | * Sets the value of the href property. |
|---|
| 329 | * |
|---|
| 330 | * @param value |
|---|
| 331 | * allowed object is |
|---|
| 332 | * {@link String } |
|---|
| 333 | * |
|---|
| 334 | */ |
|---|
| 335 | public void setHref(String value) { |
|---|
| 336 | this.href = value; |
|---|
| 337 | } |
|---|
| 338 | |
|---|
| 339 | /** |
|---|
| 340 | * Alternate Image Reference Location |
|---|
| 341 | * |
|---|
| 342 | * @return |
|---|
| 343 | * possible object is |
|---|
| 344 | * {@link String } |
|---|
| 345 | * |
|---|
| 346 | */ |
|---|
| 347 | public String getAlthref() { |
|---|
| 348 | return althref; |
|---|
| 349 | } |
|---|
| 350 | |
|---|
| 351 | /** |
|---|
| 352 | * Sets the value of the althref property. |
|---|
| 353 | * |
|---|
| 354 | * @param value |
|---|
| 355 | * allowed object is |
|---|
| 356 | * {@link String } |
|---|
| 357 | * |
|---|
| 358 | */ |
|---|
| 359 | public void setAlthref(String value) { |
|---|
| 360 | this.althref = value; |
|---|
| 361 | } |
|---|
| 362 | |
|---|
| 363 | /** |
|---|
| 364 | * Gets the value of the size property. |
|---|
| 365 | * |
|---|
| 366 | * @return |
|---|
| 367 | * possible object is |
|---|
| 368 | * {@link String } |
|---|
| 369 | * |
|---|
| 370 | */ |
|---|
| 371 | public String getSize() { |
|---|
| 372 | return size; |
|---|
| 373 | } |
|---|
| 374 | |
|---|
| 375 | /** |
|---|
| 376 | * Sets the value of the size property. |
|---|
| 377 | * |
|---|
| 378 | * @param value |
|---|
| 379 | * allowed object is |
|---|
| 380 | * {@link String } |
|---|
| 381 | * |
|---|
| 382 | */ |
|---|
| 383 | public void setSize(String value) { |
|---|
| 384 | this.size = value; |
|---|
| 385 | } |
|---|
| 386 | |
|---|
| 387 | /** |
|---|
| 388 | * Gets the value of the origin property. |
|---|
| 389 | * |
|---|
| 390 | * @return |
|---|
| 391 | * possible object is |
|---|
| 392 | * {@link String } |
|---|
| 393 | * |
|---|
| 394 | */ |
|---|
| 395 | public String getOrigin() { |
|---|
| 396 | return origin; |
|---|
| 397 | } |
|---|
| 398 | |
|---|
| 399 | /** |
|---|
| 400 | * Sets the value of the origin property. |
|---|
| 401 | * |
|---|
| 402 | * @param value |
|---|
| 403 | * allowed object is |
|---|
| 404 | * {@link String } |
|---|
| 405 | * |
|---|
| 406 | */ |
|---|
| 407 | public void setOrigin(String value) { |
|---|
| 408 | this.origin = value; |
|---|
| 409 | } |
|---|
| 410 | |
|---|
| 411 | /** |
|---|
| 412 | * Gets the value of the position property. |
|---|
| 413 | * |
|---|
| 414 | * @return |
|---|
| 415 | * possible object is |
|---|
| 416 | * {@link String } |
|---|
| 417 | * |
|---|
| 418 | */ |
|---|
| 419 | public String getPosition() { |
|---|
| 420 | return position; |
|---|
| 421 | } |
|---|
| 422 | |
|---|
| 423 | /** |
|---|
| 424 | * Sets the value of the position property. |
|---|
| 425 | * |
|---|
| 426 | * @param value |
|---|
| 427 | * allowed object is |
|---|
| 428 | * {@link String } |
|---|
| 429 | * |
|---|
| 430 | */ |
|---|
| 431 | public void setPosition(String value) { |
|---|
| 432 | this.position = value; |
|---|
| 433 | } |
|---|
| 434 | |
|---|
| 435 | /** |
|---|
| 436 | * Gets the value of the aspect property. |
|---|
| 437 | * |
|---|
| 438 | * @return |
|---|
| 439 | * possible object is |
|---|
| 440 | * {@link STImageAspect } |
|---|
| 441 | * |
|---|
| 442 | */ |
|---|
| 443 | public STImageAspect getAspect() { |
|---|
| 444 | return aspect; |
|---|
| 445 | } |
|---|
| 446 | |
|---|
| 447 | /** |
|---|
| 448 | * Sets the value of the aspect property. |
|---|
| 449 | * |
|---|
| 450 | * @param value |
|---|
| 451 | * allowed object is |
|---|
| 452 | * {@link STImageAspect } |
|---|
| 453 | * |
|---|
| 454 | */ |
|---|
| 455 | public void setAspect(STImageAspect value) { |
|---|
| 456 | this.aspect = value; |
|---|
| 457 | } |
|---|
| 458 | |
|---|
| 459 | /** |
|---|
| 460 | * Gets the value of the colors property. |
|---|
| 461 | * |
|---|
| 462 | * @return |
|---|
| 463 | * possible object is |
|---|
| 464 | * {@link String } |
|---|
| 465 | * |
|---|
| 466 | */ |
|---|
| 467 | public String getColors() { |
|---|
| 468 | return colors; |
|---|
| 469 | } |
|---|
| 470 | |
|---|
| 471 | /** |
|---|
| 472 | * Sets the value of the colors property. |
|---|
| 473 | * |
|---|
| 474 | * @param value |
|---|
| 475 | * allowed object is |
|---|
| 476 | * {@link String } |
|---|
| 477 | * |
|---|
| 478 | */ |
|---|
| 479 | public void setColors(String value) { |
|---|
| 480 | this.colors = value; |
|---|
| 481 | } |
|---|
| 482 | |
|---|
| 483 | /** |
|---|
| 484 | * Gets the value of the angle property. |
|---|
| 485 | * |
|---|
| 486 | * @return |
|---|
| 487 | * possible object is |
|---|
| 488 | * {@link BigDecimal } |
|---|
| 489 | * |
|---|
| 490 | */ |
|---|
| 491 | public BigDecimal getAngle() { |
|---|
| 492 | return angle; |
|---|
| 493 | } |
|---|
| 494 | |
|---|
| 495 | /** |
|---|
| 496 | * Sets the value of the angle property. |
|---|
| 497 | * |
|---|
| 498 | * @param value |
|---|
| 499 | * allowed object is |
|---|
| 500 | * {@link BigDecimal } |
|---|
| 501 | * |
|---|
| 502 | */ |
|---|
| 503 | public void setAngle(BigDecimal value) { |
|---|
| 504 | this.angle = value; |
|---|
| 505 | } |
|---|
| 506 | |
|---|
| 507 | /** |
|---|
| 508 | * Gets the value of the alignshape property. |
|---|
| 509 | * |
|---|
| 510 | * @return |
|---|
| 511 | * possible object is |
|---|
| 512 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 513 | * |
|---|
| 514 | */ |
|---|
| 515 | public org.docx4j.vml.STTrueFalse getAlignshape() { |
|---|
| 516 | return alignshape; |
|---|
| 517 | } |
|---|
| 518 | |
|---|
| 519 | /** |
|---|
| 520 | * Sets the value of the alignshape property. |
|---|
| 521 | * |
|---|
| 522 | * @param value |
|---|
| 523 | * allowed object is |
|---|
| 524 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 525 | * |
|---|
| 526 | */ |
|---|
| 527 | public void setAlignshape(org.docx4j.vml.STTrueFalse value) { |
|---|
| 528 | this.alignshape = value; |
|---|
| 529 | } |
|---|
| 530 | |
|---|
| 531 | /** |
|---|
| 532 | * Gets the value of the focus property. |
|---|
| 533 | * |
|---|
| 534 | * @return |
|---|
| 535 | * possible object is |
|---|
| 536 | * {@link String } |
|---|
| 537 | * |
|---|
| 538 | */ |
|---|
| 539 | public String getFocus() { |
|---|
| 540 | return focus; |
|---|
| 541 | } |
|---|
| 542 | |
|---|
| 543 | /** |
|---|
| 544 | * Sets the value of the focus property. |
|---|
| 545 | * |
|---|
| 546 | * @param value |
|---|
| 547 | * allowed object is |
|---|
| 548 | * {@link String } |
|---|
| 549 | * |
|---|
| 550 | */ |
|---|
| 551 | public void setFocus(String value) { |
|---|
| 552 | this.focus = value; |
|---|
| 553 | } |
|---|
| 554 | |
|---|
| 555 | /** |
|---|
| 556 | * Gets the value of the focussize property. |
|---|
| 557 | * |
|---|
| 558 | * @return |
|---|
| 559 | * possible object is |
|---|
| 560 | * {@link String } |
|---|
| 561 | * |
|---|
| 562 | */ |
|---|
| 563 | public String getFocussize() { |
|---|
| 564 | return focussize; |
|---|
| 565 | } |
|---|
| 566 | |
|---|
| 567 | /** |
|---|
| 568 | * Sets the value of the focussize property. |
|---|
| 569 | * |
|---|
| 570 | * @param value |
|---|
| 571 | * allowed object is |
|---|
| 572 | * {@link String } |
|---|
| 573 | * |
|---|
| 574 | */ |
|---|
| 575 | public void setFocussize(String value) { |
|---|
| 576 | this.focussize = value; |
|---|
| 577 | } |
|---|
| 578 | |
|---|
| 579 | /** |
|---|
| 580 | * Gets the value of the focusposition property. |
|---|
| 581 | * |
|---|
| 582 | * @return |
|---|
| 583 | * possible object is |
|---|
| 584 | * {@link String } |
|---|
| 585 | * |
|---|
| 586 | */ |
|---|
| 587 | public String getFocusposition() { |
|---|
| 588 | return focusposition; |
|---|
| 589 | } |
|---|
| 590 | |
|---|
| 591 | /** |
|---|
| 592 | * Sets the value of the focusposition property. |
|---|
| 593 | * |
|---|
| 594 | * @param value |
|---|
| 595 | * allowed object is |
|---|
| 596 | * {@link String } |
|---|
| 597 | * |
|---|
| 598 | */ |
|---|
| 599 | public void setFocusposition(String value) { |
|---|
| 600 | this.focusposition = value; |
|---|
| 601 | } |
|---|
| 602 | |
|---|
| 603 | /** |
|---|
| 604 | * Gets the value of the method property. |
|---|
| 605 | * |
|---|
| 606 | * @return |
|---|
| 607 | * possible object is |
|---|
| 608 | * {@link STFillMethod } |
|---|
| 609 | * |
|---|
| 610 | */ |
|---|
| 611 | public STFillMethod getMethod() { |
|---|
| 612 | return method; |
|---|
| 613 | } |
|---|
| 614 | |
|---|
| 615 | /** |
|---|
| 616 | * Sets the value of the method property. |
|---|
| 617 | * |
|---|
| 618 | * @param value |
|---|
| 619 | * allowed object is |
|---|
| 620 | * {@link STFillMethod } |
|---|
| 621 | * |
|---|
| 622 | */ |
|---|
| 623 | public void setMethod(STFillMethod value) { |
|---|
| 624 | this.method = value; |
|---|
| 625 | } |
|---|
| 626 | |
|---|
| 627 | /** |
|---|
| 628 | * Detect Mouse Click |
|---|
| 629 | * |
|---|
| 630 | * @return |
|---|
| 631 | * possible object is |
|---|
| 632 | * {@link org.docx4j.vml.officedrawing.STTrueFalse } |
|---|
| 633 | * |
|---|
| 634 | */ |
|---|
| 635 | public org.docx4j.vml.officedrawing.STTrueFalse getDetectmouseclick() { |
|---|
| 636 | return detectmouseclick; |
|---|
| 637 | } |
|---|
| 638 | |
|---|
| 639 | /** |
|---|
| 640 | * Sets the value of the detectmouseclick property. |
|---|
| 641 | * |
|---|
| 642 | * @param value |
|---|
| 643 | * allowed object is |
|---|
| 644 | * {@link org.docx4j.vml.officedrawing.STTrueFalse } |
|---|
| 645 | * |
|---|
| 646 | */ |
|---|
| 647 | public void setDetectmouseclick(org.docx4j.vml.officedrawing.STTrueFalse value) { |
|---|
| 648 | this.detectmouseclick = value; |
|---|
| 649 | } |
|---|
| 650 | |
|---|
| 651 | /** |
|---|
| 652 | * Title |
|---|
| 653 | * |
|---|
| 654 | * @return |
|---|
| 655 | * possible object is |
|---|
| 656 | * {@link String } |
|---|
| 657 | * |
|---|
| 658 | */ |
|---|
| 659 | public String getTitle() { |
|---|
| 660 | return title; |
|---|
| 661 | } |
|---|
| 662 | |
|---|
| 663 | /** |
|---|
| 664 | * Sets the value of the title property. |
|---|
| 665 | * |
|---|
| 666 | * @param value |
|---|
| 667 | * allowed object is |
|---|
| 668 | * {@link String } |
|---|
| 669 | * |
|---|
| 670 | */ |
|---|
| 671 | public void setTitle(String value) { |
|---|
| 672 | this.title = value; |
|---|
| 673 | } |
|---|
| 674 | |
|---|
| 675 | /** |
|---|
| 676 | * Secondary Color Opacity |
|---|
| 677 | * |
|---|
| 678 | * @return |
|---|
| 679 | * possible object is |
|---|
| 680 | * {@link String } |
|---|
| 681 | * |
|---|
| 682 | */ |
|---|
| 683 | public String getOpacity2() { |
|---|
| 684 | return opacity2; |
|---|
| 685 | } |
|---|
| 686 | |
|---|
| 687 | /** |
|---|
| 688 | * Sets the value of the opacity2 property. |
|---|
| 689 | * |
|---|
| 690 | * @param value |
|---|
| 691 | * allowed object is |
|---|
| 692 | * {@link String } |
|---|
| 693 | * |
|---|
| 694 | */ |
|---|
| 695 | public void setOpacity2(String value) { |
|---|
| 696 | this.opacity2 = value; |
|---|
| 697 | } |
|---|
| 698 | |
|---|
| 699 | /** |
|---|
| 700 | * Gets the value of the recolor property. |
|---|
| 701 | * |
|---|
| 702 | * @return |
|---|
| 703 | * possible object is |
|---|
| 704 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 705 | * |
|---|
| 706 | */ |
|---|
| 707 | public org.docx4j.vml.STTrueFalse getRecolor() { |
|---|
| 708 | return recolor; |
|---|
| 709 | } |
|---|
| 710 | |
|---|
| 711 | /** |
|---|
| 712 | * Sets the value of the recolor property. |
|---|
| 713 | * |
|---|
| 714 | * @param value |
|---|
| 715 | * allowed object is |
|---|
| 716 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 717 | * |
|---|
| 718 | */ |
|---|
| 719 | public void setRecolor(org.docx4j.vml.STTrueFalse value) { |
|---|
| 720 | this.recolor = value; |
|---|
| 721 | } |
|---|
| 722 | |
|---|
| 723 | /** |
|---|
| 724 | * Gets the value of the rotate property. |
|---|
| 725 | * |
|---|
| 726 | * @return |
|---|
| 727 | * possible object is |
|---|
| 728 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 729 | * |
|---|
| 730 | */ |
|---|
| 731 | public org.docx4j.vml.STTrueFalse getRotate() { |
|---|
| 732 | return rotate; |
|---|
| 733 | } |
|---|
| 734 | |
|---|
| 735 | /** |
|---|
| 736 | * Sets the value of the rotate property. |
|---|
| 737 | * |
|---|
| 738 | * @param value |
|---|
| 739 | * allowed object is |
|---|
| 740 | * {@link org.docx4j.vml.STTrueFalse } |
|---|
| 741 | * |
|---|
| 742 | */ |
|---|
| 743 | public void setRotate(org.docx4j.vml.STTrueFalse value) { |
|---|
| 744 | this.rotate = value; |
|---|
| 745 | } |
|---|
| 746 | |
|---|
| 747 | /** |
|---|
| 748 | * Relationship to Part |
|---|
| 749 | * |
|---|
| 750 | * @return |
|---|
| 751 | * possible object is |
|---|
| 752 | * {@link String } |
|---|
| 753 | * |
|---|
| 754 | */ |
|---|
| 755 | public String getId() { |
|---|
| 756 | return id; |
|---|
| 757 | } |
|---|
| 758 | |
|---|
| 759 | /** |
|---|
| 760 | * Sets the value of the id property. |
|---|
| 761 | * |
|---|
| 762 | * @param value |
|---|
| 763 | * allowed object is |
|---|
| 764 | * {@link String } |
|---|
| 765 | * |
|---|
| 766 | */ |
|---|
| 767 | public void setId(String value) { |
|---|
| 768 | this.id = value; |
|---|
| 769 | } |
|---|
| 770 | |
|---|
| 771 | /** |
|---|
| 772 | * Relationship to Part |
|---|
| 773 | * |
|---|
| 774 | * @return |
|---|
| 775 | * possible object is |
|---|
| 776 | * {@link String } |
|---|
| 777 | * |
|---|
| 778 | */ |
|---|
| 779 | public String getRelid() { |
|---|
| 780 | return relid; |
|---|
| 781 | } |
|---|
| 782 | |
|---|
| 783 | /** |
|---|
| 784 | * Sets the value of the relid property. |
|---|
| 785 | * |
|---|
| 786 | * @param value |
|---|
| 787 | * allowed object is |
|---|
| 788 | * {@link String } |
|---|
| 789 | * |
|---|
| 790 | */ |
|---|
| 791 | public void setRelid(String value) { |
|---|
| 792 | this.relid = value; |
|---|
| 793 | } |
|---|
| 794 | |
|---|
| 795 | /** |
|---|
| 796 | * Gets the value of the vmlId property. |
|---|
| 797 | * |
|---|
| 798 | * @return |
|---|
| 799 | * possible object is |
|---|
| 800 | * {@link String } |
|---|
| 801 | * |
|---|
| 802 | */ |
|---|
| 803 | public String getVmlId() { |
|---|
| 804 | return vmlId; |
|---|
| 805 | } |
|---|
| 806 | |
|---|
| 807 | /** |
|---|
| 808 | * Sets the value of the vmlId property. |
|---|
| 809 | * |
|---|
| 810 | * @param value |
|---|
| 811 | * allowed object is |
|---|
| 812 | * {@link String } |
|---|
| 813 | * |
|---|
| 814 | */ |
|---|
| 815 | public void setVmlId(String value) { |
|---|
| 816 | this.vmlId = value; |
|---|
| 817 | } |
|---|
| 818 | |
|---|
| 819 | /** |
|---|
| 820 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 821 | * |
|---|
| 822 | * @return |
|---|
| 823 | * The parent object. |
|---|
| 824 | */ |
|---|
| 825 | public Object getParent() { |
|---|
| 826 | return this.parent; |
|---|
| 827 | } |
|---|
| 828 | |
|---|
| 829 | public void setParent(Object parent) { |
|---|
| 830 | this.parent = parent; |
|---|
| 831 | } |
|---|
| 832 | |
|---|
| 833 | /** |
|---|
| 834 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 835 | * |
|---|
| 836 | * @param parent |
|---|
| 837 | * The parent object in the object tree. |
|---|
| 838 | * @param unmarshaller |
|---|
| 839 | * The unmarshaller that generated the instance. |
|---|
| 840 | */ |
|---|
| 841 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 842 | setParent(parent); |
|---|
| 843 | } |
|---|
| 844 | |
|---|
| 845 | } |
|---|