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

Revision 1041, 5.8 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.XmlRootElement;
29import javax.xml.bind.annotation.XmlType;
30
31
32/**
33 * <p>Java class for anonymous complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType>
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;element name="themeElements" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BaseStyles"/>
43 *         &lt;element name="objectDefaults" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ObjectStyleDefaults" minOccurs="0"/>
44 *         &lt;element name="extraClrSchemeLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorSchemeList" minOccurs="0"/>
45 *         &lt;element name="custClrLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_CustomColorList" minOccurs="0"/>
46 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
47 *       &lt;/sequence>
48 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
49 *     &lt;/restriction>
50 *   &lt;/complexContent>
51 * &lt;/complexType>
52 * </pre>
53 *
54 *
55 */
56@XmlAccessorType(XmlAccessType.FIELD)
57@XmlType(name = "", propOrder = {
58    "themeElements",
59    "objectDefaults",
60    "extraClrSchemeLst",
61    "custClrLst",
62    "extLst"
63})
64@XmlRootElement(name = "theme")
65public class Theme {
66
67    @XmlElement(required = true)
68    protected BaseStyles themeElements;
69    protected CTObjectStyleDefaults objectDefaults;
70    protected CTColorSchemeList extraClrSchemeLst;
71    protected CTCustomColorList custClrLst;
72    protected CTOfficeArtExtensionList extLst;
73    @XmlAttribute
74    protected String name;
75
76    /**
77     * Gets the value of the themeElements property.
78     *
79     * @return
80     *     possible object is
81     *     {@link BaseStyles }
82     *     
83     */
84    public BaseStyles getThemeElements() {
85        return themeElements;
86    }
87
88    /**
89     * Sets the value of the themeElements property.
90     *
91     * @param value
92     *     allowed object is
93     *     {@link BaseStyles }
94     *     
95     */
96    public void setThemeElements(BaseStyles value) {
97        this.themeElements = value;
98    }
99
100    /**
101     * Gets the value of the objectDefaults property.
102     *
103     * @return
104     *     possible object is
105     *     {@link CTObjectStyleDefaults }
106     *     
107     */
108    public CTObjectStyleDefaults getObjectDefaults() {
109        return objectDefaults;
110    }
111
112    /**
113     * Sets the value of the objectDefaults property.
114     *
115     * @param value
116     *     allowed object is
117     *     {@link CTObjectStyleDefaults }
118     *     
119     */
120    public void setObjectDefaults(CTObjectStyleDefaults value) {
121        this.objectDefaults = value;
122    }
123
124    /**
125     * Gets the value of the extraClrSchemeLst property.
126     *
127     * @return
128     *     possible object is
129     *     {@link CTColorSchemeList }
130     *     
131     */
132    public CTColorSchemeList getExtraClrSchemeLst() {
133        return extraClrSchemeLst;
134    }
135
136    /**
137     * Sets the value of the extraClrSchemeLst property.
138     *
139     * @param value
140     *     allowed object is
141     *     {@link CTColorSchemeList }
142     *     
143     */
144    public void setExtraClrSchemeLst(CTColorSchemeList value) {
145        this.extraClrSchemeLst = value;
146    }
147
148    /**
149     * Gets the value of the custClrLst property.
150     *
151     * @return
152     *     possible object is
153     *     {@link CTCustomColorList }
154     *     
155     */
156    public CTCustomColorList getCustClrLst() {
157        return custClrLst;
158    }
159
160    /**
161     * Sets the value of the custClrLst property.
162     *
163     * @param value
164     *     allowed object is
165     *     {@link CTCustomColorList }
166     *     
167     */
168    public void setCustClrLst(CTCustomColorList value) {
169        this.custClrLst = value;
170    }
171
172    /**
173     * Gets the value of the extLst property.
174     *
175     * @return
176     *     possible object is
177     *     {@link CTOfficeArtExtensionList }
178     *     
179     */
180    public CTOfficeArtExtensionList getExtLst() {
181        return extLst;
182    }
183
184    /**
185     * Sets the value of the extLst property.
186     *
187     * @param value
188     *     allowed object is
189     *     {@link CTOfficeArtExtensionList }
190     *     
191     */
192    public void setExtLst(CTOfficeArtExtensionList value) {
193        this.extLst = value;
194    }
195
196    /**
197     * Gets the value of the name property.
198     *
199     * @return
200     *     possible object is
201     *     {@link String }
202     *     
203     */
204    public String getName() {
205        if (name == null) {
206            return "";
207        } else {
208            return name;
209        }
210    }
211
212    /**
213     * Sets the value of the name property.
214     *
215     * @param value
216     *     allowed object is
217     *     {@link String }
218     *     
219     */
220    public void setName(String value) {
221        this.name = value;
222    }
223
224}
Note: See TracBrowser for help on using the repository browser.