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

Revision 1461, 16.6 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 javax.xml.bind.Unmarshaller;
25import javax.xml.bind.annotation.XmlAccessType;
26import javax.xml.bind.annotation.XmlAccessorType;
27import javax.xml.bind.annotation.XmlAttribute;
28import javax.xml.bind.annotation.XmlTransient;
29import javax.xml.bind.annotation.XmlType;
30import org.jvnet.jaxb2_commons.ppp.Child;
31
32
33/**
34 * <p>Java class for CT_ImageData complex type.
35 *
36 * <p>The following schema fragment specifies the expected content contained within this class.
37 *
38 * <pre>
39 * &lt;complexType name="CT_ImageData">
40 *   &lt;complexContent>
41 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 *       &lt;attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
43 *       &lt;attGroup ref="{urn:schemas-microsoft-com:vml}AG_ImageAttributes"/>
44 *       &lt;attGroup ref="{urn:schemas-microsoft-com:vml}AG_Chromakey"/>
45 *       &lt;attribute name="embosscolor" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
46 *       &lt;attribute name="recolortarget" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
47 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}href"/>
48 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}althref"/>
49 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}title"/>
50 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}oleid"/>
51 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}detectmouseclick"/>
52 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}movie"/>
53 *       &lt;attribute ref="{urn:schemas-microsoft-com:office:office}relid"/>
54 *       &lt;attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
55 *       &lt;attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}pict"/>
56 *       &lt;attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}href"/>
57 *     &lt;/restriction>
58 *   &lt;/complexContent>
59 * &lt;/complexType>
60 * </pre>
61 *
62 *
63 */
64@XmlAccessorType(XmlAccessType.FIELD)
65@XmlType(name = "CT_ImageData")
66public class CTImageData implements Child
67{
68
69    @XmlAttribute(name = "embosscolor")
70    protected String embosscolor;
71    @XmlAttribute(name = "recolortarget")
72    protected String recolortarget;
73    @XmlAttribute(name = "href", namespace = "urn:schemas-microsoft-com:office:office")
74    protected String ohref;
75    @XmlAttribute(name = "althref", namespace = "urn:schemas-microsoft-com:office:office")
76    protected String althref;
77    @XmlAttribute(name = "title", namespace = "urn:schemas-microsoft-com:office:office")
78    protected String title;
79    @XmlAttribute(name = "oleid", namespace = "urn:schemas-microsoft-com:office:office")
80    protected Float oleid;
81    @XmlAttribute(name = "detectmouseclick", namespace = "urn:schemas-microsoft-com:office:office")
82    protected org.docx4j.vml.officedrawing.STTrueFalse detectmouseclick;
83    @XmlAttribute(name = "movie", namespace = "urn:schemas-microsoft-com:office:office")
84    protected Float movie;
85    @XmlAttribute(name = "relid", namespace = "urn:schemas-microsoft-com:office:office")
86    protected String relid;
87    @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
88    protected String id;
89    @XmlAttribute(name = "pict", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
90    protected String pict;
91    @XmlAttribute(name = "href", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
92    protected String href;
93    @XmlAttribute(name = "id")
94    protected String vmlId;
95    @XmlAttribute(name = "src")
96    protected String src;
97    @XmlAttribute(name = "cropleft")
98    protected String cropleft;
99    @XmlAttribute(name = "croptop")
100    protected String croptop;
101    @XmlAttribute(name = "cropright")
102    protected String cropright;
103    @XmlAttribute(name = "cropbottom")
104    protected String cropbottom;
105    @XmlAttribute(name = "gain")
106    protected String gain;
107    @XmlAttribute(name = "blacklevel")
108    protected String blacklevel;
109    @XmlAttribute(name = "gamma")
110    protected String gamma;
111    @XmlAttribute(name = "grayscale")
112    protected org.docx4j.vml.STTrueFalse grayscale;
113    @XmlAttribute(name = "bilevel")
114    protected org.docx4j.vml.STTrueFalse bilevel;
115    @XmlAttribute(name = "chromakey")
116    protected String chromakey;
117    @XmlTransient
118    private Object parent;
119
120    /**
121     * Gets the value of the embosscolor property.
122     *
123     * @return
124     *     possible object is
125     *     {@link String }
126     *     
127     */
128    public String getEmbosscolor() {
129        return embosscolor;
130    }
131
132    /**
133     * Sets the value of the embosscolor property.
134     *
135     * @param value
136     *     allowed object is
137     *     {@link String }
138     *     
139     */
140    public void setEmbosscolor(String value) {
141        this.embosscolor = value;
142    }
143
144    /**
145     * Gets the value of the recolortarget property.
146     *
147     * @return
148     *     possible object is
149     *     {@link String }
150     *     
151     */
152    public String getRecolortarget() {
153        return recolortarget;
154    }
155
156    /**
157     * Sets the value of the recolortarget property.
158     *
159     * @param value
160     *     allowed object is
161     *     {@link String }
162     *     
163     */
164    public void setRecolortarget(String value) {
165        this.recolortarget = value;
166    }
167
168    /**
169     * Original Image Reference
170     *
171     * @return
172     *     possible object is
173     *     {@link String }
174     *     
175     */
176    public String getOhref() {
177        return ohref;
178    }
179
180    /**
181     * Sets the value of the ohref property.
182     *
183     * @param value
184     *     allowed object is
185     *     {@link String }
186     *     
187     */
188    public void setOhref(String value) {
189        this.ohref = value;
190    }
191
192    /**
193     * Alternate Image Reference
194     *
195     * @return
196     *     possible object is
197     *     {@link String }
198     *     
199     */
200    public String getAlthref() {
201        return althref;
202    }
203
204    /**
205     * Sets the value of the althref property.
206     *
207     * @param value
208     *     allowed object is
209     *     {@link String }
210     *     
211     */
212    public void setAlthref(String value) {
213        this.althref = value;
214    }
215
216    /**
217     * Image Data Title
218     *
219     * @return
220     *     possible object is
221     *     {@link String }
222     *     
223     */
224    public String getTitle() {
225        return title;
226    }
227
228    /**
229     * Sets the value of the title property.
230     *
231     * @param value
232     *     allowed object is
233     *     {@link String }
234     *     
235     */
236    public void setTitle(String value) {
237        this.title = value;
238    }
239
240    /**
241     * Image Embedded Object ID
242     *
243     * @return
244     *     possible object is
245     *     {@link Float }
246     *     
247     */
248    public Float getOleid() {
249        return oleid;
250    }
251
252    /**
253     * Sets the value of the oleid property.
254     *
255     * @param value
256     *     allowed object is
257     *     {@link Float }
258     *     
259     */
260    public void setOleid(Float value) {
261        this.oleid = value;
262    }
263
264    /**
265     * Detect Mouse Click
266     *
267     * @return
268     *     possible object is
269     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
270     *     
271     */
272    public org.docx4j.vml.officedrawing.STTrueFalse getDetectmouseclick() {
273        return detectmouseclick;
274    }
275
276    /**
277     * Sets the value of the detectmouseclick property.
278     *
279     * @param value
280     *     allowed object is
281     *     {@link org.docx4j.vml.officedrawing.STTrueFalse }
282     *     
283     */
284    public void setDetectmouseclick(org.docx4j.vml.officedrawing.STTrueFalse value) {
285        this.detectmouseclick = value;
286    }
287
288    /**
289     * Movie Reference
290     *
291     * @return
292     *     possible object is
293     *     {@link Float }
294     *     
295     */
296    public Float getMovie() {
297        return movie;
298    }
299
300    /**
301     * Sets the value of the movie property.
302     *
303     * @param value
304     *     allowed object is
305     *     {@link Float }
306     *     
307     */
308    public void setMovie(Float value) {
309        this.movie = value;
310    }
311
312    /**
313     * Relationship to Part
314     *
315     * @return
316     *     possible object is
317     *     {@link String }
318     *     
319     */
320    public String getRelid() {
321        return relid;
322    }
323
324    /**
325     * Sets the value of the relid property.
326     *
327     * @param value
328     *     allowed object is
329     *     {@link String }
330     *     
331     */
332    public void setRelid(String value) {
333        this.relid = value;
334    }
335
336    /**
337     * Explicit Relationship to Image Data
338     *
339     * @return
340     *     possible object is
341     *     {@link String }
342     *     
343     */
344    public String getId() {
345        return id;
346    }
347
348    /**
349     * Sets the value of the id property.
350     *
351     * @param value
352     *     allowed object is
353     *     {@link String }
354     *     
355     */
356    public void setId(String value) {
357        this.id = value;
358    }
359
360    /**
361     * Explicit Relationship to Alternate Image Data
362     *
363     * @return
364     *     possible object is
365     *     {@link String }
366     *     
367     */
368    public String getPict() {
369        return pict;
370    }
371
372    /**
373     * Sets the value of the pict property.
374     *
375     * @param value
376     *     allowed object is
377     *     {@link String }
378     *     
379     */
380    public void setPict(String value) {
381        this.pict = value;
382    }
383
384    /**
385     * Explicit Relationship to Hyperlink Target
386     *
387     * @return
388     *     possible object is
389     *     {@link String }
390     *     
391     */
392    public String getHref() {
393        return href;
394    }
395
396    /**
397     * Sets the value of the href property.
398     *
399     * @param value
400     *     allowed object is
401     *     {@link String }
402     *     
403     */
404    public void setHref(String value) {
405        this.href = value;
406    }
407
408    /**
409     * Gets the value of the vmlId property.
410     *
411     * @return
412     *     possible object is
413     *     {@link String }
414     *     
415     */
416    public String getVmlId() {
417        return vmlId;
418    }
419
420    /**
421     * Sets the value of the vmlId property.
422     *
423     * @param value
424     *     allowed object is
425     *     {@link String }
426     *     
427     */
428    public void setVmlId(String value) {
429        this.vmlId = value;
430    }
431
432    /**
433     * Gets the value of the src property.
434     *
435     * @return
436     *     possible object is
437     *     {@link String }
438     *     
439     */
440    public String getSrc() {
441        return src;
442    }
443
444    /**
445     * Sets the value of the src property.
446     *
447     * @param value
448     *     allowed object is
449     *     {@link String }
450     *     
451     */
452    public void setSrc(String value) {
453        this.src = value;
454    }
455
456    /**
457     * Gets the value of the cropleft property.
458     *
459     * @return
460     *     possible object is
461     *     {@link String }
462     *     
463     */
464    public String getCropleft() {
465        return cropleft;
466    }
467
468    /**
469     * Sets the value of the cropleft property.
470     *
471     * @param value
472     *     allowed object is
473     *     {@link String }
474     *     
475     */
476    public void setCropleft(String value) {
477        this.cropleft = value;
478    }
479
480    /**
481     * Gets the value of the croptop property.
482     *
483     * @return
484     *     possible object is
485     *     {@link String }
486     *     
487     */
488    public String getCroptop() {
489        return croptop;
490    }
491
492    /**
493     * Sets the value of the croptop property.
494     *
495     * @param value
496     *     allowed object is
497     *     {@link String }
498     *     
499     */
500    public void setCroptop(String value) {
501        this.croptop = value;
502    }
503
504    /**
505     * Gets the value of the cropright property.
506     *
507     * @return
508     *     possible object is
509     *     {@link String }
510     *     
511     */
512    public String getCropright() {
513        return cropright;
514    }
515
516    /**
517     * Sets the value of the cropright property.
518     *
519     * @param value
520     *     allowed object is
521     *     {@link String }
522     *     
523     */
524    public void setCropright(String value) {
525        this.cropright = value;
526    }
527
528    /**
529     * Gets the value of the cropbottom property.
530     *
531     * @return
532     *     possible object is
533     *     {@link String }
534     *     
535     */
536    public String getCropbottom() {
537        return cropbottom;
538    }
539
540    /**
541     * Sets the value of the cropbottom property.
542     *
543     * @param value
544     *     allowed object is
545     *     {@link String }
546     *     
547     */
548    public void setCropbottom(String value) {
549        this.cropbottom = value;
550    }
551
552    /**
553     * Gets the value of the gain property.
554     *
555     * @return
556     *     possible object is
557     *     {@link String }
558     *     
559     */
560    public String getGain() {
561        return gain;
562    }
563
564    /**
565     * Sets the value of the gain property.
566     *
567     * @param value
568     *     allowed object is
569     *     {@link String }
570     *     
571     */
572    public void setGain(String value) {
573        this.gain = value;
574    }
575
576    /**
577     * Gets the value of the blacklevel property.
578     *
579     * @return
580     *     possible object is
581     *     {@link String }
582     *     
583     */
584    public String getBlacklevel() {
585        return blacklevel;
586    }
587
588    /**
589     * Sets the value of the blacklevel property.
590     *
591     * @param value
592     *     allowed object is
593     *     {@link String }
594     *     
595     */
596    public void setBlacklevel(String value) {
597        this.blacklevel = value;
598    }
599
600    /**
601     * Gets the value of the gamma property.
602     *
603     * @return
604     *     possible object is
605     *     {@link String }
606     *     
607     */
608    public String getGamma() {
609        return gamma;
610    }
611
612    /**
613     * Sets the value of the gamma property.
614     *
615     * @param value
616     *     allowed object is
617     *     {@link String }
618     *     
619     */
620    public void setGamma(String value) {
621        this.gamma = value;
622    }
623
624    /**
625     * Gets the value of the grayscale property.
626     *
627     * @return
628     *     possible object is
629     *     {@link org.docx4j.vml.STTrueFalse }
630     *     
631     */
632    public org.docx4j.vml.STTrueFalse getGrayscale() {
633        return grayscale;
634    }
635
636    /**
637     * Sets the value of the grayscale property.
638     *
639     * @param value
640     *     allowed object is
641     *     {@link org.docx4j.vml.STTrueFalse }
642     *     
643     */
644    public void setGrayscale(org.docx4j.vml.STTrueFalse value) {
645        this.grayscale = value;
646    }
647
648    /**
649     * Gets the value of the bilevel property.
650     *
651     * @return
652     *     possible object is
653     *     {@link org.docx4j.vml.STTrueFalse }
654     *     
655     */
656    public org.docx4j.vml.STTrueFalse getBilevel() {
657        return bilevel;
658    }
659
660    /**
661     * Sets the value of the bilevel property.
662     *
663     * @param value
664     *     allowed object is
665     *     {@link org.docx4j.vml.STTrueFalse }
666     *     
667     */
668    public void setBilevel(org.docx4j.vml.STTrueFalse value) {
669        this.bilevel = value;
670    }
671
672    /**
673     * Gets the value of the chromakey property.
674     *
675     * @return
676     *     possible object is
677     *     {@link String }
678     *     
679     */
680    public String getChromakey() {
681        return chromakey;
682    }
683
684    /**
685     * Sets the value of the chromakey property.
686     *
687     * @param value
688     *     allowed object is
689     *     {@link String }
690     *     
691     */
692    public void setChromakey(String value) {
693        this.chromakey = value;
694    }
695
696    /**
697     * Gets the parent object in the object tree representing the unmarshalled xml document.
698     *
699     * @return
700     *     The parent object.
701     */
702    public Object getParent() {
703        return this.parent;
704    }
705
706    public void setParent(Object parent) {
707        this.parent = parent;
708    }
709
710    /**
711     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
712     *
713     * @param parent
714     *     The parent object in the object tree.
715     * @param unmarshaller
716     *     The unmarshaller that generated the instance.
717     */
718    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
719        setParent(parent);
720    }
721
722}
Note: See TracBrowser for help on using the repository browser.