org.openxmlformats.schemas.drawingml.x2006.main.impl.CTTextNormalAutofitImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_TextNormalAutofit
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTTextNormalAutofit
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
* An XML CT_TextNormalAutofit(@http://schemas.openxmlformats.org/drawingml/2006/main).
*
* This is a complex type.
*/
public class CTTextNormalAutofitImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTTextNormalAutofit {
private static final long serialVersionUID = 1L;
public CTTextNormalAutofitImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName FONTSCALE$0 =
new javax.xml.namespace.QName("", "fontScale");
private static final javax.xml.namespace.QName LNSPCREDUCTION$2 =
new javax.xml.namespace.QName("", "lnSpcReduction");
/**
* Gets the "fontScale" attribute
*/
public java.lang.Object getFontScale() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FONTSCALE$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FONTSCALE$0);
}
if (target == null) {
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "fontScale" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString xgetFontScale() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString)get_store().find_attribute_user(FONTSCALE$0);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString)get_default_attribute_value(FONTSCALE$0);
}
return target;
}
}
/**
* True if has "fontScale" attribute
*/
public boolean isSetFontScale() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(FONTSCALE$0) != null;
}
}
/**
* Sets the "fontScale" attribute
*/
public void setFontScale(java.lang.Object fontScale) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FONTSCALE$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FONTSCALE$0);
}
target.setObjectValue(fontScale);
}
}
/**
* Sets (as xml) the "fontScale" attribute
*/
public void xsetFontScale(org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString fontScale) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString)get_store().find_attribute_user(FONTSCALE$0);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString)get_store().add_attribute_user(FONTSCALE$0);
}
target.set(fontScale);
}
}
/**
* Unsets the "fontScale" attribute
*/
public void unsetFontScale() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(FONTSCALE$0);
}
}
/**
* Gets the "lnSpcReduction" attribute
*/
public java.lang.Object getLnSpcReduction() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LNSPCREDUCTION$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(LNSPCREDUCTION$2);
}
if (target == null) {
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "lnSpcReduction" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString xgetLnSpcReduction() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString)get_store().find_attribute_user(LNSPCREDUCTION$2);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString)get_default_attribute_value(LNSPCREDUCTION$2);
}
return target;
}
}
/**
* True if has "lnSpcReduction" attribute
*/
public boolean isSetLnSpcReduction() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(LNSPCREDUCTION$2) != null;
}
}
/**
* Sets the "lnSpcReduction" attribute
*/
public void setLnSpcReduction(java.lang.Object lnSpcReduction) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LNSPCREDUCTION$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LNSPCREDUCTION$2);
}
target.setObjectValue(lnSpcReduction);
}
}
/**
* Sets (as xml) the "lnSpcReduction" attribute
*/
public void xsetLnSpcReduction(org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString lnSpcReduction) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString)get_store().find_attribute_user(LNSPCREDUCTION$2);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString)get_store().add_attribute_user(LNSPCREDUCTION$2);
}
target.set(lnSpcReduction);
}
}
/**
* Unsets the "lnSpcReduction" attribute
*/
public void unsetLnSpcReduction() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(LNSPCREDUCTION$2);
}
}
}