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