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

Revision 1041, 18.5 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlElement;
28import javax.xml.bind.annotation.XmlType;
29
30
31/**
32 * <p>Java class for CT_TextBodyProperties complex type.
33 *
34 * <p>The following schema fragment specifies the expected content contained within this class.
35 *
36 * <pre>
37 * &lt;complexType name="CT_TextBodyProperties">
38 *   &lt;complexContent>
39 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 *       &lt;sequence>
41 *         &lt;element name="prstTxWarp" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PresetTextShape" minOccurs="0"/>
42 *         &lt;group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_TextAutofit" minOccurs="0"/>
43 *         &lt;element name="scene3d" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Scene3D" minOccurs="0"/>
44 *         &lt;group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_Text3D" minOccurs="0"/>
45 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
46 *       &lt;/sequence>
47 *       &lt;attribute name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Angle" />
48 *       &lt;attribute name="spcFirstLastPara" type="{http://www.w3.org/2001/XMLSchema}boolean" />
49 *       &lt;attribute name="vertOverflow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextVertOverflowType" />
50 *       &lt;attribute name="horzOverflow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextHorzOverflowType" />
51 *       &lt;attribute name="vert" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextVerticalType" />
52 *       &lt;attribute name="wrap" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextWrappingType" />
53 *       &lt;attribute name="lIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
54 *       &lt;attribute name="tIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
55 *       &lt;attribute name="rIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
56 *       &lt;attribute name="bIns" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" />
57 *       &lt;attribute name="numCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextColumnCount" />
58 *       &lt;attribute name="spcCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositiveCoordinate32" />
59 *       &lt;attribute name="rtlCol" type="{http://www.w3.org/2001/XMLSchema}boolean" />
60 *       &lt;attribute name="fromWordArt" type="{http://www.w3.org/2001/XMLSchema}boolean" />
61 *       &lt;attribute name="anchor" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextAnchoringType" />
62 *       &lt;attribute name="anchorCtr" type="{http://www.w3.org/2001/XMLSchema}boolean" />
63 *       &lt;attribute name="forceAA" type="{http://www.w3.org/2001/XMLSchema}boolean" />
64 *       &lt;attribute name="upright" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
65 *       &lt;attribute name="compatLnSpc" type="{http://www.w3.org/2001/XMLSchema}boolean" />
66 *     &lt;/restriction>
67 *   &lt;/complexContent>
68 * &lt;/complexType>
69 * </pre>
70 *
71 *
72 */
73@XmlAccessorType(XmlAccessType.FIELD)
74@XmlType(name = "CT_TextBodyProperties", propOrder = {
75    "prstTxWarp",
76    "noAutofit",
77    "normAutofit",
78    "spAutoFit",
79    "scene3D",
80    "sp3D",
81    "flatTx",
82    "extLst"
83})
84public class CTTextBodyProperties {
85
86    protected CTPresetTextShape prstTxWarp;
87    protected CTTextNoAutofit noAutofit;
88    protected CTTextNormalAutofit normAutofit;
89    protected CTTextShapeAutofit spAutoFit;
90    @XmlElement(name = "scene3d")
91    protected CTScene3D scene3D;
92    @XmlElement(name = "sp3d")
93    protected CTShape3D sp3D;
94    protected CTFlatText flatTx;
95    protected CTOfficeArtExtensionList extLst;
96    @XmlAttribute
97    protected Integer rot;
98    @XmlAttribute
99    protected Boolean spcFirstLastPara;
100    @XmlAttribute
101    protected STTextVertOverflowType vertOverflow;
102    @XmlAttribute
103    protected STTextHorzOverflowType horzOverflow;
104    @XmlAttribute
105    protected STTextVerticalType vert;
106    @XmlAttribute
107    protected STTextWrappingType wrap;
108    @XmlAttribute
109    protected Integer lIns;
110    @XmlAttribute
111    protected Integer tIns;
112    @XmlAttribute
113    protected Integer rIns;
114    @XmlAttribute
115    protected Integer bIns;
116    @XmlAttribute
117    protected Integer numCol;
118    @XmlAttribute
119    protected Integer spcCol;
120    @XmlAttribute
121    protected Boolean rtlCol;
122    @XmlAttribute
123    protected Boolean fromWordArt;
124    @XmlAttribute
125    protected STTextAnchoringType anchor;
126    @XmlAttribute
127    protected Boolean anchorCtr;
128    @XmlAttribute
129    protected Boolean forceAA;
130    @XmlAttribute
131    protected Boolean upright;
132    @XmlAttribute
133    protected Boolean compatLnSpc;
134
135    /**
136     * Gets the value of the prstTxWarp property.
137     *
138     * @return
139     *     possible object is
140     *     {@link CTPresetTextShape }
141     *     
142     */
143    public CTPresetTextShape getPrstTxWarp() {
144        return prstTxWarp;
145    }
146
147    /**
148     * Sets the value of the prstTxWarp property.
149     *
150     * @param value
151     *     allowed object is
152     *     {@link CTPresetTextShape }
153     *     
154     */
155    public void setPrstTxWarp(CTPresetTextShape value) {
156        this.prstTxWarp = value;
157    }
158
159    /**
160     * Gets the value of the noAutofit property.
161     *
162     * @return
163     *     possible object is
164     *     {@link CTTextNoAutofit }
165     *     
166     */
167    public CTTextNoAutofit getNoAutofit() {
168        return noAutofit;
169    }
170
171    /**
172     * Sets the value of the noAutofit property.
173     *
174     * @param value
175     *     allowed object is
176     *     {@link CTTextNoAutofit }
177     *     
178     */
179    public void setNoAutofit(CTTextNoAutofit value) {
180        this.noAutofit = value;
181    }
182
183    /**
184     * Gets the value of the normAutofit property.
185     *
186     * @return
187     *     possible object is
188     *     {@link CTTextNormalAutofit }
189     *     
190     */
191    public CTTextNormalAutofit getNormAutofit() {
192        return normAutofit;
193    }
194
195    /**
196     * Sets the value of the normAutofit property.
197     *
198     * @param value
199     *     allowed object is
200     *     {@link CTTextNormalAutofit }
201     *     
202     */
203    public void setNormAutofit(CTTextNormalAutofit value) {
204        this.normAutofit = value;
205    }
206
207    /**
208     * Gets the value of the spAutoFit property.
209     *
210     * @return
211     *     possible object is
212     *     {@link CTTextShapeAutofit }
213     *     
214     */
215    public CTTextShapeAutofit getSpAutoFit() {
216        return spAutoFit;
217    }
218
219    /**
220     * Sets the value of the spAutoFit property.
221     *
222     * @param value
223     *     allowed object is
224     *     {@link CTTextShapeAutofit }
225     *     
226     */
227    public void setSpAutoFit(CTTextShapeAutofit value) {
228        this.spAutoFit = value;
229    }
230
231    /**
232     * Gets the value of the scene3D property.
233     *
234     * @return
235     *     possible object is
236     *     {@link CTScene3D }
237     *     
238     */
239    public CTScene3D getScene3D() {
240        return scene3D;
241    }
242
243    /**
244     * Sets the value of the scene3D property.
245     *
246     * @param value
247     *     allowed object is
248     *     {@link CTScene3D }
249     *     
250     */
251    public void setScene3D(CTScene3D value) {
252        this.scene3D = value;
253    }
254
255    /**
256     * Gets the value of the sp3D property.
257     *
258     * @return
259     *     possible object is
260     *     {@link CTShape3D }
261     *     
262     */
263    public CTShape3D getSp3D() {
264        return sp3D;
265    }
266
267    /**
268     * Sets the value of the sp3D property.
269     *
270     * @param value
271     *     allowed object is
272     *     {@link CTShape3D }
273     *     
274     */
275    public void setSp3D(CTShape3D value) {
276        this.sp3D = value;
277    }
278
279    /**
280     * Gets the value of the flatTx property.
281     *
282     * @return
283     *     possible object is
284     *     {@link CTFlatText }
285     *     
286     */
287    public CTFlatText getFlatTx() {
288        return flatTx;
289    }
290
291    /**
292     * Sets the value of the flatTx property.
293     *
294     * @param value
295     *     allowed object is
296     *     {@link CTFlatText }
297     *     
298     */
299    public void setFlatTx(CTFlatText value) {
300        this.flatTx = value;
301    }
302
303    /**
304     * Gets the value of the extLst property.
305     *
306     * @return
307     *     possible object is
308     *     {@link CTOfficeArtExtensionList }
309     *     
310     */
311    public CTOfficeArtExtensionList getExtLst() {
312        return extLst;
313    }
314
315    /**
316     * Sets the value of the extLst property.
317     *
318     * @param value
319     *     allowed object is
320     *     {@link CTOfficeArtExtensionList }
321     *     
322     */
323    public void setExtLst(CTOfficeArtExtensionList value) {
324        this.extLst = value;
325    }
326
327    /**
328     * Gets the value of the rot property.
329     *
330     * @return
331     *     possible object is
332     *     {@link Integer }
333     *     
334     */
335    public Integer getRot() {
336        return rot;
337    }
338
339    /**
340     * Sets the value of the rot property.
341     *
342     * @param value
343     *     allowed object is
344     *     {@link Integer }
345     *     
346     */
347    public void setRot(Integer value) {
348        this.rot = value;
349    }
350
351    /**
352     * Gets the value of the spcFirstLastPara property.
353     *
354     * @return
355     *     possible object is
356     *     {@link Boolean }
357     *     
358     */
359    public Boolean isSpcFirstLastPara() {
360        return spcFirstLastPara;
361    }
362
363    /**
364     * Sets the value of the spcFirstLastPara property.
365     *
366     * @param value
367     *     allowed object is
368     *     {@link Boolean }
369     *     
370     */
371    public void setSpcFirstLastPara(Boolean value) {
372        this.spcFirstLastPara = value;
373    }
374
375    /**
376     * Gets the value of the vertOverflow property.
377     *
378     * @return
379     *     possible object is
380     *     {@link STTextVertOverflowType }
381     *     
382     */
383    public STTextVertOverflowType getVertOverflow() {
384        return vertOverflow;
385    }
386
387    /**
388     * Sets the value of the vertOverflow property.
389     *
390     * @param value
391     *     allowed object is
392     *     {@link STTextVertOverflowType }
393     *     
394     */
395    public void setVertOverflow(STTextVertOverflowType value) {
396        this.vertOverflow = value;
397    }
398
399    /**
400     * Gets the value of the horzOverflow property.
401     *
402     * @return
403     *     possible object is
404     *     {@link STTextHorzOverflowType }
405     *     
406     */
407    public STTextHorzOverflowType getHorzOverflow() {
408        return horzOverflow;
409    }
410
411    /**
412     * Sets the value of the horzOverflow property.
413     *
414     * @param value
415     *     allowed object is
416     *     {@link STTextHorzOverflowType }
417     *     
418     */
419    public void setHorzOverflow(STTextHorzOverflowType value) {
420        this.horzOverflow = value;
421    }
422
423    /**
424     * Gets the value of the vert property.
425     *
426     * @return
427     *     possible object is
428     *     {@link STTextVerticalType }
429     *     
430     */
431    public STTextVerticalType getVert() {
432        return vert;
433    }
434
435    /**
436     * Sets the value of the vert property.
437     *
438     * @param value
439     *     allowed object is
440     *     {@link STTextVerticalType }
441     *     
442     */
443    public void setVert(STTextVerticalType value) {
444        this.vert = value;
445    }
446
447    /**
448     * Gets the value of the wrap property.
449     *
450     * @return
451     *     possible object is
452     *     {@link STTextWrappingType }
453     *     
454     */
455    public STTextWrappingType getWrap() {
456        return wrap;
457    }
458
459    /**
460     * Sets the value of the wrap property.
461     *
462     * @param value
463     *     allowed object is
464     *     {@link STTextWrappingType }
465     *     
466     */
467    public void setWrap(STTextWrappingType value) {
468        this.wrap = value;
469    }
470
471    /**
472     * Gets the value of the lIns property.
473     *
474     * @return
475     *     possible object is
476     *     {@link Integer }
477     *     
478     */
479    public Integer getLIns() {
480        return lIns;
481    }
482
483    /**
484     * Sets the value of the lIns property.
485     *
486     * @param value
487     *     allowed object is
488     *     {@link Integer }
489     *     
490     */
491    public void setLIns(Integer value) {
492        this.lIns = value;
493    }
494
495    /**
496     * Gets the value of the tIns property.
497     *
498     * @return
499     *     possible object is
500     *     {@link Integer }
501     *     
502     */
503    public Integer getTIns() {
504        return tIns;
505    }
506
507    /**
508     * Sets the value of the tIns property.
509     *
510     * @param value
511     *     allowed object is
512     *     {@link Integer }
513     *     
514     */
515    public void setTIns(Integer value) {
516        this.tIns = value;
517    }
518
519    /**
520     * Gets the value of the rIns property.
521     *
522     * @return
523     *     possible object is
524     *     {@link Integer }
525     *     
526     */
527    public Integer getRIns() {
528        return rIns;
529    }
530
531    /**
532     * Sets the value of the rIns property.
533     *
534     * @param value
535     *     allowed object is
536     *     {@link Integer }
537     *     
538     */
539    public void setRIns(Integer value) {
540        this.rIns = value;
541    }
542
543    /**
544     * Gets the value of the bIns property.
545     *
546     * @return
547     *     possible object is
548     *     {@link Integer }
549     *     
550     */
551    public Integer getBIns() {
552        return bIns;
553    }
554
555    /**
556     * Sets the value of the bIns property.
557     *
558     * @param value
559     *     allowed object is
560     *     {@link Integer }
561     *     
562     */
563    public void setBIns(Integer value) {
564        this.bIns = value;
565    }
566
567    /**
568     * Gets the value of the numCol property.
569     *
570     * @return
571     *     possible object is
572     *     {@link Integer }
573     *     
574     */
575    public Integer getNumCol() {
576        return numCol;
577    }
578
579    /**
580     * Sets the value of the numCol property.
581     *
582     * @param value
583     *     allowed object is
584     *     {@link Integer }
585     *     
586     */
587    public void setNumCol(Integer value) {
588        this.numCol = value;
589    }
590
591    /**
592     * Gets the value of the spcCol property.
593     *
594     * @return
595     *     possible object is
596     *     {@link Integer }
597     *     
598     */
599    public Integer getSpcCol() {
600        return spcCol;
601    }
602
603    /**
604     * Sets the value of the spcCol property.
605     *
606     * @param value
607     *     allowed object is
608     *     {@link Integer }
609     *     
610     */
611    public void setSpcCol(Integer value) {
612        this.spcCol = value;
613    }
614
615    /**
616     * Gets the value of the rtlCol property.
617     *
618     * @return
619     *     possible object is
620     *     {@link Boolean }
621     *     
622     */
623    public Boolean isRtlCol() {
624        return rtlCol;
625    }
626
627    /**
628     * Sets the value of the rtlCol property.
629     *
630     * @param value
631     *     allowed object is
632     *     {@link Boolean }
633     *     
634     */
635    public void setRtlCol(Boolean value) {
636        this.rtlCol = value;
637    }
638
639    /**
640     * Gets the value of the fromWordArt property.
641     *
642     * @return
643     *     possible object is
644     *     {@link Boolean }
645     *     
646     */
647    public Boolean isFromWordArt() {
648        return fromWordArt;
649    }
650
651    /**
652     * Sets the value of the fromWordArt property.
653     *
654     * @param value
655     *     allowed object is
656     *     {@link Boolean }
657     *     
658     */
659    public void setFromWordArt(Boolean value) {
660        this.fromWordArt = value;
661    }
662
663    /**
664     * Gets the value of the anchor property.
665     *
666     * @return
667     *     possible object is
668     *     {@link STTextAnchoringType }
669     *     
670     */
671    public STTextAnchoringType getAnchor() {
672        return anchor;
673    }
674
675    /**
676     * Sets the value of the anchor property.
677     *
678     * @param value
679     *     allowed object is
680     *     {@link STTextAnchoringType }
681     *     
682     */
683    public void setAnchor(STTextAnchoringType value) {
684        this.anchor = value;
685    }
686
687    /**
688     * Gets the value of the anchorCtr property.
689     *
690     * @return
691     *     possible object is
692     *     {@link Boolean }
693     *     
694     */
695    public Boolean isAnchorCtr() {
696        return anchorCtr;
697    }
698
699    /**
700     * Sets the value of the anchorCtr property.
701     *
702     * @param value
703     *     allowed object is
704     *     {@link Boolean }
705     *     
706     */
707    public void setAnchorCtr(Boolean value) {
708        this.anchorCtr = value;
709    }
710
711    /**
712     * Gets the value of the forceAA property.
713     *
714     * @return
715     *     possible object is
716     *     {@link Boolean }
717     *     
718     */
719    public Boolean isForceAA() {
720        return forceAA;
721    }
722
723    /**
724     * Sets the value of the forceAA property.
725     *
726     * @param value
727     *     allowed object is
728     *     {@link Boolean }
729     *     
730     */
731    public void setForceAA(Boolean value) {
732        this.forceAA = value;
733    }
734
735    /**
736     * Gets the value of the upright property.
737     *
738     * @return
739     *     possible object is
740     *     {@link Boolean }
741     *     
742     */
743    public boolean isUpright() {
744        if (upright == null) {
745            return false;
746        } else {
747            return upright;
748        }
749    }
750
751    /**
752     * Sets the value of the upright property.
753     *
754     * @param value
755     *     allowed object is
756     *     {@link Boolean }
757     *     
758     */
759    public void setUpright(Boolean value) {
760        this.upright = value;
761    }
762
763    /**
764     * Gets the value of the compatLnSpc property.
765     *
766     * @return
767     *     possible object is
768     *     {@link Boolean }
769     *     
770     */
771    public Boolean isCompatLnSpc() {
772        return compatLnSpc;
773    }
774
775    /**
776     * Sets the value of the compatLnSpc property.
777     *
778     * @param value
779     *     allowed object is
780     *     {@link Boolean }
781     *     
782     */
783    public void setCompatLnSpc(Boolean value) {
784        this.compatLnSpc = value;
785    }
786
787}
Note: See TracBrowser for help on using the repository browser.