source: trunk/docx4j/src/main/java/org/docx4j/dml/CTStyleMatrix.java @ 1041

Revision 1041, 5.1 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
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
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlElement;
28import 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 * &lt;complexType name="CT_StyleMatrix">
38 *   &lt;complexContent>
39 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 *       &lt;sequence>
41 *         &lt;element name="fillStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FillStyleList"/>
42 *         &lt;element name="lnStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineStyleList"/>
43 *         &lt;element name="effectStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_EffectStyleList"/>
44 *         &lt;element name="bgFillStyleLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BackgroundFillStyleList"/>
45 *       &lt;/sequence>
46 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
47 *     &lt;/restriction>
48 *   &lt;/complexContent>
49 * &lt;/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})
61public 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}
Note: See TracBrowser for help on using the repository browser.