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

Revision 1041, 4.3 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.XmlElement;
28import javax.xml.bind.annotation.XmlType;
29
30
31/**
32 * <p>Java class for CT_Cell3D complex type.
33 *
34 * <p>The following schema fragment specifies the expected content contained within this class.
35 *
36 * <pre>
37 * &lt;complexType name="CT_Cell3D">
38 *   &lt;complexContent>
39 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 *       &lt;sequence>
41 *         &lt;element name="bevel" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Bevel"/>
42 *         &lt;element name="lightRig" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LightRig" minOccurs="0"/>
43 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
44 *       &lt;/sequence>
45 *       &lt;attribute name="prstMaterial" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PresetMaterialType" default="plastic" />
46 *     &lt;/restriction>
47 *   &lt;/complexContent>
48 * &lt;/complexType>
49 * </pre>
50 *
51 *
52 */
53@XmlAccessorType(XmlAccessType.FIELD)
54@XmlType(name = "CT_Cell3D", propOrder = {
55    "bevel",
56    "lightRig",
57    "extLst"
58})
59public class CTCell3D {
60
61    @XmlElement(required = true)
62    protected CTBevel bevel;
63    protected CTLightRig lightRig;
64    protected CTOfficeArtExtensionList extLst;
65    @XmlAttribute
66    protected STPresetMaterialType prstMaterial;
67
68    /**
69     * Gets the value of the bevel property.
70     *
71     * @return
72     *     possible object is
73     *     {@link CTBevel }
74     *     
75     */
76    public CTBevel getBevel() {
77        return bevel;
78    }
79
80    /**
81     * Sets the value of the bevel property.
82     *
83     * @param value
84     *     allowed object is
85     *     {@link CTBevel }
86     *     
87     */
88    public void setBevel(CTBevel value) {
89        this.bevel = value;
90    }
91
92    /**
93     * Gets the value of the lightRig property.
94     *
95     * @return
96     *     possible object is
97     *     {@link CTLightRig }
98     *     
99     */
100    public CTLightRig getLightRig() {
101        return lightRig;
102    }
103
104    /**
105     * Sets the value of the lightRig property.
106     *
107     * @param value
108     *     allowed object is
109     *     {@link CTLightRig }
110     *     
111     */
112    public void setLightRig(CTLightRig value) {
113        this.lightRig = value;
114    }
115
116    /**
117     * Gets the value of the extLst property.
118     *
119     * @return
120     *     possible object is
121     *     {@link CTOfficeArtExtensionList }
122     *     
123     */
124    public CTOfficeArtExtensionList getExtLst() {
125        return extLst;
126    }
127
128    /**
129     * Sets the value of the extLst property.
130     *
131     * @param value
132     *     allowed object is
133     *     {@link CTOfficeArtExtensionList }
134     *     
135     */
136    public void setExtLst(CTOfficeArtExtensionList value) {
137        this.extLst = value;
138    }
139
140    /**
141     * Gets the value of the prstMaterial property.
142     *
143     * @return
144     *     possible object is
145     *     {@link STPresetMaterialType }
146     *     
147     */
148    public STPresetMaterialType getPrstMaterial() {
149        if (prstMaterial == null) {
150            return STPresetMaterialType.PLASTIC;
151        } else {
152            return prstMaterial;
153        }
154    }
155
156    /**
157     * Sets the value of the prstMaterial property.
158     *
159     * @param value
160     *     allowed object is
161     *     {@link STPresetMaterialType }
162     *     
163     */
164    public void setPrstMaterial(STPresetMaterialType value) {
165        this.prstMaterial = value;
166    }
167
168}
Note: See TracBrowser for help on using the repository browser.