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

Revision 1041, 5.9 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.XmlType;
28
29
30/**
31 * <p>Java class for CT_GroupTransform2D complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * &lt;complexType name="CT_GroupTransform2D">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;sequence>
40 *         &lt;element name="off" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D" minOccurs="0"/>
41 *         &lt;element name="ext" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PositiveSize2D" minOccurs="0"/>
42 *         &lt;element name="chOff" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D" minOccurs="0"/>
43 *         &lt;element name="chExt" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PositiveSize2D" minOccurs="0"/>
44 *       &lt;/sequence>
45 *       &lt;attribute name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Angle" default="0" />
46 *       &lt;attribute name="flipH" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
47 *       &lt;attribute name="flipV" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
48 *     &lt;/restriction>
49 *   &lt;/complexContent>
50 * &lt;/complexType>
51 * </pre>
52 *
53 *
54 */
55@XmlAccessorType(XmlAccessType.FIELD)
56@XmlType(name = "CT_GroupTransform2D", propOrder = {
57    "off",
58    "ext",
59    "chOff",
60    "chExt"
61})
62public class CTGroupTransform2D {
63
64    protected CTPoint2D off;
65    protected CTPositiveSize2D ext;
66    protected CTPoint2D chOff;
67    protected CTPositiveSize2D chExt;
68    @XmlAttribute
69    protected Integer rot;
70    @XmlAttribute
71    protected Boolean flipH;
72    @XmlAttribute
73    protected Boolean flipV;
74
75    /**
76     * Gets the value of the off property.
77     *
78     * @return
79     *     possible object is
80     *     {@link CTPoint2D }
81     *     
82     */
83    public CTPoint2D getOff() {
84        return off;
85    }
86
87    /**
88     * Sets the value of the off property.
89     *
90     * @param value
91     *     allowed object is
92     *     {@link CTPoint2D }
93     *     
94     */
95    public void setOff(CTPoint2D value) {
96        this.off = value;
97    }
98
99    /**
100     * Gets the value of the ext property.
101     *
102     * @return
103     *     possible object is
104     *     {@link CTPositiveSize2D }
105     *     
106     */
107    public CTPositiveSize2D getExt() {
108        return ext;
109    }
110
111    /**
112     * Sets the value of the ext property.
113     *
114     * @param value
115     *     allowed object is
116     *     {@link CTPositiveSize2D }
117     *     
118     */
119    public void setExt(CTPositiveSize2D value) {
120        this.ext = value;
121    }
122
123    /**
124     * Gets the value of the chOff property.
125     *
126     * @return
127     *     possible object is
128     *     {@link CTPoint2D }
129     *     
130     */
131    public CTPoint2D getChOff() {
132        return chOff;
133    }
134
135    /**
136     * Sets the value of the chOff property.
137     *
138     * @param value
139     *     allowed object is
140     *     {@link CTPoint2D }
141     *     
142     */
143    public void setChOff(CTPoint2D value) {
144        this.chOff = value;
145    }
146
147    /**
148     * Gets the value of the chExt property.
149     *
150     * @return
151     *     possible object is
152     *     {@link CTPositiveSize2D }
153     *     
154     */
155    public CTPositiveSize2D getChExt() {
156        return chExt;
157    }
158
159    /**
160     * Sets the value of the chExt property.
161     *
162     * @param value
163     *     allowed object is
164     *     {@link CTPositiveSize2D }
165     *     
166     */
167    public void setChExt(CTPositiveSize2D value) {
168        this.chExt = value;
169    }
170
171    /**
172     * Gets the value of the rot property.
173     *
174     * @return
175     *     possible object is
176     *     {@link Integer }
177     *     
178     */
179    public int getRot() {
180        if (rot == null) {
181            return  0;
182        } else {
183            return rot;
184        }
185    }
186
187    /**
188     * Sets the value of the rot property.
189     *
190     * @param value
191     *     allowed object is
192     *     {@link Integer }
193     *     
194     */
195    public void setRot(Integer value) {
196        this.rot = value;
197    }
198
199    /**
200     * Gets the value of the flipH property.
201     *
202     * @return
203     *     possible object is
204     *     {@link Boolean }
205     *     
206     */
207    public boolean isFlipH() {
208        if (flipH == null) {
209            return false;
210        } else {
211            return flipH;
212        }
213    }
214
215    /**
216     * Sets the value of the flipH property.
217     *
218     * @param value
219     *     allowed object is
220     *     {@link Boolean }
221     *     
222     */
223    public void setFlipH(Boolean value) {
224        this.flipH = value;
225    }
226
227    /**
228     * Gets the value of the flipV property.
229     *
230     * @return
231     *     possible object is
232     *     {@link Boolean }
233     *     
234     */
235    public boolean isFlipV() {
236        if (flipV == null) {
237            return false;
238        } else {
239            return flipV;
240        }
241    }
242
243    /**
244     * Sets the value of the flipV property.
245     *
246     * @param value
247     *     allowed object is
248     *     {@link Boolean }
249     *     
250     */
251    public void setFlipV(Boolean value) {
252        this.flipV = value;
253    }
254
255}
Note: See TracBrowser for help on using the repository browser.