org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl.CTGraphicFrameImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_GraphicFrame
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
* Java type: org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl;
/**
* An XML CT_GraphicFrame(@http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing).
*
* This is a complex type.
*/
public class CTGraphicFrameImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame {
private static final long serialVersionUID = 1L;
public CTGraphicFrameImpl(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/wordprocessingDrawing", "cNvPr");
private static final javax.xml.namespace.QName CNVFRPR$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "cNvFrPr");
private static final javax.xml.namespace.QName XFRM$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xfrm");
private static final javax.xml.namespace.QName GRAPHIC$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "graphic");
private static final javax.xml.namespace.QName EXTLST$8 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "extLst");
/**
* 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) {
generatedSetterHelperImpl(cNvPr, CNVPR$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* 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 "cNvFrPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties getCNvFrPr() {
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(CNVFRPR$2, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "cNvFrPr" element
*/
public void setCNvFrPr(org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties cNvFrPr) {
generatedSetterHelperImpl(cNvFrPr, CNVFRPR$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "cNvFrPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualGraphicFrameProperties addNewCNvFrPr() {
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(CNVFRPR$2);
return target;
}
}
/**
* Gets the "xfrm" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D)get_store().find_element_user(XFRM$4, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "xfrm" element
*/
public void setXfrm(org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D xfrm) {
generatedSetterHelperImpl(xfrm, XFRM$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "xfrm" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D addNewXfrm() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D)get_store().add_element_user(XFRM$4);
return target;
}
}
/**
* Gets the "graphic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject getGraphic() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject)get_store().find_element_user(GRAPHIC$6, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "graphic" element
*/
public void setGraphic(org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject graphic) {
generatedSetterHelperImpl(graphic, GRAPHIC$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "graphic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject addNewGraphic() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject)get_store().add_element_user(GRAPHIC$6);
return target;
}
}
/**
* Gets the "extLst" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList getExtLst() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList)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.drawingml.x2006.main.CTOfficeArtExtensionList extLst) {
generatedSetterHelperImpl(extLst, EXTLST$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "extLst" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList addNewExtLst() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList)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);
}
}
}