source: trunk/docx4j/src/main/java/org/docx4j/dml/CTNonVisualDrawingShapeProps.java @ 1041

Revision 1041, 3.5 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

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 javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlType;
28
29
30/**
31 * <p>Java class for CT_NonVisualDrawingShapeProps complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * &lt;complexType name="CT_NonVisualDrawingShapeProps">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;sequence>
40 *         &lt;element name="spLocks" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeLocking" minOccurs="0"/>
41 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
42 *       &lt;/sequence>
43 *       &lt;attribute name="txBox" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
44 *     &lt;/restriction>
45 *   &lt;/complexContent>
46 * &lt;/complexType>
47 * </pre>
48 *
49 *
50 */
51@XmlAccessorType(XmlAccessType.FIELD)
52@XmlType(name = "CT_NonVisualDrawingShapeProps", propOrder = {
53    "spLocks",
54    "extLst"
55})
56public class CTNonVisualDrawingShapeProps {
57
58    protected CTShapeLocking spLocks;
59    protected CTOfficeArtExtensionList extLst;
60    @XmlAttribute
61    protected Boolean txBox;
62
63    /**
64     * Gets the value of the spLocks property.
65     *
66     * @return
67     *     possible object is
68     *     {@link CTShapeLocking }
69     *     
70     */
71    public CTShapeLocking getSpLocks() {
72        return spLocks;
73    }
74
75    /**
76     * Sets the value of the spLocks property.
77     *
78     * @param value
79     *     allowed object is
80     *     {@link CTShapeLocking }
81     *     
82     */
83    public void setSpLocks(CTShapeLocking value) {
84        this.spLocks = value;
85    }
86
87    /**
88     * Gets the value of the extLst property.
89     *
90     * @return
91     *     possible object is
92     *     {@link CTOfficeArtExtensionList }
93     *     
94     */
95    public CTOfficeArtExtensionList getExtLst() {
96        return extLst;
97    }
98
99    /**
100     * Sets the value of the extLst property.
101     *
102     * @param value
103     *     allowed object is
104     *     {@link CTOfficeArtExtensionList }
105     *     
106     */
107    public void setExtLst(CTOfficeArtExtensionList value) {
108        this.extLst = value;
109    }
110
111    /**
112     * Gets the value of the txBox property.
113     *
114     * @return
115     *     possible object is
116     *     {@link Boolean }
117     *     
118     */
119    public boolean isTxBox() {
120        if (txBox == null) {
121            return false;
122        } else {
123            return txBox;
124        }
125    }
126
127    /**
128     * Sets the value of the txBox property.
129     *
130     * @param value
131     *     allowed object is
132     *     {@link Boolean }
133     *     
134     */
135    public void setTxBox(Boolean value) {
136        this.txBox = value;
137    }
138
139}
Note: See TracBrowser for help on using the repository browser.