source: trunk/docx4j/src/main/java/org/docx4j/math/CTBorderBoxPr.java @ 888

Revision 888, 7.9 KB checked in by jharrop, 3 years ago (diff)

Generate classes from shared-math.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.math;
23
24import javax.xml.bind.Unmarshaller;
25import javax.xml.bind.annotation.XmlAccessType;
26import javax.xml.bind.annotation.XmlAccessorType;
27import javax.xml.bind.annotation.XmlTransient;
28import javax.xml.bind.annotation.XmlType;
29import org.jvnet.jaxb2_commons.ppp.Child;
30
31
32/**
33 * <p>Java class for CT_BorderBoxPr complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType name="CT_BorderBoxPr">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;element name="hideTop" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
43 *         &lt;element name="hideBot" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
44 *         &lt;element name="hideLeft" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
45 *         &lt;element name="hideRight" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
46 *         &lt;element name="strikeH" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
47 *         &lt;element name="strikeV" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
48 *         &lt;element name="strikeBLTR" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
49 *         &lt;element name="strikeTLBR" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
50 *         &lt;element name="ctrlPr" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_CtrlPr" minOccurs="0"/>
51 *       &lt;/sequence>
52 *     &lt;/restriction>
53 *   &lt;/complexContent>
54 * &lt;/complexType>
55 * </pre>
56 *
57 *
58 */
59@XmlAccessorType(XmlAccessType.FIELD)
60@XmlType(name = "CT_BorderBoxPr", propOrder = {
61    "hideTop",
62    "hideBot",
63    "hideLeft",
64    "hideRight",
65    "strikeH",
66    "strikeV",
67    "strikeBLTR",
68    "strikeTLBR",
69    "ctrlPr"
70})
71public class CTBorderBoxPr
72    implements Child
73{
74
75    protected CTOnOff hideTop;
76    protected CTOnOff hideBot;
77    protected CTOnOff hideLeft;
78    protected CTOnOff hideRight;
79    protected CTOnOff strikeH;
80    protected CTOnOff strikeV;
81    protected CTOnOff strikeBLTR;
82    protected CTOnOff strikeTLBR;
83    protected CTCtrlPr ctrlPr;
84    @XmlTransient
85    private Object parent;
86
87    /**
88     * Gets the value of the hideTop property.
89     *
90     * @return
91     *     possible object is
92     *     {@link CTOnOff }
93     *     
94     */
95    public CTOnOff getHideTop() {
96        return hideTop;
97    }
98
99    /**
100     * Sets the value of the hideTop property.
101     *
102     * @param value
103     *     allowed object is
104     *     {@link CTOnOff }
105     *     
106     */
107    public void setHideTop(CTOnOff value) {
108        this.hideTop = value;
109    }
110
111    /**
112     * Gets the value of the hideBot property.
113     *
114     * @return
115     *     possible object is
116     *     {@link CTOnOff }
117     *     
118     */
119    public CTOnOff getHideBot() {
120        return hideBot;
121    }
122
123    /**
124     * Sets the value of the hideBot property.
125     *
126     * @param value
127     *     allowed object is
128     *     {@link CTOnOff }
129     *     
130     */
131    public void setHideBot(CTOnOff value) {
132        this.hideBot = value;
133    }
134
135    /**
136     * Gets the value of the hideLeft property.
137     *
138     * @return
139     *     possible object is
140     *     {@link CTOnOff }
141     *     
142     */
143    public CTOnOff getHideLeft() {
144        return hideLeft;
145    }
146
147    /**
148     * Sets the value of the hideLeft property.
149     *
150     * @param value
151     *     allowed object is
152     *     {@link CTOnOff }
153     *     
154     */
155    public void setHideLeft(CTOnOff value) {
156        this.hideLeft = value;
157    }
158
159    /**
160     * Gets the value of the hideRight property.
161     *
162     * @return
163     *     possible object is
164     *     {@link CTOnOff }
165     *     
166     */
167    public CTOnOff getHideRight() {
168        return hideRight;
169    }
170
171    /**
172     * Sets the value of the hideRight property.
173     *
174     * @param value
175     *     allowed object is
176     *     {@link CTOnOff }
177     *     
178     */
179    public void setHideRight(CTOnOff value) {
180        this.hideRight = value;
181    }
182
183    /**
184     * Gets the value of the strikeH property.
185     *
186     * @return
187     *     possible object is
188     *     {@link CTOnOff }
189     *     
190     */
191    public CTOnOff getStrikeH() {
192        return strikeH;
193    }
194
195    /**
196     * Sets the value of the strikeH property.
197     *
198     * @param value
199     *     allowed object is
200     *     {@link CTOnOff }
201     *     
202     */
203    public void setStrikeH(CTOnOff value) {
204        this.strikeH = value;
205    }
206
207    /**
208     * Gets the value of the strikeV property.
209     *
210     * @return
211     *     possible object is
212     *     {@link CTOnOff }
213     *     
214     */
215    public CTOnOff getStrikeV() {
216        return strikeV;
217    }
218
219    /**
220     * Sets the value of the strikeV property.
221     *
222     * @param value
223     *     allowed object is
224     *     {@link CTOnOff }
225     *     
226     */
227    public void setStrikeV(CTOnOff value) {
228        this.strikeV = value;
229    }
230
231    /**
232     * Gets the value of the strikeBLTR property.
233     *
234     * @return
235     *     possible object is
236     *     {@link CTOnOff }
237     *     
238     */
239    public CTOnOff getStrikeBLTR() {
240        return strikeBLTR;
241    }
242
243    /**
244     * Sets the value of the strikeBLTR property.
245     *
246     * @param value
247     *     allowed object is
248     *     {@link CTOnOff }
249     *     
250     */
251    public void setStrikeBLTR(CTOnOff value) {
252        this.strikeBLTR = value;
253    }
254
255    /**
256     * Gets the value of the strikeTLBR property.
257     *
258     * @return
259     *     possible object is
260     *     {@link CTOnOff }
261     *     
262     */
263    public CTOnOff getStrikeTLBR() {
264        return strikeTLBR;
265    }
266
267    /**
268     * Sets the value of the strikeTLBR property.
269     *
270     * @param value
271     *     allowed object is
272     *     {@link CTOnOff }
273     *     
274     */
275    public void setStrikeTLBR(CTOnOff value) {
276        this.strikeTLBR = value;
277    }
278
279    /**
280     * Gets the value of the ctrlPr property.
281     *
282     * @return
283     *     possible object is
284     *     {@link CTCtrlPr }
285     *     
286     */
287    public CTCtrlPr getCtrlPr() {
288        return ctrlPr;
289    }
290
291    /**
292     * Sets the value of the ctrlPr property.
293     *
294     * @param value
295     *     allowed object is
296     *     {@link CTCtrlPr }
297     *     
298     */
299    public void setCtrlPr(CTCtrlPr value) {
300        this.ctrlPr = value;
301    }
302
303    /**
304     * Gets the parent object in the object tree representing the unmarshalled xml document.
305     *
306     * @return
307     *     The parent object.
308     */
309    public Object getParent() {
310        return this.parent;
311    }
312
313    public void setParent(Object parent) {
314        this.parent = parent;
315    }
316
317    /**
318     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
319     *
320     * @param parent
321     *     The parent object in the object tree.
322     * @param unmarshaller
323     *     The unmarshaller that generated the instance.
324     */
325    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
326        setParent(parent);
327    }
328
329}
Note: See TracBrowser for help on using the repository browser.