| 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_StyleMatrix complex type. |
|---|
| 33 | * |
|---|
| 34 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 35 | * |
|---|
| 36 | * <pre> |
|---|
| 37 | * <complexType name="CT_StyleMatrix"> |
|---|
| 38 | * <complexContent> |
|---|
| 39 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 40 | * <sequence> |
|---|
| 41 | * <element name="fillStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FillStyleList"/> |
|---|
| 42 | * <element name="lnStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineStyleList"/> |
|---|
| 43 | * <element name="effectStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_EffectStyleList"/> |
|---|
| 44 | * <element name="bgFillStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BackgroundFillStyleList"/> |
|---|
| 45 | * </sequence> |
|---|
| 46 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
|---|
| 47 | * </restriction> |
|---|
| 48 | * </complexContent> |
|---|
| 49 | * </complexType> |
|---|
| 50 | * </pre> |
|---|
| 51 | * |
|---|
| 52 | * |
|---|
| 53 | */ |
|---|
| 54 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 55 | @XmlType(name = "CT_StyleMatrix", propOrder = { |
|---|
| 56 | "fillStyleLst", |
|---|
| 57 | "lnStyleLst", |
|---|
| 58 | "effectStyleLst", |
|---|
| 59 | "bgFillStyleLst" |
|---|
| 60 | }) |
|---|
| 61 | public class CTStyleMatrix { |
|---|
| 62 | |
|---|
| 63 | @XmlElement(required = true) |
|---|
| 64 | protected CTFillStyleList fillStyleLst; |
|---|
| 65 | @XmlElement(required = true) |
|---|
| 66 | protected CTLineStyleList lnStyleLst; |
|---|
| 67 | @XmlElement(required = true) |
|---|
| 68 | protected CTEffectStyleList effectStyleLst; |
|---|
| 69 | @XmlElement(required = true) |
|---|
| 70 | protected CTBackgroundFillStyleList bgFillStyleLst; |
|---|
| 71 | @XmlAttribute |
|---|
| 72 | protected String name; |
|---|
| 73 | |
|---|
| 74 | /** |
|---|
| 75 | * Gets the value of the fillStyleLst property. |
|---|
| 76 | * |
|---|
| 77 | * @return |
|---|
| 78 | * possible object is |
|---|
| 79 | * {@link CTFillStyleList } |
|---|
| 80 | * |
|---|
| 81 | */ |
|---|
| 82 | public CTFillStyleList getFillStyleLst() { |
|---|
| 83 | return fillStyleLst; |
|---|
| 84 | } |
|---|
| 85 | |
|---|
| 86 | /** |
|---|
| 87 | * Sets the value of the fillStyleLst property. |
|---|
| 88 | * |
|---|
| 89 | * @param value |
|---|
| 90 | * allowed object is |
|---|
| 91 | * {@link CTFillStyleList } |
|---|
| 92 | * |
|---|
| 93 | */ |
|---|
| 94 | public void setFillStyleLst(CTFillStyleList value) { |
|---|
| 95 | this.fillStyleLst = value; |
|---|
| 96 | } |
|---|
| 97 | |
|---|
| 98 | /** |
|---|
| 99 | * Gets the value of the lnStyleLst property. |
|---|
| 100 | * |
|---|
| 101 | * @return |
|---|
| 102 | * possible object is |
|---|
| 103 | * {@link CTLineStyleList } |
|---|
| 104 | * |
|---|
| 105 | */ |
|---|
| 106 | public CTLineStyleList getLnStyleLst() { |
|---|
| 107 | return lnStyleLst; |
|---|
| 108 | } |
|---|
| 109 | |
|---|
| 110 | /** |
|---|
| 111 | * Sets the value of the lnStyleLst property. |
|---|
| 112 | * |
|---|
| 113 | * @param value |
|---|
| 114 | * allowed object is |
|---|
| 115 | * {@link CTLineStyleList } |
|---|
| 116 | * |
|---|
| 117 | */ |
|---|
| 118 | public void setLnStyleLst(CTLineStyleList value) { |
|---|
| 119 | this.lnStyleLst = value; |
|---|
| 120 | } |
|---|
| 121 | |
|---|
| 122 | /** |
|---|
| 123 | * Gets the value of the effectStyleLst property. |
|---|
| 124 | * |
|---|
| 125 | * @return |
|---|
| 126 | * possible object is |
|---|
| 127 | * {@link CTEffectStyleList } |
|---|
| 128 | * |
|---|
| 129 | */ |
|---|
| 130 | public CTEffectStyleList getEffectStyleLst() { |
|---|
| 131 | return effectStyleLst; |
|---|
| 132 | } |
|---|
| 133 | |
|---|
| 134 | /** |
|---|
| 135 | * Sets the value of the effectStyleLst property. |
|---|
| 136 | * |
|---|
| 137 | * @param value |
|---|
| 138 | * allowed object is |
|---|
| 139 | * {@link CTEffectStyleList } |
|---|
| 140 | * |
|---|
| 141 | */ |
|---|
| 142 | public void setEffectStyleLst(CTEffectStyleList value) { |
|---|
| 143 | this.effectStyleLst = value; |
|---|
| 144 | } |
|---|
| 145 | |
|---|
| 146 | /** |
|---|
| 147 | * Gets the value of the bgFillStyleLst property. |
|---|
| 148 | * |
|---|
| 149 | * @return |
|---|
| 150 | * possible object is |
|---|
| 151 | * {@link CTBackgroundFillStyleList } |
|---|
| 152 | * |
|---|
| 153 | */ |
|---|
| 154 | public CTBackgroundFillStyleList getBgFillStyleLst() { |
|---|
| 155 | return bgFillStyleLst; |
|---|
| 156 | } |
|---|
| 157 | |
|---|
| 158 | /** |
|---|
| 159 | * Sets the value of the bgFillStyleLst property. |
|---|
| 160 | * |
|---|
| 161 | * @param value |
|---|
| 162 | * allowed object is |
|---|
| 163 | * {@link CTBackgroundFillStyleList } |
|---|
| 164 | * |
|---|
| 165 | */ |
|---|
| 166 | public void setBgFillStyleLst(CTBackgroundFillStyleList value) { |
|---|
| 167 | this.bgFillStyleLst = value; |
|---|
| 168 | } |
|---|
| 169 | |
|---|
| 170 | /** |
|---|
| 171 | * Gets the value of the name property. |
|---|
| 172 | * |
|---|
| 173 | * @return |
|---|
| 174 | * possible object is |
|---|
| 175 | * {@link String } |
|---|
| 176 | * |
|---|
| 177 | */ |
|---|
| 178 | public String getName() { |
|---|
| 179 | if (name == null) { |
|---|
| 180 | return ""; |
|---|
| 181 | } else { |
|---|
| 182 | return name; |
|---|
| 183 | } |
|---|
| 184 | } |
|---|
| 185 | |
|---|
| 186 | /** |
|---|
| 187 | * Sets the value of the name property. |
|---|
| 188 | * |
|---|
| 189 | * @param value |
|---|
| 190 | * allowed object is |
|---|
| 191 | * {@link String } |
|---|
| 192 | * |
|---|
| 193 | */ |
|---|
| 194 | public void setName(String value) { |
|---|
| 195 | this.name = value; |
|---|
| 196 | } |
|---|
| 197 | |
|---|
| 198 | } |
|---|