org.openxmlformats.schemas.presentationml.x2006.main.impl.CTSlideSorterViewPropertiesImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
The newest version!
/*
* XML Type: CT_SlideSorterViewProperties
* Namespace: http://schemas.openxmlformats.org/presentationml/2006/main
* Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTSlideSorterViewProperties
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.presentationml.x2006.main.impl;
/**
* An XML CT_SlideSorterViewProperties(@http://schemas.openxmlformats.org/presentationml/2006/main).
*
* This is a complex type.
*/
public class CTSlideSorterViewPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTSlideSorterViewProperties
{
private static final long serialVersionUID = 1L;
public CTSlideSorterViewPropertiesImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CVIEWPR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "cViewPr");
private static final javax.xml.namespace.QName EXTLST$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst");
private static final javax.xml.namespace.QName SHOWFORMATTING$4 =
new javax.xml.namespace.QName("", "showFormatting");
/**
* Gets the "cViewPr" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties getCViewPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties)get_store().find_element_user(CVIEWPR$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "cViewPr" element
*/
public void setCViewPr(org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties cViewPr)
{
generatedSetterHelperImpl(cViewPr, CVIEWPR$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "cViewPr" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties addNewCViewPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTCommonViewProperties)get_store().add_element_user(CVIEWPR$0);
return target;
}
}
/**
* Gets the "extLst" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList getExtLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().find_element_user(EXTLST$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "extLst" element
*/
public boolean isSetExtLst()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXTLST$2) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList extLst)
{
generatedSetterHelperImpl(extLst, EXTLST$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "extLst" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList addNewExtLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$2);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$2, 0);
}
}
/**
* Gets the "showFormatting" attribute
*/
public boolean getShowFormatting()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWFORMATTING$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SHOWFORMATTING$4);
}
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "showFormatting" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetShowFormatting()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWFORMATTING$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(SHOWFORMATTING$4);
}
return target;
}
}
/**
* True if has "showFormatting" attribute
*/
public boolean isSetShowFormatting()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SHOWFORMATTING$4) != null;
}
}
/**
* Sets the "showFormatting" attribute
*/
public void setShowFormatting(boolean showFormatting)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWFORMATTING$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOWFORMATTING$4);
}
target.setBooleanValue(showFormatting);
}
}
/**
* Sets (as xml) the "showFormatting" attribute
*/
public void xsetShowFormatting(org.apache.xmlbeans.XmlBoolean showFormatting)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWFORMATTING$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHOWFORMATTING$4);
}
target.set(showFormatting);
}
}
/**
* Unsets the "showFormatting" attribute
*/
public void unsetShowFormatting()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SHOWFORMATTING$4);
}
}
}