source: trunk/docx4j/src/main/java/org/docx4j/wml/SectPr.java @ 888

Revision 888, 38.2 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.wml;
23
24import java.math.BigInteger;
25import java.util.ArrayList;
26import java.util.List;
27import javax.xml.bind.JAXBElement;
28import javax.xml.bind.Unmarshaller;
29import javax.xml.bind.annotation.XmlAccessType;
30import javax.xml.bind.annotation.XmlAccessorType;
31import javax.xml.bind.annotation.XmlAttribute;
32import javax.xml.bind.annotation.XmlElement;
33import javax.xml.bind.annotation.XmlElements;
34import javax.xml.bind.annotation.XmlRootElement;
35import javax.xml.bind.annotation.XmlTransient;
36import javax.xml.bind.annotation.XmlType;
37import org.jvnet.jaxb2_commons.ppp.Child;
38
39
40/**
41 * <p>Java class for CT_SectPr complex type.
42 *
43 * <p>The following schema fragment specifies the expected content contained within this class.
44 *
45 * <pre>
46 * &lt;complexType name="CT_SectPr">
47 *   &lt;complexContent>
48 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49 *       &lt;sequence>
50 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_HdrFtrReferences" maxOccurs="6" minOccurs="0"/>
51 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_SectPrContents" minOccurs="0"/>
52 *         &lt;element name="sectPrChange" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SectPrChange" minOccurs="0"/>
53 *       &lt;/sequence>
54 *       &lt;attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}AG_SectPrAttributes"/>
55 *     &lt;/restriction>
56 *   &lt;/complexContent>
57 * &lt;/complexType>
58 * </pre>
59 *
60 *
61 */
62@XmlAccessorType(XmlAccessType.FIELD)
63@XmlType(name = "CT_SectPr", propOrder = {
64    "egHdrFtrReferences",
65    "footnotePr",
66    "endnotePr",
67    "type",
68    "pgSz",
69    "pgMar",
70    "paperSrc",
71    "pgBorders",
72    "lnNumType",
73    "pgNumType",
74    "cols",
75    "formProt",
76    "vAlign",
77    "noEndnote",
78    "titlePg",
79    "textDirection",
80    "bidi",
81    "rtlGutter",
82    "docGrid",
83    "printerSettings",
84    "sectPrChange"
85})
86@XmlRootElement(name = "sectPr")
87public class SectPr
88    implements Child
89{
90
91    @XmlElements({
92        @XmlElement(name = "headerReference", type = HeaderReference.class),
93        @XmlElement(name = "footerReference", type = FooterReference.class)
94    })
95    protected List<CTRel> egHdrFtrReferences;
96    protected CTFtnProps footnotePr;
97    protected CTEdnProps endnotePr;
98    protected SectPr.Type type;
99    protected SectPr.PgSz pgSz;
100    protected SectPr.PgMar pgMar;
101    protected CTPaperSource paperSrc;
102    protected SectPr.PgBorders pgBorders;
103    protected CTLineNumber lnNumType;
104    protected CTPageNumber pgNumType;
105    protected CTColumns cols;
106    protected BooleanDefaultTrue formProt;
107    protected CTVerticalJc vAlign;
108    protected BooleanDefaultTrue noEndnote;
109    protected BooleanDefaultTrue titlePg;
110    protected TextDirection textDirection;
111    protected BooleanDefaultTrue bidi;
112    protected BooleanDefaultTrue rtlGutter;
113    protected CTDocGrid docGrid;
114    protected CTRel printerSettings;
115    protected CTSectPrChange sectPrChange;
116    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
117    protected String rsidRPr;
118    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
119    protected String rsidDel;
120    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
121    protected String rsidR;
122    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
123    protected String rsidSect;
124    @XmlTransient
125    private Object parent;
126
127    /**
128     * Gets the value of the egHdrFtrReferences property.
129     *
130     * <p>
131     * This accessor method returns a reference to the live list,
132     * not a snapshot. Therefore any modification you make to the
133     * returned list will be present inside the JAXB object.
134     * This is why there is not a <CODE>set</CODE> method for the egHdrFtrReferences property.
135     *
136     * <p>
137     * For example, to add a new item, do as follows:
138     * <pre>
139     *    getEGHdrFtrReferences().add(newItem);
140     * </pre>
141     *
142     *
143     * <p>
144     * Objects of the following type(s) are allowed in the list
145     * {@link HeaderReference }
146     * {@link FooterReference }
147     *
148     *
149     */
150    public List<CTRel> getEGHdrFtrReferences() {
151        if (egHdrFtrReferences == null) {
152            egHdrFtrReferences = new ArrayList<CTRel>();
153        }
154        return this.egHdrFtrReferences;
155    }
156
157    /**
158     * Gets the value of the footnotePr property.
159     *
160     * @return
161     *     possible object is
162     *     {@link CTFtnProps }
163     *     
164     */
165    public CTFtnProps getFootnotePr() {
166        return footnotePr;
167    }
168
169    /**
170     * Sets the value of the footnotePr property.
171     *
172     * @param value
173     *     allowed object is
174     *     {@link CTFtnProps }
175     *     
176     */
177    public void setFootnotePr(CTFtnProps value) {
178        this.footnotePr = value;
179    }
180
181    /**
182     * Gets the value of the endnotePr property.
183     *
184     * @return
185     *     possible object is
186     *     {@link CTEdnProps }
187     *     
188     */
189    public CTEdnProps getEndnotePr() {
190        return endnotePr;
191    }
192
193    /**
194     * Sets the value of the endnotePr property.
195     *
196     * @param value
197     *     allowed object is
198     *     {@link CTEdnProps }
199     *     
200     */
201    public void setEndnotePr(CTEdnProps value) {
202        this.endnotePr = value;
203    }
204
205    /**
206     * Gets the value of the type property.
207     *
208     * @return
209     *     possible object is
210     *     {@link SectPr.Type }
211     *     
212     */
213    public SectPr.Type getType() {
214        return type;
215    }
216
217    /**
218     * Sets the value of the type property.
219     *
220     * @param value
221     *     allowed object is
222     *     {@link SectPr.Type }
223     *     
224     */
225    public void setType(SectPr.Type value) {
226        this.type = value;
227    }
228
229    /**
230     * Gets the value of the pgSz property.
231     *
232     * @return
233     *     possible object is
234     *     {@link SectPr.PgSz }
235     *     
236     */
237    public SectPr.PgSz getPgSz() {
238        return pgSz;
239    }
240
241    /**
242     * Sets the value of the pgSz property.
243     *
244     * @param value
245     *     allowed object is
246     *     {@link SectPr.PgSz }
247     *     
248     */
249    public void setPgSz(SectPr.PgSz value) {
250        this.pgSz = value;
251    }
252
253    /**
254     * Gets the value of the pgMar property.
255     *
256     * @return
257     *     possible object is
258     *     {@link SectPr.PgMar }
259     *     
260     */
261    public SectPr.PgMar getPgMar() {
262        return pgMar;
263    }
264
265    /**
266     * Sets the value of the pgMar property.
267     *
268     * @param value
269     *     allowed object is
270     *     {@link SectPr.PgMar }
271     *     
272     */
273    public void setPgMar(SectPr.PgMar value) {
274        this.pgMar = value;
275    }
276
277    /**
278     * Gets the value of the paperSrc property.
279     *
280     * @return
281     *     possible object is
282     *     {@link CTPaperSource }
283     *     
284     */
285    public CTPaperSource getPaperSrc() {
286        return paperSrc;
287    }
288
289    /**
290     * Sets the value of the paperSrc property.
291     *
292     * @param value
293     *     allowed object is
294     *     {@link CTPaperSource }
295     *     
296     */
297    public void setPaperSrc(CTPaperSource value) {
298        this.paperSrc = value;
299    }
300
301    /**
302     * Gets the value of the pgBorders property.
303     *
304     * @return
305     *     possible object is
306     *     {@link SectPr.PgBorders }
307     *     
308     */
309    public SectPr.PgBorders getPgBorders() {
310        return pgBorders;
311    }
312
313    /**
314     * Sets the value of the pgBorders property.
315     *
316     * @param value
317     *     allowed object is
318     *     {@link SectPr.PgBorders }
319     *     
320     */
321    public void setPgBorders(SectPr.PgBorders value) {
322        this.pgBorders = value;
323    }
324
325    /**
326     * Gets the value of the lnNumType property.
327     *
328     * @return
329     *     possible object is
330     *     {@link CTLineNumber }
331     *     
332     */
333    public CTLineNumber getLnNumType() {
334        return lnNumType;
335    }
336
337    /**
338     * Sets the value of the lnNumType property.
339     *
340     * @param value
341     *     allowed object is
342     *     {@link CTLineNumber }
343     *     
344     */
345    public void setLnNumType(CTLineNumber value) {
346        this.lnNumType = value;
347    }
348
349    /**
350     * Gets the value of the pgNumType property.
351     *
352     * @return
353     *     possible object is
354     *     {@link CTPageNumber }
355     *     
356     */
357    public CTPageNumber getPgNumType() {
358        return pgNumType;
359    }
360
361    /**
362     * Sets the value of the pgNumType property.
363     *
364     * @param value
365     *     allowed object is
366     *     {@link CTPageNumber }
367     *     
368     */
369    public void setPgNumType(CTPageNumber value) {
370        this.pgNumType = value;
371    }
372
373    /**
374     * Gets the value of the cols property.
375     *
376     * @return
377     *     possible object is
378     *     {@link CTColumns }
379     *     
380     */
381    public CTColumns getCols() {
382        return cols;
383    }
384
385    /**
386     * Sets the value of the cols property.
387     *
388     * @param value
389     *     allowed object is
390     *     {@link CTColumns }
391     *     
392     */
393    public void setCols(CTColumns value) {
394        this.cols = value;
395    }
396
397    /**
398     * Gets the value of the formProt property.
399     *
400     * @return
401     *     possible object is
402     *     {@link BooleanDefaultTrue }
403     *     
404     */
405    public BooleanDefaultTrue getFormProt() {
406        return formProt;
407    }
408
409    /**
410     * Sets the value of the formProt property.
411     *
412     * @param value
413     *     allowed object is
414     *     {@link BooleanDefaultTrue }
415     *     
416     */
417    public void setFormProt(BooleanDefaultTrue value) {
418        this.formProt = value;
419    }
420
421    /**
422     * Gets the value of the vAlign property.
423     *
424     * @return
425     *     possible object is
426     *     {@link CTVerticalJc }
427     *     
428     */
429    public CTVerticalJc getVAlign() {
430        return vAlign;
431    }
432
433    /**
434     * Sets the value of the vAlign property.
435     *
436     * @param value
437     *     allowed object is
438     *     {@link CTVerticalJc }
439     *     
440     */
441    public void setVAlign(CTVerticalJc value) {
442        this.vAlign = value;
443    }
444
445    /**
446     * Gets the value of the noEndnote property.
447     *
448     * @return
449     *     possible object is
450     *     {@link BooleanDefaultTrue }
451     *     
452     */
453    public BooleanDefaultTrue getNoEndnote() {
454        return noEndnote;
455    }
456
457    /**
458     * Sets the value of the noEndnote property.
459     *
460     * @param value
461     *     allowed object is
462     *     {@link BooleanDefaultTrue }
463     *     
464     */
465    public void setNoEndnote(BooleanDefaultTrue value) {
466        this.noEndnote = value;
467    }
468
469    /**
470     * Gets the value of the titlePg property.
471     *
472     * @return
473     *     possible object is
474     *     {@link BooleanDefaultTrue }
475     *     
476     */
477    public BooleanDefaultTrue getTitlePg() {
478        return titlePg;
479    }
480
481    /**
482     * Sets the value of the titlePg property.
483     *
484     * @param value
485     *     allowed object is
486     *     {@link BooleanDefaultTrue }
487     *     
488     */
489    public void setTitlePg(BooleanDefaultTrue value) {
490        this.titlePg = value;
491    }
492
493    /**
494     * Gets the value of the textDirection property.
495     *
496     * @return
497     *     possible object is
498     *     {@link TextDirection }
499     *     
500     */
501    public TextDirection getTextDirection() {
502        return textDirection;
503    }
504
505    /**
506     * Sets the value of the textDirection property.
507     *
508     * @param value
509     *     allowed object is
510     *     {@link TextDirection }
511     *     
512     */
513    public void setTextDirection(TextDirection value) {
514        this.textDirection = value;
515    }
516
517    /**
518     * Gets the value of the bidi property.
519     *
520     * @return
521     *     possible object is
522     *     {@link BooleanDefaultTrue }
523     *     
524     */
525    public BooleanDefaultTrue getBidi() {
526        return bidi;
527    }
528
529    /**
530     * Sets the value of the bidi property.
531     *
532     * @param value
533     *     allowed object is
534     *     {@link BooleanDefaultTrue }
535     *     
536     */
537    public void setBidi(BooleanDefaultTrue value) {
538        this.bidi = value;
539    }
540
541    /**
542     * Gets the value of the rtlGutter property.
543     *
544     * @return
545     *     possible object is
546     *     {@link BooleanDefaultTrue }
547     *     
548     */
549    public BooleanDefaultTrue getRtlGutter() {
550        return rtlGutter;
551    }
552
553    /**
554     * Sets the value of the rtlGutter property.
555     *
556     * @param value
557     *     allowed object is
558     *     {@link BooleanDefaultTrue }
559     *     
560     */
561    public void setRtlGutter(BooleanDefaultTrue value) {
562        this.rtlGutter = value;
563    }
564
565    /**
566     * Gets the value of the docGrid property.
567     *
568     * @return
569     *     possible object is
570     *     {@link CTDocGrid }
571     *     
572     */
573    public CTDocGrid getDocGrid() {
574        return docGrid;
575    }
576
577    /**
578     * Sets the value of the docGrid property.
579     *
580     * @param value
581     *     allowed object is
582     *     {@link CTDocGrid }
583     *     
584     */
585    public void setDocGrid(CTDocGrid value) {
586        this.docGrid = value;
587    }
588
589    /**
590     * Gets the value of the printerSettings property.
591     *
592     * @return
593     *     possible object is
594     *     {@link CTRel }
595     *     
596     */
597    public CTRel getPrinterSettings() {
598        return printerSettings;
599    }
600
601    /**
602     * Sets the value of the printerSettings property.
603     *
604     * @param value
605     *     allowed object is
606     *     {@link CTRel }
607     *     
608     */
609    public void setPrinterSettings(CTRel value) {
610        this.printerSettings = value;
611    }
612
613    /**
614     * Gets the value of the sectPrChange property.
615     *
616     * @return
617     *     possible object is
618     *     {@link CTSectPrChange }
619     *     
620     */
621    public CTSectPrChange getSectPrChange() {
622        return sectPrChange;
623    }
624
625    /**
626     * Sets the value of the sectPrChange property.
627     *
628     * @param value
629     *     allowed object is
630     *     {@link CTSectPrChange }
631     *     
632     */
633    public void setSectPrChange(CTSectPrChange value) {
634        this.sectPrChange = value;
635    }
636
637    /**
638     * Gets the value of the rsidRPr property.
639     *
640     * @return
641     *     possible object is
642     *     {@link String }
643     *     
644     */
645    public String getRsidRPr() {
646        return rsidRPr;
647    }
648
649    /**
650     * Sets the value of the rsidRPr property.
651     *
652     * @param value
653     *     allowed object is
654     *     {@link String }
655     *     
656     */
657    public void setRsidRPr(String value) {
658        this.rsidRPr = value;
659    }
660
661    /**
662     * Gets the value of the rsidDel property.
663     *
664     * @return
665     *     possible object is
666     *     {@link String }
667     *     
668     */
669    public String getRsidDel() {
670        return rsidDel;
671    }
672
673    /**
674     * Sets the value of the rsidDel property.
675     *
676     * @param value
677     *     allowed object is
678     *     {@link String }
679     *     
680     */
681    public void setRsidDel(String value) {
682        this.rsidDel = value;
683    }
684
685    /**
686     * Gets the value of the rsidR property.
687     *
688     * @return
689     *     possible object is
690     *     {@link String }
691     *     
692     */
693    public String getRsidR() {
694        return rsidR;
695    }
696
697    /**
698     * Sets the value of the rsidR property.
699     *
700     * @param value
701     *     allowed object is
702     *     {@link String }
703     *     
704     */
705    public void setRsidR(String value) {
706        this.rsidR = value;
707    }
708
709    /**
710     * Gets the value of the rsidSect property.
711     *
712     * @return
713     *     possible object is
714     *     {@link String }
715     *     
716     */
717    public String getRsidSect() {
718        return rsidSect;
719    }
720
721    /**
722     * Sets the value of the rsidSect property.
723     *
724     * @param value
725     *     allowed object is
726     *     {@link String }
727     *     
728     */
729    public void setRsidSect(String value) {
730        this.rsidSect = value;
731    }
732
733    /**
734     * Gets the parent object in the object tree representing the unmarshalled xml document.
735     *
736     * @return
737     *     The parent object.
738     */
739    public Object getParent() {
740        return this.parent;
741    }
742
743    public void setParent(Object parent) {
744        this.parent = parent;
745    }
746
747    /**
748     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
749     *
750     * @param parent
751     *     The parent object in the object tree.
752     * @param unmarshaller
753     *     The unmarshaller that generated the instance.
754     */
755    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
756        setParent(parent);
757    }
758
759
760    /**
761     * <p>Java class for anonymous complex type.
762     *
763     * <p>The following schema fragment specifies the expected content contained within this class.
764     *
765     * <pre>
766     * &lt;complexType>
767     *   &lt;complexContent>
768     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
769     *       &lt;sequence>
770     *         &lt;element name="top" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
771     *         &lt;element name="left" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
772     *         &lt;element name="bottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
773     *         &lt;element name="right" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
774     *       &lt;/sequence>
775     *       &lt;attribute name="zOrder" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageBorderZOrder" />
776     *       &lt;attribute name="display" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageBorderDisplay" />
777     *       &lt;attribute name="offsetFrom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageBorderOffset" />
778     *     &lt;/restriction>
779     *   &lt;/complexContent>
780     * &lt;/complexType>
781     * </pre>
782     *
783     *
784     */
785    @XmlAccessorType(XmlAccessType.FIELD)
786    @XmlType(name = "", propOrder = {
787        "top",
788        "left",
789        "bottom",
790        "right"
791    })
792    public static class PgBorders
793        implements Child
794    {
795
796        protected CTBorder top;
797        protected CTBorder left;
798        protected CTBorder bottom;
799        protected CTBorder right;
800        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
801        protected STPageBorderZOrder zOrder;
802        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
803        protected STPageBorderDisplay display;
804        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
805        protected STPageBorderOffset offsetFrom;
806        @XmlTransient
807        private Object parent;
808
809        /**
810         * Gets the value of the top property.
811         *
812         * @return
813         *     possible object is
814         *     {@link CTBorder }
815         *     
816         */
817        public CTBorder getTop() {
818            return top;
819        }
820
821        /**
822         * Sets the value of the top property.
823         *
824         * @param value
825         *     allowed object is
826         *     {@link CTBorder }
827         *     
828         */
829        public void setTop(CTBorder value) {
830            this.top = value;
831        }
832
833        /**
834         * Gets the value of the left property.
835         *
836         * @return
837         *     possible object is
838         *     {@link CTBorder }
839         *     
840         */
841        public CTBorder getLeft() {
842            return left;
843        }
844
845        /**
846         * Sets the value of the left property.
847         *
848         * @param value
849         *     allowed object is
850         *     {@link CTBorder }
851         *     
852         */
853        public void setLeft(CTBorder value) {
854            this.left = value;
855        }
856
857        /**
858         * Gets the value of the bottom property.
859         *
860         * @return
861         *     possible object is
862         *     {@link CTBorder }
863         *     
864         */
865        public CTBorder getBottom() {
866            return bottom;
867        }
868
869        /**
870         * Sets the value of the bottom property.
871         *
872         * @param value
873         *     allowed object is
874         *     {@link CTBorder }
875         *     
876         */
877        public void setBottom(CTBorder value) {
878            this.bottom = value;
879        }
880
881        /**
882         * Gets the value of the right property.
883         *
884         * @return
885         *     possible object is
886         *     {@link CTBorder }
887         *     
888         */
889        public CTBorder getRight() {
890            return right;
891        }
892
893        /**
894         * Sets the value of the right property.
895         *
896         * @param value
897         *     allowed object is
898         *     {@link CTBorder }
899         *     
900         */
901        public void setRight(CTBorder value) {
902            this.right = value;
903        }
904
905        /**
906         * Gets the value of the zOrder property.
907         *
908         * @return
909         *     possible object is
910         *     {@link STPageBorderZOrder }
911         *     
912         */
913        public STPageBorderZOrder getZOrder() {
914            return zOrder;
915        }
916
917        /**
918         * Sets the value of the zOrder property.
919         *
920         * @param value
921         *     allowed object is
922         *     {@link STPageBorderZOrder }
923         *     
924         */
925        public void setZOrder(STPageBorderZOrder value) {
926            this.zOrder = value;
927        }
928
929        /**
930         * Gets the value of the display property.
931         *
932         * @return
933         *     possible object is
934         *     {@link STPageBorderDisplay }
935         *     
936         */
937        public STPageBorderDisplay getDisplay() {
938            return display;
939        }
940
941        /**
942         * Sets the value of the display property.
943         *
944         * @param value
945         *     allowed object is
946         *     {@link STPageBorderDisplay }
947         *     
948         */
949        public void setDisplay(STPageBorderDisplay value) {
950            this.display = value;
951        }
952
953        /**
954         * Gets the value of the offsetFrom property.
955         *
956         * @return
957         *     possible object is
958         *     {@link STPageBorderOffset }
959         *     
960         */
961        public STPageBorderOffset getOffsetFrom() {
962            return offsetFrom;
963        }
964
965        /**
966         * Sets the value of the offsetFrom property.
967         *
968         * @param value
969         *     allowed object is
970         *     {@link STPageBorderOffset }
971         *     
972         */
973        public void setOffsetFrom(STPageBorderOffset value) {
974            this.offsetFrom = value;
975        }
976
977        /**
978         * Gets the parent object in the object tree representing the unmarshalled xml document.
979         *
980         * @return
981         *     The parent object.
982         */
983        public Object getParent() {
984            return this.parent;
985        }
986
987        public void setParent(Object parent) {
988            this.parent = parent;
989        }
990
991        /**
992         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
993         *
994         * @param parent
995         *     The parent object in the object tree.
996         * @param unmarshaller
997         *     The unmarshaller that generated the instance.
998         */
999        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1000            setParent(parent);
1001        }
1002
1003    }
1004
1005
1006    /**
1007     * <p>Java class for anonymous complex type.
1008     *
1009     * <p>The following schema fragment specifies the expected content contained within this class.
1010     *
1011     * <pre>
1012     * &lt;complexType>
1013     *   &lt;complexContent>
1014     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1015     *       &lt;attribute name="top" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
1016     *       &lt;attribute name="right" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1017     *       &lt;attribute name="bottom" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
1018     *       &lt;attribute name="left" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1019     *       &lt;attribute name="header" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1020     *       &lt;attribute name="footer" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1021     *       &lt;attribute name="gutter" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1022     *     &lt;/restriction>
1023     *   &lt;/complexContent>
1024     * &lt;/complexType>
1025     * </pre>
1026     *
1027     *
1028     */
1029    @XmlAccessorType(XmlAccessType.FIELD)
1030    @XmlType(name = "")
1031    public static class PgMar
1032        implements Child
1033    {
1034
1035        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1036        protected BigInteger top;
1037        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1038        protected BigInteger right;
1039        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1040        protected BigInteger bottom;
1041        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1042        protected BigInteger left;
1043        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1044        protected BigInteger header;
1045        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1046        protected BigInteger footer;
1047        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1048        protected BigInteger gutter;
1049        @XmlTransient
1050        private Object parent;
1051
1052        /**
1053         * Gets the value of the top property.
1054         *
1055         * @return
1056         *     possible object is
1057         *     {@link BigInteger }
1058         *     
1059         */
1060        public BigInteger getTop() {
1061            return top;
1062        }
1063
1064        /**
1065         * Sets the value of the top property.
1066         *
1067         * @param value
1068         *     allowed object is
1069         *     {@link BigInteger }
1070         *     
1071         */
1072        public void setTop(BigInteger value) {
1073            this.top = value;
1074        }
1075
1076        /**
1077         * Gets the value of the right property.
1078         *
1079         * @return
1080         *     possible object is
1081         *     {@link BigInteger }
1082         *     
1083         */
1084        public BigInteger getRight() {
1085            return right;
1086        }
1087
1088        /**
1089         * Sets the value of the right property.
1090         *
1091         * @param value
1092         *     allowed object is
1093         *     {@link BigInteger }
1094         *     
1095         */
1096        public void setRight(BigInteger value) {
1097            this.right = value;
1098        }
1099
1100        /**
1101         * Gets the value of the bottom property.
1102         *
1103         * @return
1104         *     possible object is
1105         *     {@link BigInteger }
1106         *     
1107         */
1108        public BigInteger getBottom() {
1109            return bottom;
1110        }
1111
1112        /**
1113         * Sets the value of the bottom property.
1114         *
1115         * @param value
1116         *     allowed object is
1117         *     {@link BigInteger }
1118         *     
1119         */
1120        public void setBottom(BigInteger value) {
1121            this.bottom = value;
1122        }
1123
1124        /**
1125         * Gets the value of the left property.
1126         *
1127         * @return
1128         *     possible object is
1129         *     {@link BigInteger }
1130         *     
1131         */
1132        public BigInteger getLeft() {
1133            return left;
1134        }
1135
1136        /**
1137         * Sets the value of the left property.
1138         *
1139         * @param value
1140         *     allowed object is
1141         *     {@link BigInteger }
1142         *     
1143         */
1144        public void setLeft(BigInteger value) {
1145            this.left = value;
1146        }
1147
1148        /**
1149         * Gets the value of the header property.
1150         *
1151         * @return
1152         *     possible object is
1153         *     {@link BigInteger }
1154         *     
1155         */
1156        public BigInteger getHeader() {
1157            return header;
1158        }
1159
1160        /**
1161         * Sets the value of the header property.
1162         *
1163         * @param value
1164         *     allowed object is
1165         *     {@link BigInteger }
1166         *     
1167         */
1168        public void setHeader(BigInteger value) {
1169            this.header = value;
1170        }
1171
1172        /**
1173         * Gets the value of the footer property.
1174         *
1175         * @return
1176         *     possible object is
1177         *     {@link BigInteger }
1178         *     
1179         */
1180        public BigInteger getFooter() {
1181            return footer;
1182        }
1183
1184        /**
1185         * Sets the value of the footer property.
1186         *
1187         * @param value
1188         *     allowed object is
1189         *     {@link BigInteger }
1190         *     
1191         */
1192        public void setFooter(BigInteger value) {
1193            this.footer = value;
1194        }
1195
1196        /**
1197         * Gets the value of the gutter property.
1198         *
1199         * @return
1200         *     possible object is
1201         *     {@link BigInteger }
1202         *     
1203         */
1204        public BigInteger getGutter() {
1205            return gutter;
1206        }
1207
1208        /**
1209         * Sets the value of the gutter property.
1210         *
1211         * @param value
1212         *     allowed object is
1213         *     {@link BigInteger }
1214         *     
1215         */
1216        public void setGutter(BigInteger value) {
1217            this.gutter = value;
1218        }
1219
1220        /**
1221         * Gets the parent object in the object tree representing the unmarshalled xml document.
1222         *
1223         * @return
1224         *     The parent object.
1225         */
1226        public Object getParent() {
1227            return this.parent;
1228        }
1229
1230        public void setParent(Object parent) {
1231            this.parent = parent;
1232        }
1233
1234        /**
1235         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1236         *
1237         * @param parent
1238         *     The parent object in the object tree.
1239         * @param unmarshaller
1240         *     The unmarshaller that generated the instance.
1241         */
1242        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1243            setParent(parent);
1244        }
1245
1246    }
1247
1248
1249    /**
1250     * <p>Java class for anonymous complex type.
1251     *
1252     * <p>The following schema fragment specifies the expected content contained within this class.
1253     *
1254     * <pre>
1255     * &lt;complexType>
1256     *   &lt;complexContent>
1257     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1258     *       &lt;attribute name="w" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1259     *       &lt;attribute name="h" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
1260     *       &lt;attribute name="orient" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageOrientation" />
1261     *       &lt;attribute name="code" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
1262     *     &lt;/restriction>
1263     *   &lt;/complexContent>
1264     * &lt;/complexType>
1265     * </pre>
1266     *
1267     *
1268     */
1269    @XmlAccessorType(XmlAccessType.FIELD)
1270    @XmlType(name = "")
1271    public static class PgSz
1272        implements Child
1273    {
1274
1275        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1276        protected BigInteger w;
1277        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1278        protected BigInteger h;
1279        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1280        protected STPageOrientation orient;
1281        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1282        protected BigInteger code;
1283        @XmlTransient
1284        private Object parent;
1285
1286        /**
1287         * Gets the value of the w property.
1288         *
1289         * @return
1290         *     possible object is
1291         *     {@link BigInteger }
1292         *     
1293         */
1294        public BigInteger getW() {
1295            return w;
1296        }
1297
1298        /**
1299         * Sets the value of the w property.
1300         *
1301         * @param value
1302         *     allowed object is
1303         *     {@link BigInteger }
1304         *     
1305         */
1306        public void setW(BigInteger value) {
1307            this.w = value;
1308        }
1309
1310        /**
1311         * Gets the value of the h property.
1312         *
1313         * @return
1314         *     possible object is
1315         *     {@link BigInteger }
1316         *     
1317         */
1318        public BigInteger getH() {
1319            return h;
1320        }
1321
1322        /**
1323         * Sets the value of the h property.
1324         *
1325         * @param value
1326         *     allowed object is
1327         *     {@link BigInteger }
1328         *     
1329         */
1330        public void setH(BigInteger value) {
1331            this.h = value;
1332        }
1333
1334        /**
1335         * Gets the value of the orient property.
1336         *
1337         * @return
1338         *     possible object is
1339         *     {@link STPageOrientation }
1340         *     
1341         */
1342        public STPageOrientation getOrient() {
1343            return orient;
1344        }
1345
1346        /**
1347         * Sets the value of the orient property.
1348         *
1349         * @param value
1350         *     allowed object is
1351         *     {@link STPageOrientation }
1352         *     
1353         */
1354        public void setOrient(STPageOrientation value) {
1355            this.orient = value;
1356        }
1357
1358        /**
1359         * Gets the value of the code property.
1360         *
1361         * @return
1362         *     possible object is
1363         *     {@link BigInteger }
1364         *     
1365         */
1366        public BigInteger getCode() {
1367            return code;
1368        }
1369
1370        /**
1371         * Sets the value of the code property.
1372         *
1373         * @param value
1374         *     allowed object is
1375         *     {@link BigInteger }
1376         *     
1377         */
1378        public void setCode(BigInteger value) {
1379            this.code = value;
1380        }
1381
1382        /**
1383         * Gets the parent object in the object tree representing the unmarshalled xml document.
1384         *
1385         * @return
1386         *     The parent object.
1387         */
1388        public Object getParent() {
1389            return this.parent;
1390        }
1391
1392        public void setParent(Object parent) {
1393            this.parent = parent;
1394        }
1395
1396        /**
1397         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1398         *
1399         * @param parent
1400         *     The parent object in the object tree.
1401         * @param unmarshaller
1402         *     The unmarshaller that generated the instance.
1403         */
1404        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1405            setParent(parent);
1406        }
1407
1408    }
1409
1410
1411    /**
1412     * <p>Java class for anonymous complex type.
1413     *
1414     * <p>The following schema fragment specifies the expected content contained within this class.
1415     *
1416     * <pre>
1417     * &lt;complexType>
1418     *   &lt;complexContent>
1419     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1420     *       &lt;attribute name="val">
1421     *         &lt;simpleType>
1422     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
1423     *             &lt;enumeration value="nextPage"/>
1424     *             &lt;enumeration value="nextColumn"/>
1425     *             &lt;enumeration value="continuous"/>
1426     *             &lt;enumeration value="evenPage"/>
1427     *             &lt;enumeration value="oddPage"/>
1428     *           &lt;/restriction>
1429     *         &lt;/simpleType>
1430     *       &lt;/attribute>
1431     *     &lt;/restriction>
1432     *   &lt;/complexContent>
1433     * &lt;/complexType>
1434     * </pre>
1435     *
1436     *
1437     */
1438    @XmlAccessorType(XmlAccessType.FIELD)
1439    @XmlType(name = "")
1440    public static class Type
1441        implements Child
1442    {
1443
1444        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1445        protected String val;
1446        @XmlTransient
1447        private Object parent;
1448
1449        /**
1450         * Gets the value of the val property.
1451         *
1452         * @return
1453         *     possible object is
1454         *     {@link String }
1455         *     
1456         */
1457        public String getVal() {
1458            return val;
1459        }
1460
1461        /**
1462         * Sets the value of the val property.
1463         *
1464         * @param value
1465         *     allowed object is
1466         *     {@link String }
1467         *     
1468         */
1469        public void setVal(String value) {
1470            this.val = value;
1471        }
1472
1473        /**
1474         * Gets the parent object in the object tree representing the unmarshalled xml document.
1475         *
1476         * @return
1477         *     The parent object.
1478         */
1479        public Object getParent() {
1480            return this.parent;
1481        }
1482
1483        public void setParent(Object parent) {
1484            this.parent = parent;
1485        }
1486
1487        /**
1488         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1489         *
1490         * @param parent
1491         *     The parent object in the object tree.
1492         * @param unmarshaller
1493         *     The unmarshaller that generated the instance.
1494         */
1495        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1496            setParent(parent);
1497        }
1498
1499    }
1500
1501}
Note: See TracBrowser for help on using the repository browser.