org.docx4j.dml.diagram.STParameterId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j-openxml-objects Show documentation
Show all versions of docx4j-openxml-objects Show documentation
Our JAXB representation of OpenXML, except for pml and sml (handled separately)
/*
* Copyright 2007-2008, Plutext Pty Ltd.
*
* This file is part of docx4j.
docx4j is licensed 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.docx4j.dml.diagram;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ST_ParameterId.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ST_ParameterId">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="horzAlign"/>
* <enumeration value="vertAlign"/>
* <enumeration value="chDir"/>
* <enumeration value="chAlign"/>
* <enumeration value="secChAlign"/>
* <enumeration value="linDir"/>
* <enumeration value="secLinDir"/>
* <enumeration value="stElem"/>
* <enumeration value="bendPt"/>
* <enumeration value="connRout"/>
* <enumeration value="begSty"/>
* <enumeration value="endSty"/>
* <enumeration value="dim"/>
* <enumeration value="rotPath"/>
* <enumeration value="ctrShpMap"/>
* <enumeration value="nodeHorzAlign"/>
* <enumeration value="nodeVertAlign"/>
* <enumeration value="fallback"/>
* <enumeration value="txDir"/>
* <enumeration value="pyraAcctPos"/>
* <enumeration value="pyraAcctTxMar"/>
* <enumeration value="txBlDir"/>
* <enumeration value="txAnchorHorz"/>
* <enumeration value="txAnchorVert"/>
* <enumeration value="txAnchorHorzCh"/>
* <enumeration value="txAnchorVertCh"/>
* <enumeration value="parTxLTRAlign"/>
* <enumeration value="parTxRTLAlign"/>
* <enumeration value="shpTxLTRAlignCh"/>
* <enumeration value="shpTxRTLAlignCh"/>
* <enumeration value="autoTxRot"/>
* <enumeration value="grDir"/>
* <enumeration value="flowDir"/>
* <enumeration value="contDir"/>
* <enumeration value="bkpt"/>
* <enumeration value="off"/>
* <enumeration value="hierAlign"/>
* <enumeration value="bkPtFixedVal"/>
* <enumeration value="stBulletLvl"/>
* <enumeration value="stAng"/>
* <enumeration value="spanAng"/>
* <enumeration value="ar"/>
* <enumeration value="lnSpPar"/>
* <enumeration value="lnSpAfParP"/>
* <enumeration value="lnSpCh"/>
* <enumeration value="lnSpAfChP"/>
* <enumeration value="rtShortDist"/>
* <enumeration value="alignTx"/>
* <enumeration value="pyraLvlNode"/>
* <enumeration value="pyraAcctBkgdNode"/>
* <enumeration value="pyraAcctTxNode"/>
* <enumeration value="srcNode"/>
* <enumeration value="dstNode"/>
* <enumeration value="begPts"/>
* <enumeration value="endPts"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ST_ParameterId")
@XmlEnum
public enum STParameterId {
/**
* Horizontal Alignment
*
*/
@XmlEnumValue("horzAlign")
HORZ_ALIGN("horzAlign"),
/**
* Vertical Alignment
*
*/
@XmlEnumValue("vertAlign")
VERT_ALIGN("vertAlign"),
/**
* Child Direction
*
*/
@XmlEnumValue("chDir")
CH_DIR("chDir"),
/**
* Child Alignment
*
*/
@XmlEnumValue("chAlign")
CH_ALIGN("chAlign"),
/**
* Secondary Child Alignment
*
*/
@XmlEnumValue("secChAlign")
SEC_CH_ALIGN("secChAlign"),
/**
* Linear Direction
*
*/
@XmlEnumValue("linDir")
LIN_DIR("linDir"),
/**
* Secondary Linear Direction
*
*/
@XmlEnumValue("secLinDir")
SEC_LIN_DIR("secLinDir"),
/**
* Start Element
*
*/
@XmlEnumValue("stElem")
ST_ELEM("stElem"),
/**
* Bend Point
*
*/
@XmlEnumValue("bendPt")
BEND_PT("bendPt"),
/**
* Connection Route
*
*/
@XmlEnumValue("connRout")
CONN_ROUT("connRout"),
/**
* Beginning Arrowhead Style
*
*/
@XmlEnumValue("begSty")
BEG_STY("begSty"),
/**
* End Style
*
*/
@XmlEnumValue("endSty")
END_STY("endSty"),
/**
* Connector Dimension
*
*/
@XmlEnumValue("dim")
DIM("dim"),
/**
* Rotation Path
*
*/
@XmlEnumValue("rotPath")
ROT_PATH("rotPath"),
/**
* Center Shape Mapping
*
*/
@XmlEnumValue("ctrShpMap")
CTR_SHP_MAP("ctrShpMap"),
/**
* Node Horizontal Alignment
*
*/
@XmlEnumValue("nodeHorzAlign")
NODE_HORZ_ALIGN("nodeHorzAlign"),
/**
* Node Vertical Alignment
*
*/
@XmlEnumValue("nodeVertAlign")
NODE_VERT_ALIGN("nodeVertAlign"),
/**
* Fallback Scale
*
*/
@XmlEnumValue("fallback")
FALLBACK("fallback"),
/**
* Text Direction
*
*/
@XmlEnumValue("txDir")
TX_DIR("txDir"),
/**
* Pyramid Accent Position
*
*/
@XmlEnumValue("pyraAcctPos")
PYRA_ACCT_POS("pyraAcctPos"),
/**
* Pyramid Accent Text Margin
*
*/
@XmlEnumValue("pyraAcctTxMar")
PYRA_ACCT_TX_MAR("pyraAcctTxMar"),
/**
* Text Block Direction
*
*/
@XmlEnumValue("txBlDir")
TX_BL_DIR("txBlDir"),
/**
* Text Anchor Horizontal
*
*/
@XmlEnumValue("txAnchorHorz")
TX_ANCHOR_HORZ("txAnchorHorz"),
/**
* Text Anchor Vertical
*
*/
@XmlEnumValue("txAnchorVert")
TX_ANCHOR_VERT("txAnchorVert"),
/**
* Text Anchor Horizontal With Children
*
*/
@XmlEnumValue("txAnchorHorzCh")
TX_ANCHOR_HORZ_CH("txAnchorHorzCh"),
/**
* Text Anchor Vertical With Children
*
*/
@XmlEnumValue("txAnchorVertCh")
TX_ANCHOR_VERT_CH("txAnchorVertCh"),
/**
* Parent Text Left-to-Right Alignment
*
*/
@XmlEnumValue("parTxLTRAlign")
PAR_TX_LTR_ALIGN("parTxLTRAlign"),
/**
* Parent Text Right-to-Left Alignment
*
*/
@XmlEnumValue("parTxRTLAlign")
PAR_TX_RTL_ALIGN("parTxRTLAlign"),
/**
* Shape Text Left-to-Right Alignment
*
*/
@XmlEnumValue("shpTxLTRAlignCh")
SHP_TX_LTR_ALIGN_CH("shpTxLTRAlignCh"),
/**
* Shape Text Right-to-Left Alignment
*
*/
@XmlEnumValue("shpTxRTLAlignCh")
SHP_TX_RTL_ALIGN_CH("shpTxRTLAlignCh"),
/**
* Auto Text Rotation
*
*/
@XmlEnumValue("autoTxRot")
AUTO_TX_ROT("autoTxRot"),
/**
* Grow Direction
*
*/
@XmlEnumValue("grDir")
GR_DIR("grDir"),
/**
* Flow Direction
*
*/
@XmlEnumValue("flowDir")
FLOW_DIR("flowDir"),
/**
* Continue Direction
*
*/
@XmlEnumValue("contDir")
CONT_DIR("contDir"),
/**
* Breakpoint
*
*/
@XmlEnumValue("bkpt")
BKPT("bkpt"),
/**
* Offset
*
*/
@XmlEnumValue("off")
OFF("off"),
/**
* Hierarchy Alignment
*
*/
@XmlEnumValue("hierAlign")
HIER_ALIGN("hierAlign"),
/**
* Breakpoint Fixed Value
*
*/
@XmlEnumValue("bkPtFixedVal")
BK_PT_FIXED_VAL("bkPtFixedVal"),
/**
* Start Bullets At Level
*
*/
@XmlEnumValue("stBulletLvl")
ST_BULLET_LVL("stBulletLvl"),
/**
* Start Angle
*
*/
@XmlEnumValue("stAng")
ST_ANG("stAng"),
/**
* Span Angle
*
*/
@XmlEnumValue("spanAng")
SPAN_ANG("spanAng"),
/**
* Aspect Ratio
*
*/
@XmlEnumValue("ar")
AR("ar"),
/**
* Line Spacing Parent
*
*/
@XmlEnumValue("lnSpPar")
LN_SP_PAR("lnSpPar"),
/**
* Line Spacing After Parent Paragraph
*
*/
@XmlEnumValue("lnSpAfParP")
LN_SP_AF_PAR_P("lnSpAfParP"),
/**
* Line Spacing Children
*
*/
@XmlEnumValue("lnSpCh")
LN_SP_CH("lnSpCh"),
/**
* Line Spacing After Children Paragraph
*
*/
@XmlEnumValue("lnSpAfChP")
LN_SP_AF_CH_P("lnSpAfChP"),
/**
* Route Shortest Distance
*
*/
@XmlEnumValue("rtShortDist")
RT_SHORT_DIST("rtShortDist"),
/**
* Text Alignment
*
*/
@XmlEnumValue("alignTx")
ALIGN_TX("alignTx"),
/**
* Pyramid Level Node
*
*/
@XmlEnumValue("pyraLvlNode")
PYRA_LVL_NODE("pyraLvlNode"),
/**
* Pyramid Accent Background Node
*
*/
@XmlEnumValue("pyraAcctBkgdNode")
PYRA_ACCT_BKGD_NODE("pyraAcctBkgdNode"),
/**
* Pyramid Accent Text Node
*
*/
@XmlEnumValue("pyraAcctTxNode")
PYRA_ACCT_TX_NODE("pyraAcctTxNode"),
/**
* Source Node
*
*/
@XmlEnumValue("srcNode")
SRC_NODE("srcNode"),
/**
* Destination Node
*
*/
@XmlEnumValue("dstNode")
DST_NODE("dstNode"),
/**
* Beginning Points
*
*/
@XmlEnumValue("begPts")
BEG_PTS("begPts"),
/**
* End Points
*
*/
@XmlEnumValue("endPts")
END_PTS("endPts");
private final String value;
STParameterId(String v) {
value = v;
}
public String value() {
return value;
}
public static STParameterId fromValue(String v) {
for (STParameterId c: STParameterId.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}