source: trunk/docx4j/src/main/java/org/docx4j/wml/TcPrInner.java @ 461

Revision 461, 30.0 KB checked in by jharrop, 4 years ago (diff)

Made table related JAXB classes human friendly.

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.math.BigInteger;
25import javax.xml.bind.Unmarshaller;
26import javax.xml.bind.annotation.XmlAccessType;
27import javax.xml.bind.annotation.XmlAccessorType;
28import javax.xml.bind.annotation.XmlAttribute;
29import javax.xml.bind.annotation.XmlElement;
30import javax.xml.bind.annotation.XmlTransient;
31import javax.xml.bind.annotation.XmlType;
32import org.jvnet.jaxb2_commons.ppp.Child;
33
34
35/**
36 * <p>Java class for CT_TcPrInner complex type.
37 *
38 * <p>The following schema fragment specifies the expected content contained within this class.
39 *
40 * <pre>
41 * &lt;complexType name="CT_TcPrInner">
42 *   &lt;complexContent>
43 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
44 *       &lt;sequence>
45 *         &lt;element name="cnfStyle" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Cnf" minOccurs="0"/>
46 *         &lt;element name="tcW" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
47 *         &lt;element name="gridSpan" minOccurs="0">
48 *           &lt;complexType>
49 *             &lt;complexContent>
50 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 *                 &lt;attribute name="val" use="required">
52 *                   &lt;simpleType>
53 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
54 *                     &lt;/restriction>
55 *                   &lt;/simpleType>
56 *                 &lt;/attribute>
57 *               &lt;/restriction>
58 *             &lt;/complexContent>
59 *           &lt;/complexType>
60 *         &lt;/element>
61 *         &lt;element name="hMerge" minOccurs="0">
62 *           &lt;complexType>
63 *             &lt;complexContent>
64 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
65 *                 &lt;attribute name="val">
66 *                   &lt;simpleType>
67 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
68 *                       &lt;enumeration value="continue"/>
69 *                       &lt;enumeration value="restart"/>
70 *                     &lt;/restriction>
71 *                   &lt;/simpleType>
72 *                 &lt;/attribute>
73 *               &lt;/restriction>
74 *             &lt;/complexContent>
75 *           &lt;/complexType>
76 *         &lt;/element>
77 *         &lt;element name="vMerge" minOccurs="0">
78 *           &lt;complexType>
79 *             &lt;complexContent>
80 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
81 *                 &lt;attribute name="val">
82 *                   &lt;simpleType>
83 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
84 *                       &lt;enumeration value="continue"/>
85 *                       &lt;enumeration value="restart"/>
86 *                     &lt;/restriction>
87 *                   &lt;/simpleType>
88 *                 &lt;/attribute>
89 *               &lt;/restriction>
90 *             &lt;/complexContent>
91 *           &lt;/complexType>
92 *         &lt;/element>
93 *         &lt;element name="tcBorders" minOccurs="0">
94 *           &lt;complexType>
95 *             &lt;complexContent>
96 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
97 *                 &lt;sequence>
98 *                   &lt;element name="top" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
99 *                   &lt;element name="left" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
100 *                   &lt;element name="bottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
101 *                   &lt;element name="right" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
102 *                   &lt;element name="insideH" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
103 *                   &lt;element name="insideV" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
104 *                   &lt;element name="tl2br" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
105 *                   &lt;element name="tr2bl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
106 *                 &lt;/sequence>
107 *               &lt;/restriction>
108 *             &lt;/complexContent>
109 *           &lt;/complexType>
110 *         &lt;/element>
111 *         &lt;element name="shd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Shd" minOccurs="0"/>
112 *         &lt;element name="noWrap" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
113 *         &lt;element name="tcMar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TcMar" minOccurs="0"/>
114 *         &lt;element name="textDirection" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TextDirection" minOccurs="0"/>
115 *         &lt;element name="tcFitText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
116 *         &lt;element name="vAlign" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_VerticalJc" minOccurs="0"/>
117 *         &lt;element name="hideMark" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
118 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_CellMarkupElements" minOccurs="0"/>
119 *       &lt;/sequence>
120 *     &lt;/restriction>
121 *   &lt;/complexContent>
122 * &lt;/complexType>
123 * </pre>
124 *
125 *
126 */
127@XmlAccessorType(XmlAccessType.FIELD)
128@XmlType(name = "CT_TcPrInner", propOrder = {
129    "cnfStyle",
130    "tcW",
131    "gridSpan",
132    "hMerge",
133    "vMerge",
134    "tcBorders",
135    "shd",
136    "noWrap",
137    "tcMar",
138    "textDirection",
139    "tcFitText",
140    "vAlign",
141    "hideMark",
142    "cellIns",
143    "cellDel",
144    "cellMerge"
145})
146public class TcPrInner
147    implements Child
148{
149
150    protected CTCnf cnfStyle;
151    protected TblWidth tcW;
152    protected TcPrInner.GridSpan gridSpan;
153    protected TcPrInner.HMerge hMerge;
154    protected TcPrInner.VMerge vMerge;
155    protected TcPrInner.TcBorders tcBorders;
156    protected CTShd shd;
157    protected BooleanDefaultTrue noWrap;
158    protected TcMar tcMar;
159    protected TextDirection textDirection;
160    protected BooleanDefaultTrue tcFitText;
161    protected CTVerticalJc vAlign;
162    protected BooleanDefaultTrue hideMark;
163    protected CTTrackChange cellIns;
164    protected CTTrackChange cellDel;
165    protected CTCellMergeTrackChange cellMerge;
166    @XmlTransient
167    private Object parent;
168
169    /**
170     * Gets the value of the cnfStyle property.
171     *
172     * @return
173     *     possible object is
174     *     {@link CTCnf }
175     *     
176     */
177    public CTCnf getCnfStyle() {
178        return cnfStyle;
179    }
180
181    /**
182     * Sets the value of the cnfStyle property.
183     *
184     * @param value
185     *     allowed object is
186     *     {@link CTCnf }
187     *     
188     */
189    public void setCnfStyle(CTCnf value) {
190        this.cnfStyle = value;
191    }
192
193    /**
194     * Gets the value of the tcW property.
195     *
196     * @return
197     *     possible object is
198     *     {@link TblWidth }
199     *     
200     */
201    public TblWidth getTcW() {
202        return tcW;
203    }
204
205    /**
206     * Sets the value of the tcW property.
207     *
208     * @param value
209     *     allowed object is
210     *     {@link TblWidth }
211     *     
212     */
213    public void setTcW(TblWidth value) {
214        this.tcW = value;
215    }
216
217    /**
218     * Gets the value of the gridSpan property.
219     *
220     * @return
221     *     possible object is
222     *     {@link TcPrInner.GridSpan }
223     *     
224     */
225    public TcPrInner.GridSpan getGridSpan() {
226        return gridSpan;
227    }
228
229    /**
230     * Sets the value of the gridSpan property.
231     *
232     * @param value
233     *     allowed object is
234     *     {@link TcPrInner.GridSpan }
235     *     
236     */
237    public void setGridSpan(TcPrInner.GridSpan value) {
238        this.gridSpan = value;
239    }
240
241    /**
242     * Gets the value of the hMerge property.
243     *
244     * @return
245     *     possible object is
246     *     {@link TcPrInner.HMerge }
247     *     
248     */
249    public TcPrInner.HMerge getHMerge() {
250        return hMerge;
251    }
252
253    /**
254     * Sets the value of the hMerge property.
255     *
256     * @param value
257     *     allowed object is
258     *     {@link TcPrInner.HMerge }
259     *     
260     */
261    public void setHMerge(TcPrInner.HMerge value) {
262        this.hMerge = value;
263    }
264
265    /**
266     * Gets the value of the vMerge property.
267     *
268     * @return
269     *     possible object is
270     *     {@link TcPrInner.VMerge }
271     *     
272     */
273    public TcPrInner.VMerge getVMerge() {
274        return vMerge;
275    }
276
277    /**
278     * Sets the value of the vMerge property.
279     *
280     * @param value
281     *     allowed object is
282     *     {@link TcPrInner.VMerge }
283     *     
284     */
285    public void setVMerge(TcPrInner.VMerge value) {
286        this.vMerge = value;
287    }
288
289    /**
290     * Gets the value of the tcBorders property.
291     *
292     * @return
293     *     possible object is
294     *     {@link TcPrInner.TcBorders }
295     *     
296     */
297    public TcPrInner.TcBorders getTcBorders() {
298        return tcBorders;
299    }
300
301    /**
302     * Sets the value of the tcBorders property.
303     *
304     * @param value
305     *     allowed object is
306     *     {@link TcPrInner.TcBorders }
307     *     
308     */
309    public void setTcBorders(TcPrInner.TcBorders value) {
310        this.tcBorders = value;
311    }
312
313    /**
314     * Gets the value of the shd property.
315     *
316     * @return
317     *     possible object is
318     *     {@link CTShd }
319     *     
320     */
321    public CTShd getShd() {
322        return shd;
323    }
324
325    /**
326     * Sets the value of the shd property.
327     *
328     * @param value
329     *     allowed object is
330     *     {@link CTShd }
331     *     
332     */
333    public void setShd(CTShd value) {
334        this.shd = value;
335    }
336
337    /**
338     * Gets the value of the noWrap property.
339     *
340     * @return
341     *     possible object is
342     *     {@link BooleanDefaultTrue }
343     *     
344     */
345    public BooleanDefaultTrue getNoWrap() {
346        return noWrap;
347    }
348
349    /**
350     * Sets the value of the noWrap property.
351     *
352     * @param value
353     *     allowed object is
354     *     {@link BooleanDefaultTrue }
355     *     
356     */
357    public void setNoWrap(BooleanDefaultTrue value) {
358        this.noWrap = value;
359    }
360
361    /**
362     * Gets the value of the tcMar property.
363     *
364     * @return
365     *     possible object is
366     *     {@link TcMar }
367     *     
368     */
369    public TcMar getTcMar() {
370        return tcMar;
371    }
372
373    /**
374     * Sets the value of the tcMar property.
375     *
376     * @param value
377     *     allowed object is
378     *     {@link TcMar }
379     *     
380     */
381    public void setTcMar(TcMar value) {
382        this.tcMar = value;
383    }
384
385    /**
386     * Gets the value of the textDirection property.
387     *
388     * @return
389     *     possible object is
390     *     {@link TextDirection }
391     *     
392     */
393    public TextDirection getTextDirection() {
394        return textDirection;
395    }
396
397    /**
398     * Sets the value of the textDirection property.
399     *
400     * @param value
401     *     allowed object is
402     *     {@link TextDirection }
403     *     
404     */
405    public void setTextDirection(TextDirection value) {
406        this.textDirection = value;
407    }
408
409    /**
410     * Gets the value of the tcFitText property.
411     *
412     * @return
413     *     possible object is
414     *     {@link BooleanDefaultTrue }
415     *     
416     */
417    public BooleanDefaultTrue getTcFitText() {
418        return tcFitText;
419    }
420
421    /**
422     * Sets the value of the tcFitText property.
423     *
424     * @param value
425     *     allowed object is
426     *     {@link BooleanDefaultTrue }
427     *     
428     */
429    public void setTcFitText(BooleanDefaultTrue value) {
430        this.tcFitText = value;
431    }
432
433    /**
434     * Gets the value of the vAlign property.
435     *
436     * @return
437     *     possible object is
438     *     {@link CTVerticalJc }
439     *     
440     */
441    public CTVerticalJc getVAlign() {
442        return vAlign;
443    }
444
445    /**
446     * Sets the value of the vAlign property.
447     *
448     * @param value
449     *     allowed object is
450     *     {@link CTVerticalJc }
451     *     
452     */
453    public void setVAlign(CTVerticalJc value) {
454        this.vAlign = value;
455    }
456
457    /**
458     * Gets the value of the hideMark property.
459     *
460     * @return
461     *     possible object is
462     *     {@link BooleanDefaultTrue }
463     *     
464     */
465    public BooleanDefaultTrue getHideMark() {
466        return hideMark;
467    }
468
469    /**
470     * Sets the value of the hideMark property.
471     *
472     * @param value
473     *     allowed object is
474     *     {@link BooleanDefaultTrue }
475     *     
476     */
477    public void setHideMark(BooleanDefaultTrue value) {
478        this.hideMark = value;
479    }
480
481    /**
482     * Gets the value of the cellIns property.
483     *
484     * @return
485     *     possible object is
486     *     {@link CTTrackChange }
487     *     
488     */
489    public CTTrackChange getCellIns() {
490        return cellIns;
491    }
492
493    /**
494     * Sets the value of the cellIns property.
495     *
496     * @param value
497     *     allowed object is
498     *     {@link CTTrackChange }
499     *     
500     */
501    public void setCellIns(CTTrackChange value) {
502        this.cellIns = value;
503    }
504
505    /**
506     * Gets the value of the cellDel property.
507     *
508     * @return
509     *     possible object is
510     *     {@link CTTrackChange }
511     *     
512     */
513    public CTTrackChange getCellDel() {
514        return cellDel;
515    }
516
517    /**
518     * Sets the value of the cellDel property.
519     *
520     * @param value
521     *     allowed object is
522     *     {@link CTTrackChange }
523     *     
524     */
525    public void setCellDel(CTTrackChange value) {
526        this.cellDel = value;
527    }
528
529    /**
530     * Gets the value of the cellMerge property.
531     *
532     * @return
533     *     possible object is
534     *     {@link CTCellMergeTrackChange }
535     *     
536     */
537    public CTCellMergeTrackChange getCellMerge() {
538        return cellMerge;
539    }
540
541    /**
542     * Sets the value of the cellMerge property.
543     *
544     * @param value
545     *     allowed object is
546     *     {@link CTCellMergeTrackChange }
547     *     
548     */
549    public void setCellMerge(CTCellMergeTrackChange value) {
550        this.cellMerge = value;
551    }
552
553    /**
554     * Gets the parent object in the object tree representing the unmarshalled xml document.
555     *
556     * @return
557     *     The parent object.
558     */
559    public Object getParent() {
560        return this.parent;
561    }
562
563    public void setParent(Object parent) {
564        this.parent = parent;
565    }
566
567    /**
568     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
569     *
570     * @param parent
571     *     The parent object in the object tree.
572     * @param unmarshaller
573     *     The unmarshaller that generated the instance.
574     */
575    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
576        setParent(parent);
577    }
578
579
580    /**
581     * <p>Java class for anonymous complex type.
582     *
583     * <p>The following schema fragment specifies the expected content contained within this class.
584     *
585     * <pre>
586     * &lt;complexType>
587     *   &lt;complexContent>
588     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
589     *       &lt;attribute name="val" use="required">
590     *         &lt;simpleType>
591     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
592     *           &lt;/restriction>
593     *         &lt;/simpleType>
594     *       &lt;/attribute>
595     *     &lt;/restriction>
596     *   &lt;/complexContent>
597     * &lt;/complexType>
598     * </pre>
599     *
600     *
601     */
602    @XmlAccessorType(XmlAccessType.FIELD)
603    @XmlType(name = "")
604    public static class GridSpan
605        implements Child
606    {
607
608        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
609        protected BigInteger val;
610        @XmlTransient
611        private Object parent;
612
613        /**
614         * Gets the value of the val property.
615         *
616         * @return
617         *     possible object is
618         *     {@link BigInteger }
619         *     
620         */
621        public BigInteger getVal() {
622            return val;
623        }
624
625        /**
626         * Sets the value of the val property.
627         *
628         * @param value
629         *     allowed object is
630         *     {@link BigInteger }
631         *     
632         */
633        public void setVal(BigInteger value) {
634            this.val = value;
635        }
636
637        /**
638         * Gets the parent object in the object tree representing the unmarshalled xml document.
639         *
640         * @return
641         *     The parent object.
642         */
643        public Object getParent() {
644            return this.parent;
645        }
646
647        public void setParent(Object parent) {
648            this.parent = parent;
649        }
650
651        /**
652         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
653         *
654         * @param parent
655         *     The parent object in the object tree.
656         * @param unmarshaller
657         *     The unmarshaller that generated the instance.
658         */
659        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
660            setParent(parent);
661        }
662
663    }
664
665
666    /**
667     * <p>Java class for anonymous complex type.
668     *
669     * <p>The following schema fragment specifies the expected content contained within this class.
670     *
671     * <pre>
672     * &lt;complexType>
673     *   &lt;complexContent>
674     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
675     *       &lt;attribute name="val">
676     *         &lt;simpleType>
677     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
678     *             &lt;enumeration value="continue"/>
679     *             &lt;enumeration value="restart"/>
680     *           &lt;/restriction>
681     *         &lt;/simpleType>
682     *       &lt;/attribute>
683     *     &lt;/restriction>
684     *   &lt;/complexContent>
685     * &lt;/complexType>
686     * </pre>
687     *
688     *
689     */
690    @XmlAccessorType(XmlAccessType.FIELD)
691    @XmlType(name = "")
692    public static class HMerge
693        implements Child
694    {
695
696        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
697        protected String val;
698        @XmlTransient
699        private Object parent;
700
701        /**
702         * Gets the value of the val property.
703         *
704         * @return
705         *     possible object is
706         *     {@link String }
707         *     
708         */
709        public String getVal() {
710            return val;
711        }
712
713        /**
714         * Sets the value of the val property.
715         *
716         * @param value
717         *     allowed object is
718         *     {@link String }
719         *     
720         */
721        public void setVal(String value) {
722            this.val = value;
723        }
724
725        /**
726         * Gets the parent object in the object tree representing the unmarshalled xml document.
727         *
728         * @return
729         *     The parent object.
730         */
731        public Object getParent() {
732            return this.parent;
733        }
734
735        public void setParent(Object parent) {
736            this.parent = parent;
737        }
738
739        /**
740         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
741         *
742         * @param parent
743         *     The parent object in the object tree.
744         * @param unmarshaller
745         *     The unmarshaller that generated the instance.
746         */
747        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
748            setParent(parent);
749        }
750
751    }
752
753
754    /**
755     * <p>Java class for anonymous complex type.
756     *
757     * <p>The following schema fragment specifies the expected content contained within this class.
758     *
759     * <pre>
760     * &lt;complexType>
761     *   &lt;complexContent>
762     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
763     *       &lt;sequence>
764     *         &lt;element name="top" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
765     *         &lt;element name="left" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
766     *         &lt;element name="bottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
767     *         &lt;element name="right" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
768     *         &lt;element name="insideH" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
769     *         &lt;element name="insideV" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
770     *         &lt;element name="tl2br" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
771     *         &lt;element name="tr2bl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
772     *       &lt;/sequence>
773     *     &lt;/restriction>
774     *   &lt;/complexContent>
775     * &lt;/complexType>
776     * </pre>
777     *
778     *
779     */
780    @XmlAccessorType(XmlAccessType.FIELD)
781    @XmlType(name = "", propOrder = {
782        "top",
783        "left",
784        "bottom",
785        "right",
786        "insideH",
787        "insideV",
788        "tl2Br",
789        "tr2Bl"
790    })
791    public static class TcBorders
792        implements Child
793    {
794
795        protected CTBorder top;
796        protected CTBorder left;
797        protected CTBorder bottom;
798        protected CTBorder right;
799        protected CTBorder insideH;
800        protected CTBorder insideV;
801        @XmlElement(name = "tl2br")
802        protected CTBorder tl2Br;
803        @XmlElement(name = "tr2bl")
804        protected CTBorder tr2Bl;
805        @XmlTransient
806        private Object parent;
807
808        /**
809         * Gets the value of the top property.
810         *
811         * @return
812         *     possible object is
813         *     {@link CTBorder }
814         *     
815         */
816        public CTBorder getTop() {
817            return top;
818        }
819
820        /**
821         * Sets the value of the top property.
822         *
823         * @param value
824         *     allowed object is
825         *     {@link CTBorder }
826         *     
827         */
828        public void setTop(CTBorder value) {
829            this.top = value;
830        }
831
832        /**
833         * Gets the value of the left property.
834         *
835         * @return
836         *     possible object is
837         *     {@link CTBorder }
838         *     
839         */
840        public CTBorder getLeft() {
841            return left;
842        }
843
844        /**
845         * Sets the value of the left property.
846         *
847         * @param value
848         *     allowed object is
849         *     {@link CTBorder }
850         *     
851         */
852        public void setLeft(CTBorder value) {
853            this.left = value;
854        }
855
856        /**
857         * Gets the value of the bottom property.
858         *
859         * @return
860         *     possible object is
861         *     {@link CTBorder }
862         *     
863         */
864        public CTBorder getBottom() {
865            return bottom;
866        }
867
868        /**
869         * Sets the value of the bottom property.
870         *
871         * @param value
872         *     allowed object is
873         *     {@link CTBorder }
874         *     
875         */
876        public void setBottom(CTBorder value) {
877            this.bottom = value;
878        }
879
880        /**
881         * Gets the value of the right property.
882         *
883         * @return
884         *     possible object is
885         *     {@link CTBorder }
886         *     
887         */
888        public CTBorder getRight() {
889            return right;
890        }
891
892        /**
893         * Sets the value of the right property.
894         *
895         * @param value
896         *     allowed object is
897         *     {@link CTBorder }
898         *     
899         */
900        public void setRight(CTBorder value) {
901            this.right = value;
902        }
903
904        /**
905         * Gets the value of the insideH property.
906         *
907         * @return
908         *     possible object is
909         *     {@link CTBorder }
910         *     
911         */
912        public CTBorder getInsideH() {
913            return insideH;
914        }
915
916        /**
917         * Sets the value of the insideH property.
918         *
919         * @param value
920         *     allowed object is
921         *     {@link CTBorder }
922         *     
923         */
924        public void setInsideH(CTBorder value) {
925            this.insideH = value;
926        }
927
928        /**
929         * Gets the value of the insideV property.
930         *
931         * @return
932         *     possible object is
933         *     {@link CTBorder }
934         *     
935         */
936        public CTBorder getInsideV() {
937            return insideV;
938        }
939
940        /**
941         * Sets the value of the insideV property.
942         *
943         * @param value
944         *     allowed object is
945         *     {@link CTBorder }
946         *     
947         */
948        public void setInsideV(CTBorder value) {
949            this.insideV = value;
950        }
951
952        /**
953         * Gets the value of the tl2Br property.
954         *
955         * @return
956         *     possible object is
957         *     {@link CTBorder }
958         *     
959         */
960        public CTBorder getTl2Br() {
961            return tl2Br;
962        }
963
964        /**
965         * Sets the value of the tl2Br property.
966         *
967         * @param value
968         *     allowed object is
969         *     {@link CTBorder }
970         *     
971         */
972        public void setTl2Br(CTBorder value) {
973            this.tl2Br = value;
974        }
975
976        /**
977         * Gets the value of the tr2Bl property.
978         *
979         * @return
980         *     possible object is
981         *     {@link CTBorder }
982         *     
983         */
984        public CTBorder getTr2Bl() {
985            return tr2Bl;
986        }
987
988        /**
989         * Sets the value of the tr2Bl property.
990         *
991         * @param value
992         *     allowed object is
993         *     {@link CTBorder }
994         *     
995         */
996        public void setTr2Bl(CTBorder value) {
997            this.tr2Bl = value;
998        }
999
1000        /**
1001         * Gets the parent object in the object tree representing the unmarshalled xml document.
1002         *
1003         * @return
1004         *     The parent object.
1005         */
1006        public Object getParent() {
1007            return this.parent;
1008        }
1009
1010        public void setParent(Object parent) {
1011            this.parent = parent;
1012        }
1013
1014        /**
1015         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1016         *
1017         * @param parent
1018         *     The parent object in the object tree.
1019         * @param unmarshaller
1020         *     The unmarshaller that generated the instance.
1021         */
1022        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1023            setParent(parent);
1024        }
1025
1026    }
1027
1028
1029    /**
1030     * <p>Java class for anonymous complex type.
1031     *
1032     * <p>The following schema fragment specifies the expected content contained within this class.
1033     *
1034     * <pre>
1035     * &lt;complexType>
1036     *   &lt;complexContent>
1037     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1038     *       &lt;attribute name="val">
1039     *         &lt;simpleType>
1040     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
1041     *             &lt;enumeration value="continue"/>
1042     *             &lt;enumeration value="restart"/>
1043     *           &lt;/restriction>
1044     *         &lt;/simpleType>
1045     *       &lt;/attribute>
1046     *     &lt;/restriction>
1047     *   &lt;/complexContent>
1048     * &lt;/complexType>
1049     * </pre>
1050     *
1051     *
1052     */
1053    @XmlAccessorType(XmlAccessType.FIELD)
1054    @XmlType(name = "")
1055    public static class VMerge
1056        implements Child
1057    {
1058
1059        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1060        protected String val;
1061        @XmlTransient
1062        private Object parent;
1063
1064        /**
1065         * Gets the value of the val property.
1066         *
1067         * @return
1068         *     possible object is
1069         *     {@link String }
1070         *     
1071         */
1072        public String getVal() {
1073            return val;
1074        }
1075
1076        /**
1077         * Sets the value of the val property.
1078         *
1079         * @param value
1080         *     allowed object is
1081         *     {@link String }
1082         *     
1083         */
1084        public void setVal(String value) {
1085            this.val = value;
1086        }
1087
1088        /**
1089         * Gets the parent object in the object tree representing the unmarshalled xml document.
1090         *
1091         * @return
1092         *     The parent object.
1093         */
1094        public Object getParent() {
1095            return this.parent;
1096        }
1097
1098        public void setParent(Object parent) {
1099            this.parent = parent;
1100        }
1101
1102        /**
1103         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1104         *
1105         * @param parent
1106         *     The parent object in the object tree.
1107         * @param unmarshaller
1108         *     The unmarshaller that generated the instance.
1109         */
1110        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1111            setParent(parent);
1112        }
1113
1114    }
1115
1116}
Note: See TracBrowser for help on using the repository browser.