source: trunk/docx4j/src/main/java/org/docx4j/wml/CTParaRPrOriginal.java @ 925

Revision 925, 13.4 KB checked in by jharrop, 3 years ago (diff)

Regenerated classes from wml.xsd, having added EG_MathContent back in to EG_RunLevelElements

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.wml;
23
24import java.util.ArrayList;
25import java.util.List;
26import javax.xml.bind.JAXBElement;
27import javax.xml.bind.Unmarshaller;
28import javax.xml.bind.annotation.XmlAccessType;
29import javax.xml.bind.annotation.XmlAccessorType;
30import javax.xml.bind.annotation.XmlElementRef;
31import javax.xml.bind.annotation.XmlElementRefs;
32import javax.xml.bind.annotation.XmlTransient;
33import javax.xml.bind.annotation.XmlType;
34import org.jvnet.jaxb2_commons.ppp.Child;
35
36
37/**
38 * <p>Java class for CT_ParaRPrOriginal complex type.
39 *
40 * <p>The following schema fragment specifies the expected content contained within this class.
41 *
42 * <pre>
43 * &lt;complexType name="CT_ParaRPrOriginal">
44 *   &lt;complexContent>
45 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46 *       &lt;sequence>
47 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_ParaRPrTrackChanges" minOccurs="0"/>
48 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RPrBase" maxOccurs="unbounded" minOccurs="0"/>
49 *       &lt;/sequence>
50 *     &lt;/restriction>
51 *   &lt;/complexContent>
52 * &lt;/complexType>
53 * </pre>
54 *
55 *
56 */
57@XmlAccessorType(XmlAccessType.FIELD)
58@XmlType(name = "CT_ParaRPrOriginal", propOrder = {
59    "ins",
60    "del",
61    "moveFrom",
62    "moveTo",
63    "egrPrBase"
64})
65public class CTParaRPrOriginal
66    implements Child
67{
68
69    protected CTTrackChange ins;
70    protected CTTrackChange del;
71    protected CTTrackChange moveFrom;
72    protected CTTrackChange moveTo;
73    @XmlElementRefs({
74        @XmlElementRef(name = "shd", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
75        @XmlElementRef(name = "rStyle", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = RStyle.class),
76        @XmlElementRef(name = "effect", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
77        @XmlElementRef(name = "noProof", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
78        @XmlElementRef(name = "specVanish", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
79        @XmlElementRef(name = "color", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = Color.class),
80        @XmlElementRef(name = "kern", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
81        @XmlElementRef(name = "sz", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
82        @XmlElementRef(name = "w", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
83        @XmlElementRef(name = "emboss", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
84        @XmlElementRef(name = "cs", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
85        @XmlElementRef(name = "iCs", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
86        @XmlElementRef(name = "vanish", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
87        @XmlElementRef(name = "em", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
88        @XmlElementRef(name = "highlight", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = Highlight.class),
89        @XmlElementRef(name = "vertAlign", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
90        @XmlElementRef(name = "oMath", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
91        @XmlElementRef(name = "bCs", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
92        @XmlElementRef(name = "b", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
93        @XmlElementRef(name = "dstrike", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
94        @XmlElementRef(name = "snapToGrid", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
95        @XmlElementRef(name = "rFonts", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = RFonts.class),
96        @XmlElementRef(name = "smallCaps", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
97        @XmlElementRef(name = "spacing", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
98        @XmlElementRef(name = "bdr", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
99        @XmlElementRef(name = "i", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
100        @XmlElementRef(name = "position", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
101        @XmlElementRef(name = "fitText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
102        @XmlElementRef(name = "strike", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
103        @XmlElementRef(name = "webHidden", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
104        @XmlElementRef(name = "eastAsianLayout", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
105        @XmlElementRef(name = "caps", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
106        @XmlElementRef(name = "imprint", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
107        @XmlElementRef(name = "rtl", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
108        @XmlElementRef(name = "u", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = U.class),
109        @XmlElementRef(name = "lang", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
110        @XmlElementRef(name = "shadow", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
111        @XmlElementRef(name = "outline", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
112        @XmlElementRef(name = "szCs", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class)
113    })
114    protected List<Object> egrPrBase;
115    @XmlTransient
116    private Object parent;
117
118    /**
119     * Gets the value of the ins property.
120     *
121     * @return
122     *     possible object is
123     *     {@link CTTrackChange }
124     *     
125     */
126    public CTTrackChange getIns() {
127        return ins;
128    }
129
130    /**
131     * Sets the value of the ins property.
132     *
133     * @param value
134     *     allowed object is
135     *     {@link CTTrackChange }
136     *     
137     */
138    public void setIns(CTTrackChange value) {
139        this.ins = value;
140    }
141
142    /**
143     * Gets the value of the del property.
144     *
145     * @return
146     *     possible object is
147     *     {@link CTTrackChange }
148     *     
149     */
150    public CTTrackChange getDel() {
151        return del;
152    }
153
154    /**
155     * Sets the value of the del property.
156     *
157     * @param value
158     *     allowed object is
159     *     {@link CTTrackChange }
160     *     
161     */
162    public void setDel(CTTrackChange value) {
163        this.del = value;
164    }
165
166    /**
167     * Gets the value of the moveFrom property.
168     *
169     * @return
170     *     possible object is
171     *     {@link CTTrackChange }
172     *     
173     */
174    public CTTrackChange getMoveFrom() {
175        return moveFrom;
176    }
177
178    /**
179     * Sets the value of the moveFrom property.
180     *
181     * @param value
182     *     allowed object is
183     *     {@link CTTrackChange }
184     *     
185     */
186    public void setMoveFrom(CTTrackChange value) {
187        this.moveFrom = value;
188    }
189
190    /**
191     * Gets the value of the moveTo property.
192     *
193     * @return
194     *     possible object is
195     *     {@link CTTrackChange }
196     *     
197     */
198    public CTTrackChange getMoveTo() {
199        return moveTo;
200    }
201
202    /**
203     * Sets the value of the moveTo property.
204     *
205     * @param value
206     *     allowed object is
207     *     {@link CTTrackChange }
208     *     
209     */
210    public void setMoveTo(CTTrackChange value) {
211        this.moveTo = value;
212    }
213
214    /**
215     * Gets the value of the egrPrBase property.
216     *
217     * <p>
218     * This accessor method returns a reference to the live list,
219     * not a snapshot. Therefore any modification you make to the
220     * returned list will be present inside the JAXB object.
221     * This is why there is not a <CODE>set</CODE> method for the egrPrBase property.
222     *
223     * <p>
224     * For example, to add a new item, do as follows:
225     * <pre>
226     *    getEGRPrBase().add(newItem);
227     * </pre>
228     *
229     *
230     * <p>
231     * Objects of the following type(s) are allowed in the list
232     * {@link JAXBElement }{@code <}{@link CTShd }{@code >}
233     * {@link RStyle }
234     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
235     * {@link JAXBElement }{@code <}{@link CTTextEffect }{@code >}
236     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
237     * {@link Color }
238     * {@link JAXBElement }{@code <}{@link HpsMeasure }{@code >}
239     * {@link JAXBElement }{@code <}{@link HpsMeasure }{@code >}
240     * {@link JAXBElement }{@code <}{@link CTTextScale }{@code >}
241     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
242     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
243     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
244     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
245     * {@link Highlight }
246     * {@link JAXBElement }{@code <}{@link CTEm }{@code >}
247     * {@link JAXBElement }{@code <}{@link CTVerticalAlignRun }{@code >}
248     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
249     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
250     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
251     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
252     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
253     * {@link RFonts }
254     * {@link JAXBElement }{@code <}{@link CTSignedTwipsMeasure }{@code >}
255     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
256     * {@link JAXBElement }{@code <}{@link CTBorder }{@code >}
257     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
258     * {@link JAXBElement }{@code <}{@link CTSignedHpsMeasure }{@code >}
259     * {@link JAXBElement }{@code <}{@link CTFitText }{@code >}
260     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
261     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
262     * {@link JAXBElement }{@code <}{@link CTEastAsianLayout }{@code >}
263     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
264     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
265     * {@link U }
266     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
267     * {@link JAXBElement }{@code <}{@link CTLanguage }{@code >}
268     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
269     * {@link JAXBElement }{@code <}{@link BooleanDefaultTrue }{@code >}
270     * {@link JAXBElement }{@code <}{@link HpsMeasure }{@code >}
271     *
272     *
273     */
274    public List<Object> getEGRPrBase() {
275        if (egrPrBase == null) {
276            egrPrBase = new ArrayList<Object>();
277        }
278        return this.egrPrBase;
279    }
280
281    /**
282     * Gets the parent object in the object tree representing the unmarshalled xml document.
283     *
284     * @return
285     *     The parent object.
286     */
287    public Object getParent() {
288        return this.parent;
289    }
290
291    public void setParent(Object parent) {
292        this.parent = parent;
293    }
294
295    /**
296     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
297     *
298     * @param parent
299     *     The parent object in the object tree.
300     * @param unmarshaller
301     *     The unmarshaller that generated the instance.
302     */
303    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
304        setParent(parent);
305    }
306
307}
Note: See TracBrowser for help on using the repository browser.