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

Revision 1041, 2.8 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_TextAutonumberBullet 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_TextAutonumberBullet">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;attribute name="type" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextAutonumberScheme" />
40 *       &lt;attribute name="startAt" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextBulletStartAtNum" default="1" />
41 *     &lt;/restriction>
42 *   &lt;/complexContent>
43 * &lt;/complexType>
44 * </pre>
45 *
46 *
47 */
48@XmlAccessorType(XmlAccessType.FIELD)
49@XmlType(name = "CT_TextAutonumberBullet")
50public class CTTextAutonumberBullet {
51
52    @XmlAttribute(required = true)
53    protected STTextAutonumberScheme type;
54    @XmlAttribute
55    protected Integer startAt;
56
57    /**
58     * Gets the value of the type property.
59     *
60     * @return
61     *     possible object is
62     *     {@link STTextAutonumberScheme }
63     *     
64     */
65    public STTextAutonumberScheme getType() {
66        return type;
67    }
68
69    /**
70     * Sets the value of the type property.
71     *
72     * @param value
73     *     allowed object is
74     *     {@link STTextAutonumberScheme }
75     *     
76     */
77    public void setType(STTextAutonumberScheme value) {
78        this.type = value;
79    }
80
81    /**
82     * Gets the value of the startAt property.
83     *
84     * @return
85     *     possible object is
86     *     {@link Integer }
87     *     
88     */
89    public int getStartAt() {
90        if (startAt == null) {
91            return  1;
92        } else {
93            return startAt;
94        }
95    }
96
97    /**
98     * Sets the value of the startAt property.
99     *
100     * @param value
101     *     allowed object is
102     *     {@link Integer }
103     *     
104     */
105    public void setStartAt(Integer value) {
106        this.startAt = value;
107    }
108
109}
Note: See TracBrowser for help on using the repository browser.