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

Revision 1041, 8.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.XmlType;
29
30
31/**
32 * <p>Java class for CT_BaseStyles 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_BaseStyles">
38 *   &lt;complexContent>
39 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 *       &lt;sequence>
41 *         &lt;element name="clrScheme" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorScheme"/>
42 *         &lt;element name="fontScheme">
43 *           &lt;complexType>
44 *             &lt;complexContent>
45 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46 *                 &lt;sequence>
47 *                   &lt;element name="majorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
48 *                   &lt;element name="minorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
49 *                   &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
50 *                 &lt;/sequence>
51 *                 &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
52 *               &lt;/restriction>
53 *             &lt;/complexContent>
54 *           &lt;/complexType>
55 *         &lt;/element>
56 *         &lt;element name="fmtScheme" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_StyleMatrix"/>
57 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
58 *       &lt;/sequence>
59 *     &lt;/restriction>
60 *   &lt;/complexContent>
61 * &lt;/complexType>
62 * </pre>
63 *
64 *
65 */
66@XmlAccessorType(XmlAccessType.FIELD)
67@XmlType(name = "CT_BaseStyles", propOrder = {
68    "clrScheme",
69    "fontScheme",
70    "fmtScheme",
71    "extLst"
72})
73public class BaseStyles {
74
75    @XmlElement(required = true)
76    protected CTColorScheme clrScheme;
77    @XmlElement(required = true)
78    protected BaseStyles.FontScheme fontScheme;
79    @XmlElement(required = true)
80    protected CTStyleMatrix fmtScheme;
81    protected CTOfficeArtExtensionList extLst;
82
83    /**
84     * Gets the value of the clrScheme property.
85     *
86     * @return
87     *     possible object is
88     *     {@link CTColorScheme }
89     *     
90     */
91    public CTColorScheme getClrScheme() {
92        return clrScheme;
93    }
94
95    /**
96     * Sets the value of the clrScheme property.
97     *
98     * @param value
99     *     allowed object is
100     *     {@link CTColorScheme }
101     *     
102     */
103    public void setClrScheme(CTColorScheme value) {
104        this.clrScheme = value;
105    }
106
107    /**
108     * Gets the value of the fontScheme property.
109     *
110     * @return
111     *     possible object is
112     *     {@link BaseStyles.FontScheme }
113     *     
114     */
115    public BaseStyles.FontScheme getFontScheme() {
116        return fontScheme;
117    }
118
119    /**
120     * Sets the value of the fontScheme property.
121     *
122     * @param value
123     *     allowed object is
124     *     {@link BaseStyles.FontScheme }
125     *     
126     */
127    public void setFontScheme(BaseStyles.FontScheme value) {
128        this.fontScheme = value;
129    }
130
131    /**
132     * Gets the value of the fmtScheme property.
133     *
134     * @return
135     *     possible object is
136     *     {@link CTStyleMatrix }
137     *     
138     */
139    public CTStyleMatrix getFmtScheme() {
140        return fmtScheme;
141    }
142
143    /**
144     * Sets the value of the fmtScheme property.
145     *
146     * @param value
147     *     allowed object is
148     *     {@link CTStyleMatrix }
149     *     
150     */
151    public void setFmtScheme(CTStyleMatrix value) {
152        this.fmtScheme = value;
153    }
154
155    /**
156     * Gets the value of the extLst property.
157     *
158     * @return
159     *     possible object is
160     *     {@link CTOfficeArtExtensionList }
161     *     
162     */
163    public CTOfficeArtExtensionList getExtLst() {
164        return extLst;
165    }
166
167    /**
168     * Sets the value of the extLst property.
169     *
170     * @param value
171     *     allowed object is
172     *     {@link CTOfficeArtExtensionList }
173     *     
174     */
175    public void setExtLst(CTOfficeArtExtensionList value) {
176        this.extLst = value;
177    }
178
179
180    /**
181     * <p>Java class for anonymous complex type.
182     *
183     * <p>The following schema fragment specifies the expected content contained within this class.
184     *
185     * <pre>
186     * &lt;complexType>
187     *   &lt;complexContent>
188     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
189     *       &lt;sequence>
190     *         &lt;element name="majorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
191     *         &lt;element name="minorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
192     *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
193     *       &lt;/sequence>
194     *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
195     *     &lt;/restriction>
196     *   &lt;/complexContent>
197     * &lt;/complexType>
198     * </pre>
199     *
200     *
201     */
202    @XmlAccessorType(XmlAccessType.FIELD)
203    @XmlType(name = "", propOrder = {
204        "majorFont",
205        "minorFont",
206        "extLst"
207    })
208    public static class FontScheme {
209
210        @XmlElement(required = true)
211        protected FontCollection majorFont;
212        @XmlElement(required = true)
213        protected FontCollection minorFont;
214        protected CTOfficeArtExtensionList extLst;
215        @XmlAttribute(required = true)
216        protected String name;
217
218        /**
219         * Gets the value of the majorFont property.
220         *
221         * @return
222         *     possible object is
223         *     {@link FontCollection }
224         *     
225         */
226        public FontCollection getMajorFont() {
227            return majorFont;
228        }
229
230        /**
231         * Sets the value of the majorFont property.
232         *
233         * @param value
234         *     allowed object is
235         *     {@link FontCollection }
236         *     
237         */
238        public void setMajorFont(FontCollection value) {
239            this.majorFont = value;
240        }
241
242        /**
243         * Gets the value of the minorFont property.
244         *
245         * @return
246         *     possible object is
247         *     {@link FontCollection }
248         *     
249         */
250        public FontCollection getMinorFont() {
251            return minorFont;
252        }
253
254        /**
255         * Sets the value of the minorFont property.
256         *
257         * @param value
258         *     allowed object is
259         *     {@link FontCollection }
260         *     
261         */
262        public void setMinorFont(FontCollection value) {
263            this.minorFont = value;
264        }
265
266        /**
267         * Gets the value of the extLst property.
268         *
269         * @return
270         *     possible object is
271         *     {@link CTOfficeArtExtensionList }
272         *     
273         */
274        public CTOfficeArtExtensionList getExtLst() {
275            return extLst;
276        }
277
278        /**
279         * Sets the value of the extLst property.
280         *
281         * @param value
282         *     allowed object is
283         *     {@link CTOfficeArtExtensionList }
284         *     
285         */
286        public void setExtLst(CTOfficeArtExtensionList value) {
287            this.extLst = value;
288        }
289
290        /**
291         * Gets the value of the name property.
292         *
293         * @return
294         *     possible object is
295         *     {@link String }
296         *     
297         */
298        public String getName() {
299            return name;
300        }
301
302        /**
303         * Sets the value of the name property.
304         *
305         * @param value
306         *     allowed object is
307         *     {@link String }
308         *     
309         */
310        public void setName(String value) {
311            this.name = value;
312        }
313
314    }
315
316}
Note: See TracBrowser for help on using the repository browser.