View | Details | Raw Unified | Return to bug 51389
Collapse All | Expand All

(-)src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java (-3 / +3 lines)
Lines 346-353 Link Here
346
        }
346
        }
347
        break;
347
        break;
348
      case 0x41:
348
      case 0x41:
349
349
        // sprmPFBiDi 
350
        // undocumented
351
        break;
350
        break;
352
      case 0x43:
351
      case 0x43:
353
352
Lines 387-393 Link Here
387
        newPAP.setFTtpEmbedded((byte)sprm.getOperand());
386
        newPAP.setFTtpEmbedded((byte)sprm.getOperand());
388
        break;
387
        break;
389
      case 0x61:
388
      case 0x61:
390
        // Logicial justification of the paragraph, eg left, centre, right
389
        // sprmPJc 
390
        newPAP.setJustificationLogical((byte) sprm.getOperand());
391
        break;
391
        break;
392
      default:
392
      default:
393
        break;
393
        break;
(-)src/org/apache/poi/hwpf/model/types/PAPAbstractType.java (-437 / +846 lines)
Lines 18-110 Link Here
18
package org.apache.poi.hwpf.model.types;
18
package org.apache.poi.hwpf.model.types;
19
19
20
20
21
22
import org.apache.poi.util.BitField;
23
import org.apache.poi.util.LittleEndian;
24
import org.apache.poi.util.StringUtil;
25
import org.apache.poi.util.HexDump;
21
import org.apache.poi.hdf.model.hdftypes.HDFType;
26
import org.apache.poi.hdf.model.hdftypes.HDFType;
22
import org.apache.poi.hwpf.usermodel.*;
27
import org.apache.poi.hwpf.usermodel.*;
23
import org.apache.poi.util.BitField;
24
import org.apache.poi.util.BitFieldFactory;
25
28
26
/**
29
/**
27
 * Paragraph Properties.
30
 * Paragraph Properties.
28
 * NOTE: This source is automatically generated please do not modify this file.  Either subclass or
31
 * NOTE: This source is automatically generated please do not modify this file.  Either subclass or
29
 *       remove the record in src/records/definitions.
32
 *       remove the record in src/records/definitions.
30
 *
33
31
 * @author S. Ryan Ackley
34
 * @author S. Ryan Ackley
32
 */
35
 */
33
public abstract class PAPAbstractType implements HDFType {
36
public abstract class PAPAbstractType
37
    implements HDFType
38
{
34
39
35
    protected  int field_1_istd;
40
    protected  int field_1_istd;
36
    protected  byte field_2_jc;
41
    protected  byte field_2_fSideBySide;
37
    protected  byte field_3_fKeep;
42
    protected  byte field_3_fKeep;
38
    protected  byte field_4_fKeepFollow;
43
    protected  byte field_4_fKeepFollow;
39
    protected  byte field_5_fPageBreakBefore;
44
    protected  byte field_5_fPageBreakBefore;
40
    protected  byte field_6_fBrLnAbove;
45
    protected  byte field_6_brcl;
41
    protected  byte field_7_fBrLnBelow;
46
    protected  byte field_7_brcp;
42
    protected  byte field_8_pcVert;
47
    protected  byte field_8_ilvl;
43
    protected  byte field_9_pcHorz;
48
    protected  int field_9_ilfo;
44
    protected  byte field_10_brcp;
49
    protected  byte field_10_fNoLnn;
45
    protected  byte field_11_brcl;
50
    protected  LineSpacingDescriptor field_11_lspd;
46
    protected  byte field_12_ilvl;
51
    protected  int field_12_dyaBefore;
47
    protected  byte field_13_fNoLnn;
52
    protected  int field_13_dyaAfter;
48
    protected  int field_14_ilfo;
53
    protected  byte field_14_fInTable;
49
    protected  byte field_15_fSideBySide;
54
    protected  byte field_15_finTableW97;
50
    protected  byte field_16_fNoAutoHyph;
55
    protected  byte field_16_fTtp;
51
    protected  byte field_17_fWidowControl;
56
    protected  int field_17_dxaAbs;
52
    protected  int field_18_dxaRight;
57
    protected  int field_18_dyaAbs;
53
    protected  int field_19_dxaLeft;
58
    protected  int field_19_dxaWidth;
54
    protected  int field_20_dxaLeft1;
59
    protected  byte field_20_fBrLnAbove;
55
    protected  LineSpacingDescriptor field_21_lspd;
60
    protected  byte field_21_fBrLnBelow;
56
    protected  int field_22_dyaBefore;
61
    protected  byte field_22_pcVert;
57
    protected  int field_23_dyaAfter;
62
    protected  byte field_23_pcHorz;
58
    protected  byte[] field_24_phe;
63
    protected  byte field_24_wr;
59
    protected  byte field_25_fCrLf;
64
    protected  byte field_25_fNoAutoHyph;
60
    protected  byte field_26_fUsePgsuSettings;
65
    protected  int field_26_dyaHeight;
61
    protected  byte field_27_fAdjustRight;
66
    protected  byte field_27_fMinHeight;
62
    protected  byte field_28_fKinsoku;
67
    protected  DropCapSpecifier field_28_dcs;
63
    protected  byte field_29_fWordWrap;
68
    protected  int field_29_dyaFromText;
64
    protected  byte field_30_fOverflowPunct;
69
    protected  int field_30_dxaFromText;
65
    protected  byte field_31_fTopLinePunct;
70
    protected  byte field_31_fLocked;
66
    protected  byte field_32_fAutoSpaceDE;
71
    protected  byte field_32_fWidowControl;
67
    protected  byte field_33_fAutoSpaceDN;
72
    protected  byte field_33_fKinsoku;
68
    protected  int field_34_wAlignFont;
73
    protected  byte field_34_fWordWrap;
69
    protected  short field_35_fontAlign;
74
    protected  byte field_35_fOverflowPunct;
70
        private static BitField  fVertical = BitFieldFactory.getInstance(0x0001);
75
    protected  byte field_36_fTopLinePunct;
71
        private static BitField  fBackward = BitFieldFactory.getInstance(0x0002);
76
    protected  byte field_37_fAutoSpaceDE;
72
        private static BitField  fRotateFont = BitFieldFactory.getInstance(0x0004);
77
    protected  byte field_38_fAutoSpaceDN;
73
    protected  byte field_36_fBackward;
78
    protected  int field_39_wAlignFont;
74
    protected  byte field_37_fRotateFont;
79
    protected  short field_40_fontAlign;
75
    protected  byte field_38_fInTable;
80
        private static BitField  fVertical = new BitField(0x0001);
76
    protected  byte field_39_fTtp;
81
        private static BitField  fBackward = new BitField(0x0002);
77
    protected  byte field_40_wr;
82
        private static BitField  fRotateFont = new BitField(0x0004);
78
    protected  byte field_41_fLocked;
83
    protected  byte field_41_fVertical;
79
    protected  byte[] field_42_ptap;
84
    protected  byte field_42_fBackward;
80
    protected  int field_43_dxaAbs;
85
    protected  byte field_43_fRotateFont;
81
    protected  int field_44_dyaAbs;
86
    protected  byte field_44_lvl;
82
    protected  int field_45_dxaWidth;
87
    protected  byte field_45_fBiDi;
83
    protected  BorderCode field_46_brcTop;
88
    protected  byte field_46_fNumRMIns;
84
    protected  BorderCode field_47_brcLeft;
89
    protected  byte field_47_fCrLf;
85
    protected  BorderCode field_48_brcBottom;
90
    protected  byte field_48_fUsePgsuSettings;
86
    protected  BorderCode field_49_brcRight;
91
    protected  byte field_49_fAdjustRight;
87
    protected  BorderCode field_50_brcBetween;
92
    protected  short field_50_dxcRight;
88
    protected  BorderCode field_51_brcBar;
93
    protected  short field_51_dxcLeft;
89
    protected  int field_52_dxaFromText;
94
    protected  short field_52_dxcLeft1;
90
    protected  int field_53_dyaFromText;
95
    protected  byte field_53_fDyaBeforeAuto;
91
    protected  int field_54_dyaHeight;
96
    protected  byte field_54_fDyaAfterAuto;
92
    protected  byte field_55_fMinHeight;
97
    protected  int field_55_dxaRight;
93
    protected  ShadingDescriptor field_56_shd;
98
    protected  int field_56_dxaLeft;
94
    protected  DropCapSpecifier field_57_dcs;
99
    protected  int field_57_dxaLeft1;
95
    protected  byte field_58_lvl;
100
    protected  byte field_58_jc;
96
    protected  byte field_59_fNumRMIns;
101
    protected  byte field_59_fNoAllowOverlap;
97
    protected  byte[] field_60_anld;
102
    protected  BorderCode field_60_brcTop;
98
    protected  int field_61_fPropRMark;
103
    protected  BorderCode field_61_brcLeft;
99
    protected  int field_62_ibstPropRMark;
104
    protected  BorderCode field_62_brcBottom;
100
    protected  DateAndTime field_63_dttmPropRMark;
105
    protected  BorderCode field_63_brcRight;
101
    protected  byte[] field_64_numrm;
106
    protected  BorderCode field_64_brcBetween;
102
    protected  int field_65_itbdMac;
107
    protected  BorderCode field_65_brcBar;
103
    protected  int[] field_66_rgdxaTab;
108
    protected  ShadingDescriptor field_66_shd;
104
    protected  byte[] field_67_rgtbd;
109
    protected  byte[] field_67_anld;
105
    protected  byte field_68_tableLevel;
110
    protected  byte[] field_68_phe;
106
    protected  byte field_69_fTtpEmbedded;
111
    protected  int field_69_fPropRMark;
107
    protected  byte field_70_embeddedCellMark;
112
    protected  int field_70_ibstPropRMark;
113
    protected  DateAndTime field_71_dttmPropRMark;
114
    protected  int field_72_itbdMac;
115
    protected  int[] field_73_rgdxaTab;
116
    protected  byte[] field_74_rgtbd;
117
    protected  byte[] field_75_numrm;
118
    protected  byte[] field_76_ptap;
119
    protected  byte field_77_tableLevel;
120
    protected  byte field_78_fTtpEmbedded;
121
    protected  byte field_79_embeddedCellMark;
108
122
109
123
110
    public PAPAbstractType()
124
    public PAPAbstractType()
Lines 112-123 Link Here
112
126
113
    }
127
    }
114
128
129
130
    public String toString()
131
    {
132
        StringBuffer buffer = new StringBuffer();
133
134
        buffer.append("[PAP]\n");
135
136
        buffer.append("    .istd                 = ");
137
        buffer.append(" (").append(getIstd()).append(" )\n");
138
139
        buffer.append("    .fSideBySide          = ");
140
        buffer.append(" (").append(getFSideBySide()).append(" )\n");
141
142
        buffer.append("    .fKeep                = ");
143
        buffer.append(" (").append(getFKeep()).append(" )\n");
144
145
        buffer.append("    .fKeepFollow          = ");
146
        buffer.append(" (").append(getFKeepFollow()).append(" )\n");
147
148
        buffer.append("    .fPageBreakBefore     = ");
149
        buffer.append(" (").append(getFPageBreakBefore()).append(" )\n");
150
151
        buffer.append("    .brcl                 = ");
152
        buffer.append(" (").append(getBrcl()).append(" )\n");
153
154
        buffer.append("    .brcp                 = ");
155
        buffer.append(" (").append(getBrcp()).append(" )\n");
156
157
        buffer.append("    .ilvl                 = ");
158
        buffer.append(" (").append(getIlvl()).append(" )\n");
159
160
        buffer.append("    .ilfo                 = ");
161
        buffer.append(" (").append(getIlfo()).append(" )\n");
162
163
        buffer.append("    .fNoLnn               = ");
164
        buffer.append(" (").append(getFNoLnn()).append(" )\n");
165
166
        buffer.append("    .lspd                 = ");
167
        buffer.append(" (").append(getLspd()).append(" )\n");
168
169
        buffer.append("    .dyaBefore            = ");
170
        buffer.append(" (").append(getDyaBefore()).append(" )\n");
171
172
        buffer.append("    .dyaAfter             = ");
173
        buffer.append(" (").append(getDyaAfter()).append(" )\n");
174
175
        buffer.append("    .fInTable             = ");
176
        buffer.append(" (").append(getFInTable()).append(" )\n");
177
178
        buffer.append("    .finTableW97          = ");
179
        buffer.append(" (").append(getFinTableW97()).append(" )\n");
180
181
        buffer.append("    .fTtp                 = ");
182
        buffer.append(" (").append(getFTtp()).append(" )\n");
183
184
        buffer.append("    .dxaAbs               = ");
185
        buffer.append(" (").append(getDxaAbs()).append(" )\n");
186
187
        buffer.append("    .dyaAbs               = ");
188
        buffer.append(" (").append(getDyaAbs()).append(" )\n");
189
190
        buffer.append("    .dxaWidth             = ");
191
        buffer.append(" (").append(getDxaWidth()).append(" )\n");
192
193
        buffer.append("    .fBrLnAbove           = ");
194
        buffer.append(" (").append(getFBrLnAbove()).append(" )\n");
195
196
        buffer.append("    .fBrLnBelow           = ");
197
        buffer.append(" (").append(getFBrLnBelow()).append(" )\n");
198
199
        buffer.append("    .pcVert               = ");
200
        buffer.append(" (").append(getPcVert()).append(" )\n");
201
202
        buffer.append("    .pcHorz               = ");
203
        buffer.append(" (").append(getPcHorz()).append(" )\n");
204
205
        buffer.append("    .wr                   = ");
206
        buffer.append(" (").append(getWr()).append(" )\n");
207
208
        buffer.append("    .fNoAutoHyph          = ");
209
        buffer.append(" (").append(getFNoAutoHyph()).append(" )\n");
210
211
        buffer.append("    .dyaHeight            = ");
212
        buffer.append(" (").append(getDyaHeight()).append(" )\n");
213
214
        buffer.append("    .fMinHeight           = ");
215
        buffer.append(" (").append(getFMinHeight()).append(" )\n");
216
217
        buffer.append("    .dcs                  = ");
218
        buffer.append(" (").append(getDcs()).append(" )\n");
219
220
        buffer.append("    .dyaFromText          = ");
221
        buffer.append(" (").append(getDyaFromText()).append(" )\n");
222
223
        buffer.append("    .dxaFromText          = ");
224
        buffer.append(" (").append(getDxaFromText()).append(" )\n");
225
226
        buffer.append("    .fLocked              = ");
227
        buffer.append(" (").append(getFLocked()).append(" )\n");
228
229
        buffer.append("    .fWidowControl        = ");
230
        buffer.append(" (").append(getFWidowControl()).append(" )\n");
231
232
        buffer.append("    .fKinsoku             = ");
233
        buffer.append(" (").append(getFKinsoku()).append(" )\n");
234
235
        buffer.append("    .fWordWrap            = ");
236
        buffer.append(" (").append(getFWordWrap()).append(" )\n");
237
238
        buffer.append("    .fOverflowPunct       = ");
239
        buffer.append(" (").append(getFOverflowPunct()).append(" )\n");
240
241
        buffer.append("    .fTopLinePunct        = ");
242
        buffer.append(" (").append(getFTopLinePunct()).append(" )\n");
243
244
        buffer.append("    .fAutoSpaceDE         = ");
245
        buffer.append(" (").append(getFAutoSpaceDE()).append(" )\n");
246
247
        buffer.append("    .fAutoSpaceDN         = ");
248
        buffer.append(" (").append(getFAutoSpaceDN()).append(" )\n");
249
250
        buffer.append("    .wAlignFont           = ");
251
        buffer.append(" (").append(getWAlignFont()).append(" )\n");
252
253
        buffer.append("    .fontAlign            = ");
254
        buffer.append(" (").append(getFontAlign()).append(" )\n");
255
        buffer.append("         .fVertical                = ").append(isFVertical()).append('\n');
256
        buffer.append("         .fBackward                = ").append(isFBackward()).append('\n');
257
        buffer.append("         .fRotateFont              = ").append(isFRotateFont()).append('\n');
258
259
        buffer.append("    .fVertical            = ");
260
        buffer.append(" (").append(getFVertical()).append(" )\n");
261
262
        buffer.append("    .fBackward            = ");
263
        buffer.append(" (").append(getFBackward()).append(" )\n");
264
265
        buffer.append("    .fRotateFont          = ");
266
        buffer.append(" (").append(getFRotateFont()).append(" )\n");
267
268
        buffer.append("    .lvl                  = ");
269
        buffer.append(" (").append(getLvl()).append(" )\n");
270
271
        buffer.append("    .fBiDi                = ");
272
        buffer.append(" (").append(getFBiDi()).append(" )\n");
273
274
        buffer.append("    .fNumRMIns            = ");
275
        buffer.append(" (").append(getFNumRMIns()).append(" )\n");
276
277
        buffer.append("    .fCrLf                = ");
278
        buffer.append(" (").append(getFCrLf()).append(" )\n");
279
280
        buffer.append("    .fUsePgsuSettings     = ");
281
        buffer.append(" (").append(getFUsePgsuSettings()).append(" )\n");
282
283
        buffer.append("    .fAdjustRight         = ");
284
        buffer.append(" (").append(getFAdjustRight()).append(" )\n");
285
286
        buffer.append("    .dxcRight             = ");
287
        buffer.append(" (").append(getDxcRight()).append(" )\n");
288
289
        buffer.append("    .dxcLeft              = ");
290
        buffer.append(" (").append(getDxcLeft()).append(" )\n");
291
292
        buffer.append("    .dxcLeft1             = ");
293
        buffer.append(" (").append(getDxcLeft1()).append(" )\n");
294
295
        buffer.append("    .fDyaBeforeAuto       = ");
296
        buffer.append(" (").append(getFDyaBeforeAuto()).append(" )\n");
297
298
        buffer.append("    .fDyaAfterAuto        = ");
299
        buffer.append(" (").append(getFDyaAfterAuto()).append(" )\n");
300
301
        buffer.append("    .dxaRight             = ");
302
        buffer.append(" (").append(getDxaRight()).append(" )\n");
303
304
        buffer.append("    .dxaLeft              = ");
305
        buffer.append(" (").append(getDxaLeft()).append(" )\n");
306
307
        buffer.append("    .dxaLeft1             = ");
308
        buffer.append(" (").append(getDxaLeft1()).append(" )\n");
309
310
        buffer.append("    .jc                   = ");
311
        buffer.append(" (").append(getJc()).append(" )\n");
312
313
        buffer.append("    .fNoAllowOverlap      = ");
314
        buffer.append(" (").append(getFNoAllowOverlap()).append(" )\n");
315
316
        buffer.append("    .brcTop               = ");
317
        buffer.append(" (").append(getBrcTop()).append(" )\n");
318
319
        buffer.append("    .brcLeft              = ");
320
        buffer.append(" (").append(getBrcLeft()).append(" )\n");
321
322
        buffer.append("    .brcBottom            = ");
323
        buffer.append(" (").append(getBrcBottom()).append(" )\n");
324
325
        buffer.append("    .brcRight             = ");
326
        buffer.append(" (").append(getBrcRight()).append(" )\n");
327
328
        buffer.append("    .brcBetween           = ");
329
        buffer.append(" (").append(getBrcBetween()).append(" )\n");
330
331
        buffer.append("    .brcBar               = ");
332
        buffer.append(" (").append(getBrcBar()).append(" )\n");
333
334
        buffer.append("    .shd                  = ");
335
        buffer.append(" (").append(getShd()).append(" )\n");
336
337
        buffer.append("    .anld                 = ");
338
        buffer.append(" (").append(getAnld()).append(" )\n");
339
340
        buffer.append("    .phe                  = ");
341
        buffer.append(" (").append(getPhe()).append(" )\n");
342
343
        buffer.append("    .fPropRMark           = ");
344
        buffer.append(" (").append(getFPropRMark()).append(" )\n");
345
346
        buffer.append("    .ibstPropRMark        = ");
347
        buffer.append(" (").append(getIbstPropRMark()).append(" )\n");
348
349
        buffer.append("    .dttmPropRMark        = ");
350
        buffer.append(" (").append(getDttmPropRMark()).append(" )\n");
351
352
        buffer.append("    .itbdMac              = ");
353
        buffer.append(" (").append(getItbdMac()).append(" )\n");
354
355
        buffer.append("    .rgdxaTab             = ");
356
        buffer.append(" (").append(getRgdxaTab()).append(" )\n");
357
358
        buffer.append("    .rgtbd                = ");
359
        buffer.append(" (").append(getRgtbd()).append(" )\n");
360
361
        buffer.append("    .numrm                = ");
362
        buffer.append(" (").append(getNumrm()).append(" )\n");
363
364
        buffer.append("    .ptap                 = ");
365
        buffer.append(" (").append(getPtap()).append(" )\n");
366
367
        buffer.append("    .tableLevel           = ");
368
        buffer.append(" (").append(getTableLevel()).append(" )\n");
369
370
        buffer.append("    .fTtpEmbedded         = ");
371
        buffer.append(" (").append(getFTtpEmbedded()).append(" )\n");
372
373
        buffer.append("    .embeddedCellMark     = ");
374
        buffer.append(" (").append(getEmbeddedCellMark()).append(" )\n");
375
376
        buffer.append("[/PAP]\n");
377
        return buffer.toString();
378
    }
379
115
    /**
380
    /**
116
     * Size of record (exluding 4 byte header)
381
     * Size of record (exluding 4 byte header)
117
     */
382
     */
118
    public int getSize()
383
    public int getSize()
119
    {
384
    {
120
        return 4 +  + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 1 + 1 + 4 + 4 + 4 + 4 + 4 + 4 + 12 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 1 + 2 + 2 + 1 + 1 + 84 + 1 + 2 + 4 + 128 + 2 + 128 + 128 + 1 + 1 + 1;
385
        return 4 +  + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 4 + 4 + 4 + 1 + 1 + 1 + 4 + 4 + 4 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 2 + 4 + 4 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 2 + 2 + 1 + 1 + 4 + 4 + 4 + 1 + 1 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 84 + 12 + 1 + 2 + 4 + 2 + 128 + 128 + 128 + 4 + 1 + 1 + 1;
121
    }
386
    }
122
387
123
388
Lines 139-157 Link Here
139
    }
404
    }
140
405
141
    /**
406
    /**
142
     * Get the jc field for the PAP record.
407
     * Get the fSideBySide field for the PAP record.
143
     */
408
     */
144
    public byte getJc()
409
    public byte getFSideBySide()
145
    {
410
    {
146
        return field_2_jc;
411
        return field_2_fSideBySide;
147
    }
412
    }
148
413
149
    /**
414
    /**
150
     * Set the jc field for the PAP record.
415
     * Set the fSideBySide field for the PAP record.
151
     */
416
     */
152
    public void setJc(byte field_2_jc)
417
    public void setFSideBySide(byte field_2_fSideBySide)
153
    {
418
    {
154
        this.field_2_jc = field_2_jc;
419
        this.field_2_fSideBySide = field_2_fSideBySide;
155
    }
420
    }
156
421
157
    /**
422
    /**
Lines 203-557 Link Here
203
    }
468
    }
204
469
205
    /**
470
    /**
206
     * Get the fBrLnAbove field for the PAP record.
471
     * Get the brcl field for the PAP record.
207
     */
472
     */
208
    public byte getFBrLnAbove()
473
    public byte getBrcl()
209
    {
474
    {
210
        return field_6_fBrLnAbove;
475
        return field_6_brcl;
211
    }
476
    }
212
477
213
    /**
478
    /**
214
     * Set the fBrLnAbove field for the PAP record.
479
     * Set the brcl field for the PAP record.
215
     */
480
     */
216
    public void setFBrLnAbove(byte field_6_fBrLnAbove)
481
    public void setBrcl(byte field_6_brcl)
217
    {
482
    {
218
        this.field_6_fBrLnAbove = field_6_fBrLnAbove;
483
        this.field_6_brcl = field_6_brcl;
219
    }
484
    }
220
485
221
    /**
486
    /**
222
     * Get the fBrLnBelow field for the PAP record.
487
     * Get the brcp field for the PAP record.
223
     */
488
     */
224
    public byte getFBrLnBelow()
489
    public byte getBrcp()
225
    {
490
    {
226
        return field_7_fBrLnBelow;
491
        return field_7_brcp;
227
    }
492
    }
228
493
229
    /**
494
    /**
230
     * Set the fBrLnBelow field for the PAP record.
495
     * Set the brcp field for the PAP record.
231
     */
496
     */
232
    public void setFBrLnBelow(byte field_7_fBrLnBelow)
497
    public void setBrcp(byte field_7_brcp)
233
    {
498
    {
234
        this.field_7_fBrLnBelow = field_7_fBrLnBelow;
499
        this.field_7_brcp = field_7_brcp;
235
    }
500
    }
236
501
237
    /**
502
    /**
238
     * Get the pcVert field for the PAP record.
503
     * Get the ilvl field for the PAP record.
239
     */
504
     */
240
    public byte getPcVert()
505
    public byte getIlvl()
241
    {
506
    {
242
        return field_8_pcVert;
507
        return field_8_ilvl;
243
    }
508
    }
244
509
245
    /**
510
    /**
246
     * Set the pcVert field for the PAP record.
511
     * Set the ilvl field for the PAP record.
247
     */
512
     */
248
    public void setPcVert(byte field_8_pcVert)
513
    public void setIlvl(byte field_8_ilvl)
249
    {
514
    {
250
        this.field_8_pcVert = field_8_pcVert;
515
        this.field_8_ilvl = field_8_ilvl;
251
    }
516
    }
252
517
253
    /**
518
    /**
254
     * Get the pcHorz field for the PAP record.
519
     * Get the ilfo field for the PAP record.
255
     */
520
     */
256
    public byte getPcHorz()
521
    public int getIlfo()
257
    {
522
    {
258
        return field_9_pcHorz;
523
        return field_9_ilfo;
259
    }
524
    }
260
525
261
    /**
526
    /**
262
     * Set the pcHorz field for the PAP record.
527
     * Set the ilfo field for the PAP record.
263
     */
528
     */
264
    public void setPcHorz(byte field_9_pcHorz)
529
    public void setIlfo(int field_9_ilfo)
265
    {
530
    {
266
        this.field_9_pcHorz = field_9_pcHorz;
531
        this.field_9_ilfo = field_9_ilfo;
267
    }
532
    }
268
533
269
    /**
534
    /**
270
     * Get the brcp field for the PAP record.
535
     * Get the fNoLnn field for the PAP record.
271
     */
536
     */
272
    public byte getBrcp()
537
    public byte getFNoLnn()
273
    {
538
    {
274
        return field_10_brcp;
539
        return field_10_fNoLnn;
275
    }
540
    }
276
541
277
    /**
542
    /**
278
     * Set the brcp field for the PAP record.
543
     * Set the fNoLnn field for the PAP record.
279
     */
544
     */
280
    public void setBrcp(byte field_10_brcp)
545
    public void setFNoLnn(byte field_10_fNoLnn)
281
    {
546
    {
282
        this.field_10_brcp = field_10_brcp;
547
        this.field_10_fNoLnn = field_10_fNoLnn;
283
    }
548
    }
284
549
285
    /**
550
    /**
286
     * Get the brcl field for the PAP record.
551
     * Get the lspd field for the PAP record.
287
     */
552
     */
288
    public byte getBrcl()
553
    public LineSpacingDescriptor getLspd()
289
    {
554
    {
290
        return field_11_brcl;
555
        return field_11_lspd;
291
    }
556
    }
292
557
293
    /**
558
    /**
294
     * Set the brcl field for the PAP record.
559
     * Set the lspd field for the PAP record.
295
     */
560
     */
296
    public void setBrcl(byte field_11_brcl)
561
    public void setLspd(LineSpacingDescriptor field_11_lspd)
297
    {
562
    {
298
        this.field_11_brcl = field_11_brcl;
563
        this.field_11_lspd = field_11_lspd;
299
    }
564
    }
300
565
301
    /**
566
    /**
302
     * Get the ilvl field for the PAP record.
567
     * Get the dyaBefore field for the PAP record.
303
     */
568
     */
304
    public byte getIlvl()
569
    public int getDyaBefore()
305
    {
570
    {
306
        return field_12_ilvl;
571
        return field_12_dyaBefore;
307
    }
572
    }
308
573
309
    /**
574
    /**
310
     * Set the ilvl field for the PAP record.
575
     * Set the dyaBefore field for the PAP record.
311
     */
576
     */
312
    public void setIlvl(byte field_12_ilvl)
577
    public void setDyaBefore(int field_12_dyaBefore)
313
    {
578
    {
314
        this.field_12_ilvl = field_12_ilvl;
579
        this.field_12_dyaBefore = field_12_dyaBefore;
315
    }
580
    }
316
581
317
    /**
582
    /**
318
     * Get the fNoLnn field for the PAP record.
583
     * Get the dyaAfter field for the PAP record.
319
     */
584
     */
320
    public byte getFNoLnn()
585
    public int getDyaAfter()
321
    {
586
    {
322
        return field_13_fNoLnn;
587
        return field_13_dyaAfter;
323
    }
588
    }
324
589
325
    /**
590
    /**
326
     * Set the fNoLnn field for the PAP record.
591
     * Set the dyaAfter field for the PAP record.
327
     */
592
     */
328
    public void setFNoLnn(byte field_13_fNoLnn)
593
    public void setDyaAfter(int field_13_dyaAfter)
329
    {
594
    {
330
        this.field_13_fNoLnn = field_13_fNoLnn;
595
        this.field_13_dyaAfter = field_13_dyaAfter;
331
    }
596
    }
332
597
333
    /**
598
    /**
334
     * Get the ilfo field for the PAP record.
599
     * Get the fInTable field for the PAP record.
335
     */
600
     */
336
    public int getIlfo()
601
    public byte getFInTable()
337
    {
602
    {
338
        return field_14_ilfo;
603
        return field_14_fInTable;
339
    }
604
    }
340
605
341
    /**
606
    /**
342
     * Set the ilfo field for the PAP record.
607
     * Set the fInTable field for the PAP record.
343
     */
608
     */
344
    public void setIlfo(int field_14_ilfo)
609
    public void setFInTable(byte field_14_fInTable)
345
    {
610
    {
346
        this.field_14_ilfo = field_14_ilfo;
611
        this.field_14_fInTable = field_14_fInTable;
347
    }
612
    }
348
613
349
    /**
614
    /**
350
     * Get the fSideBySide field for the PAP record.
615
     * Get the finTableW97 field for the PAP record.
351
     */
616
     */
352
    public byte getFSideBySide()
617
    public byte getFinTableW97()
353
    {
618
    {
354
        return field_15_fSideBySide;
619
        return field_15_finTableW97;
355
    }
620
    }
356
621
357
    /**
622
    /**
358
     * Set the fSideBySide field for the PAP record.
623
     * Set the finTableW97 field for the PAP record.
359
     */
624
     */
360
    public void setFSideBySide(byte field_15_fSideBySide)
625
    public void setFinTableW97(byte field_15_finTableW97)
361
    {
626
    {
362
        this.field_15_fSideBySide = field_15_fSideBySide;
627
        this.field_15_finTableW97 = field_15_finTableW97;
363
    }
628
    }
364
629
365
    /**
630
    /**
366
     * Get the fNoAutoHyph field for the PAP record.
631
     * Get the fTtp field for the PAP record.
367
     */
632
     */
368
    public byte getFNoAutoHyph()
633
    public byte getFTtp()
369
    {
634
    {
370
        return field_16_fNoAutoHyph;
635
        return field_16_fTtp;
371
    }
636
    }
372
637
373
    /**
638
    /**
374
     * Set the fNoAutoHyph field for the PAP record.
639
     * Set the fTtp field for the PAP record.
375
     */
640
     */
376
    public void setFNoAutoHyph(byte field_16_fNoAutoHyph)
641
    public void setFTtp(byte field_16_fTtp)
377
    {
642
    {
378
        this.field_16_fNoAutoHyph = field_16_fNoAutoHyph;
643
        this.field_16_fTtp = field_16_fTtp;
379
    }
644
    }
380
645
381
    /**
646
    /**
382
     * Get the fWidowControl field for the PAP record.
647
     * Get the dxaAbs field for the PAP record.
383
     */
648
     */
384
    public byte getFWidowControl()
649
    public int getDxaAbs()
385
    {
650
    {
386
        return field_17_fWidowControl;
651
        return field_17_dxaAbs;
387
    }
652
    }
388
653
389
    /**
654
    /**
390
     * Set the fWidowControl field for the PAP record.
655
     * Set the dxaAbs field for the PAP record.
391
     */
656
     */
392
    public void setFWidowControl(byte field_17_fWidowControl)
657
    public void setDxaAbs(int field_17_dxaAbs)
393
    {
658
    {
394
        this.field_17_fWidowControl = field_17_fWidowControl;
659
        this.field_17_dxaAbs = field_17_dxaAbs;
395
    }
660
    }
396
661
397
    /**
662
    /**
398
     * Get the dxaRight field for the PAP record.
663
     * Get the dyaAbs field for the PAP record.
399
     */
664
     */
400
    public int getDxaRight()
665
    public int getDyaAbs()
401
    {
666
    {
402
        return field_18_dxaRight;
667
        return field_18_dyaAbs;
403
    }
668
    }
404
669
405
    /**
670
    /**
406
     * Set the dxaRight field for the PAP record.
671
     * Set the dyaAbs field for the PAP record.
407
     */
672
     */
408
    public void setDxaRight(int field_18_dxaRight)
673
    public void setDyaAbs(int field_18_dyaAbs)
409
    {
674
    {
410
        this.field_18_dxaRight = field_18_dxaRight;
675
        this.field_18_dyaAbs = field_18_dyaAbs;
411
    }
676
    }
412
677
413
    /**
678
    /**
414
     * Get the dxaLeft field for the PAP record.
679
     * Get the dxaWidth field for the PAP record.
415
     */
680
     */
416
    public int getDxaLeft()
681
    public int getDxaWidth()
417
    {
682
    {
418
        return field_19_dxaLeft;
683
        return field_19_dxaWidth;
419
    }
684
    }
420
685
421
    /**
686
    /**
422
     * Set the dxaLeft field for the PAP record.
687
     * Set the dxaWidth field for the PAP record.
423
     */
688
     */
424
    public void setDxaLeft(int field_19_dxaLeft)
689
    public void setDxaWidth(int field_19_dxaWidth)
425
    {
690
    {
426
        this.field_19_dxaLeft = field_19_dxaLeft;
691
        this.field_19_dxaWidth = field_19_dxaWidth;
427
    }
692
    }
428
693
429
    /**
694
    /**
430
     * Get the dxaLeft1 field for the PAP record.
695
     * Get the fBrLnAbove field for the PAP record.
431
     */
696
     */
432
    public int getDxaLeft1()
697
    public byte getFBrLnAbove()
433
    {
698
    {
434
        return field_20_dxaLeft1;
699
        return field_20_fBrLnAbove;
435
    }
700
    }
436
701
437
    /**
702
    /**
438
     * Set the dxaLeft1 field for the PAP record.
703
     * Set the fBrLnAbove field for the PAP record.
439
     */
704
     */
440
    public void setDxaLeft1(int field_20_dxaLeft1)
705
    public void setFBrLnAbove(byte field_20_fBrLnAbove)
441
    {
706
    {
442
        this.field_20_dxaLeft1 = field_20_dxaLeft1;
707
        this.field_20_fBrLnAbove = field_20_fBrLnAbove;
443
    }
708
    }
444
709
445
    /**
710
    /**
446
     * Get the lspd field for the PAP record.
711
     * Get the fBrLnBelow field for the PAP record.
447
     */
712
     */
448
    public LineSpacingDescriptor getLspd()
713
    public byte getFBrLnBelow()
449
    {
714
    {
450
        return field_21_lspd;
715
        return field_21_fBrLnBelow;
451
    }
716
    }
452
717
453
    /**
718
    /**
454
     * Set the lspd field for the PAP record.
719
     * Set the fBrLnBelow field for the PAP record.
455
     */
720
     */
456
    public void setLspd(LineSpacingDescriptor field_21_lspd)
721
    public void setFBrLnBelow(byte field_21_fBrLnBelow)
457
    {
722
    {
458
        this.field_21_lspd = field_21_lspd;
723
        this.field_21_fBrLnBelow = field_21_fBrLnBelow;
459
    }
724
    }
460
725
461
    /**
726
    /**
462
     * Get the dyaBefore field for the PAP record.
727
     * Get the pcVert field for the PAP record.
463
     */
728
     */
464
    public int getDyaBefore()
729
    public byte getPcVert()
465
    {
730
    {
466
        return field_22_dyaBefore;
731
        return field_22_pcVert;
467
    }
732
    }
468
733
469
    /**
734
    /**
470
     * Set the dyaBefore field for the PAP record.
735
     * Set the pcVert field for the PAP record.
471
     */
736
     */
472
    public void setDyaBefore(int field_22_dyaBefore)
737
    public void setPcVert(byte field_22_pcVert)
473
    {
738
    {
474
        this.field_22_dyaBefore = field_22_dyaBefore;
739
        this.field_22_pcVert = field_22_pcVert;
475
    }
740
    }
476
741
477
    /**
742
    /**
478
     * Get the dyaAfter field for the PAP record.
743
     * Get the pcHorz field for the PAP record.
479
     */
744
     */
480
    public int getDyaAfter()
745
    public byte getPcHorz()
481
    {
746
    {
482
        return field_23_dyaAfter;
747
        return field_23_pcHorz;
483
    }
748
    }
484
749
485
    /**
750
    /**
486
     * Set the dyaAfter field for the PAP record.
751
     * Set the pcHorz field for the PAP record.
487
     */
752
     */
488
    public void setDyaAfter(int field_23_dyaAfter)
753
    public void setPcHorz(byte field_23_pcHorz)
489
    {
754
    {
490
        this.field_23_dyaAfter = field_23_dyaAfter;
755
        this.field_23_pcHorz = field_23_pcHorz;
491
    }
756
    }
492
757
493
    /**
758
    /**
494
     * Get the phe field for the PAP record.
759
     * Get the wr field for the PAP record.
495
     */
760
     */
496
    public byte[] getPhe()
761
    public byte getWr()
497
    {
762
    {
498
        return field_24_phe;
763
        return field_24_wr;
499
    }
764
    }
500
765
501
    /**
766
    /**
502
     * Set the phe field for the PAP record.
767
     * Set the wr field for the PAP record.
503
     */
768
     */
504
    public void setPhe(byte[] field_24_phe)
769
    public void setWr(byte field_24_wr)
505
    {
770
    {
506
        this.field_24_phe = field_24_phe;
771
        this.field_24_wr = field_24_wr;
507
    }
772
    }
508
773
509
    /**
774
    /**
510
     * Get the fCrLf field for the PAP record.
775
     * Get the fNoAutoHyph field for the PAP record.
511
     */
776
     */
512
    public byte getFCrLf()
777
    public byte getFNoAutoHyph()
513
    {
778
    {
514
        return field_25_fCrLf;
779
        return field_25_fNoAutoHyph;
515
    }
780
    }
516
781
517
    /**
782
    /**
518
     * Set the fCrLf field for the PAP record.
783
     * Set the fNoAutoHyph field for the PAP record.
519
     */
784
     */
520
    public void setFCrLf(byte field_25_fCrLf)
785
    public void setFNoAutoHyph(byte field_25_fNoAutoHyph)
521
    {
786
    {
522
        this.field_25_fCrLf = field_25_fCrLf;
787
        this.field_25_fNoAutoHyph = field_25_fNoAutoHyph;
523
    }
788
    }
524
789
525
    /**
790
    /**
526
     * Get the fUsePgsuSettings field for the PAP record.
791
     * Get the dyaHeight field for the PAP record.
527
     */
792
     */
528
    public byte getFUsePgsuSettings()
793
    public int getDyaHeight()
529
    {
794
    {
530
        return field_26_fUsePgsuSettings;
795
        return field_26_dyaHeight;
531
    }
796
    }
532
797
533
    /**
798
    /**
534
     * Set the fUsePgsuSettings field for the PAP record.
799
     * Set the dyaHeight field for the PAP record.
535
     */
800
     */
536
    public void setFUsePgsuSettings(byte field_26_fUsePgsuSettings)
801
    public void setDyaHeight(int field_26_dyaHeight)
537
    {
802
    {
538
        this.field_26_fUsePgsuSettings = field_26_fUsePgsuSettings;
803
        this.field_26_dyaHeight = field_26_dyaHeight;
539
    }
804
    }
540
805
541
    /**
806
    /**
542
     * Get the fAdjustRight field for the PAP record.
807
     * Get the fMinHeight field for the PAP record.
543
     */
808
     */
544
    public byte getFAdjustRight()
809
    public byte getFMinHeight()
545
    {
810
    {
546
        return field_27_fAdjustRight;
811
        return field_27_fMinHeight;
547
    }
812
    }
548
813
549
    /**
814
    /**
550
     * Set the fAdjustRight field for the PAP record.
815
     * Set the fMinHeight field for the PAP record.
816
     */
817
    public void setFMinHeight(byte field_27_fMinHeight)
818
    {
819
        this.field_27_fMinHeight = field_27_fMinHeight;
820
    }
821
822
    /**
823
     * Get the dcs field for the PAP record.
551
     */
824
     */
552
    public void setFAdjustRight(byte field_27_fAdjustRight)
825
    public DropCapSpecifier getDcs()
553
    {
826
    {
554
        this.field_27_fAdjustRight = field_27_fAdjustRight;
827
        return field_28_dcs;
828
    }
829
830
    /**
831
     * Set the dcs field for the PAP record.
832
     */
833
    public void setDcs(DropCapSpecifier field_28_dcs)
834
    {
835
        this.field_28_dcs = field_28_dcs;
836
    }
837
838
    /**
839
     * Get the dyaFromText field for the PAP record.
840
     */
841
    public int getDyaFromText()
842
    {
843
        return field_29_dyaFromText;
844
    }
845
846
    /**
847
     * Set the dyaFromText field for the PAP record.
848
     */
849
    public void setDyaFromText(int field_29_dyaFromText)
850
    {
851
        this.field_29_dyaFromText = field_29_dyaFromText;
852
    }
853
854
    /**
855
     * Get the dxaFromText field for the PAP record.
856
     */
857
    public int getDxaFromText()
858
    {
859
        return field_30_dxaFromText;
860
    }
861
862
    /**
863
     * Set the dxaFromText field for the PAP record.
864
     */
865
    public void setDxaFromText(int field_30_dxaFromText)
866
    {
867
        this.field_30_dxaFromText = field_30_dxaFromText;
868
    }
869
870
    /**
871
     * Get the fLocked field for the PAP record.
872
     */
873
    public byte getFLocked()
874
    {
875
        return field_31_fLocked;
876
    }
877
878
    /**
879
     * Set the fLocked field for the PAP record.
880
     */
881
    public void setFLocked(byte field_31_fLocked)
882
    {
883
        this.field_31_fLocked = field_31_fLocked;
884
    }
885
886
    /**
887
     * Get the fWidowControl field for the PAP record.
888
     */
889
    public byte getFWidowControl()
890
    {
891
        return field_32_fWidowControl;
892
    }
893
894
    /**
895
     * Set the fWidowControl field for the PAP record.
896
     */
897
    public void setFWidowControl(byte field_32_fWidowControl)
898
    {
899
        this.field_32_fWidowControl = field_32_fWidowControl;
555
    }
900
    }
556
901
557
    /**
902
    /**
Lines 559-573 Link Here
559
     */
904
     */
560
    public byte getFKinsoku()
905
    public byte getFKinsoku()
561
    {
906
    {
562
        return field_28_fKinsoku;
907
        return field_33_fKinsoku;
563
    }
908
    }
564
909
565
    /**
910
    /**
566
     * Set the fKinsoku field for the PAP record.
911
     * Set the fKinsoku field for the PAP record.
567
     */
912
     */
568
    public void setFKinsoku(byte field_28_fKinsoku)
913
    public void setFKinsoku(byte field_33_fKinsoku)
569
    {
914
    {
570
        this.field_28_fKinsoku = field_28_fKinsoku;
915
        this.field_33_fKinsoku = field_33_fKinsoku;
571
    }
916
    }
572
917
573
    /**
918
    /**
Lines 575-589 Link Here
575
     */
920
     */
576
    public byte getFWordWrap()
921
    public byte getFWordWrap()
577
    {
922
    {
578
        return field_29_fWordWrap;
923
        return field_34_fWordWrap;
579
    }
924
    }
580
925
581
    /**
926
    /**
582
     * Set the fWordWrap field for the PAP record.
927
     * Set the fWordWrap field for the PAP record.
583
     */
928
     */
584
    public void setFWordWrap(byte field_29_fWordWrap)
929
    public void setFWordWrap(byte field_34_fWordWrap)
585
    {
930
    {
586
        this.field_29_fWordWrap = field_29_fWordWrap;
931
        this.field_34_fWordWrap = field_34_fWordWrap;
587
    }
932
    }
588
933
589
    /**
934
    /**
Lines 591-605 Link Here
591
     */
936
     */
592
    public byte getFOverflowPunct()
937
    public byte getFOverflowPunct()
593
    {
938
    {
594
        return field_30_fOverflowPunct;
939
        return field_35_fOverflowPunct;
595
    }
940
    }
596
941
597
    /**
942
    /**
598
     * Set the fOverflowPunct field for the PAP record.
943
     * Set the fOverflowPunct field for the PAP record.
599
     */
944
     */
600
    public void setFOverflowPunct(byte field_30_fOverflowPunct)
945
    public void setFOverflowPunct(byte field_35_fOverflowPunct)
601
    {
946
    {
602
        this.field_30_fOverflowPunct = field_30_fOverflowPunct;
947
        this.field_35_fOverflowPunct = field_35_fOverflowPunct;
603
    }
948
    }
604
949
605
    /**
950
    /**
Lines 607-621 Link Here
607
     */
952
     */
608
    public byte getFTopLinePunct()
953
    public byte getFTopLinePunct()
609
    {
954
    {
610
        return field_31_fTopLinePunct;
955
        return field_36_fTopLinePunct;
611
    }
956
    }
612
957
613
    /**
958
    /**
614
     * Set the fTopLinePunct field for the PAP record.
959
     * Set the fTopLinePunct field for the PAP record.
615
     */
960
     */
616
    public void setFTopLinePunct(byte field_31_fTopLinePunct)
961
    public void setFTopLinePunct(byte field_36_fTopLinePunct)
617
    {
962
    {
618
        this.field_31_fTopLinePunct = field_31_fTopLinePunct;
963
        this.field_36_fTopLinePunct = field_36_fTopLinePunct;
619
    }
964
    }
620
965
621
    /**
966
    /**
Lines 623-637 Link Here
623
     */
968
     */
624
    public byte getFAutoSpaceDE()
969
    public byte getFAutoSpaceDE()
625
    {
970
    {
626
        return field_32_fAutoSpaceDE;
971
        return field_37_fAutoSpaceDE;
627
    }
972
    }
628
973
629
    /**
974
    /**
630
     * Set the fAutoSpaceDE field for the PAP record.
975
     * Set the fAutoSpaceDE field for the PAP record.
631
     */
976
     */
632
    public void setFAutoSpaceDE(byte field_32_fAutoSpaceDE)
977
    public void setFAutoSpaceDE(byte field_37_fAutoSpaceDE)
633
    {
978
    {
634
        this.field_32_fAutoSpaceDE = field_32_fAutoSpaceDE;
979
        this.field_37_fAutoSpaceDE = field_37_fAutoSpaceDE;
635
    }
980
    }
636
981
637
    /**
982
    /**
Lines 639-653 Link Here
639
     */
984
     */
640
    public byte getFAutoSpaceDN()
985
    public byte getFAutoSpaceDN()
641
    {
986
    {
642
        return field_33_fAutoSpaceDN;
987
        return field_38_fAutoSpaceDN;
643
    }
988
    }
644
989
645
    /**
990
    /**
646
     * Set the fAutoSpaceDN field for the PAP record.
991
     * Set the fAutoSpaceDN field for the PAP record.
647
     */
992
     */
648
    public void setFAutoSpaceDN(byte field_33_fAutoSpaceDN)
993
    public void setFAutoSpaceDN(byte field_38_fAutoSpaceDN)
649
    {
994
    {
650
        this.field_33_fAutoSpaceDN = field_33_fAutoSpaceDN;
995
        this.field_38_fAutoSpaceDN = field_38_fAutoSpaceDN;
651
    }
996
    }
652
997
653
    /**
998
    /**
Lines 655-669 Link Here
655
     */
1000
     */
656
    public int getWAlignFont()
1001
    public int getWAlignFont()
657
    {
1002
    {
658
        return field_34_wAlignFont;
1003
        return field_39_wAlignFont;
659
    }
1004
    }
660
1005
661
    /**
1006
    /**
662
     * Set the wAlignFont field for the PAP record.
1007
     * Set the wAlignFont field for the PAP record.
663
     */
1008
     */
664
    public void setWAlignFont(int field_34_wAlignFont)
1009
    public void setWAlignFont(int field_39_wAlignFont)
665
    {
1010
    {
666
        this.field_34_wAlignFont = field_34_wAlignFont;
1011
        this.field_39_wAlignFont = field_39_wAlignFont;
667
    }
1012
    }
668
1013
669
    /**
1014
    /**
Lines 671-685 Link Here
671
     */
1016
     */
672
    public short getFontAlign()
1017
    public short getFontAlign()
673
    {
1018
    {
674
        return field_35_fontAlign;
1019
        return field_40_fontAlign;
675
    }
1020
    }
676
1021
677
    /**
1022
    /**
678
     * Set the fontAlign field for the PAP record.
1023
     * Set the fontAlign field for the PAP record.
679
     */
1024
     */
680
    public void setFontAlign(short field_35_fontAlign)
1025
    public void setFontAlign(short field_40_fontAlign)
681
    {
1026
    {
682
        this.field_35_fontAlign = field_35_fontAlign;
1027
        this.field_40_fontAlign = field_40_fontAlign;
1028
    }
1029
1030
    /**
1031
     * Get the fVertical field for the PAP record.
1032
     */
1033
    public byte getFVertical()
1034
    {
1035
        return field_41_fVertical;
1036
    }
1037
1038
    /**
1039
     * Set the fVertical field for the PAP record.
1040
     */
1041
    public void setFVertical(byte field_41_fVertical)
1042
    {
1043
        this.field_41_fVertical = field_41_fVertical;
683
    }
1044
    }
684
1045
685
    /**
1046
    /**
Lines 687-701 Link Here
687
     */
1048
     */
688
    public byte getFBackward()
1049
    public byte getFBackward()
689
    {
1050
    {
690
        return field_36_fBackward;
1051
        return field_42_fBackward;
691
    }
1052
    }
692
1053
693
    /**
1054
    /**
694
     * Set the fBackward field for the PAP record.
1055
     * Set the fBackward field for the PAP record.
695
     */
1056
     */
696
    public void setFBackward(byte field_36_fBackward)
1057
    public void setFBackward(byte field_42_fBackward)
697
    {
1058
    {
698
        this.field_36_fBackward = field_36_fBackward;
1059
        this.field_42_fBackward = field_42_fBackward;
699
    }
1060
    }
700
1061
701
    /**
1062
    /**
Lines 703-1069 Link Here
703
     */
1064
     */
704
    public byte getFRotateFont()
1065
    public byte getFRotateFont()
705
    {
1066
    {
706
        return field_37_fRotateFont;
1067
        return field_43_fRotateFont;
707
    }
1068
    }
708
1069
709
    /**
1070
    /**
710
     * Set the fRotateFont field for the PAP record.
1071
     * Set the fRotateFont field for the PAP record.
711
     */
1072
     */
712
    public void setFRotateFont(byte field_37_fRotateFont)
1073
    public void setFRotateFont(byte field_43_fRotateFont)
713
    {
1074
    {
714
        this.field_37_fRotateFont = field_37_fRotateFont;
1075
        this.field_43_fRotateFont = field_43_fRotateFont;
715
    }
1076
    }
716
1077
717
    /**
1078
    /**
718
     * Get the fInTable field for the PAP record.
1079
     * Get the lvl field for the PAP record.
719
     */
1080
     */
720
    public byte getFInTable()
1081
    public byte getLvl()
721
    {
1082
    {
722
        return field_38_fInTable;
1083
        return field_44_lvl;
723
    }
1084
    }
724
1085
725
    /**
1086
    /**
726
     * Set the fInTable field for the PAP record.
1087
     * Set the lvl field for the PAP record.
727
     */
1088
     */
728
    public void setFInTable(byte field_38_fInTable)
1089
    public void setLvl(byte field_44_lvl)
729
    {
1090
    {
730
        this.field_38_fInTable = field_38_fInTable;
1091
        this.field_44_lvl = field_44_lvl;
731
    }
1092
    }
732
1093
733
    /**
1094
    /**
734
     * Get the fTtp field for the PAP record.
1095
     * Get the fBiDi field for the PAP record.
735
     */
1096
     */
736
    public byte getFTtp()
1097
    public byte getFBiDi()
737
    {
1098
    {
738
        return field_39_fTtp;
1099
        return field_45_fBiDi;
739
    }
1100
    }
740
1101
741
    /**
1102
    /**
742
     * Set the fTtp field for the PAP record.
1103
     * Set the fBiDi field for the PAP record.
743
     */
1104
     */
744
    public void setFTtp(byte field_39_fTtp)
1105
    public void setFBiDi(byte field_45_fBiDi)
745
    {
1106
    {
746
        this.field_39_fTtp = field_39_fTtp;
1107
        this.field_45_fBiDi = field_45_fBiDi;
747
    }
1108
    }
748
1109
749
    /**
1110
    /**
750
     * Get the wr field for the PAP record.
1111
     * Get the fNumRMIns field for the PAP record.
751
     */
1112
     */
752
    public byte getWr()
1113
    public byte getFNumRMIns()
753
    {
1114
    {
754
        return field_40_wr;
1115
        return field_46_fNumRMIns;
755
    }
1116
    }
756
1117
757
    /**
1118
    /**
758
     * Set the wr field for the PAP record.
1119
     * Set the fNumRMIns field for the PAP record.
759
     */
1120
     */
760
    public void setWr(byte field_40_wr)
1121
    public void setFNumRMIns(byte field_46_fNumRMIns)
761
    {
1122
    {
762
        this.field_40_wr = field_40_wr;
1123
        this.field_46_fNumRMIns = field_46_fNumRMIns;
763
    }
1124
    }
764
1125
765
    /**
1126
    /**
766
     * Get the fLocked field for the PAP record.
1127
     * Get the fCrLf field for the PAP record.
767
     */
1128
     */
768
    public byte getFLocked()
1129
    public byte getFCrLf()
769
    {
1130
    {
770
        return field_41_fLocked;
1131
        return field_47_fCrLf;
771
    }
1132
    }
772
1133
773
    /**
1134
    /**
774
     * Set the fLocked field for the PAP record.
1135
     * Set the fCrLf field for the PAP record.
775
     */
1136
     */
776
    public void setFLocked(byte field_41_fLocked)
1137
    public void setFCrLf(byte field_47_fCrLf)
777
    {
1138
    {
778
        this.field_41_fLocked = field_41_fLocked;
1139
        this.field_47_fCrLf = field_47_fCrLf;
779
    }
1140
    }
780
1141
781
    /**
1142
    /**
782
     * Get the ptap field for the PAP record.
1143
     * Get the fUsePgsuSettings field for the PAP record.
783
     */
1144
     */
784
    public byte[] getPtap()
1145
    public byte getFUsePgsuSettings()
785
    {
1146
    {
786
        return field_42_ptap;
1147
        return field_48_fUsePgsuSettings;
787
    }
1148
    }
788
1149
789
    /**
1150
    /**
790
     * Set the ptap field for the PAP record.
1151
     * Set the fUsePgsuSettings field for the PAP record.
791
     */
1152
     */
792
    public void setPtap(byte[] field_42_ptap)
1153
    public void setFUsePgsuSettings(byte field_48_fUsePgsuSettings)
793
    {
1154
    {
794
        this.field_42_ptap = field_42_ptap;
1155
        this.field_48_fUsePgsuSettings = field_48_fUsePgsuSettings;
795
    }
1156
    }
796
1157
797
    /**
1158
    /**
798
     * Get the dxaAbs field for the PAP record.
1159
     * Get the fAdjustRight field for the PAP record.
799
     */
1160
     */
800
    public int getDxaAbs()
1161
    public byte getFAdjustRight()
801
    {
1162
    {
802
        return field_43_dxaAbs;
1163
        return field_49_fAdjustRight;
803
    }
1164
    }
804
1165
805
    /**
1166
    /**
806
     * Set the dxaAbs field for the PAP record.
1167
     * Set the fAdjustRight field for the PAP record.
807
     */
1168
     */
808
    public void setDxaAbs(int field_43_dxaAbs)
1169
    public void setFAdjustRight(byte field_49_fAdjustRight)
809
    {
1170
    {
810
        this.field_43_dxaAbs = field_43_dxaAbs;
1171
        this.field_49_fAdjustRight = field_49_fAdjustRight;
811
    }
1172
    }
812
1173
813
    /**
1174
    /**
814
     * Get the dyaAbs field for the PAP record.
1175
     * Get the dxcRight field for the PAP record.
815
     */
1176
     */
816
    public int getDyaAbs()
1177
    public short getDxcRight()
817
    {
1178
    {
818
        return field_44_dyaAbs;
1179
        return field_50_dxcRight;
819
    }
1180
    }
820
1181
821
    /**
1182
    /**
822
     * Set the dyaAbs field for the PAP record.
1183
     * Set the dxcRight field for the PAP record.
823
     */
1184
     */
824
    public void setDyaAbs(int field_44_dyaAbs)
1185
    public void setDxcRight(short field_50_dxcRight)
825
    {
1186
    {
826
        this.field_44_dyaAbs = field_44_dyaAbs;
1187
        this.field_50_dxcRight = field_50_dxcRight;
827
    }
1188
    }
828
1189
829
    /**
1190
    /**
830
     * Get the dxaWidth field for the PAP record.
1191
     * Get the dxcLeft field for the PAP record.
831
     */
1192
     */
832
    public int getDxaWidth()
1193
    public short getDxcLeft()
833
    {
1194
    {
834
        return field_45_dxaWidth;
1195
        return field_51_dxcLeft;
835
    }
1196
    }
836
1197
837
    /**
1198
    /**
838
     * Set the dxaWidth field for the PAP record.
1199
     * Set the dxcLeft field for the PAP record.
839
     */
1200
     */
840
    public void setDxaWidth(int field_45_dxaWidth)
1201
    public void setDxcLeft(short field_51_dxcLeft)
841
    {
1202
    {
842
        this.field_45_dxaWidth = field_45_dxaWidth;
1203
        this.field_51_dxcLeft = field_51_dxcLeft;
843
    }
1204
    }
844
1205
845
    /**
1206
    /**
846
     * Get the brcTop field for the PAP record.
1207
     * Get the dxcLeft1 field for the PAP record.
847
     */
1208
     */
848
    public BorderCode getBrcTop()
1209
    public short getDxcLeft1()
849
    {
1210
    {
850
        return field_46_brcTop;
1211
        return field_52_dxcLeft1;
851
    }
1212
    }
852
1213
853
    /**
1214
    /**
854
     * Set the brcTop field for the PAP record.
1215
     * Set the dxcLeft1 field for the PAP record.
855
     */
1216
     */
856
    public void setBrcTop(BorderCode field_46_brcTop)
1217
    public void setDxcLeft1(short field_52_dxcLeft1)
857
    {
1218
    {
858
        this.field_46_brcTop = field_46_brcTop;
1219
        this.field_52_dxcLeft1 = field_52_dxcLeft1;
859
    }
1220
    }
860
1221
861
    /**
1222
    /**
862
     * Get the brcLeft field for the PAP record.
1223
     * Get the fDyaBeforeAuto field for the PAP record.
863
     */
1224
     */
864
    public BorderCode getBrcLeft()
1225
    public byte getFDyaBeforeAuto()
865
    {
1226
    {
866
        return field_47_brcLeft;
1227
        return field_53_fDyaBeforeAuto;
867
    }
1228
    }
868
1229
869
    /**
1230
    /**
870
     * Set the brcLeft field for the PAP record.
1231
     * Set the fDyaBeforeAuto field for the PAP record.
871
     */
1232
     */
872
    public void setBrcLeft(BorderCode field_47_brcLeft)
1233
    public void setFDyaBeforeAuto(byte field_53_fDyaBeforeAuto)
873
    {
1234
    {
874
        this.field_47_brcLeft = field_47_brcLeft;
1235
        this.field_53_fDyaBeforeAuto = field_53_fDyaBeforeAuto;
875
    }
1236
    }
876
1237
877
    /**
1238
    /**
878
     * Get the brcBottom field for the PAP record.
1239
     * Get the fDyaAfterAuto field for the PAP record.
879
     */
1240
     */
880
    public BorderCode getBrcBottom()
1241
    public byte getFDyaAfterAuto()
881
    {
1242
    {
882
        return field_48_brcBottom;
1243
        return field_54_fDyaAfterAuto;
883
    }
1244
    }
884
1245
885
    /**
1246
    /**
886
     * Set the brcBottom field for the PAP record.
1247
     * Set the fDyaAfterAuto field for the PAP record.
887
     */
1248
     */
888
    public void setBrcBottom(BorderCode field_48_brcBottom)
1249
    public void setFDyaAfterAuto(byte field_54_fDyaAfterAuto)
889
    {
1250
    {
890
        this.field_48_brcBottom = field_48_brcBottom;
1251
        this.field_54_fDyaAfterAuto = field_54_fDyaAfterAuto;
891
    }
1252
    }
892
1253
893
    /**
1254
    /**
894
     * Get the brcRight field for the PAP record.
1255
     * Get the dxaRight field for the PAP record.
895
     */
1256
     */
896
    public BorderCode getBrcRight()
1257
    public int getDxaRight()
897
    {
1258
    {
898
        return field_49_brcRight;
1259
        return field_55_dxaRight;
899
    }
1260
    }
900
1261
901
    /**
1262
    /**
902
     * Set the brcRight field for the PAP record.
1263
     * Set the dxaRight field for the PAP record.
903
     */
1264
     */
904
    public void setBrcRight(BorderCode field_49_brcRight)
1265
    public void setDxaRight(int field_55_dxaRight)
905
    {
1266
    {
906
        this.field_49_brcRight = field_49_brcRight;
1267
        this.field_55_dxaRight = field_55_dxaRight;
907
    }
1268
    }
908
1269
909
    /**
1270
    /**
910
     * Get the brcBetween field for the PAP record.
1271
     * Get the dxaLeft field for the PAP record.
911
     */
1272
     */
912
    public BorderCode getBrcBetween()
1273
    public int getDxaLeft()
913
    {
1274
    {
914
        return field_50_brcBetween;
1275
        return field_56_dxaLeft;
915
    }
1276
    }
916
1277
917
    /**
1278
    /**
918
     * Set the brcBetween field for the PAP record.
1279
     * Set the dxaLeft field for the PAP record.
919
     */
1280
     */
920
    public void setBrcBetween(BorderCode field_50_brcBetween)
1281
    public void setDxaLeft(int field_56_dxaLeft)
921
    {
1282
    {
922
        this.field_50_brcBetween = field_50_brcBetween;
1283
        this.field_56_dxaLeft = field_56_dxaLeft;
923
    }
1284
    }
924
1285
925
    /**
1286
    /**
926
     * Get the brcBar field for the PAP record.
1287
     * Get the dxaLeft1 field for the PAP record.
927
     */
1288
     */
928
    public BorderCode getBrcBar()
1289
    public int getDxaLeft1()
929
    {
1290
    {
930
        return field_51_brcBar;
1291
        return field_57_dxaLeft1;
931
    }
1292
    }
932
1293
933
    /**
1294
    /**
934
     * Set the brcBar field for the PAP record.
1295
     * Set the dxaLeft1 field for the PAP record.
935
     */
1296
     */
936
    public void setBrcBar(BorderCode field_51_brcBar)
1297
    public void setDxaLeft1(int field_57_dxaLeft1)
937
    {
1298
    {
938
        this.field_51_brcBar = field_51_brcBar;
1299
        this.field_57_dxaLeft1 = field_57_dxaLeft1;
939
    }
1300
    }
940
1301
941
    /**
1302
    /**
942
     * Get the dxaFromText field for the PAP record.
1303
     * Get the jc field for the PAP record.
943
     */
1304
     */
944
    public int getDxaFromText()
1305
    public byte getJc()
945
    {
1306
    {
946
        return field_52_dxaFromText;
1307
        return field_58_jc;
947
    }
1308
    }
948
1309
949
    /**
1310
    /**
950
     * Set the dxaFromText field for the PAP record.
1311
     * Set the jc field for the PAP record.
951
     */
1312
     */
952
    public void setDxaFromText(int field_52_dxaFromText)
1313
    public void setJc(byte field_58_jc)
953
    {
1314
    {
954
        this.field_52_dxaFromText = field_52_dxaFromText;
1315
        this.field_58_jc = field_58_jc;
955
    }
1316
    }
956
1317
957
    /**
1318
    /**
958
     * Get the dyaFromText field for the PAP record.
1319
     * Get the fNoAllowOverlap field for the PAP record.
959
     */
1320
     */
960
    public int getDyaFromText()
1321
    public byte getFNoAllowOverlap()
961
    {
1322
    {
962
        return field_53_dyaFromText;
1323
        return field_59_fNoAllowOverlap;
963
    }
1324
    }
964
1325
965
    /**
1326
    /**
966
     * Set the dyaFromText field for the PAP record.
1327
     * Set the fNoAllowOverlap field for the PAP record.
967
     */
1328
     */
968
    public void setDyaFromText(int field_53_dyaFromText)
1329
    public void setFNoAllowOverlap(byte field_59_fNoAllowOverlap)
969
    {
1330
    {
970
        this.field_53_dyaFromText = field_53_dyaFromText;
1331
        this.field_59_fNoAllowOverlap = field_59_fNoAllowOverlap;
971
    }
1332
    }
972
1333
973
    /**
1334
    /**
974
     * Get the dyaHeight field for the PAP record.
1335
     * Get the brcTop field for the PAP record.
975
     */
1336
     */
976
    public int getDyaHeight()
1337
    public BorderCode getBrcTop()
977
    {
1338
    {
978
        return field_54_dyaHeight;
1339
        return field_60_brcTop;
979
    }
1340
    }
980
1341
981
    /**
1342
    /**
982
     * Set the dyaHeight field for the PAP record.
1343
     * Set the brcTop field for the PAP record.
983
     */
1344
     */
984
    public void setDyaHeight(int field_54_dyaHeight)
1345
    public void setBrcTop(BorderCode field_60_brcTop)
985
    {
1346
    {
986
        this.field_54_dyaHeight = field_54_dyaHeight;
1347
        this.field_60_brcTop = field_60_brcTop;
987
    }
1348
    }
988
1349
989
    /**
1350
    /**
990
     * Get the fMinHeight field for the PAP record.
1351
     * Get the brcLeft field for the PAP record.
991
     */
1352
     */
992
    public byte getFMinHeight()
1353
    public BorderCode getBrcLeft()
993
    {
1354
    {
994
        return field_55_fMinHeight;
1355
        return field_61_brcLeft;
995
    }
1356
    }
996
1357
997
    /**
1358
    /**
998
     * Set the fMinHeight field for the PAP record.
1359
     * Set the brcLeft field for the PAP record.
999
     */
1360
     */
1000
    public void setFMinHeight(byte field_55_fMinHeight)
1361
    public void setBrcLeft(BorderCode field_61_brcLeft)
1001
    {
1362
    {
1002
        this.field_55_fMinHeight = field_55_fMinHeight;
1363
        this.field_61_brcLeft = field_61_brcLeft;
1003
    }
1364
    }
1004
1365
1005
    /**
1366
    /**
1006
     * Get the shd field for the PAP record.
1367
     * Get the brcBottom field for the PAP record.
1007
     */
1368
     */
1008
    public ShadingDescriptor getShd()
1369
    public BorderCode getBrcBottom()
1009
    {
1370
    {
1010
        return field_56_shd;
1371
        return field_62_brcBottom;
1011
    }
1372
    }
1012
1373
1013
    /**
1374
    /**
1014
     * Set the shd field for the PAP record.
1375
     * Set the brcBottom field for the PAP record.
1015
     */
1376
     */
1016
    public void setShd(ShadingDescriptor field_56_shd)
1377
    public void setBrcBottom(BorderCode field_62_brcBottom)
1017
    {
1378
    {
1018
        this.field_56_shd = field_56_shd;
1379
        this.field_62_brcBottom = field_62_brcBottom;
1019
    }
1380
    }
1020
1381
1021
    /**
1382
    /**
1022
     * Get the dcs field for the PAP record.
1383
     * Get the brcRight field for the PAP record.
1023
     */
1384
     */
1024
    public DropCapSpecifier getDcs()
1385
    public BorderCode getBrcRight()
1025
    {
1386
    {
1026
        return field_57_dcs;
1387
        return field_63_brcRight;
1027
    }
1388
    }
1028
1389
1029
    /**
1390
    /**
1030
     * Set the dcs field for the PAP record.
1391
     * Set the brcRight field for the PAP record.
1031
     */
1392
     */
1032
    public void setDcs(DropCapSpecifier field_57_dcs)
1393
    public void setBrcRight(BorderCode field_63_brcRight)
1033
    {
1394
    {
1034
        this.field_57_dcs = field_57_dcs;
1395
        this.field_63_brcRight = field_63_brcRight;
1035
    }
1396
    }
1036
1397
1037
    /**
1398
    /**
1038
     * Get the lvl field for the PAP record.
1399
     * Get the brcBetween field for the PAP record.
1039
     */
1400
     */
1040
    public byte getLvl()
1401
    public BorderCode getBrcBetween()
1041
    {
1402
    {
1042
        return field_58_lvl;
1403
        return field_64_brcBetween;
1043
    }
1404
    }
1044
1405
1045
    /**
1406
    /**
1046
     * Set the lvl field for the PAP record.
1407
     * Set the brcBetween field for the PAP record.
1047
     */
1408
     */
1048
    public void setLvl(byte field_58_lvl)
1409
    public void setBrcBetween(BorderCode field_64_brcBetween)
1049
    {
1410
    {
1050
        this.field_58_lvl = field_58_lvl;
1411
        this.field_64_brcBetween = field_64_brcBetween;
1051
    }
1412
    }
1052
1413
1053
    /**
1414
    /**
1054
     * Get the fNumRMIns field for the PAP record.
1415
     * Get the brcBar field for the PAP record.
1055
     */
1416
     */
1056
    public byte getFNumRMIns()
1417
    public BorderCode getBrcBar()
1057
    {
1418
    {
1058
        return field_59_fNumRMIns;
1419
        return field_65_brcBar;
1059
    }
1420
    }
1060
1421
1061
    /**
1422
    /**
1062
     * Set the fNumRMIns field for the PAP record.
1423
     * Set the brcBar field for the PAP record.
1063
     */
1424
     */
1064
    public void setFNumRMIns(byte field_59_fNumRMIns)
1425
    public void setBrcBar(BorderCode field_65_brcBar)
1065
    {
1426
    {
1066
        this.field_59_fNumRMIns = field_59_fNumRMIns;
1427
        this.field_65_brcBar = field_65_brcBar;
1428
    }
1429
1430
    /**
1431
     * Get the shd field for the PAP record.
1432
     */
1433
    public ShadingDescriptor getShd()
1434
    {
1435
        return field_66_shd;
1436
    }
1437
1438
    /**
1439
     * Set the shd field for the PAP record.
1440
     */
1441
    public void setShd(ShadingDescriptor field_66_shd)
1442
    {
1443
        this.field_66_shd = field_66_shd;
1067
    }
1444
    }
1068
1445
1069
    /**
1446
    /**
Lines 1071-1149 Link Here
1071
     */
1448
     */
1072
    public byte[] getAnld()
1449
    public byte[] getAnld()
1073
    {
1450
    {
1074
        return field_60_anld;
1451
        return field_67_anld;
1075
    }
1452
    }
1076
1453
1077
    /**
1454
    /**
1078
     * Set the anld field for the PAP record.
1455
     * Set the anld field for the PAP record.
1079
     */
1456
     */
1080
    public void setAnld(byte[] field_60_anld)
1457
    public void setAnld(byte[] field_67_anld)
1081
    {
1458
    {
1082
        this.field_60_anld = field_60_anld;
1459
        this.field_67_anld = field_67_anld;
1083
    }
1460
    }
1084
1461
1085
    /**
1462
    /**
1086
     * Get the fPropRMark field for the PAP record.
1463
     * Get the phe field for the PAP record.
1087
     */
1464
     */
1088
    public int getFPropRMark()
1465
    public byte[] getPhe()
1089
    {
1466
    {
1090
        return field_61_fPropRMark;
1467
        return field_68_phe;
1091
    }
1468
    }
1092
1469
1093
    /**
1470
    /**
1094
     * Set the fPropRMark field for the PAP record.
1471
     * Set the phe field for the PAP record.
1095
     */
1472
     */
1096
    public void setFPropRMark(int field_61_fPropRMark)
1473
    public void setPhe(byte[] field_68_phe)
1097
    {
1474
    {
1098
        this.field_61_fPropRMark = field_61_fPropRMark;
1475
        this.field_68_phe = field_68_phe;
1099
    }
1476
    }
1100
1477
1101
    /**
1478
    /**
1102
     * Get the ibstPropRMark field for the PAP record.
1479
     * Get the fPropRMark field for the PAP record.
1103
     */
1480
     */
1104
    public int getIbstPropRMark()
1481
    public int getFPropRMark()
1105
    {
1482
    {
1106
        return field_62_ibstPropRMark;
1483
        return field_69_fPropRMark;
1107
    }
1484
    }
1108
1485
1109
    /**
1486
    /**
1110
     * Set the ibstPropRMark field for the PAP record.
1487
     * Set the fPropRMark field for the PAP record.
1111
     */
1488
     */
1112
    public void setIbstPropRMark(int field_62_ibstPropRMark)
1489
    public void setFPropRMark(int field_69_fPropRMark)
1113
    {
1490
    {
1114
        this.field_62_ibstPropRMark = field_62_ibstPropRMark;
1491
        this.field_69_fPropRMark = field_69_fPropRMark;
1115
    }
1492
    }
1116
1493
1117
    /**
1494
    /**
1118
     * Get the dttmPropRMark field for the PAP record.
1495
     * Get the ibstPropRMark field for the PAP record.
1119
     */
1496
     */
1120
    public DateAndTime getDttmPropRMark()
1497
    public int getIbstPropRMark()
1121
    {
1498
    {
1122
        return field_63_dttmPropRMark;
1499
        return field_70_ibstPropRMark;
1123
    }
1500
    }
1124
1501
1125
    /**
1502
    /**
1126
     * Set the dttmPropRMark field for the PAP record.
1503
     * Set the ibstPropRMark field for the PAP record.
1127
     */
1504
     */
1128
    public void setDttmPropRMark(DateAndTime field_63_dttmPropRMark)
1505
    public void setIbstPropRMark(int field_70_ibstPropRMark)
1129
    {
1506
    {
1130
        this.field_63_dttmPropRMark = field_63_dttmPropRMark;
1507
        this.field_70_ibstPropRMark = field_70_ibstPropRMark;
1131
    }
1508
    }
1132
1509
1133
    /**
1510
    /**
1134
     * Get the numrm field for the PAP record.
1511
     * Get the dttmPropRMark field for the PAP record.
1135
     */
1512
     */
1136
    public byte[] getNumrm()
1513
    public DateAndTime getDttmPropRMark()
1137
    {
1514
    {
1138
        return field_64_numrm;
1515
        return field_71_dttmPropRMark;
1139
    }
1516
    }
1140
1517
1141
    /**
1518
    /**
1142
     * Set the numrm field for the PAP record.
1519
     * Set the dttmPropRMark field for the PAP record.
1143
     */
1520
     */
1144
    public void setNumrm(byte[] field_64_numrm)
1521
    public void setDttmPropRMark(DateAndTime field_71_dttmPropRMark)
1145
    {
1522
    {
1146
        this.field_64_numrm = field_64_numrm;
1523
        this.field_71_dttmPropRMark = field_71_dttmPropRMark;
1147
    }
1524
    }
1148
1525
1149
    /**
1526
    /**
Lines 1151-1165 Link Here
1151
     */
1528
     */
1152
    public int getItbdMac()
1529
    public int getItbdMac()
1153
    {
1530
    {
1154
        return field_65_itbdMac;
1531
        return field_72_itbdMac;
1155
    }
1532
    }
1156
1533
1157
    /**
1534
    /**
1158
     * Set the itbdMac field for the PAP record.
1535
     * Set the itbdMac field for the PAP record.
1159
     */
1536
     */
1160
    public void setItbdMac(int field_65_itbdMac)
1537
    public void setItbdMac(int field_72_itbdMac)
1161
    {
1538
    {
1162
        this.field_65_itbdMac = field_65_itbdMac;
1539
        this.field_72_itbdMac = field_72_itbdMac;
1163
    }
1540
    }
1164
1541
1165
    /**
1542
    /**
Lines 1167-1181 Link Here
1167
     */
1544
     */
1168
    public int[] getRgdxaTab()
1545
    public int[] getRgdxaTab()
1169
    {
1546
    {
1170
        return field_66_rgdxaTab;
1547
        return field_73_rgdxaTab;
1171
    }
1548
    }
1172
1549
1173
    /**
1550
    /**
1174
     * Set the rgdxaTab field for the PAP record.
1551
     * Set the rgdxaTab field for the PAP record.
1175
     */
1552
     */
1176
    public void setRgdxaTab(int[] field_66_rgdxaTab)
1553
    public void setRgdxaTab(int[] field_73_rgdxaTab)
1177
    {
1554
    {
1178
        this.field_66_rgdxaTab = field_66_rgdxaTab;
1555
        this.field_73_rgdxaTab = field_73_rgdxaTab;
1179
    }
1556
    }
1180
1557
1181
    /**
1558
    /**
Lines 1183-1197 Link Here
1183
     */
1560
     */
1184
    public byte[] getRgtbd()
1561
    public byte[] getRgtbd()
1185
    {
1562
    {
1186
        return field_67_rgtbd;
1563
        return field_74_rgtbd;
1187
    }
1564
    }
1188
1565
1189
    /**
1566
    /**
1190
     * Set the rgtbd field for the PAP record.
1567
     * Set the rgtbd field for the PAP record.
1191
     */
1568
     */
1192
    public void setRgtbd(byte[] field_67_rgtbd)
1569
    public void setRgtbd(byte[] field_74_rgtbd)
1193
    {
1570
    {
1194
        this.field_67_rgtbd = field_67_rgtbd;
1571
        this.field_74_rgtbd = field_74_rgtbd;
1572
    }
1573
1574
    /**
1575
     * Get the numrm field for the PAP record.
1576
     */
1577
    public byte[] getNumrm()
1578
    {
1579
        return field_75_numrm;
1580
    }
1581
1582
    /**
1583
     * Set the numrm field for the PAP record.
1584
     */
1585
    public void setNumrm(byte[] field_75_numrm)
1586
    {
1587
        this.field_75_numrm = field_75_numrm;
1588
    }
1589
1590
    /**
1591
     * Get the ptap field for the PAP record.
1592
     */
1593
    public byte[] getPtap()
1594
    {
1595
        return field_76_ptap;
1596
    }
1597
1598
    /**
1599
     * Set the ptap field for the PAP record.
1600
     */
1601
    public void setPtap(byte[] field_76_ptap)
1602
    {
1603
        this.field_76_ptap = field_76_ptap;
1195
    }
1604
    }
1196
1605
1197
    /**
1606
    /**
Lines 1199-1213 Link Here
1199
     */
1608
     */
1200
    public byte getTableLevel()
1609
    public byte getTableLevel()
1201
    {
1610
    {
1202
        return field_68_tableLevel;
1611
        return field_77_tableLevel;
1203
    }
1612
    }
1204
1613
1205
    /**
1614
    /**
1206
     * Set the tableLevel field for the PAP record.
1615
     * Set the tableLevel field for the PAP record.
1207
     */
1616
     */
1208
    public void setTableLevel(byte field_68_tableLevel)
1617
    public void setTableLevel(byte field_77_tableLevel)
1209
    {
1618
    {
1210
        this.field_68_tableLevel = field_68_tableLevel;
1619
        this.field_77_tableLevel = field_77_tableLevel;
1211
    }
1620
    }
1212
1621
1213
    /**
1622
    /**
Lines 1215-1229 Link Here
1215
     */
1624
     */
1216
    public byte getFTtpEmbedded()
1625
    public byte getFTtpEmbedded()
1217
    {
1626
    {
1218
        return field_69_fTtpEmbedded;
1627
        return field_78_fTtpEmbedded;
1219
    }
1628
    }
1220
1629
1221
    /**
1630
    /**
1222
     * Set the fTtpEmbedded field for the PAP record.
1631
     * Set the fTtpEmbedded field for the PAP record.
1223
     */
1632
     */
1224
    public void setFTtpEmbedded(byte field_69_fTtpEmbedded)
1633
    public void setFTtpEmbedded(byte field_78_fTtpEmbedded)
1225
    {
1634
    {
1226
        this.field_69_fTtpEmbedded = field_69_fTtpEmbedded;
1635
        this.field_78_fTtpEmbedded = field_78_fTtpEmbedded;
1227
    }
1636
    }
1228
1637
1229
    /**
1638
    /**
Lines 1231-1308 Link Here
1231
     */
1640
     */
1232
    public byte getEmbeddedCellMark()
1641
    public byte getEmbeddedCellMark()
1233
    {
1642
    {
1234
        return field_70_embeddedCellMark;
1643
        return field_79_embeddedCellMark;
1235
    }
1644
    }
1236
1645
1237
    /**
1646
    /**
1238
     * Set the embeddedCellMark field for the PAP record.
1647
     * Set the embeddedCellMark field for the PAP record.
1239
     */
1648
     */
1240
    public void setEmbeddedCellMark(byte field_70_embeddedCellMark)
1649
    public void setEmbeddedCellMark(byte field_79_embeddedCellMark)
1241
    {
1650
    {
1242
        this.field_70_embeddedCellMark = field_70_embeddedCellMark;
1651
        this.field_79_embeddedCellMark = field_79_embeddedCellMark;
1243
    }
1652
    }
1244
1653
1245
    /**
1654
    /**
1246
     * Sets the fVertical field value.
1655
     * Sets the fVertical field value.
1247
     *
1656
     * 
1248
     */
1657
     */
1249
    public void setFVertical(boolean value)
1658
    public void setFVertical(boolean value)
1250
    {
1659
    {
1251
        field_35_fontAlign = (short)fVertical.setBoolean(field_35_fontAlign, value);
1660
        field_40_fontAlign = (short)fVertical.setBoolean(field_40_fontAlign, value);
1252
1253
1661
1662
        
1254
    }
1663
    }
1255
1664
1256
    /**
1665
    /**
1257
     *
1666
     * 
1258
     * @return  the fVertical field value.
1667
     * @return  the fVertical field value.
1259
     */
1668
     */
1260
    public boolean isFVertical()
1669
    public boolean isFVertical()
1261
    {
1670
    {
1262
        return fVertical.isSet(field_35_fontAlign);
1671
        return fVertical.isSet(field_40_fontAlign);
1263
1672
        
1264
    }
1673
    }
1265
1674
1266
    /**
1675
    /**
1267
     * Sets the fBackward field value.
1676
     * Sets the fBackward field value.
1268
     *
1677
     * 
1269
     */
1678
     */
1270
    public void setFBackward(boolean value)
1679
    public void setFBackward(boolean value)
1271
    {
1680
    {
1272
        field_35_fontAlign = (short)fBackward.setBoolean(field_35_fontAlign, value);
1681
        field_40_fontAlign = (short)fBackward.setBoolean(field_40_fontAlign, value);
1273
1682
1274
1683
        
1275
    }
1684
    }
1276
1685
1277
    /**
1686
    /**
1278
     *
1687
     * 
1279
     * @return  the fBackward field value.
1688
     * @return  the fBackward field value.
1280
     */
1689
     */
1281
    public boolean isFBackward()
1690
    public boolean isFBackward()
1282
    {
1691
    {
1283
        return fBackward.isSet(field_35_fontAlign);
1692
        return fBackward.isSet(field_40_fontAlign);
1284
1693
        
1285
    }
1694
    }
1286
1695
1287
    /**
1696
    /**
1288
     * Sets the fRotateFont field value.
1697
     * Sets the fRotateFont field value.
1289
     *
1698
     * 
1290
     */
1699
     */
1291
    public void setFRotateFont(boolean value)
1700
    public void setFRotateFont(boolean value)
1292
    {
1701
    {
1293
        field_35_fontAlign = (short)fRotateFont.setBoolean(field_35_fontAlign, value);
1702
        field_40_fontAlign = (short)fRotateFont.setBoolean(field_40_fontAlign, value);
1294
1703
1295
1704
        
1296
    }
1705
    }
1297
1706
1298
    /**
1707
    /**
1299
     *
1708
     * 
1300
     * @return  the fRotateFont field value.
1709
     * @return  the fRotateFont field value.
1301
     */
1710
     */
1302
    public boolean isFRotateFont()
1711
    public boolean isFRotateFont()
1303
    {
1712
    {
1304
        return fRotateFont.isSet(field_35_fontAlign);
1713
        return fRotateFont.isSet(field_40_fontAlign);
1305
1714
        
1306
    }
1715
    }
1307
1716
1308
1717
(-)src/org/apache/poi/hwpf/usermodel/ParagraphProperties.java (-243 / +212 lines)
Lines 19-321 Link Here
19
19
20
import org.apache.poi.hwpf.model.types.PAPAbstractType;
20
import org.apache.poi.hwpf.model.types.PAPAbstractType;
21
21
22
public final class ParagraphProperties extends PAPAbstractType implements Cloneable {
22
public final class ParagraphProperties extends PAPAbstractType implements
23
        Cloneable {
24
25
    private boolean jcLogical = false;
26
    
27
    public ParagraphProperties() {
28
        setLspd(new LineSpacingDescriptor());
29
        setPhe(new byte[12]);
30
        setBrcTop(new BorderCode());
31
        setBrcLeft(new BorderCode());
32
        setBrcBottom(new BorderCode());
33
        setBrcRight(new BorderCode());
34
        setBrcBetween(new BorderCode());
35
        setBrcBar(new BorderCode());
36
        setAnld(new byte[84]);
23
37
24
  public ParagraphProperties()
38
        setWidowControl(true);
25
  {
39
        getLspd().setMultiLinespace((short) 1);
26
    field_21_lspd = new LineSpacingDescriptor();
40
        getLspd().setDyaLine((short) 240);
27
    field_24_phe = new byte[12];
41
        setLvl((byte) 9);
28
    field_46_brcTop = new BorderCode();
42
        setRgdxaTab(new int[0]);
29
    field_47_brcLeft = new BorderCode();
43
        setRgtbd(new byte[0]);
30
    field_48_brcBottom = new BorderCode();
44
        setDttmPropRMark(new DateAndTime());
31
    field_49_brcRight = new BorderCode();
45
    }
32
    field_50_brcBetween = new BorderCode();
33
    field_51_brcBar = new BorderCode();
34
    field_60_anld = new byte[84];
35
    this.field_17_fWidowControl = 1;
36
    this.field_21_lspd.setMultiLinespace((short)1);
37
    this.field_21_lspd.setDyaLine((short)240);
38
    this.field_58_lvl = (byte)9;
39
    this.field_66_rgdxaTab = new int[0];
40
    this.field_67_rgtbd = new byte[0];
41
    this.field_63_dttmPropRMark = new DateAndTime();
42
46
43
  }
47
    public int getJustification() {
48
        if (jcLogical) {
49
            if (getFBiDi() == 0) {
50
                return getJc();
51
            }
44
52
45
  public int getJustification()
53
            switch (getJc()) {
46
  {
54
            case 0:
47
    return super.getJc();
55
                return 2;
48
  }
56
            case 2:
57
                return 0;
58
            default:
59
                return getJc();
60
            }
61
        }
49
62
50
  public void setJustification(byte jc)
63
        return getJc();
51
  {
64
    }
52
    super.setJc(jc);
53
  }
54
65
55
  public boolean keepOnPage()
66
    public void setJustification(byte jc) {
56
  {
67
        super.setJc(jc);
57
    return super.getFKeep() != 0;
68
        this.jcLogical = false;
58
  }
69
    }
59
70
60
  public void setKeepOnPage(boolean fKeep)
71
    public void setJustificationLogical(byte jc) {
61
  {
72
        super.setJc(jc);
62
    super.setFKeep((byte)(fKeep ? 1 : 0));
73
        this.jcLogical = true;
63
  }
74
    }
64
75
65
  public boolean keepWithNext()
76
    public boolean keepOnPage() {
66
  {
77
        return super.getFKeep() != 0;
67
    return super.getFKeepFollow() != 0;
78
    }
68
  }
69
79
70
  public void setKeepWithNext(boolean fKeepFollow)
80
    public void setKeepOnPage(boolean fKeep) {
71
  {
81
        super.setFKeep((byte) (fKeep ? 1 : 0));
72
    super.setFKeepFollow((byte)(fKeepFollow ? 1 : 0));
82
    }
73
  }
74
83
75
  public boolean pageBreakBefore()
84
    public boolean keepWithNext() {
76
  {
85
        return super.getFKeepFollow() != 0;
77
    return super.getFPageBreakBefore() != 0;
86
    }
78
  }
79
87
80
  public void setPageBreakBefore(boolean fPageBreak)
88
    public void setKeepWithNext(boolean fKeepFollow) {
81
  {
89
        super.setFKeepFollow((byte) (fKeepFollow ? 1 : 0));
82
    super.setFPageBreakBefore((byte)(fPageBreak ? 1 : 0));
90
    }
83
  }
84
91
85
  public boolean isLineNotNumbered()
92
    public boolean pageBreakBefore() {
86
  {
93
        return super.getFPageBreakBefore() != 0;
87
    return super.getFNoLnn() != 0;
94
    }
88
  }
89
95
90
  public void setLineNotNumbered(boolean fNoLnn)
96
    public void setPageBreakBefore(boolean fPageBreak) {
91
  {
97
        super.setFPageBreakBefore((byte) (fPageBreak ? 1 : 0));
92
    super.setFNoLnn((byte)(fNoLnn ? 1 : 0));
98
    }
93
  }
94
99
95
  public boolean isSideBySide()
100
    public boolean isLineNotNumbered() {
96
  {
101
        return super.getFNoLnn() != 0;
97
    return super.getFSideBySide() != 0;
102
    }
98
  }
99
103
100
  public void setSideBySide(boolean fSideBySide)
104
    public void setLineNotNumbered(boolean fNoLnn) {
101
  {
105
        super.setFNoLnn((byte) (fNoLnn ? 1 : 0));
102
    super.setFSideBySide((byte)(fSideBySide ? 1 : 0));
106
    }
103
  }
104
107
105
  public boolean isAutoHyphenated()
108
    public boolean isSideBySide() {
106
  {
109
        return super.getFSideBySide() != 0;
107
    return super.getFNoAutoHyph() == 0;
110
    }
108
  }
109
111
110
  public void setAutoHyphenated(boolean auto)
112
    public void setSideBySide(boolean fSideBySide) {
111
  {
113
        super.setFSideBySide((byte) (fSideBySide ? 1 : 0));
112
    super.setFNoAutoHyph((byte)(!auto ? 1 : 0));
114
    }
113
  }
114
115
115
  public boolean isWidowControlled()
116
    public boolean isAutoHyphenated() {
116
  {
117
        return super.getFNoAutoHyph() == 0;
117
    return super.getFWidowControl() != 0;
118
    }
118
  }
119
119
120
  public void setWidowControl(boolean widowControl)
120
    public void setAutoHyphenated(boolean auto) {
121
  {
121
        super.setFNoAutoHyph((byte) (!auto ? 1 : 0));
122
    super.setFWidowControl((byte)(widowControl ? 1 : 0));
122
    }
123
  }
124
123
125
  public int getIndentFromRight()
124
    public boolean isWidowControlled() {
126
  {
125
        return super.getFWidowControl() != 0;
127
    return super.getDxaRight();
126
    }
128
  }
129
127
130
  public void setIndentFromRight(int dxaRight)
128
    public void setWidowControl(boolean widowControl) {
131
  {
129
        super.setFWidowControl((byte) (widowControl ? 1 : 0));
132
    super.setDxaRight(dxaRight);
130
    }
133
  }
134
131
135
  public int getIndentFromLeft()
132
    public int getIndentFromRight() {
136
  {
133
        return super.getDxaRight();
137
    return super.getDxaLeft();
134
    }
138
  }
139
135
140
  public void setIndentFromLeft(int dxaLeft)
136
    public void setIndentFromRight(int dxaRight) {
141
  {
137
        super.setDxaRight(dxaRight);
142
    super.setDxaLeft(dxaLeft);
138
    }
143
  }
144
139
145
  public int getFirstLineIndent()
140
    public int getIndentFromLeft() {
146
  {
141
        return super.getDxaLeft();
147
    return super.getDxaLeft1();
142
    }
148
  }
149
143
150
  public void setFirstLineIndent(int first)
144
    public void setIndentFromLeft(int dxaLeft) {
151
  {
145
        super.setDxaLeft(dxaLeft);
152
    super.setDxaLeft1(first);
146
    }
153
  }
154
147
155
  public LineSpacingDescriptor getLineSpacing()
148
    public int getFirstLineIndent() {
156
  {
149
        return super.getDxaLeft1();
157
    return super.getLspd();
150
    }
158
  }
159
151
160
  public void setLineSpacing(LineSpacingDescriptor lspd)
152
    public void setFirstLineIndent(int first) {
161
  {
153
        super.setDxaLeft1(first);
162
    super.setLspd(lspd);
154
    }
163
  }
164
155
165
  public int getSpacingBefore()
156
    public LineSpacingDescriptor getLineSpacing() {
166
  {
157
        return super.getLspd();
167
    return super.getDyaBefore();
158
    }
168
  }
169
159
170
  public void setSpacingBefore(int before)
160
    public void setLineSpacing(LineSpacingDescriptor lspd) {
171
  {
161
        super.setLspd(lspd);
172
    super.setDyaBefore(before);
162
    }
173
  }
174
163
175
  public int getSpacingAfter()
164
    public int getSpacingBefore() {
176
  {
165
        return super.getDyaBefore();
177
    return super.getDyaAfter();
166
    }
178
  }
179
167
180
  public void setSpacingAfter(int after)
168
    public void setSpacingBefore(int before) {
181
  {
169
        super.setDyaBefore(before);
182
    super.setDyaAfter(after);
170
    }
183
  }
184
171
185
  public boolean isKinsoku()
172
    public int getSpacingAfter() {
186
  {
173
        return super.getDyaAfter();
187
    return super.getFKinsoku() != 0;
174
    }
188
  }
189
175
190
  public void setKinsoku(boolean kinsoku)
176
    public void setSpacingAfter(int after) {
191
  {
177
        super.setDyaAfter(after);
192
    super.setFKinsoku((byte)(kinsoku ? 1 : 0));
178
    }
193
  }
194
179
195
  public boolean isWordWrapped()
180
    public boolean isKinsoku() {
196
  {
181
        return super.getFKinsoku() != 0;
197
    return super.getFWordWrap() != 0;
182
    }
198
  }
199
183
200
  public void setWordWrapped(boolean wrap)
184
    public void setKinsoku(boolean kinsoku) {
201
  {
185
        super.setFKinsoku((byte) (kinsoku ? 1 : 0));
202
    super.setFWordWrap((byte)(wrap ? 1 : 0));
186
    }
203
  }
204
187
205
  public int getFontAlignment()
188
    public boolean isWordWrapped() {
206
  {
189
        return super.getFWordWrap() != 0;
207
    return super.getWAlignFont();
190
    }
208
  }
209
191
210
  public void setFontAlignment(int align)
192
    public void setWordWrapped(boolean wrap) {
211
  {
193
        super.setFWordWrap((byte) (wrap ? 1 : 0));
212
    super.setWAlignFont(align);
194
    }
213
  }
214
195
215
  public boolean isVertical()
196
    public int getFontAlignment() {
216
  {
197
        return super.getWAlignFont();
217
    return super.isFVertical();
198
    }
218
  }
219
199
220
  public void setVertical(boolean vertical)
200
    public void setFontAlignment(int align) {
221
  {
201
        super.setWAlignFont(align);
222
    super.setFVertical(vertical);
202
    }
223
  }
224
203
225
  public boolean isBackward()
204
    public boolean isVertical() {
226
  {
205
        return super.isFVertical();
227
    return super.isFBackward();
206
    }
228
  }
229
207
230
  public void setBackward(boolean bward)
208
    public void setVertical(boolean vertical) {
231
  {
209
        super.setFVertical(vertical);
232
    super.setFBackward(bward);
210
    }
233
  }
234
211
235
  public BorderCode getTopBorder()
212
    public boolean isBackward() {
236
  {
213
        return super.isFBackward();
237
    return super.getBrcTop();
214
    }
238
  }
239
215
240
  public void setTopBorder(BorderCode top)
216
    public void setBackward(boolean bward) {
241
  {
217
        super.setFBackward(bward);
242
    super.setBrcTop(top);
218
    }
243
  }
244
219
245
  public BorderCode getLeftBorder()
220
    public BorderCode getTopBorder() {
246
  {
221
        return super.getBrcTop();
247
    return super.getBrcLeft();
222
    }
248
  }
249
223
250
  public void setLeftBorder(BorderCode left)
224
    public void setTopBorder(BorderCode top) {
251
  {
225
        super.setBrcTop(top);
252
    super.setBrcLeft(left);
226
    }
253
  }
254
227
255
  public BorderCode getBottomBorder()
228
    public BorderCode getLeftBorder() {
256
  {
229
        return super.getBrcLeft();
257
    return super.getBrcBottom();
230
    }
258
  }
259
231
260
  public void setBottomBorder(BorderCode bottom)
232
    public void setLeftBorder(BorderCode left) {
261
  {
233
        super.setBrcLeft(left);
262
    super.setBrcBottom(bottom);
234
    }
263
  }
264
235
265
  public BorderCode getRightBorder()
236
    public BorderCode getBottomBorder() {
266
  {
237
        return super.getBrcBottom();
267
    return super.getBrcRight();
238
    }
268
  }
269
239
270
  public void setRightBorder(BorderCode right)
240
    public void setBottomBorder(BorderCode bottom) {
271
  {
241
        super.setBrcBottom(bottom);
272
    super.setBrcRight(right);
242
    }
273
  }
274
243
275
  public BorderCode getBarBorder()
244
    public BorderCode getRightBorder() {
276
  {
245
        return super.getBrcRight();
277
    return super.getBrcBar();
246
    }
278
  }
279
247
280
  public void setBarBorder(BorderCode bar)
248
    public void setRightBorder(BorderCode right) {
281
  {
249
        super.setBrcRight(right);
282
    super.setBrcBar(bar);
250
    }
283
  }
284
251
285
  public ShadingDescriptor getShading()
252
    public BorderCode getBarBorder() {
286
  {
253
        return super.getBrcBar();
287
    return super.getShd();
254
    }
288
  }
289
255
290
  public void setShading(ShadingDescriptor shd)
256
    public void setBarBorder(BorderCode bar) {
291
  {
257
        super.setBrcBar(bar);
292
    super.setShd(shd);
258
    }
293
  }
294
259
295
  public DropCapSpecifier getDropCap()
260
    public ShadingDescriptor getShading() {
296
  {
261
        return super.getShd();
297
    return super.getDcs();
262
    }
298
  }
299
263
300
  public void setDropCap(DropCapSpecifier dcs)
264
    public void setShading(ShadingDescriptor shd) {
301
  {
265
        super.setShd(shd);
302
    super.setDcs(dcs);
266
    }
303
  }
304
267
305
  public Object clone()
268
    public DropCapSpecifier getDropCap() {
306
    throws CloneNotSupportedException
269
        return super.getDcs();
307
  {
270
    }
308
    ParagraphProperties pp = (ParagraphProperties)super.clone();
271
309
    pp.field_21_lspd = (LineSpacingDescriptor)field_21_lspd.clone();
272
    public void setDropCap(DropCapSpecifier dcs) {
310
    pp.field_24_phe = field_24_phe.clone();
273
        super.setDcs(dcs);
311
    pp.field_46_brcTop = (BorderCode)field_46_brcTop.clone();
274
    }
312
    pp.field_47_brcLeft = (BorderCode)field_47_brcLeft.clone();
275
313
    pp.field_48_brcBottom = (BorderCode)field_48_brcBottom.clone();
276
    public Object clone() throws CloneNotSupportedException {
314
    pp.field_49_brcRight = (BorderCode)field_49_brcRight.clone();
277
        ParagraphProperties pp = (ParagraphProperties) super.clone();
315
    pp.field_50_brcBetween = (BorderCode)field_50_brcBetween.clone();
278
        pp.setLspd((LineSpacingDescriptor) this.getLspd().clone());
316
    pp.field_51_brcBar = (BorderCode)field_51_brcBar.clone();
279
        pp.setPhe(getPhe().clone());
317
    pp.field_60_anld = field_60_anld.clone();
280
        pp.setBrcTop((BorderCode) getBrcTop().clone());
318
    return pp;
281
        pp.setBrcLeft((BorderCode) getBrcLeft().clone());
319
  }
282
        pp.setBrcBottom((BorderCode) getBrcBottom().clone());
283
        pp.setBrcRight((BorderCode) getBrcRight().clone());
284
        pp.setBrcBetween((BorderCode) getBrcBetween().clone());
285
        pp.setBrcBar((BorderCode) getBrcBar().clone());
286
        pp.setAnld(getAnld().clone());
287
        return pp;
288
    }
320
289
321
}
290
}

Return to bug 51389