source: trunk/docx4j/src/main/java/org/docx4j/vml/CTCurve.java @ 1461

Revision 1461, 43.2 KB checked in by jharrop, 14 months ago (diff)

VML generated classes, based on ECMA 376 1ed (rather than earlier draft).
Includes @XmlType? namespace annotations from revs 940 and 1129.

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.vml;
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.XmlElementRef;
33import javax.xml.bind.annotation.XmlElementRefs;
34import javax.xml.bind.annotation.XmlTransient;
35import javax.xml.bind.annotation.XmlType;
36import org.docx4j.vml.officedrawing.CTCallout;
37import org.docx4j.vml.officedrawing.CTClipPath;
38import org.docx4j.vml.officedrawing.CTExtrusion;
39import org.docx4j.vml.officedrawing.CTLock;
40import org.docx4j.vml.officedrawing.CTSignatureLine;
41import org.docx4j.vml.officedrawing.CTSkew;
42import org.docx4j.vml.officedrawing.STBWMode;
43import org.docx4j.vml.officedrawing.STConnectorType;
44import org.docx4j.vml.officedrawing.STHrAlign;
45import org.docx4j.vml.officedrawing.STInsetMode;
46import org.docx4j.vml.presentationDrawing.CTRel;
47import org.docx4j.vml.spreadsheetDrawing.CTClientData;
48import org.docx4j.vml.wordprocessingDrawing.CTAnchorLock;
49import org.docx4j.vml.wordprocessingDrawing.CTBorder;
50import org.docx4j.vml.wordprocessingDrawing.CTWrap;
51import org.jvnet.jaxb2_commons.ppp.Child;
52
53
54/**
55 * <p>Java class for CT_Curve complex type.
56 *
57 * <p>The following schema fragment specifies the expected content contained within this class.
58 *
59 * <pre>
60 * &lt;complexType name="CT_Curve">
61 *   &lt;complexContent>
62 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
63 *       &lt;sequence>
64 *         &lt;group ref="{urn:schemas-microsoft-com:vml}EG_ShapeElements" maxOccurs="unbounded" minOccurs="0"/>
65 *       &lt;/sequence>
66 *       &lt;attGroup ref="{urn:schemas-microsoft-com:vml}AG_AllShapeAttributes"/>
67 *       &lt;attGroup ref="{urn:schemas-microsoft-com:vml}AG_AllCoreAttributes"/>
68 *       &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" />
69 *       &lt;attribute name="control1" type="{http://www.w3.org/2001/XMLSchema}string" />
70 *       &lt;attribute name="control2" type="{http://www.w3.org/2001/XMLSchema}string" />
71 *       &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
72 *     &lt;/restriction>
73 *   &lt;/complexContent>
74 * &lt;/complexType>
75 * </pre>
76 *
77 *
78 */
79@XmlAccessorType(XmlAccessType.FIELD)
80@XmlType(name = "CT_Curve", propOrder = {
81    "egShapeElements"
82})
83public class CTCurve implements Child
84{
85
86    @XmlElementRefs({
87        @XmlElementRef(name = "ClientData", namespace = "urn:schemas-microsoft-com:office:excel", type = JAXBElement.class),
88        @XmlElementRef(name = "clippath", namespace = "urn:schemas-microsoft-com:office:office", type = JAXBElement.class),
89        @XmlElementRef(name = "imagedata", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
90        @XmlElementRef(name = "skew", namespace = "urn:schemas-microsoft-com:office:office", type = JAXBElement.class),
91        @XmlElementRef(name = "handles", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
92        @XmlElementRef(name = "anchorlock", namespace = "urn:schemas-microsoft-com:office:word", type = JAXBElement.class),
93        @XmlElementRef(name = "borderright", namespace = "urn:schemas-microsoft-com:office:word", type = JAXBElement.class),
94        @XmlElementRef(name = "fill", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
95        @XmlElementRef(name = "borderleft", namespace = "urn:schemas-microsoft-com:office:word", type = JAXBElement.class),
96        @XmlElementRef(name = "extrusion", namespace = "urn:schemas-microsoft-com:office:office", type = JAXBElement.class),
97        @XmlElementRef(name = "textbox", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
98        @XmlElementRef(name = "formulas", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
99        @XmlElementRef(name = "textpath", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
100        @XmlElementRef(name = "shadow", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
101        @XmlElementRef(name = "bordertop", namespace = "urn:schemas-microsoft-com:office:word", type = JAXBElement.class),
102        @XmlElementRef(name = "signatureline", namespace = "urn:schemas-microsoft-com:office:office", type = JAXBElement.class),
103        @XmlElementRef(name = "stroke", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
104        @XmlElementRef(name = "borderbottom", namespace = "urn:schemas-microsoft-com:office:word", type = JAXBElement.class),
105        @XmlElementRef(name = "path", namespace = "urn:schemas-microsoft-com:vml", type = JAXBElement.class),
106        @XmlElementRef(name = "lock", namespace = "urn:schemas-microsoft-com:office:office", type = JAXBElement.class),
107        @XmlElementRef(name = "callout", namespace = "urn:schemas-microsoft-com:office:office", type = JAXBElement.class),
108        @XmlElementRef(name = "textdata", namespace = "urn:schemas-microsoft-com:office:powerpoint", type = JAXBElement.class),
109        @XmlElementRef(name = "wrap", namespace = "urn:schemas-microsoft-com:office:word", type = JAXBElement.class)
110    })
111    protected List<JAXBElement<?>> egShapeElements;
112    @XmlAttribute(name = "from")
113    protected String from;
114    @XmlAttribute(name = "control1")
115    protected String control1;
116    @XmlAttribute(name = "control2")
117    protected String control2;
118    @XmlAttribute(name = "to")
119    protected String to;
120    @XmlAttribute(name = "opacity")
121    protected String opacity;
122    @XmlAttribute(name = "stroked")
123    protected org.docx4j.vml.STTrueFalse stroked;
124    @XmlAttribute(name = "strokecolor")
125    protected String strokecolor;
126    @XmlAttribute(name = "strokeweight")
127    protected String strokeweight;
128    @XmlAttribute(name = "insetpen")
129    protected org.docx4j.vml.STTrueFalse insetpen;
130    @XmlAttribute(name = "filled")
131    protected org.docx4j.vml.STTrueFalse filled;
132    @XmlAttribute(name = "fillcolor")
133    protected String fillcolor;
134    @XmlAttribute(name = "chromakey")
135    protected String chromakey;
136    @XmlAttribute(name = "spt", namespace = "urn:schemas-microsoft-com:office:office")
137    protected Float spt;
138    @XmlAttribute(name = "connectortype", namespace = "urn:schemas-microsoft-com:office:office")
139    protected STConnectorType connectortype;
140    @XmlAttribute(name = "bwmode", namespace = "urn:schemas-microsoft-com:office:office")
141    protected STBWMode bwmode;
142    @XmlAttribute(name = "bwpure", namespace = "urn:schemas-microsoft-com:office:office")
143    protected STBWMode bwpure;
144    @XmlAttribute(name = "bwnormal", namespace = "urn:schemas-microsoft-com:office:office")
145    protected STBWMode bwnormal;
146    @XmlAttribute(name = "forcedash", namespace = "urn:schemas-microsoft-com:office:office")
147    protected org.docx4j.vml.officedrawing.STTrueFalse forcedash;
148    @XmlAttribute(name = "oleicon", namespace = "urn:schemas-microsoft-com:office:office")
149    protected org.docx4j.vml.officedrawing.STTrueFalse oleicon;
150    @XmlAttribute(name = "ole", namespace = "urn:schemas-microsoft-com:office:office")
151    protected String ole;
152    @XmlAttribute(name = "preferrelative", namespace = "urn:schemas-microsoft-com:office:office")
153    protected org.docx4j.vml.officedrawing.STTrueFalse preferrelative;
154    @XmlAttribute(name = "cliptowrap", namespace = "urn:schemas-microsoft-com:office:office")
155    protected org.docx4j.vml.officedrawing.STTrueFalse cliptowrap;
156    @XmlAttribute(name = "clip", namespace = "urn:schemas-microsoft-com:office:office")
157    protected org.docx4j.vml.officedrawing.STTrueFalse clip;
158    @XmlAttribute(name = "href")
159    protected String href;
160    @XmlAttribute(name = "target")
161    protected String target;
162    @XmlAttribute(name = "class")
163    protected String clazz;
164    @XmlAttribute(name = "title")
165    protected String title;
166    @XmlAttribute(name = "alt")
167    protected String alt;
168    @XmlAttribute(name = "coordsize")
169    protected String coordsize;
170    @XmlAttribute(name = "coordorigin")
171    protected String coordorigin;
172    @XmlAttribute(name = "wrapcoords")
173    protected String wrapcoords;
174    @XmlAttribute(name = "print")
175    protected org.docx4j.vml.STTrueFalse print;
176    @XmlAttribute(name = "style")
177    protected String style;
178    @XmlAttribute(name = "id")
179    protected String vmlId;
180    @XmlAttribute(name = "spid", namespace = "urn:schemas-microsoft-com:office:office")
181    protected String spid;
182    @XmlAttribute(name = "oned", namespace = "urn:schemas-microsoft-com:office:office")
183    protected org.docx4j.vml.officedrawing.STTrueFalse oned;
184    @XmlAttribute(name = "regroupid", namespace = "urn:schemas-microsoft-com:office:office")
185    protected BigInteger regroupid;
186    @XmlAttribute(name = "doubleclicknotify", namespace = "urn:schemas-microsoft-com:office:office")
187    protected org.docx4j.vml.officedrawing.STTrueFalse doubleclicknotify;
188    @XmlAttribute(name = "button", namespace = "urn:schemas-microsoft-com:office:office")
189    protected org.docx4j.vml.officedrawing.STTrueFalse button;
190    @XmlAttribute(name = "userhidden", namespace = "urn:schemas-microsoft-com:office:office")
191    protected org.docx4j.vml.officedrawing.STTrueFalse userhidden;
192    @XmlAttribute(name = "bullet", namespace = "urn:schemas-microsoft-com:office:office")
193    protected org.docx4j.vml.officedrawing.STTrueFalse bullet;
194    @XmlAttribute(name = "hr", namespace = "urn:schemas-microsoft-com:office:office")
195    protected org.docx4j.vml.officedrawing.STTrueFalse hr;
196    @XmlAttribute(name = "hrstd", namespace = "urn:schemas-microsoft-com:office:office")
197    protected org.docx4j.vml.officedrawing.STTrueFalse hrstd;
198    @XmlAttribute(name = "hrnoshade", namespace = "urn:schemas-microsoft-com:office:office")
199    protected org.docx4j.vml.officedrawing.STTrueFalse hrnoshade;
200    @XmlAttribute(name = "hrpct", namespace = "urn:schemas-microsoft-com:office:office")
201    protected Float hrpct;
202    @XmlAttribute(name = "hralign", namespace = "urn:schemas-microsoft-com:office:office")
203    protected STHrAlign hralign;
204    @XmlAttribute(name = "allowincell", namespace = "urn:schemas-microsoft-com:office:office")
205    protected org.docx4j.vml.officedrawing.STTrueFalse allowincell;
206    @XmlAttribute(name = "allowoverlap", namespace = "urn:schemas-microsoft-com:office:office")
207    protected org.docx4j.vml.officedrawing.STTrueFalse allowoverlap;
208    @XmlAttribute(name = "userdrawn", namespace = "urn:schemas-microsoft-com:office:office")
209    protected org.docx4j.vml.officedrawing.STTrueFalse userdrawn;
210    @XmlAttribute(name = "bordertopcolor", namespace = "urn:schemas-microsoft-com:office:office")
211    protected String bordertopcolor;
212    @XmlAttribute(name = "borderleftcolor", namespace = "urn:schemas-microsoft-com:office:office")
213    protected String borderleftcolor;
214    @XmlAttribute(name = "borderbottomcolor", namespace = "urn:schemas-microsoft-com:office:office")
215    protected String borderbottomcolor;
216    @XmlAttribute(name = "borderrightcolor", namespace = "urn:schemas-microsoft-com:office:office")
217    protected String borderrightcolor;
218    @XmlAttribute(name = "dgmlayout", namespace = "urn:schemas-microsoft-com:office:office")
219    protected BigInteger dgmlayout;
220    @XmlAttribute(name = "dgmnodekind", namespace = "urn:schemas-microsoft-com:office:office")
221    protected BigInteger dgmnodekind;
222    @XmlAttribute(name = "dgmlayoutmru", namespace = "urn:schemas-microsoft-com:office:office")
223    protected BigInteger dgmlayoutmru;
224    @XmlAttribute(name = "insetmode", namespace = "urn:schemas-microsoft-com:office:office")
225    protected STInsetMode insetmode;
226    @XmlTransient
227    private Object parent;
228
229    /**
230     * Gets the value of the egShapeElements property.
231     *
232     * <p>
233     * This accessor method returns a reference to the live list,
234     * not a snapshot. Therefore any modification you make to the
235     * returned list will be present inside the JAXB object.
236     * This is why there is not a <CODE>set</CODE> method for the egShapeElements property.
237     *
238     * <p>
239     * For example, to add a new item, do as follows:
240     * <pre>
241     *    getEGShapeElements().add(newItem);
242     * </pre>
243     *
244     *
245     * <p>
246     * Objects of the following type(s) are allowed in the list
247     * {@link JAXBElement }{@code <}{@link CTClientData }{@code >}
248     * {@link JAXBElement }{@code <}{@link CTClipPath }{@code >}
249     * {@link JAXBElement }{@code <}{@link CTImageData }{@code >}
250     * {@link JAXBElement }{@code <}{@link CTHandles }{@code >}
251     * {@link JAXBElement }{@code <}{@link CTSkew }{@code >}
252     * {@link JAXBElement }{@code <}{@link CTAnchorLock }{@code >}
253     * {@link JAXBElement }{@code <}{@link CTFill }{@code >}
254     * {@link JAXBElement }{@code <}{@link CTBorder }{@code >}
255     * {@link JAXBElement }{@code <}{@link CTExtrusion }{@code >}
256     * {@link JAXBElement }{@code <}{@link CTBorder }{@code >}
257     * {@link JAXBElement }{@code <}{@link CTTextbox }{@code >}
258     * {@link JAXBElement }{@code <}{@link CTFormulas }{@code >}
259     * {@link JAXBElement }{@code <}{@link CTTextPath }{@code >}
260     * {@link JAXBElement }{@code <}{@link CTShadow }{@code >}
261     * {@link JAXBElement }{@code <}{@link CTBorder }{@code >}
262     * {@link JAXBElement }{@code <}{@link CTSignatureLine }{@code >}
263     * {@link JAXBElement }{@code <}{@link CTBorder }{@code >}
264     * {@link JAXBElement }{@code <}{@link CTStroke }{@code >}
265     * {@link JAXBElement }{@code <}{@link CTPath }{@code >}
266     * {@link JAXBElement }{@code <}{@link CTLock }{@code >}
267     * {@link JAXBElement }{@code <}{@link CTWrap }{@code >}
268     * {@link JAXBElement }{@code <}{@link CTRel }{@code >}
269     * {@link JAXBElement }{@code <}{@link CTCallout }{@code >}
270     *
271     *
272     */
273    public List<JAXBElement<?>> getEGShapeElements() {
274        if (egShapeElements == null) {
275            egShapeElements = new ArrayList<JAXBElement<?>>();
276        }
277        return this.egShapeElements;
278    }
279
280    /**
281     * Gets the value of the from property.
282     *
283     * @return
284     *     possible object is
285     *     {@link String }
286     *     
287     */
288    public String getFrom() {
289        return from;
290    }
291
292    /**
293     * Sets the value of the from property.
294     *
295     * @param value
296     *     allowed object is
297     *     {@link String }
298     *     
299     */
300    public void setFrom(String value) {
301        this.from = value;
302    }
303
304    /**
305     * Gets the value of the control1 property.
306     *
307     * @return
308     *     possible object is
309     *     {@link String }
310     *     
311     */
312    public String getControl1() {
313        return control1;
314    }
315
316    /**
317     * Sets the value of the control1 property.
318     *
319     * @param value
320     *     allowed object is
321     *     {@link String }
322     *     
323     */
324    public void setControl1(String value) {
325        this.control1 = value;
326    }
327
328    /**
329     * Gets the value of the control2 property.
330     *
331     * @return
332     *     possible object is
333     *     {@link String }
334     *     
335     */
336    public String getControl2() {
337        return control2;
338    }
339
340    /**
341     * Sets the value of the control2 property.
342     *
343     * @param value
344     *     allowed object is
345     *     {@link String }
346     *     
347     */
348    public void setControl2(String value) {
349        this.control2 = value;
350    }
351
352    /**
353     * Gets the value of the to property.
354     *
355     * @return
356     *     possible object is
357     *     {@link String }
358     *     
359     */
360    public String getTo() {
361        return to;
362    }
363
364    /**
365     * Sets the value of the to property.
366     *
367     * @param value
368     *     allowed object is
369     *     {@link String }
370     *     
371     */
372    public void setTo(String value) {
373        this.to = value;
374    }
375
376    /**
377     * Gets the value of the opacity property.
378     *
379     * @return
380     *     possible object is
381     *     {@link String }
382     *     
383     */
384    public String getOpacity() {
385        return opacity;
386    }
387
388    /**
389     * Sets the value of the opacity property.
390     *
391     * @param value
392     *     allowed object is
393     *     {@link String }
394     *     
395     */
396    public void setOpacity(String value) {
397        this.opacity = value;
398    }
399
400    /**
401     * Gets the value of the stroked property.
402     *
403     * @return
404     *     possible object is
405     *     {@link org.docx4j.vml.STTrueFalse }
406     *     
407     */
408    public org.docx4j.vml.STTrueFalse getStroked() {
409        return stroked;
410    }
411
412    /**
413     * Sets the value of the stroked property.
414     *
415     * @param value
416     *     allowed object is
417     *     {@link org.docx4j.vml.STTrueFalse }
418     *     
419     */
420    public void setStroked(org.docx4j.vml.STTrueFalse value) {
421        this.stroked = value;
422    }
423
424    /**
425     * Gets the value of the strokecolor property.
426     *
427     * @return
428     *     possible object is
429     *     {@link String }
430     *     
431     */
432    public String getStrokecolor() {
433        return strokecolor;
434    }
435
436    /**
437     * Sets the value of the strokecolor property.
438     *
439     * @param value
440     *     allowed object is
441     *     {@link String }
442     *     
443     */
444    public void setStrokecolor(String value) {
445        this.strokecolor = value;
446    }
447
448    /**
449     * Gets the value of the strokeweight property.
450     *
451     * @return
452     *     possible object is
453     *     {@link String }
454     *     
455     */
456    public String getStrokeweight() {
457        return strokeweight;
458    }
459
460    /**
461     * Sets the value of the strokeweight property.
462     *
463     * @param value
464     *     allowed object is
465     *     {@link String }
466     *     
467     */
468    public void setStrokeweight(String value) {
469        this.strokeweight = value;
470    }
471
472    /**
473     * Gets the value of the insetpen property.
474     *
475     * @return
476     *     possible object is
477     *     {@link org.docx4j.vml.STTrueFalse }
478     *     
479     */
480    public org.docx4j.vml.STTrueFalse getInsetpen() {
481        return insetpen;
482    }
483
484    /**
485     * Sets the value of the insetpen property.
486     *
487     * @param value
488     *     allowed object is
489     *     {@link org.docx4j.vml.STTrueFalse }
490     *     
491     */
492    public void setInsetpen(org.docx4j.vml.STTrueFalse value) {
493        this.insetpen = value;
494    }
495
496    /**
497     * Gets the value of the filled property.
498     *
499     * @return
500     *     possible object is
501     *     {@link org.docx4j.vml.STTrueFalse }
502     *     
503     */
504    public org.docx4j.vml.STTrueFalse getFilled() {
505        return filled;
506    }
507
508    /**
509     * Sets the value of the filled property.
510     *
511     * @param value
512     *     allowed object is
513     *     {@link org.docx4j.vml.STTrueFalse }
514     *     
515     */
516    public void setFilled(org.docx4j.vml.STTrueFalse value) {
517        this.filled = value;
518    }
519
520    /**
521     * Gets the value of the fillcolor property.
522     *
523     * @return
524     *     possible object is
525     *     {@link String }
526     *     
527     */
528    public String getFillcolor() {
529        return fillcolor;
530    }
531
532    /**
533     * Sets the value of the fillcolor property.
534     *
535     * @param value
536     *     allowed object is
537     *     {@link String }
538     *     
539     */
540    public void setFillcolor(String value) {
541        this.fillcolor = value;
542    }
543
544    /**
545     * Gets the value of the chromakey property.
546     *
547     * @return
548     *     possible object is
549     *     {@link String }
550     *     
551     */
552    public String getChromakey() {
553        return chromakey;
554    }
555
556    /**
557     * Sets the value of the chromakey property.
558     *
559     * @param value
560     *     allowed object is
561     *     {@link String }
562     *     
563     */
564    public void setChromakey(String value) {
565        this.chromakey = value;
566    }
567
568    /**
569     * Optional Number
570     *
571     * @return
572     *     possible object is
573     *     {@link Float }
574     *     
575     */
576    public Float getSpt() {
577        return spt;
578    }
579
580    /**
581     * Sets the value of the spt property.
582     *
583     * @param value
584     *     allowed object is
585     *     {@link Float }
586     *     
587     */
588    public void setSpt(Float value) {
589        this.spt = value;
590    }
591
592    /**
593     * Shape Connector Type
594     *
595     * @return
596     *     possible object is
597     *     {@link STConnectorType }
598     *     
599     */
600    public STConnectorType getConnectortype() {
601        if (connectortype == null) {
602            return STConnectorType.STRAIGHT;
603        } else {
604            return connectortype;
605        }
606    }
607
608    /**
609     * Sets the value of the connectortype property.
610     *
611     * @param value
612     *     allowed object is
613     *     {@link STConnectorType }
614     *     
615     */
616    public void setConnectortype(STConnectorType value) {
617        this.connectortype = value;
618    }
619
620    /**
621     * Black-and-White Mode
622     *
623     * @return
624     *     possible object is
625     *     {@link STBWMode }
626     *     
627     */
628    public STBWMode getBwmode() {
629        return bwmode;
630    }
631
632    /**
633     * Sets the value of the bwmode property.
634     *
635     * @param value
636     *     allowed object is
637     *     {@link STBWMode }
638     *     
639     */
640    public void setBwmode(STBWMode value) {
641        this.bwmode = value;
642    }
643
644    /**
645     * Pure Black-and-White Mode
646     *
647     * @return
648     *     possible object is
649     *     {@link STBWMode }
650     *     
651     */
652    public STBWMode getBwpure() {
653        return bwpure;
654    }
655
656    /**
657     * Sets the value of the bwpure property.
658     *
659     * @param value
660     *     allowed object is
661     *     {@link STBWMode }
662     *     
663     */
664    public void setBwpure(STBWMode value) {
665        this.bwpure = value;
666    }
667
668    /**
669     * Normal Black-and-White Mode
670     *
671     * @return
672     *     possible object is
673     *     {@link STBWMode }
674     *     
675     */
676    public STBWMode getBwnormal() {
677        return bwnormal;
678    }
679
680    /**
681     * Sets the value of the bwnormal property.
682     *
683     * @param value
684     *     allowed object is
685     *     {@link STBWMode }
686     *     
687     */
688    public void setBwnormal(STBWMode value) {
689        this.bwnormal = value;
690    }
691
692    /**
693     * Force Dashed Outline
694     *
695     * @return
696     *     possible object is
697     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
698     *     
699     */
700    public org.docx4j.vml.officedrawing.STTrueFalse getForcedash() {
701        return forcedash;
702    }
703
704    /**
705     * Sets the value of the forcedash property.
706     *
707     * @param value
708     *     allowed object is
709     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
710     *     
711     */
712    public void setForcedash(org.docx4j.vml.officedrawing.STTrueFalse value) {
713        this.forcedash = value;
714    }
715
716    /**
717     * Embedded Object Icon Toggle
718     *
719     * @return
720     *     possible object is
721     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
722     *     
723     */
724    public org.docx4j.vml.officedrawing.STTrueFalse getOleicon() {
725        return oleicon;
726    }
727
728    /**
729     * Sets the value of the oleicon property.
730     *
731     * @param value
732     *     allowed object is
733     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
734     *     
735     */
736    public void setOleicon(org.docx4j.vml.officedrawing.STTrueFalse value) {
737        this.oleicon = value;
738    }
739
740    /**
741     * Embedded Object Toggle
742     *
743     * @return
744     *     possible object is
745     *     {@link String }
746     *     
747     */
748    public String getOle() {
749        return ole;
750    }
751
752    /**
753     * Sets the value of the ole property.
754     *
755     * @param value
756     *     allowed object is
757     *     {@link String }
758     *     
759     */
760    public void setOle(String value) {
761        this.ole = value;
762    }
763
764    /**
765     * Relative Resize Toggle
766     *
767     * @return
768     *     possible object is
769     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
770     *     
771     */
772    public org.docx4j.vml.officedrawing.STTrueFalse getPreferrelative() {
773        return preferrelative;
774    }
775
776    /**
777     * Sets the value of the preferrelative property.
778     *
779     * @param value
780     *     allowed object is
781     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
782     *     
783     */
784    public void setPreferrelative(org.docx4j.vml.officedrawing.STTrueFalse value) {
785        this.preferrelative = value;
786    }
787
788    /**
789     * Clip to Wrapping Polygon
790     *
791     * @return
792     *     possible object is
793     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
794     *     
795     */
796    public org.docx4j.vml.officedrawing.STTrueFalse getCliptowrap() {
797        return cliptowrap;
798    }
799
800    /**
801     * Sets the value of the cliptowrap property.
802     *
803     * @param value
804     *     allowed object is
805     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
806     *     
807     */
808    public void setCliptowrap(org.docx4j.vml.officedrawing.STTrueFalse value) {
809        this.cliptowrap = value;
810    }
811
812    /**
813     * Clipping Toggle
814     *
815     * @return
816     *     possible object is
817     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
818     *     
819     */
820    public org.docx4j.vml.officedrawing.STTrueFalse getClip() {
821        return clip;
822    }
823
824    /**
825     * Sets the value of the clip property.
826     *
827     * @param value
828     *     allowed object is
829     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
830     *     
831     */
832    public void setClip(org.docx4j.vml.officedrawing.STTrueFalse value) {
833        this.clip = value;
834    }
835
836    /**
837     * Gets the value of the href property.
838     *
839     * @return
840     *     possible object is
841     *     {@link String }
842     *     
843     */
844    public String getHref() {
845        return href;
846    }
847
848    /**
849     * Sets the value of the href property.
850     *
851     * @param value
852     *     allowed object is
853     *     {@link String }
854     *     
855     */
856    public void setHref(String value) {
857        this.href = value;
858    }
859
860    /**
861     * Gets the value of the target property.
862     *
863     * @return
864     *     possible object is
865     *     {@link String }
866     *     
867     */
868    public String getTarget() {
869        return target;
870    }
871
872    /**
873     * Sets the value of the target property.
874     *
875     * @param value
876     *     allowed object is
877     *     {@link String }
878     *     
879     */
880    public void setTarget(String value) {
881        this.target = value;
882    }
883
884    /**
885     * Gets the value of the clazz property.
886     *
887     * @return
888     *     possible object is
889     *     {@link String }
890     *     
891     */
892    public String getClazz() {
893        return clazz;
894    }
895
896    /**
897     * Sets the value of the clazz property.
898     *
899     * @param value
900     *     allowed object is
901     *     {@link String }
902     *     
903     */
904    public void setClazz(String value) {
905        this.clazz = value;
906    }
907
908    /**
909     * Gets the value of the title property.
910     *
911     * @return
912     *     possible object is
913     *     {@link String }
914     *     
915     */
916    public String getTitle() {
917        return title;
918    }
919
920    /**
921     * Sets the value of the title property.
922     *
923     * @param value
924     *     allowed object is
925     *     {@link String }
926     *     
927     */
928    public void setTitle(String value) {
929        this.title = value;
930    }
931
932    /**
933     * Gets the value of the alt property.
934     *
935     * @return
936     *     possible object is
937     *     {@link String }
938     *     
939     */
940    public String getAlt() {
941        return alt;
942    }
943
944    /**
945     * Sets the value of the alt property.
946     *
947     * @param value
948     *     allowed object is
949     *     {@link String }
950     *     
951     */
952    public void setAlt(String value) {
953        this.alt = value;
954    }
955
956    /**
957     * Gets the value of the coordsize property.
958     *
959     * @return
960     *     possible object is
961     *     {@link String }
962     *     
963     */
964    public String getCoordsize() {
965        return coordsize;
966    }
967
968    /**
969     * Sets the value of the coordsize property.
970     *
971     * @param value
972     *     allowed object is
973     *     {@link String }
974     *     
975     */
976    public void setCoordsize(String value) {
977        this.coordsize = value;
978    }
979
980    /**
981     * Gets the value of the coordorigin property.
982     *
983     * @return
984     *     possible object is
985     *     {@link String }
986     *     
987     */
988    public String getCoordorigin() {
989        return coordorigin;
990    }
991
992    /**
993     * Sets the value of the coordorigin property.
994     *
995     * @param value
996     *     allowed object is
997     *     {@link String }
998     *     
999     */
1000    public void setCoordorigin(String value) {
1001        this.coordorigin = value;
1002    }
1003
1004    /**
1005     * Gets the value of the wrapcoords property.
1006     *
1007     * @return
1008     *     possible object is
1009     *     {@link String }
1010     *     
1011     */
1012    public String getWrapcoords() {
1013        return wrapcoords;
1014    }
1015
1016    /**
1017     * Sets the value of the wrapcoords property.
1018     *
1019     * @param value
1020     *     allowed object is
1021     *     {@link String }
1022     *     
1023     */
1024    public void setWrapcoords(String value) {
1025        this.wrapcoords = value;
1026    }
1027
1028    /**
1029     * Gets the value of the print property.
1030     *
1031     * @return
1032     *     possible object is
1033     *     {@link org.docx4j.vml.STTrueFalse }
1034     *     
1035     */
1036    public org.docx4j.vml.STTrueFalse getPrint() {
1037        return print;
1038    }
1039
1040    /**
1041     * Sets the value of the print property.
1042     *
1043     * @param value
1044     *     allowed object is
1045     *     {@link org.docx4j.vml.STTrueFalse }
1046     *     
1047     */
1048    public void setPrint(org.docx4j.vml.STTrueFalse value) {
1049        this.print = value;
1050    }
1051
1052    /**
1053     * Gets the value of the style property.
1054     *
1055     * @return
1056     *     possible object is
1057     *     {@link String }
1058     *     
1059     */
1060    public String getStyle() {
1061        return style;
1062    }
1063
1064    /**
1065     * Sets the value of the style property.
1066     *
1067     * @param value
1068     *     allowed object is
1069     *     {@link String }
1070     *     
1071     */
1072    public void setStyle(String value) {
1073        this.style = value;
1074    }
1075
1076    /**
1077     * Gets the value of the vmlId property.
1078     *
1079     * @return
1080     *     possible object is
1081     *     {@link String }
1082     *     
1083     */
1084    public String getVmlId() {
1085        return vmlId;
1086    }
1087
1088    /**
1089     * Sets the value of the vmlId property.
1090     *
1091     * @param value
1092     *     allowed object is
1093     *     {@link String }
1094     *     
1095     */
1096    public void setVmlId(String value) {
1097        this.vmlId = value;
1098    }
1099
1100    /**
1101     * Optional String
1102     *
1103     * @return
1104     *     possible object is
1105     *     {@link String }
1106     *     
1107     */
1108    public String getSpid() {
1109        return spid;
1110    }
1111
1112    /**
1113     * Sets the value of the spid property.
1114     *
1115     * @param value
1116     *     allowed object is
1117     *     {@link String }
1118     *     
1119     */
1120    public void setSpid(String value) {
1121        this.spid = value;
1122    }
1123
1124    /**
1125     * Shape Handle Toggle
1126     *
1127     * @return
1128     *     possible object is
1129     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1130     *     
1131     */
1132    public org.docx4j.vml.officedrawing.STTrueFalse getOned() {
1133        return oned;
1134    }
1135
1136    /**
1137     * Sets the value of the oned property.
1138     *
1139     * @param value
1140     *     allowed object is
1141     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1142     *     
1143     */
1144    public void setOned(org.docx4j.vml.officedrawing.STTrueFalse value) {
1145        this.oned = value;
1146    }
1147
1148    /**
1149     * Regroup ID
1150     *
1151     * @return
1152     *     possible object is
1153     *     {@link BigInteger }
1154     *     
1155     */
1156    public BigInteger getRegroupid() {
1157        return regroupid;
1158    }
1159
1160    /**
1161     * Sets the value of the regroupid property.
1162     *
1163     * @param value
1164     *     allowed object is
1165     *     {@link BigInteger }
1166     *     
1167     */
1168    public void setRegroupid(BigInteger value) {
1169        this.regroupid = value;
1170    }
1171
1172    /**
1173     * Double-click Notification Toggle
1174     *
1175     * @return
1176     *     possible object is
1177     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1178     *     
1179     */
1180    public org.docx4j.vml.officedrawing.STTrueFalse getDoubleclicknotify() {
1181        return doubleclicknotify;
1182    }
1183
1184    /**
1185     * Sets the value of the doubleclicknotify property.
1186     *
1187     * @param value
1188     *     allowed object is
1189     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1190     *     
1191     */
1192    public void setDoubleclicknotify(org.docx4j.vml.officedrawing.STTrueFalse value) {
1193        this.doubleclicknotify = value;
1194    }
1195
1196    /**
1197     * Button Behavior Toggle
1198     *
1199     * @return
1200     *     possible object is
1201     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1202     *     
1203     */
1204    public org.docx4j.vml.officedrawing.STTrueFalse getButton() {
1205        return button;
1206    }
1207
1208    /**
1209     * Sets the value of the button property.
1210     *
1211     * @param value
1212     *     allowed object is
1213     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1214     *     
1215     */
1216    public void setButton(org.docx4j.vml.officedrawing.STTrueFalse value) {
1217        this.button = value;
1218    }
1219
1220    /**
1221     * Hide Script Anchors
1222     *
1223     * @return
1224     *     possible object is
1225     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1226     *     
1227     */
1228    public org.docx4j.vml.officedrawing.STTrueFalse getUserhidden() {
1229        return userhidden;
1230    }
1231
1232    /**
1233     * Sets the value of the userhidden property.
1234     *
1235     * @param value
1236     *     allowed object is
1237     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1238     *     
1239     */
1240    public void setUserhidden(org.docx4j.vml.officedrawing.STTrueFalse value) {
1241        this.userhidden = value;
1242    }
1243
1244    /**
1245     * Graphical Bullet
1246     *
1247     * @return
1248     *     possible object is
1249     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1250     *     
1251     */
1252    public org.docx4j.vml.officedrawing.STTrueFalse getBullet() {
1253        return bullet;
1254    }
1255
1256    /**
1257     * Sets the value of the bullet property.
1258     *
1259     * @param value
1260     *     allowed object is
1261     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1262     *     
1263     */
1264    public void setBullet(org.docx4j.vml.officedrawing.STTrueFalse value) {
1265        this.bullet = value;
1266    }
1267
1268    /**
1269     * Horizontal Rule Toggle
1270     *
1271     * @return
1272     *     possible object is
1273     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1274     *     
1275     */
1276    public org.docx4j.vml.officedrawing.STTrueFalse getHr() {
1277        return hr;
1278    }
1279
1280    /**
1281     * Sets the value of the hr property.
1282     *
1283     * @param value
1284     *     allowed object is
1285     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1286     *     
1287     */
1288    public void setHr(org.docx4j.vml.officedrawing.STTrueFalse value) {
1289        this.hr = value;
1290    }
1291
1292    /**
1293     * Horizontal Rule Standard Display Toggle
1294     *
1295     * @return
1296     *     possible object is
1297     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1298     *     
1299     */
1300    public org.docx4j.vml.officedrawing.STTrueFalse getHrstd() {
1301        return hrstd;
1302    }
1303
1304    /**
1305     * Sets the value of the hrstd property.
1306     *
1307     * @param value
1308     *     allowed object is
1309     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1310     *     
1311     */
1312    public void setHrstd(org.docx4j.vml.officedrawing.STTrueFalse value) {
1313        this.hrstd = value;
1314    }
1315
1316    /**
1317     * Horizontal Rule 3D Shading Toggle
1318     *
1319     * @return
1320     *     possible object is
1321     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1322     *     
1323     */
1324    public org.docx4j.vml.officedrawing.STTrueFalse getHrnoshade() {
1325        return hrnoshade;
1326    }
1327
1328    /**
1329     * Sets the value of the hrnoshade property.
1330     *
1331     * @param value
1332     *     allowed object is
1333     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1334     *     
1335     */
1336    public void setHrnoshade(org.docx4j.vml.officedrawing.STTrueFalse value) {
1337        this.hrnoshade = value;
1338    }
1339
1340    /**
1341     * Horizontal Rule Length Percentage
1342     *
1343     * @return
1344     *     possible object is
1345     *     {@link Float }
1346     *     
1347     */
1348    public Float getHrpct() {
1349        return hrpct;
1350    }
1351
1352    /**
1353     * Sets the value of the hrpct property.
1354     *
1355     * @param value
1356     *     allowed object is
1357     *     {@link Float }
1358     *     
1359     */
1360    public void setHrpct(Float value) {
1361        this.hrpct = value;
1362    }
1363
1364    /**
1365     * Horizontal Rule Alignment
1366     *
1367     * @return
1368     *     possible object is
1369     *     {@link STHrAlign }
1370     *     
1371     */
1372    public STHrAlign getHralign() {
1373        if (hralign == null) {
1374            return STHrAlign.LEFT;
1375        } else {
1376            return hralign;
1377        }
1378    }
1379
1380    /**
1381     * Sets the value of the hralign property.
1382     *
1383     * @param value
1384     *     allowed object is
1385     *     {@link STHrAlign }
1386     *     
1387     */
1388    public void setHralign(STHrAlign value) {
1389        this.hralign = value;
1390    }
1391
1392    /**
1393     * Allow in Table Cell
1394     *
1395     * @return
1396     *     possible object is
1397     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1398     *     
1399     */
1400    public org.docx4j.vml.officedrawing.STTrueFalse getAllowincell() {
1401        return allowincell;
1402    }
1403
1404    /**
1405     * Sets the value of the allowincell property.
1406     *
1407     * @param value
1408     *     allowed object is
1409     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1410     *     
1411     */
1412    public void setAllowincell(org.docx4j.vml.officedrawing.STTrueFalse value) {
1413        this.allowincell = value;
1414    }
1415
1416    /**
1417     * Allow Shape Overlap
1418     *
1419     * @return
1420     *     possible object is
1421     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1422     *     
1423     */
1424    public org.docx4j.vml.officedrawing.STTrueFalse getAllowoverlap() {
1425        return allowoverlap;
1426    }
1427
1428    /**
1429     * Sets the value of the allowoverlap property.
1430     *
1431     * @param value
1432     *     allowed object is
1433     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1434     *     
1435     */
1436    public void setAllowoverlap(org.docx4j.vml.officedrawing.STTrueFalse value) {
1437        this.allowoverlap = value;
1438    }
1439
1440    /**
1441     * Exists In Master Slide
1442     *
1443     * @return
1444     *     possible object is
1445     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1446     *     
1447     */
1448    public org.docx4j.vml.officedrawing.STTrueFalse getUserdrawn() {
1449        return userdrawn;
1450    }
1451
1452    /**
1453     * Sets the value of the userdrawn property.
1454     *
1455     * @param value
1456     *     allowed object is
1457     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
1458     *     
1459     */
1460    public void setUserdrawn(org.docx4j.vml.officedrawing.STTrueFalse value) {
1461        this.userdrawn = value;
1462    }
1463
1464    /**
1465     * Border Top Color
1466     *
1467     * @return
1468     *     possible object is
1469     *     {@link String }
1470     *     
1471     */
1472    public String getBordertopcolor() {
1473        return bordertopcolor;
1474    }
1475
1476    /**
1477     * Sets the value of the bordertopcolor property.
1478     *
1479     * @param value
1480     *     allowed object is
1481     *     {@link String }
1482     *     
1483     */
1484    public void setBordertopcolor(String value) {
1485        this.bordertopcolor = value;
1486    }
1487
1488    /**
1489     * Border Left Color
1490     *
1491     * @return
1492     *     possible object is
1493     *     {@link String }
1494     *     
1495     */
1496    public String getBorderleftcolor() {
1497        return borderleftcolor;
1498    }
1499
1500    /**
1501     * Sets the value of the borderleftcolor property.
1502     *
1503     * @param value
1504     *     allowed object is
1505     *     {@link String }
1506     *     
1507     */
1508    public void setBorderleftcolor(String value) {
1509        this.borderleftcolor = value;
1510    }
1511
1512    /**
1513     * Bottom Border Color
1514     *
1515     * @return
1516     *     possible object is
1517     *     {@link String }
1518     *     
1519     */
1520    public String getBorderbottomcolor() {
1521        return borderbottomcolor;
1522    }
1523
1524    /**
1525     * Sets the value of the borderbottomcolor property.
1526     *
1527     * @param value
1528     *     allowed object is
1529     *     {@link String }
1530     *     
1531     */
1532    public void setBorderbottomcolor(String value) {
1533        this.borderbottomcolor = value;
1534    }
1535
1536    /**
1537     * Border Right Color
1538     *
1539     * @return
1540     *     possible object is
1541     *     {@link String }
1542     *     
1543     */
1544    public String getBorderrightcolor() {
1545        return borderrightcolor;
1546    }
1547
1548    /**
1549     * Sets the value of the borderrightcolor property.
1550     *
1551     * @param value
1552     *     allowed object is
1553     *     {@link String }
1554     *     
1555     */
1556    public void setBorderrightcolor(String value) {
1557        this.borderrightcolor = value;
1558    }
1559
1560    /**
1561     * Diagram Node Layout Identifier
1562     *
1563     * @return
1564     *     possible object is
1565     *     {@link BigInteger }
1566     *     
1567     */
1568    public BigInteger getDgmlayout() {
1569        return dgmlayout;
1570    }
1571
1572    /**
1573     * Sets the value of the dgmlayout property.
1574     *
1575     * @param value
1576     *     allowed object is
1577     *     {@link BigInteger }
1578     *     
1579     */
1580    public void setDgmlayout(BigInteger value) {
1581        this.dgmlayout = value;
1582    }
1583
1584    /**
1585     * Diagram Node Identifier
1586     *
1587     * @return
1588     *     possible object is
1589     *     {@link BigInteger }
1590     *     
1591     */
1592    public BigInteger getDgmnodekind() {
1593        return dgmnodekind;
1594    }
1595
1596    /**
1597     * Sets the value of the dgmnodekind property.
1598     *
1599     * @param value
1600     *     allowed object is
1601     *     {@link BigInteger }
1602     *     
1603     */
1604    public void setDgmnodekind(BigInteger value) {
1605        this.dgmnodekind = value;
1606    }
1607
1608    /**
1609     * Diagram Node Recent Layout Identifier
1610     *
1611     * @return
1612     *     possible object is
1613     *     {@link BigInteger }
1614     *     
1615     */
1616    public BigInteger getDgmlayoutmru() {
1617        return dgmlayoutmru;
1618    }
1619
1620    /**
1621     * Sets the value of the dgmlayoutmru property.
1622     *
1623     * @param value
1624     *     allowed object is
1625     *     {@link BigInteger }
1626     *     
1627     */
1628    public void setDgmlayoutmru(BigInteger value) {
1629        this.dgmlayoutmru = value;
1630    }
1631
1632    /**
1633     * Text Inset Mode
1634     *
1635     * @return
1636     *     possible object is
1637     *     {@link STInsetMode }
1638     *     
1639     */
1640    public STInsetMode getInsetmode() {
1641        if (insetmode == null) {
1642            return STInsetMode.CUSTOM;
1643        } else {
1644            return insetmode;
1645        }
1646    }
1647
1648    /**
1649     * Sets the value of the insetmode property.
1650     *
1651     * @param value
1652     *     allowed object is
1653     *     {@link STInsetMode }
1654     *     
1655     */
1656    public void setInsetmode(STInsetMode value) {
1657        this.insetmode = value;
1658    }
1659
1660    /**
1661     * Gets the parent object in the object tree representing the unmarshalled xml document.
1662     *
1663     * @return
1664     *     The parent object.
1665     */
1666    public Object getParent() {
1667        return this.parent;
1668    }
1669
1670    public void setParent(Object parent) {
1671        this.parent = parent;
1672    }
1673
1674    /**
1675     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1676     *
1677     * @param parent
1678     *     The parent object in the object tree.
1679     * @param unmarshaller
1680     *     The unmarshaller that generated the instance.
1681     */
1682    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1683        setParent(parent);
1684    }
1685
1686}
Note: See TracBrowser for help on using the repository browser.