KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > poi > hwpf > model > types > TAPAbstractType


1
2 /* ====================================================================
3    Copyright 2002-2004 Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16 ==================================================================== */

17         
18
19
20 package org.apache.poi.hwpf.model.types;
21
22
23
24 import org.apache.poi.util.BitField;
25 import org.apache.poi.util.LittleEndian;
26 import org.apache.poi.util.StringUtil;
27 import org.apache.poi.util.HexDump;
28 import org.apache.poi.hdf.model.hdftypes.HDFType;
29 import org.apache.poi.hwpf.usermodel.*;
30
31 /**
32  * Table Properties.
33  * NOTE: This source is automatically generated please do not modify this file. Either subclass or
34  * remove the record in src/records/definitions.
35
36  * @author S. Ryan Ackley
37  */

38 public abstract class TAPAbstractType
39     implements HDFType
40 {
41
42     protected int field_1_jc;
43     protected int field_2_dxaGapHalf;
44     protected int field_3_dyaRowHeight;
45     protected boolean field_4_fCantSplit;
46     protected boolean field_5_fTableHeader;
47     protected int field_6_tlp;
48     protected short field_7_itcMac;
49     protected short[] field_8_rgdxaCenter;
50     protected TableCellDescriptor[] field_9_rgtc;
51     protected ShadingDescriptor[] field_10_rgshd;
52     protected BorderCode field_11_brcBottom;
53     protected BorderCode field_12_brcTop;
54     protected BorderCode field_13_brcLeft;
55     protected BorderCode field_14_brcRight;
56     protected BorderCode field_15_brcVertical;
57     protected BorderCode field_16_brcHorizontal;
58
59
60     public TAPAbstractType()
61     {
62
63     }
64
65     /**
66      * Size of record (exluding 4 byte header)
67      */

68     public int getSize()
69     {
70         return 4 + + 2 + 4 + 4 + 0 + 0 + 4 + 2 + 130 + 0 + 0 + 4 + 4 + 4 + 4 + 4 + 4;
71     }
72
73
74
75     /**
76      * Get the jc field for the TAP record.
77      */

78     public int getJc()
79     {
80         return field_1_jc;
81     }
82
83     /**
84      * Set the jc field for the TAP record.
85      */

86     public void setJc(int field_1_jc)
87     {
88         this.field_1_jc = field_1_jc;
89     }
90
91     /**
92      * Get the dxaGapHalf field for the TAP record.
93      */

94     public int getDxaGapHalf()
95     {
96         return field_2_dxaGapHalf;
97     }
98
99     /**
100      * Set the dxaGapHalf field for the TAP record.
101      */

102     public void setDxaGapHalf(int field_2_dxaGapHalf)
103     {
104         this.field_2_dxaGapHalf = field_2_dxaGapHalf;
105     }
106
107     /**
108      * Get the dyaRowHeight field for the TAP record.
109      */

110     public int getDyaRowHeight()
111     {
112         return field_3_dyaRowHeight;
113     }
114
115     /**
116      * Set the dyaRowHeight field for the TAP record.
117      */

118     public void setDyaRowHeight(int field_3_dyaRowHeight)
119     {
120         this.field_3_dyaRowHeight = field_3_dyaRowHeight;
121     }
122
123     /**
124      * Get the fCantSplit field for the TAP record.
125      */

126     public boolean getFCantSplit()
127     {
128         return field_4_fCantSplit;
129     }
130
131     /**
132      * Set the fCantSplit field for the TAP record.
133      */

134     public void setFCantSplit(boolean field_4_fCantSplit)
135     {
136         this.field_4_fCantSplit = field_4_fCantSplit;
137     }
138
139     /**
140      * Get the fTableHeader field for the TAP record.
141      */

142     public boolean getFTableHeader()
143     {
144         return field_5_fTableHeader;
145     }
146
147     /**
148      * Set the fTableHeader field for the TAP record.
149      */

150     public void setFTableHeader(boolean field_5_fTableHeader)
151     {
152         this.field_5_fTableHeader = field_5_fTableHeader;
153     }
154
155     /**
156      * Get the tlp field for the TAP record.
157      */

158     public int getTlp()
159     {
160         return field_6_tlp;
161     }
162
163     /**
164      * Set the tlp field for the TAP record.
165      */

166     public void setTlp(int field_6_tlp)
167     {
168         this.field_6_tlp = field_6_tlp;
169     }
170
171     /**
172      * Get the itcMac field for the TAP record.
173      */

174     public short getItcMac()
175     {
176         return field_7_itcMac;
177     }
178
179     /**
180      * Set the itcMac field for the TAP record.
181      */

182     public void setItcMac(short field_7_itcMac)
183     {
184         this.field_7_itcMac = field_7_itcMac;
185     }
186
187     /**
188      * Get the rgdxaCenter field for the TAP record.
189      */

190     public short[] getRgdxaCenter()
191     {
192         return field_8_rgdxaCenter;
193     }
194
195     /**
196      * Set the rgdxaCenter field for the TAP record.
197      */

198     public void setRgdxaCenter(short[] field_8_rgdxaCenter)
199     {
200         this.field_8_rgdxaCenter = field_8_rgdxaCenter;
201     }
202
203     /**
204      * Get the rgtc field for the TAP record.
205      */

206     public TableCellDescriptor[] getRgtc()
207     {
208         return field_9_rgtc;
209     }
210
211     /**
212      * Set the rgtc field for the TAP record.
213      */

214     public void setRgtc(TableCellDescriptor[] field_9_rgtc)
215     {
216         this.field_9_rgtc = field_9_rgtc;
217     }
218
219     /**
220      * Get the rgshd field for the TAP record.
221      */

222     public ShadingDescriptor[] getRgshd()
223     {
224         return field_10_rgshd;
225     }
226
227     /**
228      * Set the rgshd field for the TAP record.
229      */

230     public void setRgshd(ShadingDescriptor[] field_10_rgshd)
231     {
232         this.field_10_rgshd = field_10_rgshd;
233     }
234
235     /**
236      * Get the brcBottom field for the TAP record.
237      */

238     public BorderCode getBrcBottom()
239     {
240         return field_11_brcBottom;
241     }
242
243     /**
244      * Set the brcBottom field for the TAP record.
245      */

246     public void setBrcBottom(BorderCode field_11_brcBottom)
247     {
248         this.field_11_brcBottom = field_11_brcBottom;
249     }
250
251     /**
252      * Get the brcTop field for the TAP record.
253      */

254     public BorderCode getBrcTop()
255     {
256         return field_12_brcTop;
257     }
258
259     /**
260      * Set the brcTop field for the TAP record.
261      */

262     public void setBrcTop(BorderCode field_12_brcTop)
263     {
264         this.field_12_brcTop = field_12_brcTop;
265     }
266
267     /**
268      * Get the brcLeft field for the TAP record.
269      */

270     public BorderCode getBrcLeft()
271     {
272         return field_13_brcLeft;
273     }
274
275     /**
276      * Set the brcLeft field for the TAP record.
277      */

278     public void setBrcLeft(BorderCode field_13_brcLeft)
279     {
280         this.field_13_brcLeft = field_13_brcLeft;
281     }
282
283     /**
284      * Get the brcRight field for the TAP record.
285      */

286     public BorderCode getBrcRight()
287     {
288         return field_14_brcRight;
289     }
290
291     /**
292      * Set the brcRight field for the TAP record.
293      */

294     public void setBrcRight(BorderCode field_14_brcRight)
295     {
296         this.field_14_brcRight = field_14_brcRight;
297     }
298
299     /**
300      * Get the brcVertical field for the TAP record.
301      */

302     public BorderCode getBrcVertical()
303     {
304         return field_15_brcVertical;
305     }
306
307     /**
308      * Set the brcVertical field for the TAP record.
309      */

310     public void setBrcVertical(BorderCode field_15_brcVertical)
311     {
312         this.field_15_brcVertical = field_15_brcVertical;
313     }
314
315     /**
316      * Get the brcHorizontal field for the TAP record.
317      */

318     public BorderCode getBrcHorizontal()
319     {
320         return field_16_brcHorizontal;
321     }
322
323     /**
324      * Set the brcHorizontal field for the TAP record.
325      */

326     public void setBrcHorizontal(BorderCode field_16_brcHorizontal)
327     {
328         this.field_16_brcHorizontal = field_16_brcHorizontal;
329     }
330
331
332 } // END OF CLASS
333

334
335
336
337
Popular Tags