| 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.XmlType; |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | /** |
|---|
| 30 | * <p>Java class for CT_BackgroundFormatting complex type. |
|---|
| 31 | * |
|---|
| 32 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 33 | * |
|---|
| 34 | * <pre> |
|---|
| 35 | * <complexType name="CT_BackgroundFormatting"> |
|---|
| 36 | * <complexContent> |
|---|
| 37 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 38 | * <sequence> |
|---|
| 39 | * <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_FillProperties" minOccurs="0"/> |
|---|
| 40 | * <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_EffectProperties" minOccurs="0"/> |
|---|
| 41 | * </sequence> |
|---|
| 42 | * </restriction> |
|---|
| 43 | * </complexContent> |
|---|
| 44 | * </complexType> |
|---|
| 45 | * </pre> |
|---|
| 46 | * |
|---|
| 47 | * |
|---|
| 48 | */ |
|---|
| 49 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 50 | @XmlType(name = "CT_BackgroundFormatting", propOrder = { |
|---|
| 51 | "noFill", |
|---|
| 52 | "solidFill", |
|---|
| 53 | "gradFill", |
|---|
| 54 | "blipFill", |
|---|
| 55 | "pattFill", |
|---|
| 56 | "grpFill", |
|---|
| 57 | "effectLst", |
|---|
| 58 | "effectDag" |
|---|
| 59 | }) |
|---|
| 60 | public class CTBackgroundFormatting { |
|---|
| 61 | |
|---|
| 62 | protected CTNoFillProperties noFill; |
|---|
| 63 | protected CTSolidColorFillProperties solidFill; |
|---|
| 64 | protected CTGradientFillProperties gradFill; |
|---|
| 65 | protected CTBlipFillProperties blipFill; |
|---|
| 66 | protected CTPatternFillProperties pattFill; |
|---|
| 67 | protected CTGroupFillProperties grpFill; |
|---|
| 68 | protected CTEffectList effectLst; |
|---|
| 69 | protected CTEffectContainer effectDag; |
|---|
| 70 | |
|---|
| 71 | /** |
|---|
| 72 | * Gets the value of the noFill property. |
|---|
| 73 | * |
|---|
| 74 | * @return |
|---|
| 75 | * possible object is |
|---|
| 76 | * {@link CTNoFillProperties } |
|---|
| 77 | * |
|---|
| 78 | */ |
|---|
| 79 | public CTNoFillProperties getNoFill() { |
|---|
| 80 | return noFill; |
|---|
| 81 | } |
|---|
| 82 | |
|---|
| 83 | /** |
|---|
| 84 | * Sets the value of the noFill property. |
|---|
| 85 | * |
|---|
| 86 | * @param value |
|---|
| 87 | * allowed object is |
|---|
| 88 | * {@link CTNoFillProperties } |
|---|
| 89 | * |
|---|
| 90 | */ |
|---|
| 91 | public void setNoFill(CTNoFillProperties value) { |
|---|
| 92 | this.noFill = value; |
|---|
| 93 | } |
|---|
| 94 | |
|---|
| 95 | /** |
|---|
| 96 | * Gets the value of the solidFill property. |
|---|
| 97 | * |
|---|
| 98 | * @return |
|---|
| 99 | * possible object is |
|---|
| 100 | * {@link CTSolidColorFillProperties } |
|---|
| 101 | * |
|---|
| 102 | */ |
|---|
| 103 | public CTSolidColorFillProperties getSolidFill() { |
|---|
| 104 | return solidFill; |
|---|
| 105 | } |
|---|
| 106 | |
|---|
| 107 | /** |
|---|
| 108 | * Sets the value of the solidFill property. |
|---|
| 109 | * |
|---|
| 110 | * @param value |
|---|
| 111 | * allowed object is |
|---|
| 112 | * {@link CTSolidColorFillProperties } |
|---|
| 113 | * |
|---|
| 114 | */ |
|---|
| 115 | public void setSolidFill(CTSolidColorFillProperties value) { |
|---|
| 116 | this.solidFill = value; |
|---|
| 117 | } |
|---|
| 118 | |
|---|
| 119 | /** |
|---|
| 120 | * Gets the value of the gradFill property. |
|---|
| 121 | * |
|---|
| 122 | * @return |
|---|
| 123 | * possible object is |
|---|
| 124 | * {@link CTGradientFillProperties } |
|---|
| 125 | * |
|---|
| 126 | */ |
|---|
| 127 | public CTGradientFillProperties getGradFill() { |
|---|
| 128 | return gradFill; |
|---|
| 129 | } |
|---|
| 130 | |
|---|
| 131 | /** |
|---|
| 132 | * Sets the value of the gradFill property. |
|---|
| 133 | * |
|---|
| 134 | * @param value |
|---|
| 135 | * allowed object is |
|---|
| 136 | * {@link CTGradientFillProperties } |
|---|
| 137 | * |
|---|
| 138 | */ |
|---|
| 139 | public void setGradFill(CTGradientFillProperties value) { |
|---|
| 140 | this.gradFill = value; |
|---|
| 141 | } |
|---|
| 142 | |
|---|
| 143 | /** |
|---|
| 144 | * Gets the value of the blipFill property. |
|---|
| 145 | * |
|---|
| 146 | * @return |
|---|
| 147 | * possible object is |
|---|
| 148 | * {@link CTBlipFillProperties } |
|---|
| 149 | * |
|---|
| 150 | */ |
|---|
| 151 | public CTBlipFillProperties getBlipFill() { |
|---|
| 152 | return blipFill; |
|---|
| 153 | } |
|---|
| 154 | |
|---|
| 155 | /** |
|---|
| 156 | * Sets the value of the blipFill property. |
|---|
| 157 | * |
|---|
| 158 | * @param value |
|---|
| 159 | * allowed object is |
|---|
| 160 | * {@link CTBlipFillProperties } |
|---|
| 161 | * |
|---|
| 162 | */ |
|---|
| 163 | public void setBlipFill(CTBlipFillProperties value) { |
|---|
| 164 | this.blipFill = value; |
|---|
| 165 | } |
|---|
| 166 | |
|---|
| 167 | /** |
|---|
| 168 | * Gets the value of the pattFill property. |
|---|
| 169 | * |
|---|
| 170 | * @return |
|---|
| 171 | * possible object is |
|---|
| 172 | * {@link CTPatternFillProperties } |
|---|
| 173 | * |
|---|
| 174 | */ |
|---|
| 175 | public CTPatternFillProperties getPattFill() { |
|---|
| 176 | return pattFill; |
|---|
| 177 | } |
|---|
| 178 | |
|---|
| 179 | /** |
|---|
| 180 | * Sets the value of the pattFill property. |
|---|
| 181 | * |
|---|
| 182 | * @param value |
|---|
| 183 | * allowed object is |
|---|
| 184 | * {@link CTPatternFillProperties } |
|---|
| 185 | * |
|---|
| 186 | */ |
|---|
| 187 | public void setPattFill(CTPatternFillProperties value) { |
|---|
| 188 | this.pattFill = value; |
|---|
| 189 | } |
|---|
| 190 | |
|---|
| 191 | /** |
|---|
| 192 | * Gets the value of the grpFill property. |
|---|
| 193 | * |
|---|
| 194 | * @return |
|---|
| 195 | * possible object is |
|---|
| 196 | * {@link CTGroupFillProperties } |
|---|
| 197 | * |
|---|
| 198 | */ |
|---|
| 199 | public CTGroupFillProperties getGrpFill() { |
|---|
| 200 | return grpFill; |
|---|
| 201 | } |
|---|
| 202 | |
|---|
| 203 | /** |
|---|
| 204 | * Sets the value of the grpFill property. |
|---|
| 205 | * |
|---|
| 206 | * @param value |
|---|
| 207 | * allowed object is |
|---|
| 208 | * {@link CTGroupFillProperties } |
|---|
| 209 | * |
|---|
| 210 | */ |
|---|
| 211 | public void setGrpFill(CTGroupFillProperties value) { |
|---|
| 212 | this.grpFill = value; |
|---|
| 213 | } |
|---|
| 214 | |
|---|
| 215 | /** |
|---|
| 216 | * Gets the value of the effectLst property. |
|---|
| 217 | * |
|---|
| 218 | * @return |
|---|
| 219 | * possible object is |
|---|
| 220 | * {@link CTEffectList } |
|---|
| 221 | * |
|---|
| 222 | */ |
|---|
| 223 | public CTEffectList getEffectLst() { |
|---|
| 224 | return effectLst; |
|---|
| 225 | } |
|---|
| 226 | |
|---|
| 227 | /** |
|---|
| 228 | * Sets the value of the effectLst property. |
|---|
| 229 | * |
|---|
| 230 | * @param value |
|---|
| 231 | * allowed object is |
|---|
| 232 | * {@link CTEffectList } |
|---|
| 233 | * |
|---|
| 234 | */ |
|---|
| 235 | public void setEffectLst(CTEffectList value) { |
|---|
| 236 | this.effectLst = value; |
|---|
| 237 | } |
|---|
| 238 | |
|---|
| 239 | /** |
|---|
| 240 | * Gets the value of the effectDag property. |
|---|
| 241 | * |
|---|
| 242 | * @return |
|---|
| 243 | * possible object is |
|---|
| 244 | * {@link CTEffectContainer } |
|---|
| 245 | * |
|---|
| 246 | */ |
|---|
| 247 | public CTEffectContainer getEffectDag() { |
|---|
| 248 | return effectDag; |
|---|
| 249 | } |
|---|
| 250 | |
|---|
| 251 | /** |
|---|
| 252 | * Sets the value of the effectDag property. |
|---|
| 253 | * |
|---|
| 254 | * @param value |
|---|
| 255 | * allowed object is |
|---|
| 256 | * {@link CTEffectContainer } |
|---|
| 257 | * |
|---|
| 258 | */ |
|---|
| 259 | public void setEffectDag(CTEffectContainer value) { |
|---|
| 260 | this.effectDag = value; |
|---|
| 261 | } |
|---|
| 262 | |
|---|
| 263 | } |
|---|