/* * XML Type: CT_BackgroundProperties * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_BackgroundProperties(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTBackgroundPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties { public CTBackgroundPropertiesImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName NOFILL$0 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "noFill"); private static final javax.xml.namespace.QName SOLIDFILL$2 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "solidFill"); private static final javax.xml.namespace.QName GRADFILL$4 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "gradFill"); private static final javax.xml.namespace.QName BLIPFILL$6 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "blipFill"); private static final javax.xml.namespace.QName PATTFILL$8 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "pattFill"); private static final javax.xml.namespace.QName GRPFILL$10 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "grpFill"); private static final javax.xml.namespace.QName EFFECTLST$12 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "effectLst"); private static final javax.xml.namespace.QName EFFECTDAG$14 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "effectDag"); private static final javax.xml.namespace.QName EXTLST$16 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst"); private static final javax.xml.namespace.QName SHADETOTITLE$18 = new javax.xml.namespace.QName("", "shadeToTitle"); /** * Gets the "noFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties getNoFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().find_element_user(NOFILL$0, 0); if (target == null) { return null; } return target; } } /** * True if has "noFill" element */ public boolean isSetNoFill() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(NOFILL$0) != 0; } } /** * Sets the "noFill" element */ public void setNoFill(org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties noFill) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().find_element_user(NOFILL$0, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().add_element_user(NOFILL$0); } target.set(noFill); } } /** * Appends and returns a new empty "noFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties addNewNoFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().add_element_user(NOFILL$0); return target; } } /** * Unsets the "noFill" element */ public void unsetNoFill() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(NOFILL$0, 0); } } /** * Gets the "solidFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties getSolidFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().find_element_user(SOLIDFILL$2, 0); if (target == null) { return null; } return target; } } /** * True if has "solidFill" element */ public boolean isSetSolidFill() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(SOLIDFILL$2) != 0; } } /** * Sets the "solidFill" element */ public void setSolidFill(org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties solidFill) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().find_element_user(SOLIDFILL$2, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().add_element_user(SOLIDFILL$2); } target.set(solidFill); } } /** * Appends and returns a new empty "solidFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties addNewSolidFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().add_element_user(SOLIDFILL$2); return target; } } /** * Unsets the "solidFill" element */ public void unsetSolidFill() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(SOLIDFILL$2, 0); } } /** * Gets the "gradFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties getGradFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().find_element_user(GRADFILL$4, 0); if (target == null) { return null; } return target; } } /** * True if has "gradFill" element */ public boolean isSetGradFill() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(GRADFILL$4) != 0; } } /** * Sets the "gradFill" element */ public void setGradFill(org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties gradFill) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().find_element_user(GRADFILL$4, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().add_element_user(GRADFILL$4); } target.set(gradFill); } } /** * Appends and returns a new empty "gradFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties addNewGradFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().add_element_user(GRADFILL$4); return target; } } /** * Unsets the "gradFill" element */ public void unsetGradFill() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(GRADFILL$4, 0); } } /** * Gets the "blipFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties getBlipFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().find_element_user(BLIPFILL$6, 0); if (target == null) { return null; } return target; } } /** * True if has "blipFill" element */ public boolean isSetBlipFill() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(BLIPFILL$6) != 0; } } /** * Sets the "blipFill" element */ public void setBlipFill(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().find_element_user(BLIPFILL$6, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().add_element_user(BLIPFILL$6); } target.set(blipFill); } } /** * Appends and returns a new empty "blipFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties addNewBlipFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().add_element_user(BLIPFILL$6); return target; } } /** * Unsets the "blipFill" element */ public void unsetBlipFill() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(BLIPFILL$6, 0); } } /** * Gets the "pattFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties getPattFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().find_element_user(PATTFILL$8, 0); if (target == null) { return null; } return target; } } /** * True if has "pattFill" element */ public boolean isSetPattFill() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(PATTFILL$8) != 0; } } /** * Sets the "pattFill" element */ public void setPattFill(org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties pattFill) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().find_element_user(PATTFILL$8, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().add_element_user(PATTFILL$8); } target.set(pattFill); } } /** * Appends and returns a new empty "pattFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties addNewPattFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().add_element_user(PATTFILL$8); return target; } } /** * Unsets the "pattFill" element */ public void unsetPattFill() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(PATTFILL$8, 0); } } /** * Gets the "grpFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties getGrpFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().find_element_user(GRPFILL$10, 0); if (target == null) { return null; } return target; } } /** * True if has "grpFill" element */ public boolean isSetGrpFill() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(GRPFILL$10) != 0; } } /** * Sets the "grpFill" element */ public void setGrpFill(org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties grpFill) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().find_element_user(GRPFILL$10, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().add_element_user(GRPFILL$10); } target.set(grpFill); } } /** * Appends and returns a new empty "grpFill" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties addNewGrpFill() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().add_element_user(GRPFILL$10); return target; } } /** * Unsets the "grpFill" element */ public void unsetGrpFill() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(GRPFILL$10, 0); } } /** * Gets the "effectLst" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList getEffectLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().find_element_user(EFFECTLST$12, 0); if (target == null) { return null; } return target; } } /** * True if has "effectLst" element */ public boolean isSetEffectLst() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(EFFECTLST$12) != 0; } } /** * Sets the "effectLst" element */ public void setEffectLst(org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList effectLst) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().find_element_user(EFFECTLST$12, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().add_element_user(EFFECTLST$12); } target.set(effectLst); } } /** * Appends and returns a new empty "effectLst" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList addNewEffectLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().add_element_user(EFFECTLST$12); return target; } } /** * Unsets the "effectLst" element */ public void unsetEffectLst() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(EFFECTLST$12, 0); } } /** * Gets the "effectDag" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer getEffectDag() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().find_element_user(EFFECTDAG$14, 0); if (target == null) { return null; } return target; } } /** * True if has "effectDag" element */ public boolean isSetEffectDag() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(EFFECTDAG$14) != 0; } } /** * Sets the "effectDag" element */ public void setEffectDag(org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer effectDag) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().find_element_user(EFFECTDAG$14, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().add_element_user(EFFECTDAG$14); } target.set(effectDag); } } /** * Appends and returns a new empty "effectDag" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer addNewEffectDag() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().add_element_user(EFFECTDAG$14); return target; } } /** * Unsets the "effectDag" element */ public void unsetEffectDag() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(EFFECTDAG$14, 0); } } /** * 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$16, 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$16) != 0; } } /** * Sets the "extLst" element */ public void setExtLst(org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList extLst) { 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$16, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$16); } target.set(extLst); } } /** * 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$16); return target; } } /** * Unsets the "extLst" element */ public void unsetExtLst() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(EXTLST$16, 0); } } /** * Gets the "shadeToTitle" attribute */ public boolean getShadeToTitle() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHADETOTITLE$18); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SHADETOTITLE$18); } if (target == null) { return false; } return target.getBooleanValue(); } } /** * Gets (as xml) the "shadeToTitle" attribute */ public org.apache.xmlbeans.XmlBoolean xgetShadeToTitle() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHADETOTITLE$18); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(SHADETOTITLE$18); } return target; } } /** * True if has "shadeToTitle" attribute */ public boolean isSetShadeToTitle() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(SHADETOTITLE$18) != null; } } /** * Sets the "shadeToTitle" attribute */ public void setShadeToTitle(boolean shadeToTitle) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHADETOTITLE$18); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHADETOTITLE$18); } target.setBooleanValue(shadeToTitle); } } /** * Sets (as xml) the "shadeToTitle" attribute */ public void xsetShadeToTitle(org.apache.xmlbeans.XmlBoolean shadeToTitle) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHADETOTITLE$18); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHADETOTITLE$18); } target.set(shadeToTitle); } } /** * Unsets the "shadeToTitle" attribute */ public void unsetShadeToTitle() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(SHADETOTITLE$18); } } }