| 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.XmlElement; |
|---|
| 27 | import javax.xml.bind.annotation.XmlType; |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | /** |
|---|
| 31 | * <p>Java class for CT_ColorSchemeAndMapping complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_ColorSchemeAndMapping"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <sequence> |
|---|
| 40 | * <element name="clrScheme" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorScheme"/> |
|---|
| 41 | * <element name="clrMap" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorMapping" minOccurs="0"/> |
|---|
| 42 | * </sequence> |
|---|
| 43 | * </restriction> |
|---|
| 44 | * </complexContent> |
|---|
| 45 | * </complexType> |
|---|
| 46 | * </pre> |
|---|
| 47 | * |
|---|
| 48 | * |
|---|
| 49 | */ |
|---|
| 50 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 51 | @XmlType(name = "CT_ColorSchemeAndMapping", propOrder = { |
|---|
| 52 | "clrScheme", |
|---|
| 53 | "clrMap" |
|---|
| 54 | }) |
|---|
| 55 | public class CTColorSchemeAndMapping { |
|---|
| 56 | |
|---|
| 57 | @XmlElement(required = true) |
|---|
| 58 | protected CTColorScheme clrScheme; |
|---|
| 59 | protected CTColorMapping clrMap; |
|---|
| 60 | |
|---|
| 61 | /** |
|---|
| 62 | * Gets the value of the clrScheme property. |
|---|
| 63 | * |
|---|
| 64 | * @return |
|---|
| 65 | * possible object is |
|---|
| 66 | * {@link CTColorScheme } |
|---|
| 67 | * |
|---|
| 68 | */ |
|---|
| 69 | public CTColorScheme getClrScheme() { |
|---|
| 70 | return clrScheme; |
|---|
| 71 | } |
|---|
| 72 | |
|---|
| 73 | /** |
|---|
| 74 | * Sets the value of the clrScheme property. |
|---|
| 75 | * |
|---|
| 76 | * @param value |
|---|
| 77 | * allowed object is |
|---|
| 78 | * {@link CTColorScheme } |
|---|
| 79 | * |
|---|
| 80 | */ |
|---|
| 81 | public void setClrScheme(CTColorScheme value) { |
|---|
| 82 | this.clrScheme = value; |
|---|
| 83 | } |
|---|
| 84 | |
|---|
| 85 | /** |
|---|
| 86 | * Gets the value of the clrMap property. |
|---|
| 87 | * |
|---|
| 88 | * @return |
|---|
| 89 | * possible object is |
|---|
| 90 | * {@link CTColorMapping } |
|---|
| 91 | * |
|---|
| 92 | */ |
|---|
| 93 | public CTColorMapping getClrMap() { |
|---|
| 94 | return clrMap; |
|---|
| 95 | } |
|---|
| 96 | |
|---|
| 97 | /** |
|---|
| 98 | * Sets the value of the clrMap property. |
|---|
| 99 | * |
|---|
| 100 | * @param value |
|---|
| 101 | * allowed object is |
|---|
| 102 | * {@link CTColorMapping } |
|---|
| 103 | * |
|---|
| 104 | */ |
|---|
| 105 | public void setClrMap(CTColorMapping value) { |
|---|
| 106 | this.clrMap = value; |
|---|
| 107 | } |
|---|
| 108 | |
|---|
| 109 | } |
|---|