All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.impl.CTPictureImpl Maven / Gradle / Ivy
/*
* XML Type: CT_Picture
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing
* Java type: org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPicture
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
/**
* An XML CT_Picture(@http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing).
*
* This is a complex type.
*/
public class CTPictureImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPicture {
private static final long serialVersionUID = 1L;
public CTPictureImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing", "nvPicPr"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing", "blipFill"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing", "spPr"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing", "style"),
new QName("", "macro"),
new QName("", "fPublished"),
};
/**
* Gets the "nvPicPr" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual getNvPicPr() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "nvPicPr" element
*/
@Override
public void setNvPicPr(org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual nvPicPr) {
generatedSetterHelperImpl(nvPicPr, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "nvPicPr" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual addNewNvPicPr() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTPictureNonVisual)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* Gets the "blipFill" element
*/
@Override
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(PROPERTY_QNAME[1], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "blipFill" element
*/
@Override
public void setBlipFill(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill) {
generatedSetterHelperImpl(blipFill, PROPERTY_QNAME[1], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "blipFill" element
*/
@Override
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(PROPERTY_QNAME[1]);
return target;
}
}
/**
* Gets the "spPr" element
*/
@Override
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(PROPERTY_QNAME[2], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "spPr" element
*/
@Override
public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr) {
generatedSetterHelperImpl(spPr, PROPERTY_QNAME[2], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "spPr" element
*/
@Override
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(PROPERTY_QNAME[2]);
return target;
}
}
/**
* Gets the "style" element
*/
@Override
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(PROPERTY_QNAME[3], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "style" element
*/
@Override
public boolean isSetStyle() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[3]) != 0;
}
}
/**
* Sets the "style" element
*/
@Override
public void setStyle(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle style) {
generatedSetterHelperImpl(style, PROPERTY_QNAME[3], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "style" element
*/
@Override
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(PROPERTY_QNAME[3]);
return target;
}
}
/**
* Unsets the "style" element
*/
@Override
public void unsetStyle() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[3], 0);
}
}
/**
* Gets the "macro" attribute
*/
@Override
public java.lang.String getMacro() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[4]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(PROPERTY_QNAME[4]);
}
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "macro" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetMacro() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[4]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_default_attribute_value(PROPERTY_QNAME[4]);
}
return target;
}
}
/**
* True if has "macro" attribute
*/
@Override
public boolean isSetMacro() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[4]) != null;
}
}
/**
* Sets the "macro" attribute
*/
@Override
public void setMacro(java.lang.String macro) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[4]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[4]);
}
target.setStringValue(macro);
}
}
/**
* Sets (as xml) the "macro" attribute
*/
@Override
public void xsetMacro(org.apache.xmlbeans.XmlString macro) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[4]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[4]);
}
target.set(macro);
}
}
/**
* Unsets the "macro" attribute
*/
@Override
public void unsetMacro() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[4]);
}
}
/**
* Gets the "fPublished" attribute
*/
@Override
public boolean getFPublished() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[5]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(PROPERTY_QNAME[5]);
}
return (target == null) ? false : target.getBooleanValue();
}
}
/**
* Gets (as xml) the "fPublished" attribute
*/
@Override
public org.apache.xmlbeans.XmlBoolean xgetFPublished() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(PROPERTY_QNAME[5]);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(PROPERTY_QNAME[5]);
}
return target;
}
}
/**
* True if has "fPublished" attribute
*/
@Override
public boolean isSetFPublished() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[5]) != null;
}
}
/**
* Sets the "fPublished" attribute
*/
@Override
public void setFPublished(boolean fPublished) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[5]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[5]);
}
target.setBooleanValue(fPublished);
}
}
/**
* Sets (as xml) the "fPublished" attribute
*/
@Override
public void xsetFPublished(org.apache.xmlbeans.XmlBoolean fPublished) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(PROPERTY_QNAME[5]);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(PROPERTY_QNAME[5]);
}
target.set(fPublished);
}
}
/**
* Unsets the "fPublished" attribute
*/
@Override
public void unsetFPublished() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[5]);
}
}
}