/* ==================================================================== | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
==================================================================== */ | |
package org.apache.poi.sl.draw.binding; | |
import javax.xml.bind.annotation.XmlEnum; | |
import javax.xml.bind.annotation.XmlEnumValue; | |
import javax.xml.bind.annotation.XmlType; | |
/** | |
* <p>Java class for ST_TextShapeType. | |
* | |
* <p>The following schema fragment specifies the expected content contained within this class. | |
* <p> | |
* <pre> | |
* <simpleType name="ST_TextShapeType"> | |
* <restriction base="{http://www.w3.org/2001/XMLSchema}token"> | |
* <enumeration value="textNoShape"/> | |
* <enumeration value="textPlain"/> | |
* <enumeration value="textStop"/> | |
* <enumeration value="textTriangle"/> | |
* <enumeration value="textTriangleInverted"/> | |
* <enumeration value="textChevron"/> | |
* <enumeration value="textChevronInverted"/> | |
* <enumeration value="textRingInside"/> | |
* <enumeration value="textRingOutside"/> | |
* <enumeration value="textArchUp"/> | |
* <enumeration value="textArchDown"/> | |
* <enumeration value="textCircle"/> | |
* <enumeration value="textButton"/> | |
* <enumeration value="textArchUpPour"/> | |
* <enumeration value="textArchDownPour"/> | |
* <enumeration value="textCirclePour"/> | |
* <enumeration value="textButtonPour"/> | |
* <enumeration value="textCurveUp"/> | |
* <enumeration value="textCurveDown"/> | |
* <enumeration value="textCanUp"/> | |
* <enumeration value="textCanDown"/> | |
* <enumeration value="textWave1"/> | |
* <enumeration value="textWave2"/> | |
* <enumeration value="textDoubleWave1"/> | |
* <enumeration value="textWave4"/> | |
* <enumeration value="textInflate"/> | |
* <enumeration value="textDeflate"/> | |
* <enumeration value="textInflateBottom"/> | |
* <enumeration value="textDeflateBottom"/> | |
* <enumeration value="textInflateTop"/> | |
* <enumeration value="textDeflateTop"/> | |
* <enumeration value="textDeflateInflate"/> | |
* <enumeration value="textDeflateInflateDeflate"/> | |
* <enumeration value="textFadeRight"/> | |
* <enumeration value="textFadeLeft"/> | |
* <enumeration value="textFadeUp"/> | |
* <enumeration value="textFadeDown"/> | |
* <enumeration value="textSlantUp"/> | |
* <enumeration value="textSlantDown"/> | |
* <enumeration value="textCascadeUp"/> | |
* <enumeration value="textCascadeDown"/> | |
* </restriction> | |
* </simpleType> | |
* </pre> | |
* | |
*/ | |
@XmlType(name = "ST_TextShapeType", namespace = "http://schemas.openxmlformats.org/drawingml/2006/main") | |
@XmlEnum | |
public enum STTextShapeType { | |
/** | |
* No Text Shape | |
* | |
*/ | |
@XmlEnumValue("textNoShape") | |
TEXT_NO_SHAPE("textNoShape"), | |
/** | |
* Plain Text Shape | |
* | |
*/ | |
@XmlEnumValue("textPlain") | |
TEXT_PLAIN("textPlain"), | |
/** | |
* Stop Sign Text Shape | |
* | |
*/ | |
@XmlEnumValue("textStop") | |
TEXT_STOP("textStop"), | |
/** | |
* Triangle Text Shape | |
* | |
*/ | |
@XmlEnumValue("textTriangle") | |
TEXT_TRIANGLE("textTriangle"), | |
/** | |
* Inverted Triangle Text Shape | |
* | |
*/ | |
@XmlEnumValue("textTriangleInverted") | |
TEXT_TRIANGLE_INVERTED("textTriangleInverted"), | |
/** | |
* Chevron Text Shape | |
* | |
*/ | |
@XmlEnumValue("textChevron") | |
TEXT_CHEVRON("textChevron"), | |
/** | |
* Inverted Chevron Text Shape | |
* | |
*/ | |
@XmlEnumValue("textChevronInverted") | |
TEXT_CHEVRON_INVERTED("textChevronInverted"), | |
/** | |
* Inside Ring Text Shape | |
* | |
*/ | |
@XmlEnumValue("textRingInside") | |
TEXT_RING_INSIDE("textRingInside"), | |
/** | |
* Outside Ring Text Shape | |
* | |
*/ | |
@XmlEnumValue("textRingOutside") | |
TEXT_RING_OUTSIDE("textRingOutside"), | |
/** | |
* Upward Arch Text Shape | |
* | |
*/ | |
@XmlEnumValue("textArchUp") | |
TEXT_ARCH_UP("textArchUp"), | |
/** | |
* Downward Arch Text Shape | |
* | |
*/ | |
@XmlEnumValue("textArchDown") | |
TEXT_ARCH_DOWN("textArchDown"), | |
/** | |
* Circle Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCircle") | |
TEXT_CIRCLE("textCircle"), | |
/** | |
* Button Text Shape | |
* | |
*/ | |
@XmlEnumValue("textButton") | |
TEXT_BUTTON("textButton"), | |
/** | |
* Upward Pour Arch Text Shape | |
* | |
*/ | |
@XmlEnumValue("textArchUpPour") | |
TEXT_ARCH_UP_POUR("textArchUpPour"), | |
/** | |
* Downward Pour Arch Text Shape | |
* | |
*/ | |
@XmlEnumValue("textArchDownPour") | |
TEXT_ARCH_DOWN_POUR("textArchDownPour"), | |
/** | |
* Circle Pour Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCirclePour") | |
TEXT_CIRCLE_POUR("textCirclePour"), | |
/** | |
* Button Pour Text Shape | |
* | |
*/ | |
@XmlEnumValue("textButtonPour") | |
TEXT_BUTTON_POUR("textButtonPour"), | |
/** | |
* Upward Curve Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCurveUp") | |
TEXT_CURVE_UP("textCurveUp"), | |
/** | |
* Downward Curve Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCurveDown") | |
TEXT_CURVE_DOWN("textCurveDown"), | |
/** | |
* Upward Can Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCanUp") | |
TEXT_CAN_UP("textCanUp"), | |
/** | |
* Downward Can Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCanDown") | |
TEXT_CAN_DOWN("textCanDown"), | |
/** | |
* Wave 1 Text Shape | |
* | |
*/ | |
@XmlEnumValue("textWave1") | |
TEXT_WAVE_1("textWave1"), | |
/** | |
* Wave 2 Text Shape | |
* | |
*/ | |
@XmlEnumValue("textWave2") | |
TEXT_WAVE_2("textWave2"), | |
/** | |
* Double Wave 1 Text Shape | |
* | |
*/ | |
@XmlEnumValue("textDoubleWave1") | |
TEXT_DOUBLE_WAVE_1("textDoubleWave1"), | |
/** | |
* Wave 4 Text Shape | |
* | |
*/ | |
@XmlEnumValue("textWave4") | |
TEXT_WAVE_4("textWave4"), | |
/** | |
* Inflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textInflate") | |
TEXT_INFLATE("textInflate"), | |
/** | |
* Deflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textDeflate") | |
TEXT_DEFLATE("textDeflate"), | |
/** | |
* Bottom Inflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textInflateBottom") | |
TEXT_INFLATE_BOTTOM("textInflateBottom"), | |
/** | |
* Bottom Deflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textDeflateBottom") | |
TEXT_DEFLATE_BOTTOM("textDeflateBottom"), | |
/** | |
* Top Inflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textInflateTop") | |
TEXT_INFLATE_TOP("textInflateTop"), | |
/** | |
* Top Deflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textDeflateTop") | |
TEXT_DEFLATE_TOP("textDeflateTop"), | |
/** | |
* Deflate-Inflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textDeflateInflate") | |
TEXT_DEFLATE_INFLATE("textDeflateInflate"), | |
/** | |
* Deflate-Inflate-Deflate Text Shape | |
* | |
*/ | |
@XmlEnumValue("textDeflateInflateDeflate") | |
TEXT_DEFLATE_INFLATE_DEFLATE("textDeflateInflateDeflate"), | |
/** | |
* Right Fade Text Shape | |
* | |
*/ | |
@XmlEnumValue("textFadeRight") | |
TEXT_FADE_RIGHT("textFadeRight"), | |
/** | |
* Left Fade Text Shape | |
* | |
*/ | |
@XmlEnumValue("textFadeLeft") | |
TEXT_FADE_LEFT("textFadeLeft"), | |
/** | |
* Upward Fade Text Shape | |
* | |
*/ | |
@XmlEnumValue("textFadeUp") | |
TEXT_FADE_UP("textFadeUp"), | |
/** | |
* Downward Fade Text Shape | |
* | |
*/ | |
@XmlEnumValue("textFadeDown") | |
TEXT_FADE_DOWN("textFadeDown"), | |
/** | |
* Upward Slant Text Shape | |
* | |
*/ | |
@XmlEnumValue("textSlantUp") | |
TEXT_SLANT_UP("textSlantUp"), | |
/** | |
* Downward Slant Text Shape | |
* | |
*/ | |
@XmlEnumValue("textSlantDown") | |
TEXT_SLANT_DOWN("textSlantDown"), | |
/** | |
* Upward Cascade Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCascadeUp") | |
TEXT_CASCADE_UP("textCascadeUp"), | |
/** | |
* Downward Cascade Text Shape | |
* | |
*/ | |
@XmlEnumValue("textCascadeDown") | |
TEXT_CASCADE_DOWN("textCascadeDown"); | |
private final String value; | |
STTextShapeType(String v) { | |
value = v; | |
} | |
public String value() { | |
return value; | |
} | |
public static STTextShapeType fromValue(String v) { | |
for (STTextShapeType c: STTextShapeType.values()) { | |
if (c.value.equals(v)) { | |
return c; | |
} | |
} | |
throw new IllegalArgumentException(v); | |
} | |
} |