org.xlsx4j.sml.CTXf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
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.
/*
* 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.XmlType;
/**
* Java class for CT_Xf complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CT_Xf">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="alignment" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellAlignment" minOccurs="0"/>
* <element name="protection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellProtection" minOccurs="0"/>
* <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
* </sequence>
* <attribute name="numFmtId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_NumFmtId" />
* <attribute name="fontId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_FontId" />
* <attribute name="fillId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_FillId" />
* <attribute name="borderId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_BorderId" />
* <attribute name="xfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellStyleXfId" />
* <attribute name="quotePrefix" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="pivotButton" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="applyNumberFormat" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="applyFont" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="applyFill" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="applyBorder" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="applyAlignment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="applyProtection" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_Xf", propOrder = {
"alignment",
"protection",
"extLst"
})
public class CTXf {
protected CTCellAlignment alignment;
protected CTCellProtection protection;
protected CTExtensionList extLst;
@XmlAttribute
protected Long numFmtId;
@XmlAttribute
protected Long fontId;
@XmlAttribute
protected Long fillId;
@XmlAttribute
protected Long borderId;
@XmlAttribute
protected Long xfId;
@XmlAttribute
protected Boolean quotePrefix;
@XmlAttribute
protected Boolean pivotButton;
@XmlAttribute
protected Boolean applyNumberFormat;
@XmlAttribute
protected Boolean applyFont;
@XmlAttribute
protected Boolean applyFill;
@XmlAttribute
protected Boolean applyBorder;
@XmlAttribute
protected Boolean applyAlignment;
@XmlAttribute
protected Boolean applyProtection;
/**
* Gets the value of the alignment property.
*
* @return
* possible object is
* {@link CTCellAlignment }
*
*/
public CTCellAlignment getAlignment() {
return alignment;
}
/**
* Sets the value of the alignment property.
*
* @param value
* allowed object is
* {@link CTCellAlignment }
*
*/
public void setAlignment(CTCellAlignment value) {
this.alignment = value;
}
/**
* Gets the value of the protection property.
*
* @return
* possible object is
* {@link CTCellProtection }
*
*/
public CTCellProtection getProtection() {
return protection;
}
/**
* Sets the value of the protection property.
*
* @param value
* allowed object is
* {@link CTCellProtection }
*
*/
public void setProtection(CTCellProtection value) {
this.protection = value;
}
/**
* Gets the value of the extLst property.
*
* @return
* possible object is
* {@link CTExtensionList }
*
*/
public CTExtensionList getExtLst() {
return extLst;
}
/**
* Sets the value of the extLst property.
*
* @param value
* allowed object is
* {@link CTExtensionList }
*
*/
public void setExtLst(CTExtensionList value) {
this.extLst = value;
}
/**
* Gets the value of the numFmtId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getNumFmtId() {
return numFmtId;
}
/**
* Sets the value of the numFmtId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setNumFmtId(Long value) {
this.numFmtId = value;
}
/**
* Gets the value of the fontId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getFontId() {
return fontId;
}
/**
* Sets the value of the fontId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setFontId(Long value) {
this.fontId = value;
}
/**
* Gets the value of the fillId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getFillId() {
return fillId;
}
/**
* Sets the value of the fillId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setFillId(Long value) {
this.fillId = value;
}
/**
* Gets the value of the borderId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getBorderId() {
return borderId;
}
/**
* Sets the value of the borderId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setBorderId(Long value) {
this.borderId = value;
}
/**
* Gets the value of the xfId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getXfId() {
return xfId;
}
/**
* Sets the value of the xfId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setXfId(Long value) {
this.xfId = value;
}
/**
* Gets the value of the quotePrefix property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isQuotePrefix() {
if (quotePrefix == null) {
return false;
} else {
return quotePrefix;
}
}
/**
* Sets the value of the quotePrefix property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setQuotePrefix(Boolean value) {
this.quotePrefix = value;
}
/**
* Gets the value of the pivotButton property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isPivotButton() {
if (pivotButton == null) {
return false;
} else {
return pivotButton;
}
}
/**
* Sets the value of the pivotButton property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setPivotButton(Boolean value) {
this.pivotButton = value;
}
/**
* Gets the value of the applyNumberFormat property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isApplyNumberFormat() {
return applyNumberFormat;
}
/**
* Sets the value of the applyNumberFormat property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setApplyNumberFormat(Boolean value) {
this.applyNumberFormat = value;
}
/**
* Gets the value of the applyFont property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isApplyFont() {
return applyFont;
}
/**
* Sets the value of the applyFont property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setApplyFont(Boolean value) {
this.applyFont = value;
}
/**
* Gets the value of the applyFill property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isApplyFill() {
return applyFill;
}
/**
* Sets the value of the applyFill property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setApplyFill(Boolean value) {
this.applyFill = value;
}
/**
* Gets the value of the applyBorder property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isApplyBorder() {
return applyBorder;
}
/**
* Sets the value of the applyBorder property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setApplyBorder(Boolean value) {
this.applyBorder = value;
}
/**
* Gets the value of the applyAlignment property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isApplyAlignment() {
return applyAlignment;
}
/**
* Sets the value of the applyAlignment property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setApplyAlignment(Boolean value) {
this.applyAlignment = value;
}
/**
* Gets the value of the applyProtection property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isApplyProtection() {
return applyProtection;
}
/**
* Sets the value of the applyProtection property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setApplyProtection(Boolean value) {
this.applyProtection = value;
}
}