/* * XML Type: CT_Slide * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTSlide * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_Slide(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTSlideImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTSlide { public CTSlideImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName CSLD$0 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "cSld"); private static final javax.xml.namespace.QName CLRMAPOVR$2 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "clrMapOvr"); private static final javax.xml.namespace.QName TRANSITION$4 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "transition"); private static final javax.xml.namespace.QName TIMING$6 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "timing"); private static final javax.xml.namespace.QName EXTLST$8 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst"); private static final javax.xml.namespace.QName SHOWMASTERSP$10 = new javax.xml.namespace.QName("", "showMasterSp"); private static final javax.xml.namespace.QName SHOWMASTERPHANIM$12 = new javax.xml.namespace.QName("", "showMasterPhAnim"); private static final javax.xml.namespace.QName SHOW$14 = new javax.xml.namespace.QName("", "show"); /** * Gets the "cSld" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData getCSld() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData)get_store().find_element_user(CSLD$0, 0); if (target == null) { return null; } return target; } } /** * Sets the "cSld" element */ public void setCSld(org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData cSld) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData)get_store().find_element_user(CSLD$0, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData)get_store().add_element_user(CSLD$0); } target.set(cSld); } } /** * Appends and returns a new empty "cSld" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData addNewCSld() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTCommonSlideData)get_store().add_element_user(CSLD$0); return target; } } /** * Gets the "clrMapOvr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride getClrMapOvr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride)get_store().find_element_user(CLRMAPOVR$2, 0); if (target == null) { return null; } return target; } } /** * True if has "clrMapOvr" element */ public boolean isSetClrMapOvr() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(CLRMAPOVR$2) != 0; } } /** * Sets the "clrMapOvr" element */ public void setClrMapOvr(org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride clrMapOvr) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride)get_store().find_element_user(CLRMAPOVR$2, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride)get_store().add_element_user(CLRMAPOVR$2); } target.set(clrMapOvr); } } /** * Appends and returns a new empty "clrMapOvr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride addNewClrMapOvr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTColorMappingOverride)get_store().add_element_user(CLRMAPOVR$2); return target; } } /** * Unsets the "clrMapOvr" element */ public void unsetClrMapOvr() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(CLRMAPOVR$2, 0); } } /** * Gets the "transition" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition getTransition() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition)get_store().find_element_user(TRANSITION$4, 0); if (target == null) { return null; } return target; } } /** * True if has "transition" element */ public boolean isSetTransition() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(TRANSITION$4) != 0; } } /** * Sets the "transition" element */ public void setTransition(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition transition) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition)get_store().find_element_user(TRANSITION$4, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition)get_store().add_element_user(TRANSITION$4); } target.set(transition); } } /** * Appends and returns a new empty "transition" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition addNewTransition() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTransition)get_store().add_element_user(TRANSITION$4); return target; } } /** * Unsets the "transition" element */ public void unsetTransition() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(TRANSITION$4, 0); } } /** * Gets the "timing" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming getTiming() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming)get_store().find_element_user(TIMING$6, 0); if (target == null) { return null; } return target; } } /** * True if has "timing" element */ public boolean isSetTiming() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(TIMING$6) != 0; } } /** * Sets the "timing" element */ public void setTiming(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming timing) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming)get_store().find_element_user(TIMING$6, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming)get_store().add_element_user(TIMING$6); } target.set(timing); } } /** * Appends and returns a new empty "timing" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming addNewTiming() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideTiming)get_store().add_element_user(TIMING$6); return target; } } /** * Unsets the "timing" element */ public void unsetTiming() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(TIMING$6, 0); } } /** * Gets the "extLst" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify getExtLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify)get_store().find_element_user(EXTLST$8, 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$8) != 0; } } /** * Sets the "extLst" element */ public void setExtLst(org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify extLst) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify)get_store().find_element_user(EXTLST$8, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify)get_store().add_element_user(EXTLST$8); } target.set(extLst); } } /** * Appends and returns a new empty "extLst" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify addNewExtLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify)get_store().add_element_user(EXTLST$8); return target; } } /** * Unsets the "extLst" element */ public void unsetExtLst() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(EXTLST$8, 0); } } /** * Gets the "showMasterSp" attribute */ public boolean getShowMasterSp() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWMASTERSP$10); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SHOWMASTERSP$10); } if (target == null) { return false; } return target.getBooleanValue(); } } /** * Gets (as xml) the "showMasterSp" attribute */ public org.apache.xmlbeans.XmlBoolean xgetShowMasterSp() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWMASTERSP$10); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(SHOWMASTERSP$10); } return target; } } /** * True if has "showMasterSp" attribute */ public boolean isSetShowMasterSp() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(SHOWMASTERSP$10) != null; } } /** * Sets the "showMasterSp" attribute */ public void setShowMasterSp(boolean showMasterSp) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWMASTERSP$10); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOWMASTERSP$10); } target.setBooleanValue(showMasterSp); } } /** * Sets (as xml) the "showMasterSp" attribute */ public void xsetShowMasterSp(org.apache.xmlbeans.XmlBoolean showMasterSp) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWMASTERSP$10); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHOWMASTERSP$10); } target.set(showMasterSp); } } /** * Unsets the "showMasterSp" attribute */ public void unsetShowMasterSp() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(SHOWMASTERSP$10); } } /** * Gets the "showMasterPhAnim" attribute */ public boolean getShowMasterPhAnim() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWMASTERPHANIM$12); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SHOWMASTERPHANIM$12); } if (target == null) { return false; } return target.getBooleanValue(); } } /** * Gets (as xml) the "showMasterPhAnim" attribute */ public org.apache.xmlbeans.XmlBoolean xgetShowMasterPhAnim() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWMASTERPHANIM$12); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(SHOWMASTERPHANIM$12); } return target; } } /** * True if has "showMasterPhAnim" attribute */ public boolean isSetShowMasterPhAnim() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(SHOWMASTERPHANIM$12) != null; } } /** * Sets the "showMasterPhAnim" attribute */ public void setShowMasterPhAnim(boolean showMasterPhAnim) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWMASTERPHANIM$12); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOWMASTERPHANIM$12); } target.setBooleanValue(showMasterPhAnim); } } /** * Sets (as xml) the "showMasterPhAnim" attribute */ public void xsetShowMasterPhAnim(org.apache.xmlbeans.XmlBoolean showMasterPhAnim) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWMASTERPHANIM$12); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHOWMASTERPHANIM$12); } target.set(showMasterPhAnim); } } /** * Unsets the "showMasterPhAnim" attribute */ public void unsetShowMasterPhAnim() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(SHOWMASTERPHANIM$12); } } /** * Gets the "show" attribute */ public boolean getShow() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOW$14); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SHOW$14); } if (target == null) { return false; } return target.getBooleanValue(); } } /** * Gets (as xml) the "show" attribute */ public org.apache.xmlbeans.XmlBoolean xgetShow() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOW$14); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(SHOW$14); } return target; } } /** * True if has "show" attribute */ public boolean isSetShow() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(SHOW$14) != null; } } /** * Sets the "show" attribute */ public void setShow(boolean show) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOW$14); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOW$14); } target.setBooleanValue(show); } } /** * Sets (as xml) the "show" attribute */ public void xsetShow(org.apache.xmlbeans.XmlBoolean show) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOW$14); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHOW$14); } target.set(show); } } /** * Unsets the "show" attribute */ public void unsetShow() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(SHOW$14); } } }