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

org.xlsx4j.sml.CTCellAlignment 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
/*
 *  Copyright 2010, 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.xlsx4j.sml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for CT_CellAlignment complex type. * *

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

 * <complexType name="CT_CellAlignment">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_HorizontalAlignment" />
 *       <attribute name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_VerticalAlignment" />
 *       <attribute name="textRotation" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *       <attribute name="wrapText" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="indent" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *       <attribute name="relativeIndent" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="justifyLastLine" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="shrinkToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="readingOrder" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_CellAlignment") public class CTCellAlignment { @XmlAttribute protected STHorizontalAlignment horizontal; @XmlAttribute protected STVerticalAlignment vertical; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long textRotation; @XmlAttribute protected Boolean wrapText; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long indent; @XmlAttribute protected Integer relativeIndent; @XmlAttribute protected Boolean justifyLastLine; @XmlAttribute protected Boolean shrinkToFit; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long readingOrder; /** * Gets the value of the horizontal property. * * @return * possible object is * {@link STHorizontalAlignment } * */ public STHorizontalAlignment getHorizontal() { return horizontal; } /** * Sets the value of the horizontal property. * * @param value * allowed object is * {@link STHorizontalAlignment } * */ public void setHorizontal(STHorizontalAlignment value) { this.horizontal = value; } /** * Gets the value of the vertical property. * * @return * possible object is * {@link STVerticalAlignment } * */ public STVerticalAlignment getVertical() { return vertical; } /** * Sets the value of the vertical property. * * @param value * allowed object is * {@link STVerticalAlignment } * */ public void setVertical(STVerticalAlignment value) { this.vertical = value; } /** * Gets the value of the textRotation property. * * @return * possible object is * {@link Long } * */ public Long getTextRotation() { return textRotation; } /** * Sets the value of the textRotation property. * * @param value * allowed object is * {@link Long } * */ public void setTextRotation(Long value) { this.textRotation = value; } /** * Gets the value of the wrapText property. * * @return * possible object is * {@link Boolean } * */ public Boolean isWrapText() { return wrapText; } /** * Sets the value of the wrapText property. * * @param value * allowed object is * {@link Boolean } * */ public void setWrapText(Boolean value) { this.wrapText = value; } /** * Gets the value of the indent property. * * @return * possible object is * {@link Long } * */ public Long getIndent() { return indent; } /** * Sets the value of the indent property. * * @param value * allowed object is * {@link Long } * */ public void setIndent(Long value) { this.indent = value; } /** * Gets the value of the relativeIndent property. * * @return * possible object is * {@link Integer } * */ public Integer getRelativeIndent() { return relativeIndent; } /** * Sets the value of the relativeIndent property. * * @param value * allowed object is * {@link Integer } * */ public void setRelativeIndent(Integer value) { this.relativeIndent = value; } /** * Gets the value of the justifyLastLine property. * * @return * possible object is * {@link Boolean } * */ public Boolean isJustifyLastLine() { return justifyLastLine; } /** * Sets the value of the justifyLastLine property. * * @param value * allowed object is * {@link Boolean } * */ public void setJustifyLastLine(Boolean value) { this.justifyLastLine = value; } /** * Gets the value of the shrinkToFit property. * * @return * possible object is * {@link Boolean } * */ public Boolean isShrinkToFit() { return shrinkToFit; } /** * Sets the value of the shrinkToFit property. * * @param value * allowed object is * {@link Boolean } * */ public void setShrinkToFit(Boolean value) { this.shrinkToFit = value; } /** * Gets the value of the readingOrder property. * * @return * possible object is * {@link Long } * */ public Long getReadingOrder() { return readingOrder; } /** * Sets the value of the readingOrder property. * * @param value * allowed object is * {@link Long } * */ public void setReadingOrder(Long value) { this.readingOrder = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy