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

Revision 1041, 8.6 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.XmlEnum;
25import javax.xml.bind.annotation.XmlEnumValue;
26import javax.xml.bind.annotation.XmlType;
27
28
29/**
30 * <p>Java class for ST_TextShapeType.
31 *
32 * <p>The following schema fragment specifies the expected content contained within this class.
33 * <p>
34 * <pre>
35 * &lt;simpleType name="ST_TextShapeType">
36 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
37 *     &lt;enumeration value="textNoShape"/>
38 *     &lt;enumeration value="textPlain"/>
39 *     &lt;enumeration value="textStop"/>
40 *     &lt;enumeration value="textTriangle"/>
41 *     &lt;enumeration value="textTriangleInverted"/>
42 *     &lt;enumeration value="textChevron"/>
43 *     &lt;enumeration value="textChevronInverted"/>
44 *     &lt;enumeration value="textRingInside"/>
45 *     &lt;enumeration value="textRingOutside"/>
46 *     &lt;enumeration value="textArchUp"/>
47 *     &lt;enumeration value="textArchDown"/>
48 *     &lt;enumeration value="textCircle"/>
49 *     &lt;enumeration value="textButton"/>
50 *     &lt;enumeration value="textArchUpPour"/>
51 *     &lt;enumeration value="textArchDownPour"/>
52 *     &lt;enumeration value="textCirclePour"/>
53 *     &lt;enumeration value="textButtonPour"/>
54 *     &lt;enumeration value="textCurveUp"/>
55 *     &lt;enumeration value="textCurveDown"/>
56 *     &lt;enumeration value="textCanUp"/>
57 *     &lt;enumeration value="textCanDown"/>
58 *     &lt;enumeration value="textWave1"/>
59 *     &lt;enumeration value="textWave2"/>
60 *     &lt;enumeration value="textDoubleWave1"/>
61 *     &lt;enumeration value="textWave4"/>
62 *     &lt;enumeration value="textInflate"/>
63 *     &lt;enumeration value="textDeflate"/>
64 *     &lt;enumeration value="textInflateBottom"/>
65 *     &lt;enumeration value="textDeflateBottom"/>
66 *     &lt;enumeration value="textInflateTop"/>
67 *     &lt;enumeration value="textDeflateTop"/>
68 *     &lt;enumeration value="textDeflateInflate"/>
69 *     &lt;enumeration value="textDeflateInflateDeflate"/>
70 *     &lt;enumeration value="textFadeRight"/>
71 *     &lt;enumeration value="textFadeLeft"/>
72 *     &lt;enumeration value="textFadeUp"/>
73 *     &lt;enumeration value="textFadeDown"/>
74 *     &lt;enumeration value="textSlantUp"/>
75 *     &lt;enumeration value="textSlantDown"/>
76 *     &lt;enumeration value="textCascadeUp"/>
77 *     &lt;enumeration value="textCascadeDown"/>
78 *   &lt;/restriction>
79 * &lt;/simpleType>
80 * </pre>
81 *
82 */
83@XmlType(name = "ST_TextShapeType")
84@XmlEnum
85public enum STTextShapeType {
86
87
88    /**
89     * No Text Shape
90     *
91     */
92    @XmlEnumValue("textNoShape")
93    TEXT_NO_SHAPE("textNoShape"),
94
95    /**
96     * Plain Text Shape
97     *
98     */
99    @XmlEnumValue("textPlain")
100    TEXT_PLAIN("textPlain"),
101
102    /**
103     * Stop Sign Text Shape
104     *
105     */
106    @XmlEnumValue("textStop")
107    TEXT_STOP("textStop"),
108
109    /**
110     * Triangle Text Shape
111     *
112     */
113    @XmlEnumValue("textTriangle")
114    TEXT_TRIANGLE("textTriangle"),
115
116    /**
117     * Inverted Triangle Text Shape
118     *
119     */
120    @XmlEnumValue("textTriangleInverted")
121    TEXT_TRIANGLE_INVERTED("textTriangleInverted"),
122
123    /**
124     * Chevron Text Shape
125     *
126     */
127    @XmlEnumValue("textChevron")
128    TEXT_CHEVRON("textChevron"),
129
130    /**
131     * Inverted Chevron Text Shape
132     *
133     */
134    @XmlEnumValue("textChevronInverted")
135    TEXT_CHEVRON_INVERTED("textChevronInverted"),
136
137    /**
138     * Inside Ring Text Shape
139     *
140     */
141    @XmlEnumValue("textRingInside")
142    TEXT_RING_INSIDE("textRingInside"),
143
144    /**
145     * Outside Ring Text Shape
146     *
147     */
148    @XmlEnumValue("textRingOutside")
149    TEXT_RING_OUTSIDE("textRingOutside"),
150
151    /**
152     * Upward Arch Text Shape
153     *
154     */
155    @XmlEnumValue("textArchUp")
156    TEXT_ARCH_UP("textArchUp"),
157
158    /**
159     * Downward Arch Text Shape
160     *
161     */
162    @XmlEnumValue("textArchDown")
163    TEXT_ARCH_DOWN("textArchDown"),
164
165    /**
166     * Circle Text Shape
167     *
168     */
169    @XmlEnumValue("textCircle")
170    TEXT_CIRCLE("textCircle"),
171
172    /**
173     * Button Text Shape
174     *
175     */
176    @XmlEnumValue("textButton")
177    TEXT_BUTTON("textButton"),
178
179    /**
180     * Upward Pour Arch Text Shape
181     *
182     */
183    @XmlEnumValue("textArchUpPour")
184    TEXT_ARCH_UP_POUR("textArchUpPour"),
185
186    /**
187     * Downward Pour Arch Text Shape
188     *
189     */
190    @XmlEnumValue("textArchDownPour")
191    TEXT_ARCH_DOWN_POUR("textArchDownPour"),
192
193    /**
194     * Circle Pour Text Shape
195     *
196     */
197    @XmlEnumValue("textCirclePour")
198    TEXT_CIRCLE_POUR("textCirclePour"),
199
200    /**
201     * Button Pour Text Shape
202     *
203     */
204    @XmlEnumValue("textButtonPour")
205    TEXT_BUTTON_POUR("textButtonPour"),
206
207    /**
208     * Upward Curve Text Shape
209     *
210     */
211    @XmlEnumValue("textCurveUp")
212    TEXT_CURVE_UP("textCurveUp"),
213
214    /**
215     * Downward Curve Text Shape
216     *
217     */
218    @XmlEnumValue("textCurveDown")
219    TEXT_CURVE_DOWN("textCurveDown"),
220
221    /**
222     * Upward Can Text Shape
223     *
224     */
225    @XmlEnumValue("textCanUp")
226    TEXT_CAN_UP("textCanUp"),
227
228    /**
229     * Downward Can Text Shape
230     *
231     */
232    @XmlEnumValue("textCanDown")
233    TEXT_CAN_DOWN("textCanDown"),
234
235    /**
236     * Wave 1 Text Shape
237     *
238     */
239    @XmlEnumValue("textWave1")
240    TEXT_WAVE_1("textWave1"),
241
242    /**
243     * Wave 2 Text Shape
244     *
245     */
246    @XmlEnumValue("textWave2")
247    TEXT_WAVE_2("textWave2"),
248
249    /**
250     * Double Wave 1 Text Shape
251     *
252     */
253    @XmlEnumValue("textDoubleWave1")
254    TEXT_DOUBLE_WAVE_1("textDoubleWave1"),
255
256    /**
257     * Wave 4 Text Shape
258     *
259     */
260    @XmlEnumValue("textWave4")
261    TEXT_WAVE_4("textWave4"),
262
263    /**
264     * Inflate Text Shape
265     *
266     */
267    @XmlEnumValue("textInflate")
268    TEXT_INFLATE("textInflate"),
269
270    /**
271     * Deflate Text Shape
272     *
273     */
274    @XmlEnumValue("textDeflate")
275    TEXT_DEFLATE("textDeflate"),
276
277    /**
278     * Bottom Inflate Text Shape
279     *
280     */
281    @XmlEnumValue("textInflateBottom")
282    TEXT_INFLATE_BOTTOM("textInflateBottom"),
283
284    /**
285     * Bottom Deflate Text Shape
286     *
287     */
288    @XmlEnumValue("textDeflateBottom")
289    TEXT_DEFLATE_BOTTOM("textDeflateBottom"),
290
291    /**
292     * Top Inflate Text Shape
293     *
294     */
295    @XmlEnumValue("textInflateTop")
296    TEXT_INFLATE_TOP("textInflateTop"),
297
298    /**
299     * Top Deflate Text Shape
300     *
301     */
302    @XmlEnumValue("textDeflateTop")
303    TEXT_DEFLATE_TOP("textDeflateTop"),
304
305    /**
306     * Deflate-Inflate Text Shape
307     *
308     */
309    @XmlEnumValue("textDeflateInflate")
310    TEXT_DEFLATE_INFLATE("textDeflateInflate"),
311
312    /**
313     * Deflate-Inflate-Deflate Text Shape
314     *
315     */
316    @XmlEnumValue("textDeflateInflateDeflate")
317    TEXT_DEFLATE_INFLATE_DEFLATE("textDeflateInflateDeflate"),
318
319    /**
320     * Right Fade Text Shape
321     *
322     */
323    @XmlEnumValue("textFadeRight")
324    TEXT_FADE_RIGHT("textFadeRight"),
325
326    /**
327     * Left Fade Text Shape
328     *
329     */
330    @XmlEnumValue("textFadeLeft")
331    TEXT_FADE_LEFT("textFadeLeft"),
332
333    /**
334     * Upward Fade Text Shape
335     *
336     */
337    @XmlEnumValue("textFadeUp")
338    TEXT_FADE_UP("textFadeUp"),
339
340    /**
341     * Downward Fade Text Shape
342     *
343     */
344    @XmlEnumValue("textFadeDown")
345    TEXT_FADE_DOWN("textFadeDown"),
346
347    /**
348     * Upward Slant Text Shape
349     *
350     */
351    @XmlEnumValue("textSlantUp")
352    TEXT_SLANT_UP("textSlantUp"),
353
354    /**
355     * Downward Slant Text Shape
356     *
357     */
358    @XmlEnumValue("textSlantDown")
359    TEXT_SLANT_DOWN("textSlantDown"),
360
361    /**
362     * Upward Cascade Text Shape
363     *
364     */
365    @XmlEnumValue("textCascadeUp")
366    TEXT_CASCADE_UP("textCascadeUp"),
367
368    /**
369     * Downward Cascade Text Shape
370     *
371     */
372    @XmlEnumValue("textCascadeDown")
373    TEXT_CASCADE_DOWN("textCascadeDown");
374    private final String value;
375
376    STTextShapeType(String v) {
377        value = v;
378    }
379
380    public String value() {
381        return value;
382    }
383
384    public static STTextShapeType fromValue(String v) {
385        for (STTextShapeType c: STTextShapeType.values()) {
386            if (c.value.equals(v)) {
387                return c;
388            }
389        }
390        throw new IllegalArgumentException(v);
391    }
392
393}
Note: See TracBrowser for help on using the repository browser.