org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl.CTWordprocessingCanvasImpl 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_WordprocessingCanvas
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
* Java type: org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingCanvas
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl;
/**
* An XML CT_WordprocessingCanvas(@http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing).
*
* This is a complex type.
*/
public class CTWordprocessingCanvasImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingCanvas {
private static final long serialVersionUID = 1L;
public CTWordprocessingCanvasImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName BG$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "bg");
private static final javax.xml.namespace.QName WHOLE$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "whole");
private static final javax.xml.namespace.QName WSP$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "wsp");
private static final javax.xml.namespace.QName PIC$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/picture", "pic");
private static final javax.xml.namespace.QName CONTENTPART$8 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "contentPart");
private static final javax.xml.namespace.QName WGP$10 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "wgp");
private static final javax.xml.namespace.QName GRAPHICFRAME$12 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "graphicFrame");
private static final javax.xml.namespace.QName EXTLST$14 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "extLst");
/**
* Gets the "bg" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting getBg() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting)get_store().find_element_user(BG$0, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "bg" element
*/
public boolean isSetBg() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(BG$0) != 0;
}
}
/**
* Sets the "bg" element
*/
public void setBg(org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting bg) {
generatedSetterHelperImpl(bg, BG$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "bg" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting addNewBg() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBackgroundFormatting)get_store().add_element_user(BG$0);
return target;
}
}
/**
* Unsets the "bg" element
*/
public void unsetBg() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(BG$0, 0);
}
}
/**
* Gets the "whole" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting getWhole() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting)get_store().find_element_user(WHOLE$2, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "whole" element
*/
public boolean isSetWhole() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(WHOLE$2) != 0;
}
}
/**
* Sets the "whole" element
*/
public void setWhole(org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting whole) {
generatedSetterHelperImpl(whole, WHOLE$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "whole" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting addNewWhole() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTWholeE2OFormatting)get_store().add_element_user(WHOLE$2);
return target;
}
}
/**
* Unsets the "whole" element
*/
public void unsetWhole() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(WHOLE$2, 0);
}
}
/**
* Gets a List of "wsp" elements
*/
public java.util.List getWspList() {
final class WspList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape get(int i)
{ return CTWordprocessingCanvasImpl.this.getWspArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape set(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape o) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape old = CTWordprocessingCanvasImpl.this.getWspArray(i);
CTWordprocessingCanvasImpl.this.setWspArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape o)
{ CTWordprocessingCanvasImpl.this.insertNewWsp(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape old = CTWordprocessingCanvasImpl.this.getWspArray(i);
CTWordprocessingCanvasImpl.this.removeWsp(i);
return old;
}
@Override
public int size()
{ return CTWordprocessingCanvasImpl.this.sizeOfWspArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new WspList();
}
}
/**
* Gets array of all "wsp" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape[] getWspArray() {
return getXmlObjectArray(WSP$4, new org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape[0]);
}
/**
* Gets ith "wsp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape getWspArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape)get_store().find_element_user(WSP$4, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "wsp" element
*/
public int sizeOfWspArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(WSP$4);
}
}
/**
* Sets array of all "wsp" element WARNING: This method is not atomicaly synchronized.
*/
public void setWspArray(org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape[] wspArray) {
check_orphaned();
arraySetterHelper(wspArray, WSP$4);
}
/**
* Sets ith "wsp" element
*/
public void setWspArray(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape wsp) {
generatedSetterHelperImpl(wsp, WSP$4, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "wsp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape insertNewWsp(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape)get_store().insert_element_user(WSP$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "wsp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape addNewWsp() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingShape)get_store().add_element_user(WSP$4);
return target;
}
}
/**
* Removes the ith "wsp" element
*/
public void removeWsp(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(WSP$4, i);
}
}
/**
* Gets a List of "pic" elements
*/
public java.util.List getPicList() {
final class PicList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture get(int i)
{ return CTWordprocessingCanvasImpl.this.getPicArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture set(int i, org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture o) {
org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture old = CTWordprocessingCanvasImpl.this.getPicArray(i);
CTWordprocessingCanvasImpl.this.setPicArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture o)
{ CTWordprocessingCanvasImpl.this.insertNewPic(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture old = CTWordprocessingCanvasImpl.this.getPicArray(i);
CTWordprocessingCanvasImpl.this.removePic(i);
return old;
}
@Override
public int size()
{ return CTWordprocessingCanvasImpl.this.sizeOfPicArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new PicList();
}
}
/**
* Gets array of all "pic" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture[] getPicArray() {
return getXmlObjectArray(PIC$6, new org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture[0]);
}
/**
* Gets ith "pic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture getPicArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture)get_store().find_element_user(PIC$6, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "pic" element
*/
public int sizeOfPicArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PIC$6);
}
}
/**
* Sets array of all "pic" element WARNING: This method is not atomicaly synchronized.
*/
public void setPicArray(org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture[] picArray) {
check_orphaned();
arraySetterHelper(picArray, PIC$6);
}
/**
* Sets ith "pic" element
*/
public void setPicArray(int i, org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture pic) {
generatedSetterHelperImpl(pic, PIC$6, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "pic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture insertNewPic(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture)get_store().insert_element_user(PIC$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "pic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture addNewPic() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture)get_store().add_element_user(PIC$6);
return target;
}
}
/**
* Removes the ith "pic" element
*/
public void removePic(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PIC$6, i);
}
}
/**
* Gets a List of "contentPart" elements
*/
public java.util.List getContentPartList() {
final class ContentPartList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart get(int i)
{ return CTWordprocessingCanvasImpl.this.getContentPartArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart set(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart o) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart old = CTWordprocessingCanvasImpl.this.getContentPartArray(i);
CTWordprocessingCanvasImpl.this.setContentPartArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart o)
{ CTWordprocessingCanvasImpl.this.insertNewContentPart(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart old = CTWordprocessingCanvasImpl.this.getContentPartArray(i);
CTWordprocessingCanvasImpl.this.removeContentPart(i);
return old;
}
@Override
public int size()
{ return CTWordprocessingCanvasImpl.this.sizeOfContentPartArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new ContentPartList();
}
}
/**
* Gets array of all "contentPart" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart[] getContentPartArray() {
return getXmlObjectArray(CONTENTPART$8, new org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart[0]);
}
/**
* Gets ith "contentPart" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart getContentPartArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart)get_store().find_element_user(CONTENTPART$8, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "contentPart" element
*/
public int sizeOfContentPartArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CONTENTPART$8);
}
}
/**
* Sets array of all "contentPart" element WARNING: This method is not atomicaly synchronized.
*/
public void setContentPartArray(org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart[] contentPartArray) {
check_orphaned();
arraySetterHelper(contentPartArray, CONTENTPART$8);
}
/**
* Sets ith "contentPart" element
*/
public void setContentPartArray(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart contentPart) {
generatedSetterHelperImpl(contentPart, CONTENTPART$8, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "contentPart" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart insertNewContentPart(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart)get_store().insert_element_user(CONTENTPART$8, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "contentPart" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart addNewContentPart() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPart)get_store().add_element_user(CONTENTPART$8);
return target;
}
}
/**
* Removes the ith "contentPart" element
*/
public void removeContentPart(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CONTENTPART$8, i);
}
}
/**
* Gets a List of "wgp" elements
*/
public java.util.List getWgpList() {
final class WgpList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup get(int i)
{ return CTWordprocessingCanvasImpl.this.getWgpArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup set(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup o) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup old = CTWordprocessingCanvasImpl.this.getWgpArray(i);
CTWordprocessingCanvasImpl.this.setWgpArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup o)
{ CTWordprocessingCanvasImpl.this.insertNewWgp(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup old = CTWordprocessingCanvasImpl.this.getWgpArray(i);
CTWordprocessingCanvasImpl.this.removeWgp(i);
return old;
}
@Override
public int size()
{ return CTWordprocessingCanvasImpl.this.sizeOfWgpArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new WgpList();
}
}
/**
* Gets array of all "wgp" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup[] getWgpArray() {
return getXmlObjectArray(WGP$10, new org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup[0]);
}
/**
* Gets ith "wgp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup getWgpArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup)get_store().find_element_user(WGP$10, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "wgp" element
*/
public int sizeOfWgpArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(WGP$10);
}
}
/**
* Sets array of all "wgp" element WARNING: This method is not atomicaly synchronized.
*/
public void setWgpArray(org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup[] wgpArray) {
check_orphaned();
arraySetterHelper(wgpArray, WGP$10);
}
/**
* Sets ith "wgp" element
*/
public void setWgpArray(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup wgp) {
generatedSetterHelperImpl(wgp, WGP$10, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "wgp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup insertNewWgp(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup)get_store().insert_element_user(WGP$10, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "wgp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup addNewWgp() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingGroup)get_store().add_element_user(WGP$10);
return target;
}
}
/**
* Removes the ith "wgp" element
*/
public void removeWgp(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(WGP$10, i);
}
}
/**
* Gets a List of "graphicFrame" elements
*/
public java.util.List getGraphicFrameList() {
final class GraphicFrameList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame get(int i)
{ return CTWordprocessingCanvasImpl.this.getGraphicFrameArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame set(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame o) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame old = CTWordprocessingCanvasImpl.this.getGraphicFrameArray(i);
CTWordprocessingCanvasImpl.this.setGraphicFrameArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame o)
{ CTWordprocessingCanvasImpl.this.insertNewGraphicFrame(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame old = CTWordprocessingCanvasImpl.this.getGraphicFrameArray(i);
CTWordprocessingCanvasImpl.this.removeGraphicFrame(i);
return old;
}
@Override
public int size()
{ return CTWordprocessingCanvasImpl.this.sizeOfGraphicFrameArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new GraphicFrameList();
}
}
/**
* Gets array of all "graphicFrame" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame[] getGraphicFrameArray() {
return getXmlObjectArray(GRAPHICFRAME$12, new org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame[0]);
}
/**
* Gets ith "graphicFrame" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame getGraphicFrameArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame)get_store().find_element_user(GRAPHICFRAME$12, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "graphicFrame" element
*/
public int sizeOfGraphicFrameArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(GRAPHICFRAME$12);
}
}
/**
* Sets array of all "graphicFrame" element WARNING: This method is not atomicaly synchronized.
*/
public void setGraphicFrameArray(org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame[] graphicFrameArray) {
check_orphaned();
arraySetterHelper(graphicFrameArray, GRAPHICFRAME$12);
}
/**
* Sets ith "graphicFrame" element
*/
public void setGraphicFrameArray(int i, org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame graphicFrame) {
generatedSetterHelperImpl(graphicFrame, GRAPHICFRAME$12, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "graphicFrame" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame insertNewGraphicFrame(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame)get_store().insert_element_user(GRAPHICFRAME$12, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "graphicFrame" element
*/
public org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame addNewGraphicFrame() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTGraphicFrame)get_store().add_element_user(GRAPHICFRAME$12);
return target;
}
}
/**
* Removes the ith "graphicFrame" element
*/
public void removeGraphicFrame(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(GRAPHICFRAME$12, i);
}
}
/**
* 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$14, 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$14) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList extLst) {
generatedSetterHelperImpl(extLst, EXTLST$14, 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$14);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$14, 0);
}
}
}