| 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.dml; |
|---|
| 23 | |
|---|
| 24 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 25 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 26 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 27 | import javax.xml.bind.annotation.XmlElement; |
|---|
| 28 | import javax.xml.bind.annotation.XmlType; |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | /** |
|---|
| 32 | * <p>Java class for CT_ColorScheme complex type. |
|---|
| 33 | * |
|---|
| 34 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 35 | * |
|---|
| 36 | * <pre> |
|---|
| 37 | * <complexType name="CT_ColorScheme"> |
|---|
| 38 | * <complexContent> |
|---|
| 39 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 40 | * <sequence> |
|---|
| 41 | * <element name="dk1" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 42 | * <element name="lt1" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 43 | * <element name="dk2" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 44 | * <element name="lt2" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 45 | * <element name="accent1" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 46 | * <element name="accent2" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 47 | * <element name="accent3" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 48 | * <element name="accent4" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 49 | * <element name="accent5" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 50 | * <element name="accent6" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 51 | * <element name="hlink" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 52 | * <element name="folHlink" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/> |
|---|
| 53 | * <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/> |
|---|
| 54 | * </sequence> |
|---|
| 55 | * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 56 | * </restriction> |
|---|
| 57 | * </complexContent> |
|---|
| 58 | * </complexType> |
|---|
| 59 | * </pre> |
|---|
| 60 | * |
|---|
| 61 | * |
|---|
| 62 | */ |
|---|
| 63 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 64 | @XmlType(name = "CT_ColorScheme", propOrder = { |
|---|
| 65 | "dk1", |
|---|
| 66 | "lt1", |
|---|
| 67 | "dk2", |
|---|
| 68 | "lt2", |
|---|
| 69 | "accent1", |
|---|
| 70 | "accent2", |
|---|
| 71 | "accent3", |
|---|
| 72 | "accent4", |
|---|
| 73 | "accent5", |
|---|
| 74 | "accent6", |
|---|
| 75 | "hlink", |
|---|
| 76 | "folHlink", |
|---|
| 77 | "extLst" |
|---|
| 78 | }) |
|---|
| 79 | public class CTColorScheme { |
|---|
| 80 | |
|---|
| 81 | @XmlElement(required = true) |
|---|
| 82 | protected CTColor dk1; |
|---|
| 83 | @XmlElement(required = true) |
|---|
| 84 | protected CTColor lt1; |
|---|
| 85 | @XmlElement(required = true) |
|---|
| 86 | protected CTColor dk2; |
|---|
| 87 | @XmlElement(required = true) |
|---|
| 88 | protected CTColor lt2; |
|---|
| 89 | @XmlElement(required = true) |
|---|
| 90 | protected CTColor accent1; |
|---|
| 91 | @XmlElement(required = true) |
|---|
| 92 | protected CTColor accent2; |
|---|
| 93 | @XmlElement(required = true) |
|---|
| 94 | protected CTColor accent3; |
|---|
| 95 | @XmlElement(required = true) |
|---|
| 96 | protected CTColor accent4; |
|---|
| 97 | @XmlElement(required = true) |
|---|
| 98 | protected CTColor accent5; |
|---|
| 99 | @XmlElement(required = true) |
|---|
| 100 | protected CTColor accent6; |
|---|
| 101 | @XmlElement(required = true) |
|---|
| 102 | protected CTColor hlink; |
|---|
| 103 | @XmlElement(required = true) |
|---|
| 104 | protected CTColor folHlink; |
|---|
| 105 | protected CTOfficeArtExtensionList extLst; |
|---|
| 106 | @XmlAttribute(required = true) |
|---|
| 107 | protected String name; |
|---|
| 108 | |
|---|
| 109 | /** |
|---|
| 110 | * Gets the value of the dk1 property. |
|---|
| 111 | * |
|---|
| 112 | * @return |
|---|
| 113 | * possible object is |
|---|
| 114 | * {@link CTColor } |
|---|
| 115 | * |
|---|
| 116 | */ |
|---|
| 117 | public CTColor getDk1() { |
|---|
| 118 | return dk1; |
|---|
| 119 | } |
|---|
| 120 | |
|---|
| 121 | /** |
|---|
| 122 | * Sets the value of the dk1 property. |
|---|
| 123 | * |
|---|
| 124 | * @param value |
|---|
| 125 | * allowed object is |
|---|
| 126 | * {@link CTColor } |
|---|
| 127 | * |
|---|
| 128 | */ |
|---|
| 129 | public void setDk1(CTColor value) { |
|---|
| 130 | this.dk1 = value; |
|---|
| 131 | } |
|---|
| 132 | |
|---|
| 133 | /** |
|---|
| 134 | * Gets the value of the lt1 property. |
|---|
| 135 | * |
|---|
| 136 | * @return |
|---|
| 137 | * possible object is |
|---|
| 138 | * {@link CTColor } |
|---|
| 139 | * |
|---|
| 140 | */ |
|---|
| 141 | public CTColor getLt1() { |
|---|
| 142 | return lt1; |
|---|
| 143 | } |
|---|
| 144 | |
|---|
| 145 | /** |
|---|
| 146 | * Sets the value of the lt1 property. |
|---|
| 147 | * |
|---|
| 148 | * @param value |
|---|
| 149 | * allowed object is |
|---|
| 150 | * {@link CTColor } |
|---|
| 151 | * |
|---|
| 152 | */ |
|---|
| 153 | public void setLt1(CTColor value) { |
|---|
| 154 | this.lt1 = value; |
|---|
| 155 | } |
|---|
| 156 | |
|---|
| 157 | /** |
|---|
| 158 | * Gets the value of the dk2 property. |
|---|
| 159 | * |
|---|
| 160 | * @return |
|---|
| 161 | * possible object is |
|---|
| 162 | * {@link CTColor } |
|---|
| 163 | * |
|---|
| 164 | */ |
|---|
| 165 | public CTColor getDk2() { |
|---|
| 166 | return dk2; |
|---|
| 167 | } |
|---|
| 168 | |
|---|
| 169 | /** |
|---|
| 170 | * Sets the value of the dk2 property. |
|---|
| 171 | * |
|---|
| 172 | * @param value |
|---|
| 173 | * allowed object is |
|---|
| 174 | * {@link CTColor } |
|---|
| 175 | * |
|---|
| 176 | */ |
|---|
| 177 | public void setDk2(CTColor value) { |
|---|
| 178 | this.dk2 = value; |
|---|
| 179 | } |
|---|
| 180 | |
|---|
| 181 | /** |
|---|
| 182 | * Gets the value of the lt2 property. |
|---|
| 183 | * |
|---|
| 184 | * @return |
|---|
| 185 | * possible object is |
|---|
| 186 | * {@link CTColor } |
|---|
| 187 | * |
|---|
| 188 | */ |
|---|
| 189 | public CTColor getLt2() { |
|---|
| 190 | return lt2; |
|---|
| 191 | } |
|---|
| 192 | |
|---|
| 193 | /** |
|---|
| 194 | * Sets the value of the lt2 property. |
|---|
| 195 | * |
|---|
| 196 | * @param value |
|---|
| 197 | * allowed object is |
|---|
| 198 | * {@link CTColor } |
|---|
| 199 | * |
|---|
| 200 | */ |
|---|
| 201 | public void setLt2(CTColor value) { |
|---|
| 202 | this.lt2 = value; |
|---|
| 203 | } |
|---|
| 204 | |
|---|
| 205 | /** |
|---|
| 206 | * Gets the value of the accent1 property. |
|---|
| 207 | * |
|---|
| 208 | * @return |
|---|
| 209 | * possible object is |
|---|
| 210 | * {@link CTColor } |
|---|
| 211 | * |
|---|
| 212 | */ |
|---|
| 213 | public CTColor getAccent1() { |
|---|
| 214 | return accent1; |
|---|
| 215 | } |
|---|
| 216 | |
|---|
| 217 | /** |
|---|
| 218 | * Sets the value of the accent1 property. |
|---|
| 219 | * |
|---|
| 220 | * @param value |
|---|
| 221 | * allowed object is |
|---|
| 222 | * {@link CTColor } |
|---|
| 223 | * |
|---|
| 224 | */ |
|---|
| 225 | public void setAccent1(CTColor value) { |
|---|
| 226 | this.accent1 = value; |
|---|
| 227 | } |
|---|
| 228 | |
|---|
| 229 | /** |
|---|
| 230 | * Gets the value of the accent2 property. |
|---|
| 231 | * |
|---|
| 232 | * @return |
|---|
| 233 | * possible object is |
|---|
| 234 | * {@link CTColor } |
|---|
| 235 | * |
|---|
| 236 | */ |
|---|
| 237 | public CTColor getAccent2() { |
|---|
| 238 | return accent2; |
|---|
| 239 | } |
|---|
| 240 | |
|---|
| 241 | /** |
|---|
| 242 | * Sets the value of the accent2 property. |
|---|
| 243 | * |
|---|
| 244 | * @param value |
|---|
| 245 | * allowed object is |
|---|
| 246 | * {@link CTColor } |
|---|
| 247 | * |
|---|
| 248 | */ |
|---|
| 249 | public void setAccent2(CTColor value) { |
|---|
| 250 | this.accent2 = value; |
|---|
| 251 | } |
|---|
| 252 | |
|---|
| 253 | /** |
|---|
| 254 | * Gets the value of the accent3 property. |
|---|
| 255 | * |
|---|
| 256 | * @return |
|---|
| 257 | * possible object is |
|---|
| 258 | * {@link CTColor } |
|---|
| 259 | * |
|---|
| 260 | */ |
|---|
| 261 | public CTColor getAccent3() { |
|---|
| 262 | return accent3; |
|---|
| 263 | } |
|---|
| 264 | |
|---|
| 265 | /** |
|---|
| 266 | * Sets the value of the accent3 property. |
|---|
| 267 | * |
|---|
| 268 | * @param value |
|---|
| 269 | * allowed object is |
|---|
| 270 | * {@link CTColor } |
|---|
| 271 | * |
|---|
| 272 | */ |
|---|
| 273 | public void setAccent3(CTColor value) { |
|---|
| 274 | this.accent3 = value; |
|---|
| 275 | } |
|---|
| 276 | |
|---|
| 277 | /** |
|---|
| 278 | * Gets the value of the accent4 property. |
|---|
| 279 | * |
|---|
| 280 | * @return |
|---|
| 281 | * possible object is |
|---|
| 282 | * {@link CTColor } |
|---|
| 283 | * |
|---|
| 284 | */ |
|---|
| 285 | public CTColor getAccent4() { |
|---|
| 286 | return accent4; |
|---|
| 287 | } |
|---|
| 288 | |
|---|
| 289 | /** |
|---|
| 290 | * Sets the value of the accent4 property. |
|---|
| 291 | * |
|---|
| 292 | * @param value |
|---|
| 293 | * allowed object is |
|---|
| 294 | * {@link CTColor } |
|---|
| 295 | * |
|---|
| 296 | */ |
|---|
| 297 | public void setAccent4(CTColor value) { |
|---|
| 298 | this.accent4 = value; |
|---|
| 299 | } |
|---|
| 300 | |
|---|
| 301 | /** |
|---|
| 302 | * Gets the value of the accent5 property. |
|---|
| 303 | * |
|---|
| 304 | * @return |
|---|
| 305 | * possible object is |
|---|
| 306 | * {@link CTColor } |
|---|
| 307 | * |
|---|
| 308 | */ |
|---|
| 309 | public CTColor getAccent5() { |
|---|
| 310 | return accent5; |
|---|
| 311 | } |
|---|
| 312 | |
|---|
| 313 | /** |
|---|
| 314 | * Sets the value of the accent5 property. |
|---|
| 315 | * |
|---|
| 316 | * @param value |
|---|
| 317 | * allowed object is |
|---|
| 318 | * {@link CTColor } |
|---|
| 319 | * |
|---|
| 320 | */ |
|---|
| 321 | public void setAccent5(CTColor value) { |
|---|
| 322 | this.accent5 = value; |
|---|
| 323 | } |
|---|
| 324 | |
|---|
| 325 | /** |
|---|
| 326 | * Gets the value of the accent6 property. |
|---|
| 327 | * |
|---|
| 328 | * @return |
|---|
| 329 | * possible object is |
|---|
| 330 | * {@link CTColor } |
|---|
| 331 | * |
|---|
| 332 | */ |
|---|
| 333 | public CTColor getAccent6() { |
|---|
| 334 | return accent6; |
|---|
| 335 | } |
|---|
| 336 | |
|---|
| 337 | /** |
|---|
| 338 | * Sets the value of the accent6 property. |
|---|
| 339 | * |
|---|
| 340 | * @param value |
|---|
| 341 | * allowed object is |
|---|
| 342 | * {@link CTColor } |
|---|
| 343 | * |
|---|
| 344 | */ |
|---|
| 345 | public void setAccent6(CTColor value) { |
|---|
| 346 | this.accent6 = value; |
|---|
| 347 | } |
|---|
| 348 | |
|---|
| 349 | /** |
|---|
| 350 | * Gets the value of the hlink property. |
|---|
| 351 | * |
|---|
| 352 | * @return |
|---|
| 353 | * possible object is |
|---|
| 354 | * {@link CTColor } |
|---|
| 355 | * |
|---|
| 356 | */ |
|---|
| 357 | public CTColor getHlink() { |
|---|
| 358 | return hlink; |
|---|
| 359 | } |
|---|
| 360 | |
|---|
| 361 | /** |
|---|
| 362 | * Sets the value of the hlink property. |
|---|
| 363 | * |
|---|
| 364 | * @param value |
|---|
| 365 | * allowed object is |
|---|
| 366 | * {@link CTColor } |
|---|
| 367 | * |
|---|
| 368 | */ |
|---|
| 369 | public void setHlink(CTColor value) { |
|---|
| 370 | this.hlink = value; |
|---|
| 371 | } |
|---|
| 372 | |
|---|
| 373 | /** |
|---|
| 374 | * Gets the value of the folHlink property. |
|---|
| 375 | * |
|---|
| 376 | * @return |
|---|
| 377 | * possible object is |
|---|
| 378 | * {@link CTColor } |
|---|
| 379 | * |
|---|
| 380 | */ |
|---|
| 381 | public CTColor getFolHlink() { |
|---|
| 382 | return folHlink; |
|---|
| 383 | } |
|---|
| 384 | |
|---|
| 385 | /** |
|---|
| 386 | * Sets the value of the folHlink property. |
|---|
| 387 | * |
|---|
| 388 | * @param value |
|---|
| 389 | * allowed object is |
|---|
| 390 | * {@link CTColor } |
|---|
| 391 | * |
|---|
| 392 | */ |
|---|
| 393 | public void setFolHlink(CTColor value) { |
|---|
| 394 | this.folHlink = value; |
|---|
| 395 | } |
|---|
| 396 | |
|---|
| 397 | /** |
|---|
| 398 | * Gets the value of the extLst property. |
|---|
| 399 | * |
|---|
| 400 | * @return |
|---|
| 401 | * possible object is |
|---|
| 402 | * {@link CTOfficeArtExtensionList } |
|---|
| 403 | * |
|---|
| 404 | */ |
|---|
| 405 | public CTOfficeArtExtensionList getExtLst() { |
|---|
| 406 | return extLst; |
|---|
| 407 | } |
|---|
| 408 | |
|---|
| 409 | /** |
|---|
| 410 | * Sets the value of the extLst property. |
|---|
| 411 | * |
|---|
| 412 | * @param value |
|---|
| 413 | * allowed object is |
|---|
| 414 | * {@link CTOfficeArtExtensionList } |
|---|
| 415 | * |
|---|
| 416 | */ |
|---|
| 417 | public void setExtLst(CTOfficeArtExtensionList value) { |
|---|
| 418 | this.extLst = value; |
|---|
| 419 | } |
|---|
| 420 | |
|---|
| 421 | /** |
|---|
| 422 | * Gets the value of the name property. |
|---|
| 423 | * |
|---|
| 424 | * @return |
|---|
| 425 | * possible object is |
|---|
| 426 | * {@link String } |
|---|
| 427 | * |
|---|
| 428 | */ |
|---|
| 429 | public String getName() { |
|---|
| 430 | return name; |
|---|
| 431 | } |
|---|
| 432 | |
|---|
| 433 | /** |
|---|
| 434 | * Sets the value of the name property. |
|---|
| 435 | * |
|---|
| 436 | * @param value |
|---|
| 437 | * allowed object is |
|---|
| 438 | * {@link String } |
|---|
| 439 | * |
|---|
| 440 | */ |
|---|
| 441 | public void setName(String value) { |
|---|
| 442 | this.name = value; |
|---|
| 443 | } |
|---|
| 444 | |
|---|
| 445 | } |
|---|