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

Revision 1041, 12.9 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;
28import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
29import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30
31
32/**
33 * <p>Java class for CT_TableStyle complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType name="CT_TableStyle">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;element name="tblBg" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableBackgroundStyle" minOccurs="0"/>
43 *         &lt;element name="wholeTbl" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
44 *         &lt;element name="band1H" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
45 *         &lt;element name="band2H" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
46 *         &lt;element name="band1V" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
47 *         &lt;element name="band2V" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
48 *         &lt;element name="lastCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
49 *         &lt;element name="firstCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
50 *         &lt;element name="lastRow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
51 *         &lt;element name="seCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
52 *         &lt;element name="swCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
53 *         &lt;element name="firstRow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
54 *         &lt;element name="neCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
55 *         &lt;element name="nwCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
56 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
57 *       &lt;/sequence>
58 *       &lt;attribute name="styleId" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid" />
59 *       &lt;attribute name="styleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
60 *     &lt;/restriction>
61 *   &lt;/complexContent>
62 * &lt;/complexType>
63 * </pre>
64 *
65 *
66 */
67@XmlAccessorType(XmlAccessType.FIELD)
68@XmlType(name = "CT_TableStyle", propOrder = {
69    "tblBg",
70    "wholeTbl",
71    "band1H",
72    "band2H",
73    "band1V",
74    "band2V",
75    "lastCol",
76    "firstCol",
77    "lastRow",
78    "seCell",
79    "swCell",
80    "firstRow",
81    "neCell",
82    "nwCell",
83    "extLst"
84})
85public class CTTableStyle {
86
87    protected CTTableBackgroundStyle tblBg;
88    protected CTTablePartStyle wholeTbl;
89    protected CTTablePartStyle band1H;
90    protected CTTablePartStyle band2H;
91    protected CTTablePartStyle band1V;
92    protected CTTablePartStyle band2V;
93    protected CTTablePartStyle lastCol;
94    protected CTTablePartStyle firstCol;
95    protected CTTablePartStyle lastRow;
96    protected CTTablePartStyle seCell;
97    protected CTTablePartStyle swCell;
98    protected CTTablePartStyle firstRow;
99    protected CTTablePartStyle neCell;
100    protected CTTablePartStyle nwCell;
101    protected CTOfficeArtExtensionList extLst;
102    @XmlAttribute(required = true)
103    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
104    protected String styleId;
105    @XmlAttribute(required = true)
106    protected String styleName;
107
108    /**
109     * Gets the value of the tblBg property.
110     *
111     * @return
112     *     possible object is
113     *     {@link CTTableBackgroundStyle }
114     *     
115     */
116    public CTTableBackgroundStyle getTblBg() {
117        return tblBg;
118    }
119
120    /**
121     * Sets the value of the tblBg property.
122     *
123     * @param value
124     *     allowed object is
125     *     {@link CTTableBackgroundStyle }
126     *     
127     */
128    public void setTblBg(CTTableBackgroundStyle value) {
129        this.tblBg = value;
130    }
131
132    /**
133     * Gets the value of the wholeTbl property.
134     *
135     * @return
136     *     possible object is
137     *     {@link CTTablePartStyle }
138     *     
139     */
140    public CTTablePartStyle getWholeTbl() {
141        return wholeTbl;
142    }
143
144    /**
145     * Sets the value of the wholeTbl property.
146     *
147     * @param value
148     *     allowed object is
149     *     {@link CTTablePartStyle }
150     *     
151     */
152    public void setWholeTbl(CTTablePartStyle value) {
153        this.wholeTbl = value;
154    }
155
156    /**
157     * Gets the value of the band1H property.
158     *
159     * @return
160     *     possible object is
161     *     {@link CTTablePartStyle }
162     *     
163     */
164    public CTTablePartStyle getBand1H() {
165        return band1H;
166    }
167
168    /**
169     * Sets the value of the band1H property.
170     *
171     * @param value
172     *     allowed object is
173     *     {@link CTTablePartStyle }
174     *     
175     */
176    public void setBand1H(CTTablePartStyle value) {
177        this.band1H = value;
178    }
179
180    /**
181     * Gets the value of the band2H property.
182     *
183     * @return
184     *     possible object is
185     *     {@link CTTablePartStyle }
186     *     
187     */
188    public CTTablePartStyle getBand2H() {
189        return band2H;
190    }
191
192    /**
193     * Sets the value of the band2H property.
194     *
195     * @param value
196     *     allowed object is
197     *     {@link CTTablePartStyle }
198     *     
199     */
200    public void setBand2H(CTTablePartStyle value) {
201        this.band2H = value;
202    }
203
204    /**
205     * Gets the value of the band1V property.
206     *
207     * @return
208     *     possible object is
209     *     {@link CTTablePartStyle }
210     *     
211     */
212    public CTTablePartStyle getBand1V() {
213        return band1V;
214    }
215
216    /**
217     * Sets the value of the band1V property.
218     *
219     * @param value
220     *     allowed object is
221     *     {@link CTTablePartStyle }
222     *     
223     */
224    public void setBand1V(CTTablePartStyle value) {
225        this.band1V = value;
226    }
227
228    /**
229     * Gets the value of the band2V property.
230     *
231     * @return
232     *     possible object is
233     *     {@link CTTablePartStyle }
234     *     
235     */
236    public CTTablePartStyle getBand2V() {
237        return band2V;
238    }
239
240    /**
241     * Sets the value of the band2V property.
242     *
243     * @param value
244     *     allowed object is
245     *     {@link CTTablePartStyle }
246     *     
247     */
248    public void setBand2V(CTTablePartStyle value) {
249        this.band2V = value;
250    }
251
252    /**
253     * Gets the value of the lastCol property.
254     *
255     * @return
256     *     possible object is
257     *     {@link CTTablePartStyle }
258     *     
259     */
260    public CTTablePartStyle getLastCol() {
261        return lastCol;
262    }
263
264    /**
265     * Sets the value of the lastCol property.
266     *
267     * @param value
268     *     allowed object is
269     *     {@link CTTablePartStyle }
270     *     
271     */
272    public void setLastCol(CTTablePartStyle value) {
273        this.lastCol = value;
274    }
275
276    /**
277     * Gets the value of the firstCol property.
278     *
279     * @return
280     *     possible object is
281     *     {@link CTTablePartStyle }
282     *     
283     */
284    public CTTablePartStyle getFirstCol() {
285        return firstCol;
286    }
287
288    /**
289     * Sets the value of the firstCol property.
290     *
291     * @param value
292     *     allowed object is
293     *     {@link CTTablePartStyle }
294     *     
295     */
296    public void setFirstCol(CTTablePartStyle value) {
297        this.firstCol = value;
298    }
299
300    /**
301     * Gets the value of the lastRow property.
302     *
303     * @return
304     *     possible object is
305     *     {@link CTTablePartStyle }
306     *     
307     */
308    public CTTablePartStyle getLastRow() {
309        return lastRow;
310    }
311
312    /**
313     * Sets the value of the lastRow property.
314     *
315     * @param value
316     *     allowed object is
317     *     {@link CTTablePartStyle }
318     *     
319     */
320    public void setLastRow(CTTablePartStyle value) {
321        this.lastRow = value;
322    }
323
324    /**
325     * Gets the value of the seCell property.
326     *
327     * @return
328     *     possible object is
329     *     {@link CTTablePartStyle }
330     *     
331     */
332    public CTTablePartStyle getSeCell() {
333        return seCell;
334    }
335
336    /**
337     * Sets the value of the seCell property.
338     *
339     * @param value
340     *     allowed object is
341     *     {@link CTTablePartStyle }
342     *     
343     */
344    public void setSeCell(CTTablePartStyle value) {
345        this.seCell = value;
346    }
347
348    /**
349     * Gets the value of the swCell property.
350     *
351     * @return
352     *     possible object is
353     *     {@link CTTablePartStyle }
354     *     
355     */
356    public CTTablePartStyle getSwCell() {
357        return swCell;
358    }
359
360    /**
361     * Sets the value of the swCell property.
362     *
363     * @param value
364     *     allowed object is
365     *     {@link CTTablePartStyle }
366     *     
367     */
368    public void setSwCell(CTTablePartStyle value) {
369        this.swCell = value;
370    }
371
372    /**
373     * Gets the value of the firstRow property.
374     *
375     * @return
376     *     possible object is
377     *     {@link CTTablePartStyle }
378     *     
379     */
380    public CTTablePartStyle getFirstRow() {
381        return firstRow;
382    }
383
384    /**
385     * Sets the value of the firstRow property.
386     *
387     * @param value
388     *     allowed object is
389     *     {@link CTTablePartStyle }
390     *     
391     */
392    public void setFirstRow(CTTablePartStyle value) {
393        this.firstRow = value;
394    }
395
396    /**
397     * Gets the value of the neCell property.
398     *
399     * @return
400     *     possible object is
401     *     {@link CTTablePartStyle }
402     *     
403     */
404    public CTTablePartStyle getNeCell() {
405        return neCell;
406    }
407
408    /**
409     * Sets the value of the neCell property.
410     *
411     * @param value
412     *     allowed object is
413     *     {@link CTTablePartStyle }
414     *     
415     */
416    public void setNeCell(CTTablePartStyle value) {
417        this.neCell = value;
418    }
419
420    /**
421     * Gets the value of the nwCell property.
422     *
423     * @return
424     *     possible object is
425     *     {@link CTTablePartStyle }
426     *     
427     */
428    public CTTablePartStyle getNwCell() {
429        return nwCell;
430    }
431
432    /**
433     * Sets the value of the nwCell property.
434     *
435     * @param value
436     *     allowed object is
437     *     {@link CTTablePartStyle }
438     *     
439     */
440    public void setNwCell(CTTablePartStyle value) {
441        this.nwCell = value;
442    }
443
444    /**
445     * Gets the value of the extLst property.
446     *
447     * @return
448     *     possible object is
449     *     {@link CTOfficeArtExtensionList }
450     *     
451     */
452    public CTOfficeArtExtensionList getExtLst() {
453        return extLst;
454    }
455
456    /**
457     * Sets the value of the extLst property.
458     *
459     * @param value
460     *     allowed object is
461     *     {@link CTOfficeArtExtensionList }
462     *     
463     */
464    public void setExtLst(CTOfficeArtExtensionList value) {
465        this.extLst = value;
466    }
467
468    /**
469     * Gets the value of the styleId property.
470     *
471     * @return
472     *     possible object is
473     *     {@link String }
474     *     
475     */
476    public String getStyleId() {
477        return styleId;
478    }
479
480    /**
481     * Sets the value of the styleId property.
482     *
483     * @param value
484     *     allowed object is
485     *     {@link String }
486     *     
487     */
488    public void setStyleId(String value) {
489        this.styleId = value;
490    }
491
492    /**
493     * Gets the value of the styleName property.
494     *
495     * @return
496     *     possible object is
497     *     {@link String }
498     *     
499     */
500    public String getStyleName() {
501        return styleName;
502    }
503
504    /**
505     * Sets the value of the styleName property.
506     *
507     * @param value
508     *     allowed object is
509     *     {@link String }
510     *     
511     */
512    public void setStyleName(String value) {
513        this.styleName = value;
514    }
515
516}
Note: See TracBrowser for help on using the repository browser.