source: trunk/docx4j/src/main/java/org/docx4j/dml/CTTextField.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;
28import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
29import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30
31
32/**
33 * <p>Java class for CT_TextField complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType name="CT_TextField">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;element name="rPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextCharacterProperties" minOccurs="0"/>
43 *         &lt;element name="pPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextParagraphProperties" minOccurs="0"/>
44 *         &lt;element name="t" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
45 *       &lt;/sequence>
46 *       &lt;attribute name="id" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid" />
47 *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
48 *     &lt;/restriction>
49 *   &lt;/complexContent>
50 * &lt;/complexType>
51 * </pre>
52 *
53 *
54 */
55@XmlAccessorType(XmlAccessType.FIELD)
56@XmlType(name = "CT_TextField", propOrder = {
57    "rPr",
58    "pPr",
59    "t"
60})
61public class CTTextField {
62
63    protected CTTextCharacterProperties rPr;
64    protected CTTextParagraphProperties pPr;
65    protected String t;
66    @XmlAttribute(required = true)
67    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
68    protected String id;
69    @XmlAttribute
70    protected String type;
71
72    /**
73     * Gets the value of the rPr property.
74     *
75     * @return
76     *     possible object is
77     *     {@link CTTextCharacterProperties }
78     *     
79     */
80    public CTTextCharacterProperties getRPr() {
81        return rPr;
82    }
83
84    /**
85     * Sets the value of the rPr property.
86     *
87     * @param value
88     *     allowed object is
89     *     {@link CTTextCharacterProperties }
90     *     
91     */
92    public void setRPr(CTTextCharacterProperties value) {
93        this.rPr = value;
94    }
95
96    /**
97     * Gets the value of the pPr property.
98     *
99     * @return
100     *     possible object is
101     *     {@link CTTextParagraphProperties }
102     *     
103     */
104    public CTTextParagraphProperties getPPr() {
105        return pPr;
106    }
107
108    /**
109     * Sets the value of the pPr property.
110     *
111     * @param value
112     *     allowed object is
113     *     {@link CTTextParagraphProperties }
114     *     
115     */
116    public void setPPr(CTTextParagraphProperties value) {
117        this.pPr = value;
118    }
119
120    /**
121     * Gets the value of the t property.
122     *
123     * @return
124     *     possible object is
125     *     {@link String }
126     *     
127     */
128    public String getT() {
129        return t;
130    }
131
132    /**
133     * Sets the value of the t property.
134     *
135     * @param value
136     *     allowed object is
137     *     {@link String }
138     *     
139     */
140    public void setT(String value) {
141        this.t = value;
142    }
143
144    /**
145     * Gets the value of the id property.
146     *
147     * @return
148     *     possible object is
149     *     {@link String }
150     *     
151     */
152    public String getId() {
153        return id;
154    }
155
156    /**
157     * Sets the value of the id property.
158     *
159     * @param value
160     *     allowed object is
161     *     {@link String }
162     *     
163     */
164    public void setId(String value) {
165        this.id = value;
166    }
167
168    /**
169     * Gets the value of the type property.
170     *
171     * @return
172     *     possible object is
173     *     {@link String }
174     *     
175     */
176    public String getType() {
177        return type;
178    }
179
180    /**
181     * Sets the value of the type property.
182     *
183     * @param value
184     *     allowed object is
185     *     {@link String }
186     *     
187     */
188    public void setType(String value) {
189        this.type = value;
190    }
191
192}
Note: See TracBrowser for help on using the repository browser.