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

Revision 1041, 13.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.XmlType;
28import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
29import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30
31
32/**
33 * <p>Java class for CT_TableProperties 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_TableProperties">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_FillProperties" minOccurs="0"/>
43 *         &lt;group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_EffectProperties" minOccurs="0"/>
44 *         &lt;choice minOccurs="0">
45 *           &lt;element name="tableStyle" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableStyle"/>
46 *           &lt;element name="tableStyleId" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid"/>
47 *         &lt;/choice>
48 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
49 *       &lt;/sequence>
50 *       &lt;attribute name="rtl" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
51 *       &lt;attribute name="firstRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
52 *       &lt;attribute name="firstCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
53 *       &lt;attribute name="lastRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
54 *       &lt;attribute name="lastCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
55 *       &lt;attribute name="bandRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
56 *       &lt;attribute name="bandCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
57 *     &lt;/restriction>
58 *   &lt;/complexContent>
59 * &lt;/complexType>
60 * </pre>
61 *
62 *
63 */
64@XmlAccessorType(XmlAccessType.FIELD)
65@XmlType(name = "CT_TableProperties", propOrder = {
66    "noFill",
67    "solidFill",
68    "gradFill",
69    "blipFill",
70    "pattFill",
71    "grpFill",
72    "effectLst",
73    "effectDag",
74    "tableStyle",
75    "tableStyleId",
76    "extLst"
77})
78public class CTTableProperties {
79
80    protected CTNoFillProperties noFill;
81    protected CTSolidColorFillProperties solidFill;
82    protected CTGradientFillProperties gradFill;
83    protected CTBlipFillProperties blipFill;
84    protected CTPatternFillProperties pattFill;
85    protected CTGroupFillProperties grpFill;
86    protected CTEffectList effectLst;
87    protected CTEffectContainer effectDag;
88    protected CTTableStyle tableStyle;
89    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
90    protected String tableStyleId;
91    protected CTOfficeArtExtensionList extLst;
92    @XmlAttribute
93    protected Boolean rtl;
94    @XmlAttribute
95    protected Boolean firstRow;
96    @XmlAttribute
97    protected Boolean firstCol;
98    @XmlAttribute
99    protected Boolean lastRow;
100    @XmlAttribute
101    protected Boolean lastCol;
102    @XmlAttribute
103    protected Boolean bandRow;
104    @XmlAttribute
105    protected Boolean bandCol;
106
107    /**
108     * Gets the value of the noFill property.
109     *
110     * @return
111     *     possible object is
112     *     {@link CTNoFillProperties }
113     *     
114     */
115    public CTNoFillProperties getNoFill() {
116        return noFill;
117    }
118
119    /**
120     * Sets the value of the noFill property.
121     *
122     * @param value
123     *     allowed object is
124     *     {@link CTNoFillProperties }
125     *     
126     */
127    public void setNoFill(CTNoFillProperties value) {
128        this.noFill = value;
129    }
130
131    /**
132     * Gets the value of the solidFill property.
133     *
134     * @return
135     *     possible object is
136     *     {@link CTSolidColorFillProperties }
137     *     
138     */
139    public CTSolidColorFillProperties getSolidFill() {
140        return solidFill;
141    }
142
143    /**
144     * Sets the value of the solidFill property.
145     *
146     * @param value
147     *     allowed object is
148     *     {@link CTSolidColorFillProperties }
149     *     
150     */
151    public void setSolidFill(CTSolidColorFillProperties value) {
152        this.solidFill = value;
153    }
154
155    /**
156     * Gets the value of the gradFill property.
157     *
158     * @return
159     *     possible object is
160     *     {@link CTGradientFillProperties }
161     *     
162     */
163    public CTGradientFillProperties getGradFill() {
164        return gradFill;
165    }
166
167    /**
168     * Sets the value of the gradFill property.
169     *
170     * @param value
171     *     allowed object is
172     *     {@link CTGradientFillProperties }
173     *     
174     */
175    public void setGradFill(CTGradientFillProperties value) {
176        this.gradFill = value;
177    }
178
179    /**
180     * Gets the value of the blipFill property.
181     *
182     * @return
183     *     possible object is
184     *     {@link CTBlipFillProperties }
185     *     
186     */
187    public CTBlipFillProperties getBlipFill() {
188        return blipFill;
189    }
190
191    /**
192     * Sets the value of the blipFill property.
193     *
194     * @param value
195     *     allowed object is
196     *     {@link CTBlipFillProperties }
197     *     
198     */
199    public void setBlipFill(CTBlipFillProperties value) {
200        this.blipFill = value;
201    }
202
203    /**
204     * Gets the value of the pattFill property.
205     *
206     * @return
207     *     possible object is
208     *     {@link CTPatternFillProperties }
209     *     
210     */
211    public CTPatternFillProperties getPattFill() {
212        return pattFill;
213    }
214
215    /**
216     * Sets the value of the pattFill property.
217     *
218     * @param value
219     *     allowed object is
220     *     {@link CTPatternFillProperties }
221     *     
222     */
223    public void setPattFill(CTPatternFillProperties value) {
224        this.pattFill = value;
225    }
226
227    /**
228     * Gets the value of the grpFill property.
229     *
230     * @return
231     *     possible object is
232     *     {@link CTGroupFillProperties }
233     *     
234     */
235    public CTGroupFillProperties getGrpFill() {
236        return grpFill;
237    }
238
239    /**
240     * Sets the value of the grpFill property.
241     *
242     * @param value
243     *     allowed object is
244     *     {@link CTGroupFillProperties }
245     *     
246     */
247    public void setGrpFill(CTGroupFillProperties value) {
248        this.grpFill = value;
249    }
250
251    /**
252     * Gets the value of the effectLst property.
253     *
254     * @return
255     *     possible object is
256     *     {@link CTEffectList }
257     *     
258     */
259    public CTEffectList getEffectLst() {
260        return effectLst;
261    }
262
263    /**
264     * Sets the value of the effectLst property.
265     *
266     * @param value
267     *     allowed object is
268     *     {@link CTEffectList }
269     *     
270     */
271    public void setEffectLst(CTEffectList value) {
272        this.effectLst = value;
273    }
274
275    /**
276     * Gets the value of the effectDag property.
277     *
278     * @return
279     *     possible object is
280     *     {@link CTEffectContainer }
281     *     
282     */
283    public CTEffectContainer getEffectDag() {
284        return effectDag;
285    }
286
287    /**
288     * Sets the value of the effectDag property.
289     *
290     * @param value
291     *     allowed object is
292     *     {@link CTEffectContainer }
293     *     
294     */
295    public void setEffectDag(CTEffectContainer value) {
296        this.effectDag = value;
297    }
298
299    /**
300     * Gets the value of the tableStyle property.
301     *
302     * @return
303     *     possible object is
304     *     {@link CTTableStyle }
305     *     
306     */
307    public CTTableStyle getTableStyle() {
308        return tableStyle;
309    }
310
311    /**
312     * Sets the value of the tableStyle property.
313     *
314     * @param value
315     *     allowed object is
316     *     {@link CTTableStyle }
317     *     
318     */
319    public void setTableStyle(CTTableStyle value) {
320        this.tableStyle = value;
321    }
322
323    /**
324     * Gets the value of the tableStyleId property.
325     *
326     * @return
327     *     possible object is
328     *     {@link String }
329     *     
330     */
331    public String getTableStyleId() {
332        return tableStyleId;
333    }
334
335    /**
336     * Sets the value of the tableStyleId property.
337     *
338     * @param value
339     *     allowed object is
340     *     {@link String }
341     *     
342     */
343    public void setTableStyleId(String value) {
344        this.tableStyleId = value;
345    }
346
347    /**
348     * Gets the value of the extLst property.
349     *
350     * @return
351     *     possible object is
352     *     {@link CTOfficeArtExtensionList }
353     *     
354     */
355    public CTOfficeArtExtensionList getExtLst() {
356        return extLst;
357    }
358
359    /**
360     * Sets the value of the extLst property.
361     *
362     * @param value
363     *     allowed object is
364     *     {@link CTOfficeArtExtensionList }
365     *     
366     */
367    public void setExtLst(CTOfficeArtExtensionList value) {
368        this.extLst = value;
369    }
370
371    /**
372     * Gets the value of the rtl property.
373     *
374     * @return
375     *     possible object is
376     *     {@link Boolean }
377     *     
378     */
379    public boolean isRtl() {
380        if (rtl == null) {
381            return false;
382        } else {
383            return rtl;
384        }
385    }
386
387    /**
388     * Sets the value of the rtl property.
389     *
390     * @param value
391     *     allowed object is
392     *     {@link Boolean }
393     *     
394     */
395    public void setRtl(Boolean value) {
396        this.rtl = value;
397    }
398
399    /**
400     * Gets the value of the firstRow property.
401     *
402     * @return
403     *     possible object is
404     *     {@link Boolean }
405     *     
406     */
407    public boolean isFirstRow() {
408        if (firstRow == null) {
409            return false;
410        } else {
411            return firstRow;
412        }
413    }
414
415    /**
416     * Sets the value of the firstRow property.
417     *
418     * @param value
419     *     allowed object is
420     *     {@link Boolean }
421     *     
422     */
423    public void setFirstRow(Boolean value) {
424        this.firstRow = value;
425    }
426
427    /**
428     * Gets the value of the firstCol property.
429     *
430     * @return
431     *     possible object is
432     *     {@link Boolean }
433     *     
434     */
435    public boolean isFirstCol() {
436        if (firstCol == null) {
437            return false;
438        } else {
439            return firstCol;
440        }
441    }
442
443    /**
444     * Sets the value of the firstCol property.
445     *
446     * @param value
447     *     allowed object is
448     *     {@link Boolean }
449     *     
450     */
451    public void setFirstCol(Boolean value) {
452        this.firstCol = value;
453    }
454
455    /**
456     * Gets the value of the lastRow property.
457     *
458     * @return
459     *     possible object is
460     *     {@link Boolean }
461     *     
462     */
463    public boolean isLastRow() {
464        if (lastRow == null) {
465            return false;
466        } else {
467            return lastRow;
468        }
469    }
470
471    /**
472     * Sets the value of the lastRow property.
473     *
474     * @param value
475     *     allowed object is
476     *     {@link Boolean }
477     *     
478     */
479    public void setLastRow(Boolean value) {
480        this.lastRow = value;
481    }
482
483    /**
484     * Gets the value of the lastCol property.
485     *
486     * @return
487     *     possible object is
488     *     {@link Boolean }
489     *     
490     */
491    public boolean isLastCol() {
492        if (lastCol == null) {
493            return false;
494        } else {
495            return lastCol;
496        }
497    }
498
499    /**
500     * Sets the value of the lastCol property.
501     *
502     * @param value
503     *     allowed object is
504     *     {@link Boolean }
505     *     
506     */
507    public void setLastCol(Boolean value) {
508        this.lastCol = value;
509    }
510
511    /**
512     * Gets the value of the bandRow property.
513     *
514     * @return
515     *     possible object is
516     *     {@link Boolean }
517     *     
518     */
519    public boolean isBandRow() {
520        if (bandRow == null) {
521            return false;
522        } else {
523            return bandRow;
524        }
525    }
526
527    /**
528     * Sets the value of the bandRow property.
529     *
530     * @param value
531     *     allowed object is
532     *     {@link Boolean }
533     *     
534     */
535    public void setBandRow(Boolean value) {
536        this.bandRow = value;
537    }
538
539    /**
540     * Gets the value of the bandCol property.
541     *
542     * @return
543     *     possible object is
544     *     {@link Boolean }
545     *     
546     */
547    public boolean isBandCol() {
548        if (bandCol == null) {
549            return false;
550        } else {
551            return bandCol;
552        }
553    }
554
555    /**
556     * Sets the value of the bandCol property.
557     *
558     * @param value
559     *     allowed object is
560     *     {@link Boolean }
561     *     
562     */
563    public void setBandCol(Boolean value) {
564        this.bandCol = value;
565    }
566
567}
Note: See TracBrowser for help on using the repository browser.