source: trunk/docx4j/src/main/java/org/docx4j/dml/CTGvmlGroupShape.java @ 1201

Revision 1201, 6.0 KB checked in by jharrop, 21 months ago (diff)

Additional xlsx parts. Had to regenerate dml/ to include spreadsheet drawing.

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import java.util.ArrayList;
25import java.util.List;
26import javax.xml.bind.annotation.XmlAccessType;
27import javax.xml.bind.annotation.XmlAccessorType;
28import javax.xml.bind.annotation.XmlElement;
29import javax.xml.bind.annotation.XmlElements;
30import javax.xml.bind.annotation.XmlType;
31
32
33/**
34 * <p>Java class for CT_GvmlGroupShape complex type.
35 *
36 * <p>The following schema fragment specifies the expected content contained within this class.
37 *
38 * <pre>
39 * &lt;complexType name="CT_GvmlGroupShape">
40 *   &lt;complexContent>
41 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 *       &lt;sequence>
43 *         &lt;element name="nvGrpSpPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlGroupShapeNonVisual"/>
44 *         &lt;element name="grpSpPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GroupShapeProperties"/>
45 *         &lt;choice maxOccurs="unbounded" minOccurs="0">
46 *           &lt;element name="txSp" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlTextShape"/>
47 *           &lt;element name="sp" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlShape"/>
48 *           &lt;element name="cxnSp" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlConnector"/>
49 *           &lt;element name="pic" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlPicture"/>
50 *           &lt;element name="graphicFrame" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlGraphicalObjectFrame"/>
51 *           &lt;element name="grpSp" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlGroupShape"/>
52 *         &lt;/choice>
53 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
54 *       &lt;/sequence>
55 *     &lt;/restriction>
56 *   &lt;/complexContent>
57 * &lt;/complexType>
58 * </pre>
59 *
60 *
61 */
62@XmlAccessorType(XmlAccessType.FIELD)
63@XmlType(name = "CT_GvmlGroupShape", propOrder = {
64    "nvGrpSpPr",
65    "grpSpPr",
66    "txSpOrSpOrCxnSp",
67    "extLst"
68})
69public class CTGvmlGroupShape {
70
71    @XmlElement(required = true)
72    protected CTGvmlGroupShapeNonVisual nvGrpSpPr;
73    @XmlElement(required = true)
74    protected CTGroupShapeProperties grpSpPr;
75    @XmlElements({
76        @XmlElement(name = "sp", type = CTGvmlShape.class),
77        @XmlElement(name = "grpSp", type = CTGvmlGroupShape.class),
78        @XmlElement(name = "cxnSp", type = CTGvmlConnector.class),
79        @XmlElement(name = "graphicFrame", type = CTGvmlGraphicalObjectFrame.class),
80        @XmlElement(name = "pic", type = CTGvmlPicture.class),
81        @XmlElement(name = "txSp", type = CTGvmlTextShape.class)
82    })
83    protected List<Object> txSpOrSpOrCxnSp;
84    protected CTOfficeArtExtensionList extLst;
85
86    /**
87     * Gets the value of the nvGrpSpPr property.
88     *
89     * @return
90     *     possible object is
91     *     {@link CTGvmlGroupShapeNonVisual }
92     *     
93     */
94    public CTGvmlGroupShapeNonVisual getNvGrpSpPr() {
95        return nvGrpSpPr;
96    }
97
98    /**
99     * Sets the value of the nvGrpSpPr property.
100     *
101     * @param value
102     *     allowed object is
103     *     {@link CTGvmlGroupShapeNonVisual }
104     *     
105     */
106    public void setNvGrpSpPr(CTGvmlGroupShapeNonVisual value) {
107        this.nvGrpSpPr = value;
108    }
109
110    /**
111     * Gets the value of the grpSpPr property.
112     *
113     * @return
114     *     possible object is
115     *     {@link CTGroupShapeProperties }
116     *     
117     */
118    public CTGroupShapeProperties getGrpSpPr() {
119        return grpSpPr;
120    }
121
122    /**
123     * Sets the value of the grpSpPr property.
124     *
125     * @param value
126     *     allowed object is
127     *     {@link CTGroupShapeProperties }
128     *     
129     */
130    public void setGrpSpPr(CTGroupShapeProperties value) {
131        this.grpSpPr = value;
132    }
133
134    /**
135     * Gets the value of the txSpOrSpOrCxnSp property.
136     *
137     * <p>
138     * This accessor method returns a reference to the live list,
139     * not a snapshot. Therefore any modification you make to the
140     * returned list will be present inside the JAXB object.
141     * This is why there is not a <CODE>set</CODE> method for the txSpOrSpOrCxnSp property.
142     *
143     * <p>
144     * For example, to add a new item, do as follows:
145     * <pre>
146     *    getTxSpOrSpOrCxnSp().add(newItem);
147     * </pre>
148     *
149     *
150     * <p>
151     * Objects of the following type(s) are allowed in the list
152     * {@link CTGvmlShape }
153     * {@link CTGvmlGroupShape }
154     * {@link CTGvmlConnector }
155     * {@link CTGvmlGraphicalObjectFrame }
156     * {@link CTGvmlPicture }
157     * {@link CTGvmlTextShape }
158     *
159     *
160     */
161    public List<Object> getTxSpOrSpOrCxnSp() {
162        if (txSpOrSpOrCxnSp == null) {
163            txSpOrSpOrCxnSp = new ArrayList<Object>();
164        }
165        return this.txSpOrSpOrCxnSp;
166    }
167
168    /**
169     * Gets the value of the extLst property.
170     *
171     * @return
172     *     possible object is
173     *     {@link CTOfficeArtExtensionList }
174     *     
175     */
176    public CTOfficeArtExtensionList getExtLst() {
177        return extLst;
178    }
179
180    /**
181     * Sets the value of the extLst property.
182     *
183     * @param value
184     *     allowed object is
185     *     {@link CTOfficeArtExtensionList }
186     *     
187     */
188    public void setExtLst(CTOfficeArtExtensionList value) {
189        this.extLst = value;
190    }
191
192}
Note: See TracBrowser for help on using the repository browser.