/* * XML Type: CT_Picture * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTPicture * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_Picture(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTPictureImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTPicture { public CTPictureImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName NVPICPR$0 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "nvPicPr"); private static final javax.xml.namespace.QName BLIPFILL$2 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "blipFill"); private static final javax.xml.namespace.QName SPPR$4 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "spPr"); private static final javax.xml.namespace.QName STYLE$6 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "style"); private static final javax.xml.namespace.QName EXTLST$8 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst"); /** * Gets the "nvPicPr" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual getNvPicPr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual)get_store().find_element_user(NVPICPR$0, 0); if (target == null) { return null; } return target; } } /** * Sets the "nvPicPr" element */ public void setNvPicPr(org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual nvPicPr) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual)get_store().find_element_user(NVPICPR$0, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual)get_store().add_element_user(NVPICPR$0); } target.set(nvPicPr); } } /** * Appends and returns a new empty "nvPicPr" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual addNewNvPicPr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTPictureNonVisual)get_store().add_element_user(NVPICPR$0); return target; } } /** * 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$2, 0); if (target == null) { return null; } return target; } } /** * 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$2, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().add_element_user(BLIPFILL$2); } 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$2); return target; } } /** * Gets the "spPr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getSpPr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().find_element_user(SPPR$4, 0); if (target == null) { return null; } return target; } } /** * Sets the "spPr" element */ public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().find_element_user(SPPR$4, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().add_element_user(SPPR$4); } target.set(spPr); } } /** * Appends and returns a new empty "spPr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties addNewSpPr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().add_element_user(SPPR$4); return target; } } /** * Gets the "style" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle getStyle() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle)get_store().find_element_user(STYLE$6, 0); if (target == null) { return null; } return target; } } /** * True if has "style" element */ public boolean isSetStyle() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(STYLE$6) != 0; } } /** * Sets the "style" element */ public void setStyle(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle style) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle)get_store().find_element_user(STYLE$6, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle)get_store().add_element_user(STYLE$6); } target.set(style); } } /** * Appends and returns a new empty "style" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle addNewStyle() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle)get_store().add_element_user(STYLE$6); return target; } } /** * Unsets the "style" element */ public void unsetStyle() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(STYLE$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); } } }