/* * XML Type: CT_GvmlGraphicFrameNonVisual * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlGraphicFrameNonVisual * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.drawingml.x2006.main.impl; /** * An XML CT_GvmlGraphicFrameNonVisual(@http://schemas.openxmlformats.org/drawingml/2006/main). * * This is a complex type. */ public class CTGvmlGraphicFrameNonVisualImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlGraphicFrameNonVisual { public CTGvmlGraphicFrameNonVisualImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName CNVPR$0 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "cNvPr"); private static final javax.xml.namespace.QName CNVGRAPHICFRAMEPR$2 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "cNvGraphicFramePr"); /** * Gets the "cNvPr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps getCNvPr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps)get_store().find_element_user(CNVPR$0, 0); if (target == null) { return null; } return target; } } /** * Sets the "cNvPr" element */ public void setCNvPr(org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps cNvPr) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps)get_store().find_element_user(CNVPR$0, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps)get_store().add_element_user(CNVPR$0); } target.set(cNvPr); } } /** * Appends and returns a new empty "cNvPr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps addNewCNvPr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps)get_store().add_element_user(CNVPR$0); return target; } } /** * Gets the "cNvGraphicFramePr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties getCNvGraphicFramePr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties)get_store().find_element_user(CNVGRAPHICFRAMEPR$2, 0); if (target == null) { return null; } return target; } } /** * Sets the "cNvGraphicFramePr" element */ public void setCNvGraphicFramePr(org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties cNvGraphicFramePr) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties)get_store().find_element_user(CNVGRAPHICFRAMEPR$2, 0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties)get_store().add_element_user(CNVGRAPHICFRAMEPR$2); } target.set(cNvGraphicFramePr); } } /** * Appends and returns a new empty "cNvGraphicFramePr" element */ public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties addNewCNvGraphicFramePr() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties)get_store().add_element_user(CNVGRAPHICFRAMEPR$2); return target; } } }