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

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