All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemasMicrosoftComOfficeOffice.impl.ShapelayoutDocumentImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from the Ecma supplied xsds: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip

There is a newer version: 1.4
Show newest version
/*
 * An XML document type.
 * Localname: shapelayout
 * Namespace: urn:schemas-microsoft-com:office:office
 * Java type: schemasMicrosoftComOfficeOffice.ShapelayoutDocument
 *
 * Automatically generated - do not modify.
 */
package schemasMicrosoftComOfficeOffice.impl;
/**
 * A document containing one shapelayout(@urn:schemas-microsoft-com:office:office) element.
 *
 * This is a complex type.
 */
public class ShapelayoutDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements schemasMicrosoftComOfficeOffice.ShapelayoutDocument
{
    
    public ShapelayoutDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SHAPELAYOUT$0 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "shapelayout");
    
    
    /**
     * Gets the "shapelayout" element
     */
    public schemasMicrosoftComOfficeOffice.CTShapeLayout getShapelayout()
    {
        synchronized (monitor())
        {
            check_orphaned();
            schemasMicrosoftComOfficeOffice.CTShapeLayout target = null;
            target = (schemasMicrosoftComOfficeOffice.CTShapeLayout)get_store().find_element_user(SHAPELAYOUT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "shapelayout" element
     */
    public void setShapelayout(schemasMicrosoftComOfficeOffice.CTShapeLayout shapelayout)
    {
        synchronized (monitor())
        {
            check_orphaned();
            schemasMicrosoftComOfficeOffice.CTShapeLayout target = null;
            target = (schemasMicrosoftComOfficeOffice.CTShapeLayout)get_store().find_element_user(SHAPELAYOUT$0, 0);
            if (target == null)
            {
                target = (schemasMicrosoftComOfficeOffice.CTShapeLayout)get_store().add_element_user(SHAPELAYOUT$0);
            }
            target.set(shapelayout);
        }
    }
    
    /**
     * Appends and returns a new empty "shapelayout" element
     */
    public schemasMicrosoftComOfficeOffice.CTShapeLayout addNewShapelayout()
    {
        synchronized (monitor())
        {
            check_orphaned();
            schemasMicrosoftComOfficeOffice.CTShapeLayout target = null;
            target = (schemasMicrosoftComOfficeOffice.CTShapeLayout)get_store().add_element_user(SHAPELAYOUT$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy