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

Revision 1041, 4.0 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_RelativeRect 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_RelativeRect">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;attribute name="l" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
40 *       &lt;attribute name="t" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
41 *       &lt;attribute name="r" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
42 *       &lt;attribute name="b" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
43 *     &lt;/restriction>
44 *   &lt;/complexContent>
45 * &lt;/complexType>
46 * </pre>
47 *
48 *
49 */
50@XmlAccessorType(XmlAccessType.FIELD)
51@XmlType(name = "CT_RelativeRect")
52public class CTRelativeRect {
53
54    @XmlAttribute
55    protected Integer l;
56    @XmlAttribute
57    protected Integer t;
58    @XmlAttribute
59    protected Integer r;
60    @XmlAttribute
61    protected Integer b;
62
63    /**
64     * Gets the value of the l property.
65     *
66     * @return
67     *     possible object is
68     *     {@link Integer }
69     *     
70     */
71    public int getL() {
72        if (l == null) {
73            return  0;
74        } else {
75            return l;
76        }
77    }
78
79    /**
80     * Sets the value of the l property.
81     *
82     * @param value
83     *     allowed object is
84     *     {@link Integer }
85     *     
86     */
87    public void setL(Integer value) {
88        this.l = value;
89    }
90
91    /**
92     * Gets the value of the t property.
93     *
94     * @return
95     *     possible object is
96     *     {@link Integer }
97     *     
98     */
99    public int getT() {
100        if (t == null) {
101            return  0;
102        } else {
103            return t;
104        }
105    }
106
107    /**
108     * Sets the value of the t property.
109     *
110     * @param value
111     *     allowed object is
112     *     {@link Integer }
113     *     
114     */
115    public void setT(Integer value) {
116        this.t = value;
117    }
118
119    /**
120     * Gets the value of the r property.
121     *
122     * @return
123     *     possible object is
124     *     {@link Integer }
125     *     
126     */
127    public int getR() {
128        if (r == null) {
129            return  0;
130        } else {
131            return r;
132        }
133    }
134
135    /**
136     * Sets the value of the r property.
137     *
138     * @param value
139     *     allowed object is
140     *     {@link Integer }
141     *     
142     */
143    public void setR(Integer value) {
144        this.r = value;
145    }
146
147    /**
148     * Gets the value of the b property.
149     *
150     * @return
151     *     possible object is
152     *     {@link Integer }
153     *     
154     */
155    public int getB() {
156        if (b == null) {
157            return  0;
158        } else {
159            return b;
160        }
161    }
162
163    /**
164     * Sets the value of the b property.
165     *
166     * @param value
167     *     allowed object is
168     *     {@link Integer }
169     *     
170     */
171    public void setB(Integer value) {
172        this.b = value;
173    }
174
175}
Note: See TracBrowser for help on using the repository browser.