| 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_GradientFillProperties complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_GradientFillProperties"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <sequence> |
|---|
| 40 | * <element name="gsLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GradientStopList" minOccurs="0"/> |
|---|
| 41 | * <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ShadeProperties" minOccurs="0"/> |
|---|
| 42 | * <element name="tileRect" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_RelativeRect" minOccurs="0"/> |
|---|
| 43 | * </sequence> |
|---|
| 44 | * <attribute name="flip" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TileFlipMode" /> |
|---|
| 45 | * <attribute name="rotWithShape" type="{http://www.w3.org/2001/XMLSchema}boolean" /> |
|---|
| 46 | * </restriction> |
|---|
| 47 | * </complexContent> |
|---|
| 48 | * </complexType> |
|---|
| 49 | * </pre> |
|---|
| 50 | * |
|---|
| 51 | * |
|---|
| 52 | */ |
|---|
| 53 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 54 | @XmlType(name = "CT_GradientFillProperties", propOrder = { |
|---|
| 55 | "gsLst", |
|---|
| 56 | "lin", |
|---|
| 57 | "path", |
|---|
| 58 | "tileRect" |
|---|
| 59 | }) |
|---|
| 60 | public class CTGradientFillProperties { |
|---|
| 61 | |
|---|
| 62 | protected CTGradientStopList gsLst; |
|---|
| 63 | protected CTLinearShadeProperties lin; |
|---|
| 64 | protected CTPathShadeProperties path; |
|---|
| 65 | protected CTRelativeRect tileRect; |
|---|
| 66 | @XmlAttribute |
|---|
| 67 | protected STTileFlipMode flip; |
|---|
| 68 | @XmlAttribute |
|---|
| 69 | protected Boolean rotWithShape; |
|---|
| 70 | |
|---|
| 71 | /** |
|---|
| 72 | * Gets the value of the gsLst property. |
|---|
| 73 | * |
|---|
| 74 | * @return |
|---|
| 75 | * possible object is |
|---|
| 76 | * {@link CTGradientStopList } |
|---|
| 77 | * |
|---|
| 78 | */ |
|---|
| 79 | public CTGradientStopList getGsLst() { |
|---|
| 80 | return gsLst; |
|---|
| 81 | } |
|---|
| 82 | |
|---|
| 83 | /** |
|---|
| 84 | * Sets the value of the gsLst property. |
|---|
| 85 | * |
|---|
| 86 | * @param value |
|---|
| 87 | * allowed object is |
|---|
| 88 | * {@link CTGradientStopList } |
|---|
| 89 | * |
|---|
| 90 | */ |
|---|
| 91 | public void setGsLst(CTGradientStopList value) { |
|---|
| 92 | this.gsLst = value; |
|---|
| 93 | } |
|---|
| 94 | |
|---|
| 95 | /** |
|---|
| 96 | * Gets the value of the lin property. |
|---|
| 97 | * |
|---|
| 98 | * @return |
|---|
| 99 | * possible object is |
|---|
| 100 | * {@link CTLinearShadeProperties } |
|---|
| 101 | * |
|---|
| 102 | */ |
|---|
| 103 | public CTLinearShadeProperties getLin() { |
|---|
| 104 | return lin; |
|---|
| 105 | } |
|---|
| 106 | |
|---|
| 107 | /** |
|---|
| 108 | * Sets the value of the lin property. |
|---|
| 109 | * |
|---|
| 110 | * @param value |
|---|
| 111 | * allowed object is |
|---|
| 112 | * {@link CTLinearShadeProperties } |
|---|
| 113 | * |
|---|
| 114 | */ |
|---|
| 115 | public void setLin(CTLinearShadeProperties value) { |
|---|
| 116 | this.lin = value; |
|---|
| 117 | } |
|---|
| 118 | |
|---|
| 119 | /** |
|---|
| 120 | * Gets the value of the path property. |
|---|
| 121 | * |
|---|
| 122 | * @return |
|---|
| 123 | * possible object is |
|---|
| 124 | * {@link CTPathShadeProperties } |
|---|
| 125 | * |
|---|
| 126 | */ |
|---|
| 127 | public CTPathShadeProperties getPath() { |
|---|
| 128 | return path; |
|---|
| 129 | } |
|---|
| 130 | |
|---|
| 131 | /** |
|---|
| 132 | * Sets the value of the path property. |
|---|
| 133 | * |
|---|
| 134 | * @param value |
|---|
| 135 | * allowed object is |
|---|
| 136 | * {@link CTPathShadeProperties } |
|---|
| 137 | * |
|---|
| 138 | */ |
|---|
| 139 | public void setPath(CTPathShadeProperties value) { |
|---|
| 140 | this.path = value; |
|---|
| 141 | } |
|---|
| 142 | |
|---|
| 143 | /** |
|---|
| 144 | * Gets the value of the tileRect property. |
|---|
| 145 | * |
|---|
| 146 | * @return |
|---|
| 147 | * possible object is |
|---|
| 148 | * {@link CTRelativeRect } |
|---|
| 149 | * |
|---|
| 150 | */ |
|---|
| 151 | public CTRelativeRect getTileRect() { |
|---|
| 152 | return tileRect; |
|---|
| 153 | } |
|---|
| 154 | |
|---|
| 155 | /** |
|---|
| 156 | * Sets the value of the tileRect property. |
|---|
| 157 | * |
|---|
| 158 | * @param value |
|---|
| 159 | * allowed object is |
|---|
| 160 | * {@link CTRelativeRect } |
|---|
| 161 | * |
|---|
| 162 | */ |
|---|
| 163 | public void setTileRect(CTRelativeRect value) { |
|---|
| 164 | this.tileRect = value; |
|---|
| 165 | } |
|---|
| 166 | |
|---|
| 167 | /** |
|---|
| 168 | * Gets the value of the flip property. |
|---|
| 169 | * |
|---|
| 170 | * @return |
|---|
| 171 | * possible object is |
|---|
| 172 | * {@link STTileFlipMode } |
|---|
| 173 | * |
|---|
| 174 | */ |
|---|
| 175 | public STTileFlipMode getFlip() { |
|---|
| 176 | return flip; |
|---|
| 177 | } |
|---|
| 178 | |
|---|
| 179 | /** |
|---|
| 180 | * Sets the value of the flip property. |
|---|
| 181 | * |
|---|
| 182 | * @param value |
|---|
| 183 | * allowed object is |
|---|
| 184 | * {@link STTileFlipMode } |
|---|
| 185 | * |
|---|
| 186 | */ |
|---|
| 187 | public void setFlip(STTileFlipMode value) { |
|---|
| 188 | this.flip = value; |
|---|
| 189 | } |
|---|
| 190 | |
|---|
| 191 | /** |
|---|
| 192 | * Gets the value of the rotWithShape property. |
|---|
| 193 | * |
|---|
| 194 | * @return |
|---|
| 195 | * possible object is |
|---|
| 196 | * {@link Boolean } |
|---|
| 197 | * |
|---|
| 198 | */ |
|---|
| 199 | public Boolean isRotWithShape() { |
|---|
| 200 | return rotWithShape; |
|---|
| 201 | } |
|---|
| 202 | |
|---|
| 203 | /** |
|---|
| 204 | * Sets the value of the rotWithShape property. |
|---|
| 205 | * |
|---|
| 206 | * @param value |
|---|
| 207 | * allowed object is |
|---|
| 208 | * {@link Boolean } |
|---|
| 209 | * |
|---|
| 210 | */ |
|---|
| 211 | public void setRotWithShape(Boolean value) { |
|---|
| 212 | this.rotWithShape = value; |
|---|
| 213 | } |
|---|
| 214 | |
|---|
| 215 | } |
|---|