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

Revision 1041, 4.7 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_Transform2D 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_Transform2D">
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;/sequence>
43 *       &lt;attribute name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Angle" default="0" />
44 *       &lt;attribute name="flipH" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
45 *       &lt;attribute name="flipV" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
46 *     &lt;/restriction>
47 *   &lt;/complexContent>
48 * &lt;/complexType>
49 * </pre>
50 *
51 *
52 */
53@XmlAccessorType(XmlAccessType.FIELD)
54@XmlType(name = "CT_Transform2D", propOrder = {
55    "off",
56    "ext"
57})
58public class CTTransform2D {
59
60    protected CTPoint2D off;
61    protected CTPositiveSize2D ext;
62    @XmlAttribute
63    protected Integer rot;
64    @XmlAttribute
65    protected Boolean flipH;
66    @XmlAttribute
67    protected Boolean flipV;
68
69    /**
70     * Gets the value of the off property.
71     *
72     * @return
73     *     possible object is
74     *     {@link CTPoint2D }
75     *     
76     */
77    public CTPoint2D getOff() {
78        return off;
79    }
80
81    /**
82     * Sets the value of the off property.
83     *
84     * @param value
85     *     allowed object is
86     *     {@link CTPoint2D }
87     *     
88     */
89    public void setOff(CTPoint2D value) {
90        this.off = value;
91    }
92
93    /**
94     * Gets the value of the ext property.
95     *
96     * @return
97     *     possible object is
98     *     {@link CTPositiveSize2D }
99     *     
100     */
101    public CTPositiveSize2D getExt() {
102        return ext;
103    }
104
105    /**
106     * Sets the value of the ext property.
107     *
108     * @param value
109     *     allowed object is
110     *     {@link CTPositiveSize2D }
111     *     
112     */
113    public void setExt(CTPositiveSize2D value) {
114        this.ext = value;
115    }
116
117    /**
118     * Gets the value of the rot property.
119     *
120     * @return
121     *     possible object is
122     *     {@link Integer }
123     *     
124     */
125    public int getRot() {
126        if (rot == null) {
127            return  0;
128        } else {
129            return rot;
130        }
131    }
132
133    /**
134     * Sets the value of the rot property.
135     *
136     * @param value
137     *     allowed object is
138     *     {@link Integer }
139     *     
140     */
141    public void setRot(Integer value) {
142        this.rot = value;
143    }
144
145    /**
146     * Gets the value of the flipH property.
147     *
148     * @return
149     *     possible object is
150     *     {@link Boolean }
151     *     
152     */
153    public boolean isFlipH() {
154        if (flipH == null) {
155            return false;
156        } else {
157            return flipH;
158        }
159    }
160
161    /**
162     * Sets the value of the flipH property.
163     *
164     * @param value
165     *     allowed object is
166     *     {@link Boolean }
167     *     
168     */
169    public void setFlipH(Boolean value) {
170        this.flipH = value;
171    }
172
173    /**
174     * Gets the value of the flipV property.
175     *
176     * @return
177     *     possible object is
178     *     {@link Boolean }
179     *     
180     */
181    public boolean isFlipV() {
182        if (flipV == null) {
183            return false;
184        } else {
185            return flipV;
186        }
187    }
188
189    /**
190     * Sets the value of the flipV property.
191     *
192     * @param value
193     *     allowed object is
194     *     {@link Boolean }
195     *     
196     */
197    public void setFlipV(Boolean value) {
198        this.flipV = value;
199    }
200
201}
Note: See TracBrowser for help on using the repository browser.