All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.docx4j.sharedtypes.STXAlign Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

There is a newer version: 6.1.2
Show newest version

package org.docx4j.sharedtypes;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for ST_XAlign. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="ST_XAlign">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="left"/>
 *     <enumeration value="center"/>
 *     <enumeration value="right"/>
 *     <enumeration value="inside"/>
 *     <enumeration value="outside"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ST_XAlign", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes") @XmlEnum public enum STXAlign { /** * Left Aligned Horizontally * */ @XmlEnumValue("left") LEFT("left"), /** * Centered Horizontally * */ @XmlEnumValue("center") CENTER("center"), /** * Right Aligned Horizontally * */ @XmlEnumValue("right") RIGHT("right"), /** * Inside * */ @XmlEnumValue("inside") INSIDE("inside"), /** * Outside * */ @XmlEnumValue("outside") OUTSIDE("outside"); private final String value; STXAlign(String v) { value = v; } public String value() { return value; } public static STXAlign fromValue(String v) { for (STXAlign c: STXAlign.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy