source: trunk/docx4j/src/main/java/org/docx4j/wml/CTTblPPr.java @ 359

Revision 359, 9.5 KB checked in by jharrop, 4 years ago (diff)

Change CT_FldChar to FldChar?;
Style is freestanding, rather than an inner class of Styles.
(Other changes largely whitespace in license header)

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.wml;
23
24import java.math.BigInteger;
25import javax.xml.bind.Unmarshaller;
26import javax.xml.bind.annotation.XmlAccessType;
27import javax.xml.bind.annotation.XmlAccessorType;
28import javax.xml.bind.annotation.XmlAttribute;
29import javax.xml.bind.annotation.XmlTransient;
30import javax.xml.bind.annotation.XmlType;
31import org.jvnet.jaxb2_commons.ppp.Child;
32
33
34/**
35 * <p>Java class for CT_TblPPr complex type.
36 *
37 * <p>The following schema fragment specifies the expected content contained within this class.
38 *
39 * <pre>
40 * &lt;complexType name="CT_TblPPr">
41 *   &lt;complexContent>
42 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
43 *       &lt;attribute name="leftFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
44 *       &lt;attribute name="rightFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
45 *       &lt;attribute name="topFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
46 *       &lt;attribute name="bottomFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
47 *       &lt;attribute name="vertAnchor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_VAnchor" />
48 *       &lt;attribute name="horzAnchor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HAnchor" />
49 *       &lt;attribute name="tblpXSpec" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_XAlign" />
50 *       &lt;attribute name="tblpX" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
51 *       &lt;attribute name="tblpYSpec" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_YAlign" />
52 *       &lt;attribute name="tblpY" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
53 *     &lt;/restriction>
54 *   &lt;/complexContent>
55 * &lt;/complexType>
56 * </pre>
57 *
58 *
59 */
60@XmlAccessorType(XmlAccessType.FIELD)
61@XmlType(name = "CT_TblPPr")
62public class CTTblPPr
63    implements Child
64{
65
66    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
67    protected BigInteger leftFromText;
68    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
69    protected BigInteger rightFromText;
70    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
71    protected BigInteger topFromText;
72    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
73    protected BigInteger bottomFromText;
74    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
75    protected STVAnchor vertAnchor;
76    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
77    protected STHAnchor horzAnchor;
78    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
79    protected STXAlign tblpXSpec;
80    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
81    protected BigInteger tblpX;
82    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
83    protected STYAlign tblpYSpec;
84    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
85    protected BigInteger tblpY;
86    @XmlTransient
87    private Object parent;
88
89    /**
90     * Gets the value of the leftFromText property.
91     *
92     * @return
93     *     possible object is
94     *     {@link BigInteger }
95     *     
96     */
97    public BigInteger getLeftFromText() {
98        return leftFromText;
99    }
100
101    /**
102     * Sets the value of the leftFromText property.
103     *
104     * @param value
105     *     allowed object is
106     *     {@link BigInteger }
107     *     
108     */
109    public void setLeftFromText(BigInteger value) {
110        this.leftFromText = value;
111    }
112
113    /**
114     * Gets the value of the rightFromText property.
115     *
116     * @return
117     *     possible object is
118     *     {@link BigInteger }
119     *     
120     */
121    public BigInteger getRightFromText() {
122        return rightFromText;
123    }
124
125    /**
126     * Sets the value of the rightFromText property.
127     *
128     * @param value
129     *     allowed object is
130     *     {@link BigInteger }
131     *     
132     */
133    public void setRightFromText(BigInteger value) {
134        this.rightFromText = value;
135    }
136
137    /**
138     * Gets the value of the topFromText property.
139     *
140     * @return
141     *     possible object is
142     *     {@link BigInteger }
143     *     
144     */
145    public BigInteger getTopFromText() {
146        return topFromText;
147    }
148
149    /**
150     * Sets the value of the topFromText property.
151     *
152     * @param value
153     *     allowed object is
154     *     {@link BigInteger }
155     *     
156     */
157    public void setTopFromText(BigInteger value) {
158        this.topFromText = value;
159    }
160
161    /**
162     * Gets the value of the bottomFromText property.
163     *
164     * @return
165     *     possible object is
166     *     {@link BigInteger }
167     *     
168     */
169    public BigInteger getBottomFromText() {
170        return bottomFromText;
171    }
172
173    /**
174     * Sets the value of the bottomFromText property.
175     *
176     * @param value
177     *     allowed object is
178     *     {@link BigInteger }
179     *     
180     */
181    public void setBottomFromText(BigInteger value) {
182        this.bottomFromText = value;
183    }
184
185    /**
186     * Gets the value of the vertAnchor property.
187     *
188     * @return
189     *     possible object is
190     *     {@link STVAnchor }
191     *     
192     */
193    public STVAnchor getVertAnchor() {
194        return vertAnchor;
195    }
196
197    /**
198     * Sets the value of the vertAnchor property.
199     *
200     * @param value
201     *     allowed object is
202     *     {@link STVAnchor }
203     *     
204     */
205    public void setVertAnchor(STVAnchor value) {
206        this.vertAnchor = value;
207    }
208
209    /**
210     * Gets the value of the horzAnchor property.
211     *
212     * @return
213     *     possible object is
214     *     {@link STHAnchor }
215     *     
216     */
217    public STHAnchor getHorzAnchor() {
218        return horzAnchor;
219    }
220
221    /**
222     * Sets the value of the horzAnchor property.
223     *
224     * @param value
225     *     allowed object is
226     *     {@link STHAnchor }
227     *     
228     */
229    public void setHorzAnchor(STHAnchor value) {
230        this.horzAnchor = value;
231    }
232
233    /**
234     * Gets the value of the tblpXSpec property.
235     *
236     * @return
237     *     possible object is
238     *     {@link STXAlign }
239     *     
240     */
241    public STXAlign getTblpXSpec() {
242        return tblpXSpec;
243    }
244
245    /**
246     * Sets the value of the tblpXSpec property.
247     *
248     * @param value
249     *     allowed object is
250     *     {@link STXAlign }
251     *     
252     */
253    public void setTblpXSpec(STXAlign value) {
254        this.tblpXSpec = value;
255    }
256
257    /**
258     * Gets the value of the tblpX property.
259     *
260     * @return
261     *     possible object is
262     *     {@link BigInteger }
263     *     
264     */
265    public BigInteger getTblpX() {
266        return tblpX;
267    }
268
269    /**
270     * Sets the value of the tblpX property.
271     *
272     * @param value
273     *     allowed object is
274     *     {@link BigInteger }
275     *     
276     */
277    public void setTblpX(BigInteger value) {
278        this.tblpX = value;
279    }
280
281    /**
282     * Gets the value of the tblpYSpec property.
283     *
284     * @return
285     *     possible object is
286     *     {@link STYAlign }
287     *     
288     */
289    public STYAlign getTblpYSpec() {
290        return tblpYSpec;
291    }
292
293    /**
294     * Sets the value of the tblpYSpec property.
295     *
296     * @param value
297     *     allowed object is
298     *     {@link STYAlign }
299     *     
300     */
301    public void setTblpYSpec(STYAlign value) {
302        this.tblpYSpec = value;
303    }
304
305    /**
306     * Gets the value of the tblpY property.
307     *
308     * @return
309     *     possible object is
310     *     {@link BigInteger }
311     *     
312     */
313    public BigInteger getTblpY() {
314        return tblpY;
315    }
316
317    /**
318     * Sets the value of the tblpY property.
319     *
320     * @param value
321     *     allowed object is
322     *     {@link BigInteger }
323     *     
324     */
325    public void setTblpY(BigInteger value) {
326        this.tblpY = value;
327    }
328
329    /**
330     * Gets the parent object in the object tree representing the unmarshalled xml document.
331     *
332     * @return
333     *     The parent object.
334     */
335    public Object getParent() {
336        return this.parent;
337    }
338
339    public void setParent(Object parent) {
340        this.parent = parent;
341    }
342
343    /**
344     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
345     *
346     * @param parent
347     *     The parent object in the object tree.
348     * @param unmarshaller
349     *     The unmarshaller that generated the instance.
350     */
351    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
352        setParent(parent);
353    }
354
355}
Note: See TracBrowser for help on using the repository browser.