From a35f7f3072ff7959450c09b69def1fb867469675 Mon Sep 17 00:00:00 2001 From: Said Ryan Ackley Date: Fri, 3 May 2002 01:55:06 +0000 Subject: [PATCH] latest generated type git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352589 13f79535-47bb-0310-9956-ffa450edef68 --- .../hdftypes/definitions/CHPAbstractType.java | 692 ++++++++++++------ .../hdftypes/definitions/PAPAbstractType.java | 467 +++++++----- .../hdftypes/definitions/SEPAbstractType.java | 116 +-- .../hdftypes/definitions/TAPAbstractType.java | 125 +++- .../hdftypes/definitions/TCAbstractType.java | 24 +- 5 files changed, 924 insertions(+), 500 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/CHPAbstractType.java b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/CHPAbstractType.java index 6030006075..9eae264cf5 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/CHPAbstractType.java +++ b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/CHPAbstractType.java @@ -75,7 +75,8 @@ public abstract class CHPAbstractType implements HDFType { - private int field_1_format_flags; + private short field_1_chse; + private int field_2_format_flags; private BitField fBold = new BitField(0x0001); private BitField fItalic = new BitField(0x0002); private BitField fRMarkDel = new BitField(0x0004); @@ -92,46 +93,58 @@ public abstract class CHPAbstractType private BitField fLowerCase = new BitField(0x2000); private BitField fData = new BitField(0x4000); private BitField fOle2 = new BitField(0x8000); - private int field_2_format_flags1; + private int field_3_format_flags1; private BitField fEmboss = new BitField(0x0001); private BitField fImprint = new BitField(0x0002); private BitField fDStrike = new BitField(0x0004); private BitField fUsePgsuSettings = new BitField(0x0008); - private int field_3_ftcAscii; - private int field_4_ftcFE; - private int field_5_ftcOther; - private int field_6_hps; - private int field_7_dxaSpace; - private int field_8_iss; - private int field_9_kul; - private int field_10_ico; - private int field_11_hpsPos; - private int field_12_lidDefault; - private int field_13_lidFE; - private int field_14_idctHint; - private int field_15_wCharScale; - private int field_16_FC; - private int field_17_ibstRMark; - private int field_18_ibstRMarkDel; - private int field_19_istd; - private int field_20_ftcSym; - private int field_21_xchSym; - private int field_22_idslRMReason; - private int field_23_idslReasonDel; - private int field_24_ysr; - private int field_25_chYsr; - private int field_26_hpsKern; - private int field_27_icoHighlight; - private int field_28_fHighlight; - private int field_29_fPropMark; - private int field_30_ibstPropRMark; - private int field_31_dttmPropRMark; - private int field_32_sfxtText; - private int field_33_fDispFldRMark; - private int field_34_ibstDispFldRMark; - private int field_35_dttmDispFldRMark; - private int field_36_shd; - private int field_37_brc; + private int field_4_ftcAscii; + private int field_5_ftcFE; + private int field_6_ftcOther; + private int field_7_hps; + private int field_8_dxaSpace; + private byte field_9_iss; + private byte field_10_kul; + private byte field_11_ico; + private int field_12_hpsPos; + private int field_13_lidDefault; + private int field_14_lidFE; + private byte field_15_idctHint; + private int field_16_wCharScale; + private int field_17_fcPic; + private int field_18_fcObj; + private int field_19_lTagObj; + private int field_20_ibstRMark; + private int field_21_ibstRMarkDel; + private short[] field_22_dttmRMark; + private short[] field_23_dttmRMarkDel; + private int field_24_istd; + private int field_25_baseIstd; + private int field_26_ftcSym; + private int field_27_xchSym; + private int field_28_idslRMReason; + private int field_29_idslReasonDel; + private byte field_30_ysr; + private byte field_31_chYsr; + private int field_32_hpsKern; + private short field_33_Highlight; + private BitField icoHighlight = new BitField(0x001f); + private BitField fHighlight = new BitField(0x0020); + private BitField kcd = new BitField(0x01c0); + private BitField fNavHighlight = new BitField(0x0200); + private BitField fChsDiff = new BitField(0x0400); + private BitField fMacChs = new BitField(0x0800); + private BitField fFtcAsciSym = new BitField(0x1000); + private short field_34_fPropMark; + private int field_35_ibstPropRMark; + private int field_36_dttmPropRMark; + private byte field_37_sfxtText; + private byte field_38_fDispFldRMark; + private int field_39_ibstDispFldRMark; + private int field_40_dttmDispFldRMark; + private byte[] field_41_xstDispFldRMark; + private int field_42_shd; + private short[] field_43_brc; public CHPAbstractType() @@ -144,25 +157,41 @@ public abstract class CHPAbstractType */ public int getSize() { - return 4 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 1 + 1 + 1 + 2 + 2 + 2 + 1 + 2 + 4 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 1 + 1 + 2 + 1 + 1 + 2 + 2 + 4 + 1 + 1 + 2 + 4 + 2 + 2; + return 4 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 1 + 1 + 1 + 2 + 2 + 2 + 1 + 2 + 4 + 4 + 4 + 2 + 2 + 4 + 4 + 2 + 2 + 2 + 2 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 2 + 4 + 1 + 1 + 2 + 4 + 32 + 2 + 4; } + /** + * Get the chse field for the CHP record. + */ + public short getChse() + { + return field_1_chse; + } + + /** + * Set the chse field for the CHP record. + */ + public void setChse(short field_1_chse) + { + this.field_1_chse = field_1_chse; + } + /** * Get the format_flags field for the CHP record. */ public int getFormat_flags() { - return field_1_format_flags; + return field_2_format_flags; } /** * Set the format_flags field for the CHP record. */ - public void setFormat_flags(int field_1_format_flags) + public void setFormat_flags(int field_2_format_flags) { - this.field_1_format_flags = field_1_format_flags; + this.field_2_format_flags = field_2_format_flags; } /** @@ -170,15 +199,15 @@ public abstract class CHPAbstractType */ public int getFormat_flags1() { - return field_2_format_flags1; + return field_3_format_flags1; } /** * Set the format_flags1 field for the CHP record. */ - public void setFormat_flags1(int field_2_format_flags1) + public void setFormat_flags1(int field_3_format_flags1) { - this.field_2_format_flags1 = field_2_format_flags1; + this.field_3_format_flags1 = field_3_format_flags1; } /** @@ -186,15 +215,15 @@ public abstract class CHPAbstractType */ public int getFtcAscii() { - return field_3_ftcAscii; + return field_4_ftcAscii; } /** * Set the ftcAscii field for the CHP record. */ - public void setFtcAscii(int field_3_ftcAscii) + public void setFtcAscii(int field_4_ftcAscii) { - this.field_3_ftcAscii = field_3_ftcAscii; + this.field_4_ftcAscii = field_4_ftcAscii; } /** @@ -202,15 +231,15 @@ public abstract class CHPAbstractType */ public int getFtcFE() { - return field_4_ftcFE; + return field_5_ftcFE; } /** * Set the ftcFE field for the CHP record. */ - public void setFtcFE(int field_4_ftcFE) + public void setFtcFE(int field_5_ftcFE) { - this.field_4_ftcFE = field_4_ftcFE; + this.field_5_ftcFE = field_5_ftcFE; } /** @@ -218,15 +247,15 @@ public abstract class CHPAbstractType */ public int getFtcOther() { - return field_5_ftcOther; + return field_6_ftcOther; } /** * Set the ftcOther field for the CHP record. */ - public void setFtcOther(int field_5_ftcOther) + public void setFtcOther(int field_6_ftcOther) { - this.field_5_ftcOther = field_5_ftcOther; + this.field_6_ftcOther = field_6_ftcOther; } /** @@ -234,15 +263,15 @@ public abstract class CHPAbstractType */ public int getHps() { - return field_6_hps; + return field_7_hps; } /** * Set the hps field for the CHP record. */ - public void setHps(int field_6_hps) + public void setHps(int field_7_hps) { - this.field_6_hps = field_6_hps; + this.field_7_hps = field_7_hps; } /** @@ -250,63 +279,63 @@ public abstract class CHPAbstractType */ public int getDxaSpace() { - return field_7_dxaSpace; + return field_8_dxaSpace; } /** * Set the dxaSpace field for the CHP record. */ - public void setDxaSpace(int field_7_dxaSpace) + public void setDxaSpace(int field_8_dxaSpace) { - this.field_7_dxaSpace = field_7_dxaSpace; + this.field_8_dxaSpace = field_8_dxaSpace; } /** * Get the iss field for the CHP record. */ - public int getIss() + public byte getIss() { - return field_8_iss; + return field_9_iss; } /** * Set the iss field for the CHP record. */ - public void setIss(int field_8_iss) + public void setIss(byte field_9_iss) { - this.field_8_iss = field_8_iss; + this.field_9_iss = field_9_iss; } /** * Get the kul field for the CHP record. */ - public int getKul() + public byte getKul() { - return field_9_kul; + return field_10_kul; } /** * Set the kul field for the CHP record. */ - public void setKul(int field_9_kul) + public void setKul(byte field_10_kul) { - this.field_9_kul = field_9_kul; + this.field_10_kul = field_10_kul; } /** * Get the ico field for the CHP record. */ - public int getIco() + public byte getIco() { - return field_10_ico; + return field_11_ico; } /** * Set the ico field for the CHP record. */ - public void setIco(int field_10_ico) + public void setIco(byte field_11_ico) { - this.field_10_ico = field_10_ico; + this.field_11_ico = field_11_ico; } /** @@ -314,15 +343,15 @@ public abstract class CHPAbstractType */ public int getHpsPos() { - return field_11_hpsPos; + return field_12_hpsPos; } /** * Set the hpsPos field for the CHP record. */ - public void setHpsPos(int field_11_hpsPos) + public void setHpsPos(int field_12_hpsPos) { - this.field_11_hpsPos = field_11_hpsPos; + this.field_12_hpsPos = field_12_hpsPos; } /** @@ -330,15 +359,15 @@ public abstract class CHPAbstractType */ public int getLidDefault() { - return field_12_lidDefault; + return field_13_lidDefault; } /** * Set the lidDefault field for the CHP record. */ - public void setLidDefault(int field_12_lidDefault) + public void setLidDefault(int field_13_lidDefault) { - this.field_12_lidDefault = field_12_lidDefault; + this.field_13_lidDefault = field_13_lidDefault; } /** @@ -346,31 +375,31 @@ public abstract class CHPAbstractType */ public int getLidFE() { - return field_13_lidFE; + return field_14_lidFE; } /** * Set the lidFE field for the CHP record. */ - public void setLidFE(int field_13_lidFE) + public void setLidFE(int field_14_lidFE) { - this.field_13_lidFE = field_13_lidFE; + this.field_14_lidFE = field_14_lidFE; } /** * Get the idctHint field for the CHP record. */ - public int getIdctHint() + public byte getIdctHint() { - return field_14_idctHint; + return field_15_idctHint; } /** * Set the idctHint field for the CHP record. */ - public void setIdctHint(int field_14_idctHint) + public void setIdctHint(byte field_15_idctHint) { - this.field_14_idctHint = field_14_idctHint; + this.field_15_idctHint = field_15_idctHint; } /** @@ -378,31 +407,63 @@ public abstract class CHPAbstractType */ public int getWCharScale() { - return field_15_wCharScale; + return field_16_wCharScale; } /** * Set the wCharScale field for the CHP record. */ - public void setWCharScale(int field_15_wCharScale) + public void setWCharScale(int field_16_wCharScale) { - this.field_15_wCharScale = field_15_wCharScale; + this.field_16_wCharScale = field_16_wCharScale; } /** - * Get the FC field for the CHP record. + * Get the fcPic field for the CHP record. */ - public int getFC() + public int getFcPic() { - return field_16_FC; + return field_17_fcPic; } /** - * Set the FC field for the CHP record. + * Set the fcPic field for the CHP record. */ - public void setFC(int field_16_FC) + public void setFcPic(int field_17_fcPic) { - this.field_16_FC = field_16_FC; + this.field_17_fcPic = field_17_fcPic; + } + + /** + * Get the fcObj field for the CHP record. + */ + public int getFcObj() + { + return field_18_fcObj; + } + + /** + * Set the fcObj field for the CHP record. + */ + public void setFcObj(int field_18_fcObj) + { + this.field_18_fcObj = field_18_fcObj; + } + + /** + * Get the lTagObj field for the CHP record. + */ + public int getLTagObj() + { + return field_19_lTagObj; + } + + /** + * Set the lTagObj field for the CHP record. + */ + public void setLTagObj(int field_19_lTagObj) + { + this.field_19_lTagObj = field_19_lTagObj; } /** @@ -410,15 +471,15 @@ public abstract class CHPAbstractType */ public int getIbstRMark() { - return field_17_ibstRMark; + return field_20_ibstRMark; } /** * Set the ibstRMark field for the CHP record. */ - public void setIbstRMark(int field_17_ibstRMark) + public void setIbstRMark(int field_20_ibstRMark) { - this.field_17_ibstRMark = field_17_ibstRMark; + this.field_20_ibstRMark = field_20_ibstRMark; } /** @@ -426,15 +487,47 @@ public abstract class CHPAbstractType */ public int getIbstRMarkDel() { - return field_18_ibstRMarkDel; + return field_21_ibstRMarkDel; } /** * Set the ibstRMarkDel field for the CHP record. */ - public void setIbstRMarkDel(int field_18_ibstRMarkDel) + public void setIbstRMarkDel(int field_21_ibstRMarkDel) { - this.field_18_ibstRMarkDel = field_18_ibstRMarkDel; + this.field_21_ibstRMarkDel = field_21_ibstRMarkDel; + } + + /** + * Get the dttmRMark field for the CHP record. + */ + public short[] getDttmRMark() + { + return field_22_dttmRMark; + } + + /** + * Set the dttmRMark field for the CHP record. + */ + public void setDttmRMark(short[] field_22_dttmRMark) + { + this.field_22_dttmRMark = field_22_dttmRMark; + } + + /** + * Get the dttmRMarkDel field for the CHP record. + */ + public short[] getDttmRMarkDel() + { + return field_23_dttmRMarkDel; + } + + /** + * Set the dttmRMarkDel field for the CHP record. + */ + public void setDttmRMarkDel(short[] field_23_dttmRMarkDel) + { + this.field_23_dttmRMarkDel = field_23_dttmRMarkDel; } /** @@ -442,15 +535,31 @@ public abstract class CHPAbstractType */ public int getIstd() { - return field_19_istd; + return field_24_istd; } /** * Set the istd field for the CHP record. */ - public void setIstd(int field_19_istd) + public void setIstd(int field_24_istd) { - this.field_19_istd = field_19_istd; + this.field_24_istd = field_24_istd; + } + + /** + * Get the baseIstd field for the CHP record. + */ + public int getBaseIstd() + { + return field_25_baseIstd; + } + + /** + * Set the baseIstd field for the CHP record. + */ + public void setBaseIstd(int field_25_baseIstd) + { + this.field_25_baseIstd = field_25_baseIstd; } /** @@ -458,15 +567,15 @@ public abstract class CHPAbstractType */ public int getFtcSym() { - return field_20_ftcSym; + return field_26_ftcSym; } /** * Set the ftcSym field for the CHP record. */ - public void setFtcSym(int field_20_ftcSym) + public void setFtcSym(int field_26_ftcSym) { - this.field_20_ftcSym = field_20_ftcSym; + this.field_26_ftcSym = field_26_ftcSym; } /** @@ -474,15 +583,15 @@ public abstract class CHPAbstractType */ public int getXchSym() { - return field_21_xchSym; + return field_27_xchSym; } /** * Set the xchSym field for the CHP record. */ - public void setXchSym(int field_21_xchSym) + public void setXchSym(int field_27_xchSym) { - this.field_21_xchSym = field_21_xchSym; + this.field_27_xchSym = field_27_xchSym; } /** @@ -490,15 +599,15 @@ public abstract class CHPAbstractType */ public int getIdslRMReason() { - return field_22_idslRMReason; + return field_28_idslRMReason; } /** * Set the idslRMReason field for the CHP record. */ - public void setIdslRMReason(int field_22_idslRMReason) + public void setIdslRMReason(int field_28_idslRMReason) { - this.field_22_idslRMReason = field_22_idslRMReason; + this.field_28_idslRMReason = field_28_idslRMReason; } /** @@ -506,47 +615,47 @@ public abstract class CHPAbstractType */ public int getIdslReasonDel() { - return field_23_idslReasonDel; + return field_29_idslReasonDel; } /** * Set the idslReasonDel field for the CHP record. */ - public void setIdslReasonDel(int field_23_idslReasonDel) + public void setIdslReasonDel(int field_29_idslReasonDel) { - this.field_23_idslReasonDel = field_23_idslReasonDel; + this.field_29_idslReasonDel = field_29_idslReasonDel; } /** * Get the ysr field for the CHP record. */ - public int getYsr() + public byte getYsr() { - return field_24_ysr; + return field_30_ysr; } /** * Set the ysr field for the CHP record. */ - public void setYsr(int field_24_ysr) + public void setYsr(byte field_30_ysr) { - this.field_24_ysr = field_24_ysr; + this.field_30_ysr = field_30_ysr; } /** * Get the chYsr field for the CHP record. */ - public int getChYsr() + public byte getChYsr() { - return field_25_chYsr; + return field_31_chYsr; } /** * Set the chYsr field for the CHP record. */ - public void setChYsr(int field_25_chYsr) + public void setChYsr(byte field_31_chYsr) { - this.field_25_chYsr = field_25_chYsr; + this.field_31_chYsr = field_31_chYsr; } /** @@ -554,63 +663,47 @@ public abstract class CHPAbstractType */ public int getHpsKern() { - return field_26_hpsKern; + return field_32_hpsKern; } /** * Set the hpsKern field for the CHP record. */ - public void setHpsKern(int field_26_hpsKern) + public void setHpsKern(int field_32_hpsKern) { - this.field_26_hpsKern = field_26_hpsKern; + this.field_32_hpsKern = field_32_hpsKern; } /** - * Get the icoHighlight field for the CHP record. + * Get the Highlight field for the CHP record. */ - public int getIcoHighlight() + public short getHighlight() { - return field_27_icoHighlight; + return field_33_Highlight; } /** - * Set the icoHighlight field for the CHP record. + * Set the Highlight field for the CHP record. */ - public void setIcoHighlight(int field_27_icoHighlight) + public void setHighlight(short field_33_Highlight) { - this.field_27_icoHighlight = field_27_icoHighlight; - } - - /** - * Get the fHighlight field for the CHP record. - */ - public int getFHighlight() - { - return field_28_fHighlight; - } - - /** - * Set the fHighlight field for the CHP record. - */ - public void setFHighlight(int field_28_fHighlight) - { - this.field_28_fHighlight = field_28_fHighlight; + this.field_33_Highlight = field_33_Highlight; } /** * Get the fPropMark field for the CHP record. */ - public int getFPropMark() + public short getFPropMark() { - return field_29_fPropMark; + return field_34_fPropMark; } /** * Set the fPropMark field for the CHP record. */ - public void setFPropMark(int field_29_fPropMark) + public void setFPropMark(short field_34_fPropMark) { - this.field_29_fPropMark = field_29_fPropMark; + this.field_34_fPropMark = field_34_fPropMark; } /** @@ -618,15 +711,15 @@ public abstract class CHPAbstractType */ public int getIbstPropRMark() { - return field_30_ibstPropRMark; + return field_35_ibstPropRMark; } /** * Set the ibstPropRMark field for the CHP record. */ - public void setIbstPropRMark(int field_30_ibstPropRMark) + public void setIbstPropRMark(int field_35_ibstPropRMark) { - this.field_30_ibstPropRMark = field_30_ibstPropRMark; + this.field_35_ibstPropRMark = field_35_ibstPropRMark; } /** @@ -634,47 +727,47 @@ public abstract class CHPAbstractType */ public int getDttmPropRMark() { - return field_31_dttmPropRMark; + return field_36_dttmPropRMark; } /** * Set the dttmPropRMark field for the CHP record. */ - public void setDttmPropRMark(int field_31_dttmPropRMark) + public void setDttmPropRMark(int field_36_dttmPropRMark) { - this.field_31_dttmPropRMark = field_31_dttmPropRMark; + this.field_36_dttmPropRMark = field_36_dttmPropRMark; } /** * Get the sfxtText field for the CHP record. */ - public int getSfxtText() + public byte getSfxtText() { - return field_32_sfxtText; + return field_37_sfxtText; } /** * Set the sfxtText field for the CHP record. */ - public void setSfxtText(int field_32_sfxtText) + public void setSfxtText(byte field_37_sfxtText) { - this.field_32_sfxtText = field_32_sfxtText; + this.field_37_sfxtText = field_37_sfxtText; } /** * Get the fDispFldRMark field for the CHP record. */ - public int getFDispFldRMark() + public byte getFDispFldRMark() { - return field_33_fDispFldRMark; + return field_38_fDispFldRMark; } /** * Set the fDispFldRMark field for the CHP record. */ - public void setFDispFldRMark(int field_33_fDispFldRMark) + public void setFDispFldRMark(byte field_38_fDispFldRMark) { - this.field_33_fDispFldRMark = field_33_fDispFldRMark; + this.field_38_fDispFldRMark = field_38_fDispFldRMark; } /** @@ -682,15 +775,15 @@ public abstract class CHPAbstractType */ public int getIbstDispFldRMark() { - return field_34_ibstDispFldRMark; + return field_39_ibstDispFldRMark; } /** * Set the ibstDispFldRMark field for the CHP record. */ - public void setIbstDispFldRMark(int field_34_ibstDispFldRMark) + public void setIbstDispFldRMark(int field_39_ibstDispFldRMark) { - this.field_34_ibstDispFldRMark = field_34_ibstDispFldRMark; + this.field_39_ibstDispFldRMark = field_39_ibstDispFldRMark; } /** @@ -698,15 +791,31 @@ public abstract class CHPAbstractType */ public int getDttmDispFldRMark() { - return field_35_dttmDispFldRMark; + return field_40_dttmDispFldRMark; } /** * Set the dttmDispFldRMark field for the CHP record. */ - public void setDttmDispFldRMark(int field_35_dttmDispFldRMark) + public void setDttmDispFldRMark(int field_40_dttmDispFldRMark) { - this.field_35_dttmDispFldRMark = field_35_dttmDispFldRMark; + this.field_40_dttmDispFldRMark = field_40_dttmDispFldRMark; + } + + /** + * Get the xstDispFldRMark field for the CHP record. + */ + public byte[] getXstDispFldRMark() + { + return field_41_xstDispFldRMark; + } + + /** + * Set the xstDispFldRMark field for the CHP record. + */ + public void setXstDispFldRMark(byte[] field_41_xstDispFldRMark) + { + this.field_41_xstDispFldRMark = field_41_xstDispFldRMark; } /** @@ -714,31 +823,31 @@ public abstract class CHPAbstractType */ public int getShd() { - return field_36_shd; + return field_42_shd; } /** * Set the shd field for the CHP record. */ - public void setShd(int field_36_shd) + public void setShd(int field_42_shd) { - this.field_36_shd = field_36_shd; + this.field_42_shd = field_42_shd; } /** * Get the brc field for the CHP record. */ - public int getBrc() + public short[] getBrc() { - return field_37_brc; + return field_43_brc; } /** * Set the brc field for the CHP record. */ - public void setBrc(int field_37_brc) + public void setBrc(short[] field_43_brc) { - this.field_37_brc = field_37_brc; + this.field_43_brc = field_43_brc; } /** @@ -747,7 +856,7 @@ public abstract class CHPAbstractType */ public void setFBold(boolean value) { - field_1_format_flags = (int)fBold.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fBold.setBoolean(field_2_format_flags, value); } @@ -758,7 +867,7 @@ public abstract class CHPAbstractType */ public boolean isFBold() { - return fBold.isSet(field_1_format_flags); + return fBold.isSet(field_2_format_flags); } @@ -768,7 +877,7 @@ public abstract class CHPAbstractType */ public void setFItalic(boolean value) { - field_1_format_flags = (int)fItalic.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fItalic.setBoolean(field_2_format_flags, value); } @@ -779,7 +888,7 @@ public abstract class CHPAbstractType */ public boolean isFItalic() { - return fItalic.isSet(field_1_format_flags); + return fItalic.isSet(field_2_format_flags); } @@ -789,7 +898,7 @@ public abstract class CHPAbstractType */ public void setFRMarkDel(boolean value) { - field_1_format_flags = (int)fRMarkDel.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fRMarkDel.setBoolean(field_2_format_flags, value); } @@ -800,7 +909,7 @@ public abstract class CHPAbstractType */ public boolean isFRMarkDel() { - return fRMarkDel.isSet(field_1_format_flags); + return fRMarkDel.isSet(field_2_format_flags); } @@ -810,7 +919,7 @@ public abstract class CHPAbstractType */ public void setFOutline(boolean value) { - field_1_format_flags = (int)fOutline.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fOutline.setBoolean(field_2_format_flags, value); } @@ -821,7 +930,7 @@ public abstract class CHPAbstractType */ public boolean isFOutline() { - return fOutline.isSet(field_1_format_flags); + return fOutline.isSet(field_2_format_flags); } @@ -831,7 +940,7 @@ public abstract class CHPAbstractType */ public void setFFldVanish(boolean value) { - field_1_format_flags = (int)fFldVanish.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fFldVanish.setBoolean(field_2_format_flags, value); } @@ -842,7 +951,7 @@ public abstract class CHPAbstractType */ public boolean isFFldVanish() { - return fFldVanish.isSet(field_1_format_flags); + return fFldVanish.isSet(field_2_format_flags); } @@ -852,7 +961,7 @@ public abstract class CHPAbstractType */ public void setFSmallCaps(boolean value) { - field_1_format_flags = (int)fSmallCaps.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fSmallCaps.setBoolean(field_2_format_flags, value); } @@ -863,7 +972,7 @@ public abstract class CHPAbstractType */ public boolean isFSmallCaps() { - return fSmallCaps.isSet(field_1_format_flags); + return fSmallCaps.isSet(field_2_format_flags); } @@ -873,7 +982,7 @@ public abstract class CHPAbstractType */ public void setFCaps(boolean value) { - field_1_format_flags = (int)fCaps.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fCaps.setBoolean(field_2_format_flags, value); } @@ -884,7 +993,7 @@ public abstract class CHPAbstractType */ public boolean isFCaps() { - return fCaps.isSet(field_1_format_flags); + return fCaps.isSet(field_2_format_flags); } @@ -894,7 +1003,7 @@ public abstract class CHPAbstractType */ public void setFVanish(boolean value) { - field_1_format_flags = (int)fVanish.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fVanish.setBoolean(field_2_format_flags, value); } @@ -905,7 +1014,7 @@ public abstract class CHPAbstractType */ public boolean isFVanish() { - return fVanish.isSet(field_1_format_flags); + return fVanish.isSet(field_2_format_flags); } @@ -915,7 +1024,7 @@ public abstract class CHPAbstractType */ public void setFRMark(boolean value) { - field_1_format_flags = (int)fRMark.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fRMark.setBoolean(field_2_format_flags, value); } @@ -926,7 +1035,7 @@ public abstract class CHPAbstractType */ public boolean isFRMark() { - return fRMark.isSet(field_1_format_flags); + return fRMark.isSet(field_2_format_flags); } @@ -936,7 +1045,7 @@ public abstract class CHPAbstractType */ public void setFSpec(boolean value) { - field_1_format_flags = (int)fSpec.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fSpec.setBoolean(field_2_format_flags, value); } @@ -947,7 +1056,7 @@ public abstract class CHPAbstractType */ public boolean isFSpec() { - return fSpec.isSet(field_1_format_flags); + return fSpec.isSet(field_2_format_flags); } @@ -957,7 +1066,7 @@ public abstract class CHPAbstractType */ public void setFStrike(boolean value) { - field_1_format_flags = (int)fStrike.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fStrike.setBoolean(field_2_format_flags, value); } @@ -968,7 +1077,7 @@ public abstract class CHPAbstractType */ public boolean isFStrike() { - return fStrike.isSet(field_1_format_flags); + return fStrike.isSet(field_2_format_flags); } @@ -978,7 +1087,7 @@ public abstract class CHPAbstractType */ public void setFObj(boolean value) { - field_1_format_flags = (int)fObj.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fObj.setBoolean(field_2_format_flags, value); } @@ -989,7 +1098,7 @@ public abstract class CHPAbstractType */ public boolean isFObj() { - return fObj.isSet(field_1_format_flags); + return fObj.isSet(field_2_format_flags); } @@ -999,7 +1108,7 @@ public abstract class CHPAbstractType */ public void setFShadow(boolean value) { - field_1_format_flags = (int)fShadow.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fShadow.setBoolean(field_2_format_flags, value); } @@ -1010,7 +1119,7 @@ public abstract class CHPAbstractType */ public boolean isFShadow() { - return fShadow.isSet(field_1_format_flags); + return fShadow.isSet(field_2_format_flags); } @@ -1020,7 +1129,7 @@ public abstract class CHPAbstractType */ public void setFLowerCase(boolean value) { - field_1_format_flags = (int)fLowerCase.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fLowerCase.setBoolean(field_2_format_flags, value); } @@ -1031,7 +1140,7 @@ public abstract class CHPAbstractType */ public boolean isFLowerCase() { - return fLowerCase.isSet(field_1_format_flags); + return fLowerCase.isSet(field_2_format_flags); } @@ -1041,7 +1150,7 @@ public abstract class CHPAbstractType */ public void setFData(boolean value) { - field_1_format_flags = (int)fData.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fData.setBoolean(field_2_format_flags, value); } @@ -1052,7 +1161,7 @@ public abstract class CHPAbstractType */ public boolean isFData() { - return fData.isSet(field_1_format_flags); + return fData.isSet(field_2_format_flags); } @@ -1062,7 +1171,7 @@ public abstract class CHPAbstractType */ public void setFOle2(boolean value) { - field_1_format_flags = (int)fOle2.setBoolean(field_1_format_flags, value); + field_2_format_flags = (int)fOle2.setBoolean(field_2_format_flags, value); } @@ -1073,7 +1182,7 @@ public abstract class CHPAbstractType */ public boolean isFOle2() { - return fOle2.isSet(field_1_format_flags); + return fOle2.isSet(field_2_format_flags); } @@ -1083,7 +1192,7 @@ public abstract class CHPAbstractType */ public void setFEmboss(boolean value) { - field_2_format_flags1 = (int)fEmboss.setBoolean(field_2_format_flags1, value); + field_3_format_flags1 = (int)fEmboss.setBoolean(field_3_format_flags1, value); } @@ -1094,7 +1203,7 @@ public abstract class CHPAbstractType */ public boolean isFEmboss() { - return fEmboss.isSet(field_2_format_flags1); + return fEmboss.isSet(field_3_format_flags1); } @@ -1104,7 +1213,7 @@ public abstract class CHPAbstractType */ public void setFImprint(boolean value) { - field_2_format_flags1 = (int)fImprint.setBoolean(field_2_format_flags1, value); + field_3_format_flags1 = (int)fImprint.setBoolean(field_3_format_flags1, value); } @@ -1115,7 +1224,7 @@ public abstract class CHPAbstractType */ public boolean isFImprint() { - return fImprint.isSet(field_2_format_flags1); + return fImprint.isSet(field_3_format_flags1); } @@ -1125,7 +1234,7 @@ public abstract class CHPAbstractType */ public void setFDStrike(boolean value) { - field_2_format_flags1 = (int)fDStrike.setBoolean(field_2_format_flags1, value); + field_3_format_flags1 = (int)fDStrike.setBoolean(field_3_format_flags1, value); } @@ -1136,7 +1245,7 @@ public abstract class CHPAbstractType */ public boolean isFDStrike() { - return fDStrike.isSet(field_2_format_flags1); + return fDStrike.isSet(field_3_format_flags1); } @@ -1146,7 +1255,7 @@ public abstract class CHPAbstractType */ public void setFUsePgsuSettings(boolean value) { - field_2_format_flags1 = (int)fUsePgsuSettings.setBoolean(field_2_format_flags1, value); + field_3_format_flags1 = (int)fUsePgsuSettings.setBoolean(field_3_format_flags1, value); } @@ -1157,7 +1266,154 @@ public abstract class CHPAbstractType */ public boolean isFUsePgsuSettings() { - return fUsePgsuSettings.isSet(field_2_format_flags1); + return fUsePgsuSettings.isSet(field_3_format_flags1); + + } + + /** + * Sets the icoHighlight field value. + * + */ + public void setIcoHighlight(byte value) + { + field_33_Highlight = (short)icoHighlight.setValue(field_33_Highlight, value); + + + } + + /** + * + * @return the icoHighlight field value. + */ + public byte getIcoHighlight() + { + return ( byte )icoHighlight.getValue(field_33_Highlight); + + } + + /** + * Sets the fHighlight field value. + * + */ + public void setFHighlight(boolean value) + { + field_33_Highlight = (short)fHighlight.setBoolean(field_33_Highlight, value); + + + } + + /** + * + * @return the fHighlight field value. + */ + public boolean isFHighlight() + { + return fHighlight.isSet(field_33_Highlight); + + } + + /** + * Sets the kcd field value. + * + */ + public void setKcd(byte value) + { + field_33_Highlight = (short)kcd.setValue(field_33_Highlight, value); + + + } + + /** + * + * @return the kcd field value. + */ + public byte getKcd() + { + return ( byte )kcd.getValue(field_33_Highlight); + + } + + /** + * Sets the fNavHighlight field value. + * + */ + public void setFNavHighlight(boolean value) + { + field_33_Highlight = (short)fNavHighlight.setBoolean(field_33_Highlight, value); + + + } + + /** + * + * @return the fNavHighlight field value. + */ + public boolean isFNavHighlight() + { + return fNavHighlight.isSet(field_33_Highlight); + + } + + /** + * Sets the fChsDiff field value. + * + */ + public void setFChsDiff(boolean value) + { + field_33_Highlight = (short)fChsDiff.setBoolean(field_33_Highlight, value); + + + } + + /** + * + * @return the fChsDiff field value. + */ + public boolean isFChsDiff() + { + return fChsDiff.isSet(field_33_Highlight); + + } + + /** + * Sets the fMacChs field value. + * + */ + public void setFMacChs(boolean value) + { + field_33_Highlight = (short)fMacChs.setBoolean(field_33_Highlight, value); + + + } + + /** + * + * @return the fMacChs field value. + */ + public boolean isFMacChs() + { + return fMacChs.isSet(field_33_Highlight); + + } + + /** + * Sets the fFtcAsciSym field value. + * + */ + public void setFFtcAsciSym(boolean value) + { + field_33_Highlight = (short)fFtcAsciSym.setBoolean(field_33_Highlight, value); + + + } + + /** + * + * @return the fFtcAsciSym field value. + */ + public boolean isFFtcAsciSym() + { + return fFtcAsciSym.isSet(field_33_Highlight); } diff --git a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/PAPAbstractType.java b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/PAPAbstractType.java index 29d01ea17d..96a0946117 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/PAPAbstractType.java +++ b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/PAPAbstractType.java @@ -89,7 +89,7 @@ public abstract class PAPAbstractType private byte field_12_ilvl; private byte field_13_fNoLnn; private int field_14_ilfo; - private byte field_15_fSideBiSide; + private byte field_15_fSideBySide; private byte field_16_fNoAutoHyph; private byte field_17_fWidowControl; private int field_18_dxaRight; @@ -97,50 +97,54 @@ public abstract class PAPAbstractType private int field_20_dxaLeft1; private short[] field_21_lspd; private int field_22_dyaBefore; - private byte[] field_23_phe; - private byte field_24_fCrLf; - private byte field_25_fUsePgsuSettings; - private byte field_26_fAdjustRight; - private byte field_27_fKinsoku; - private byte field_28_fWordWrap; - private byte field_29_fOverflowPunct; - private byte field_30_fTopLinePunct; - private byte field_31_fAutoSpaceDE; - private byte field_32_fAtuoSpaceDN; - private int field_33_wAlignFont; - private byte field_34_fVertical; - private byte field_35_fBackward; - private byte field_36_fRotateFont; - private byte field_37_fInTable; - private byte field_38_fTtp; - private byte field_39_wr; - private byte field_40_fLocked; - private byte[] field_41_ptap; - private int field_42_dxaAbs; - private int field_43_dyaAbs; - private int field_44_dxaWidth; - private short[] field_45_brcTop; - private short[] field_46_brcLeft; - private short[] field_47_brcBottom; - private short[] field_48_brcRight; - private short[] field_49_brcBetween; - private short[] field_50_brcBar; - private int field_51_dxaFromText; - private int field_52_dyaFromText; - private int field_53_dyaHeight; - private byte field_54_fMinHeight; - private byte[] field_55_shd; - private byte[] field_56_dcs; - private byte field_57_lvl; - private byte field_58_fNumRMIns; - private byte[] field_59_anld; - private int field_60_fPropRMark; - private int field_61_ibstPropRMark; - private byte[] field_62_dttmPropRMark; - private byte[] field_63_numrm; - private int field_64_itbdMac; - private byte[] field_65_rgdxaTab; - private byte[] field_66_rgtbd; + private int field_23_dyaAfter; + private byte[] field_24_phe; + private byte field_25_fCrLf; + private byte field_26_fUsePgsuSettings; + private byte field_27_fAdjustRight; + private byte field_28_fKinsoku; + private byte field_29_fWordWrap; + private byte field_30_fOverflowPunct; + private byte field_31_fTopLinePunct; + private byte field_32_fAutoSpaceDE; + private byte field_33_fAutoSpaceDN; + private int field_34_wAlignFont; + private short field_35_fontAlign; + private BitField fVertical = new BitField(0x0001); + private BitField fBackward = new BitField(0x0002); + private BitField fRotateFont = new BitField(0x0004); + private byte field_36_fBackward; + private byte field_37_fRotateFont; + private byte field_38_fInTable; + private byte field_39_fTtp; + private byte field_40_wr; + private byte field_41_fLocked; + private byte[] field_42_ptap; + private int field_43_dxaAbs; + private int field_44_dyaAbs; + private int field_45_dxaWidth; + private short[] field_46_brcTop; + private short[] field_47_brcLeft; + private short[] field_48_brcBottom; + private short[] field_49_brcRight; + private short[] field_50_brcBetween; + private short[] field_51_brcBar; + private int field_52_dxaFromText; + private int field_53_dyaFromText; + private int field_54_dyaHeight; + private byte field_55_fMinHeight; + private short field_56_shd; + private short field_57_dcs; + private byte field_58_lvl; + private byte field_59_fNumRMIns; + private byte[] field_60_anld; + private int field_61_fPropRMark; + private int field_62_ibstPropRMark; + private byte[] field_63_dttmPropRMark; + private byte[] field_64_numrm; + private int field_65_itbdMac; + private byte[] field_66_rgdxaTab; + private byte[] field_67_rgtbd; public PAPAbstractType() @@ -153,7 +157,7 @@ public abstract class PAPAbstractType */ public int getSize() { - return 4 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 1 + 1 + 4 + 4 + 4 + 4 + 4 + 12 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 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; + 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; } @@ -383,19 +387,19 @@ public abstract class PAPAbstractType } /** - * Get the fSideBiSide field for the PAP record. + * Get the fSideBySide field for the PAP record. */ - public byte getFSideBiSide() + public byte getFSideBySide() { - return field_15_fSideBiSide; + return field_15_fSideBySide; } /** - * Set the fSideBiSide field for the PAP record. + * Set the fSideBySide field for the PAP record. */ - public void setFSideBiSide(byte field_15_fSideBiSide) + public void setFSideBySide(byte field_15_fSideBySide) { - this.field_15_fSideBiSide = field_15_fSideBiSide; + this.field_15_fSideBySide = field_15_fSideBySide; } /** @@ -510,20 +514,36 @@ public abstract class PAPAbstractType this.field_22_dyaBefore = field_22_dyaBefore; } + /** + * Get the dyaAfter field for the PAP record. + */ + public int getDyaAfter() + { + return field_23_dyaAfter; + } + + /** + * Set the dyaAfter field for the PAP record. + */ + public void setDyaAfter(int field_23_dyaAfter) + { + this.field_23_dyaAfter = field_23_dyaAfter; + } + /** * Get the phe field for the PAP record. */ public byte[] getPhe() { - return field_23_phe; + return field_24_phe; } /** * Set the phe field for the PAP record. */ - public void setPhe(byte[] field_23_phe) + public void setPhe(byte[] field_24_phe) { - this.field_23_phe = field_23_phe; + this.field_24_phe = field_24_phe; } /** @@ -531,15 +551,15 @@ public abstract class PAPAbstractType */ public byte getFCrLf() { - return field_24_fCrLf; + return field_25_fCrLf; } /** * Set the fCrLf field for the PAP record. */ - public void setFCrLf(byte field_24_fCrLf) + public void setFCrLf(byte field_25_fCrLf) { - this.field_24_fCrLf = field_24_fCrLf; + this.field_25_fCrLf = field_25_fCrLf; } /** @@ -547,15 +567,15 @@ public abstract class PAPAbstractType */ public byte getFUsePgsuSettings() { - return field_25_fUsePgsuSettings; + return field_26_fUsePgsuSettings; } /** * Set the fUsePgsuSettings field for the PAP record. */ - public void setFUsePgsuSettings(byte field_25_fUsePgsuSettings) + public void setFUsePgsuSettings(byte field_26_fUsePgsuSettings) { - this.field_25_fUsePgsuSettings = field_25_fUsePgsuSettings; + this.field_26_fUsePgsuSettings = field_26_fUsePgsuSettings; } /** @@ -563,15 +583,15 @@ public abstract class PAPAbstractType */ public byte getFAdjustRight() { - return field_26_fAdjustRight; + return field_27_fAdjustRight; } /** * Set the fAdjustRight field for the PAP record. */ - public void setFAdjustRight(byte field_26_fAdjustRight) + public void setFAdjustRight(byte field_27_fAdjustRight) { - this.field_26_fAdjustRight = field_26_fAdjustRight; + this.field_27_fAdjustRight = field_27_fAdjustRight; } /** @@ -579,15 +599,15 @@ public abstract class PAPAbstractType */ public byte getFKinsoku() { - return field_27_fKinsoku; + return field_28_fKinsoku; } /** * Set the fKinsoku field for the PAP record. */ - public void setFKinsoku(byte field_27_fKinsoku) + public void setFKinsoku(byte field_28_fKinsoku) { - this.field_27_fKinsoku = field_27_fKinsoku; + this.field_28_fKinsoku = field_28_fKinsoku; } /** @@ -595,15 +615,15 @@ public abstract class PAPAbstractType */ public byte getFWordWrap() { - return field_28_fWordWrap; + return field_29_fWordWrap; } /** * Set the fWordWrap field for the PAP record. */ - public void setFWordWrap(byte field_28_fWordWrap) + public void setFWordWrap(byte field_29_fWordWrap) { - this.field_28_fWordWrap = field_28_fWordWrap; + this.field_29_fWordWrap = field_29_fWordWrap; } /** @@ -611,15 +631,15 @@ public abstract class PAPAbstractType */ public byte getFOverflowPunct() { - return field_29_fOverflowPunct; + return field_30_fOverflowPunct; } /** * Set the fOverflowPunct field for the PAP record. */ - public void setFOverflowPunct(byte field_29_fOverflowPunct) + public void setFOverflowPunct(byte field_30_fOverflowPunct) { - this.field_29_fOverflowPunct = field_29_fOverflowPunct; + this.field_30_fOverflowPunct = field_30_fOverflowPunct; } /** @@ -627,15 +647,15 @@ public abstract class PAPAbstractType */ public byte getFTopLinePunct() { - return field_30_fTopLinePunct; + return field_31_fTopLinePunct; } /** * Set the fTopLinePunct field for the PAP record. */ - public void setFTopLinePunct(byte field_30_fTopLinePunct) + public void setFTopLinePunct(byte field_31_fTopLinePunct) { - this.field_30_fTopLinePunct = field_30_fTopLinePunct; + this.field_31_fTopLinePunct = field_31_fTopLinePunct; } /** @@ -643,31 +663,31 @@ public abstract class PAPAbstractType */ public byte getFAutoSpaceDE() { - return field_31_fAutoSpaceDE; + return field_32_fAutoSpaceDE; } /** * Set the fAutoSpaceDE field for the PAP record. */ - public void setFAutoSpaceDE(byte field_31_fAutoSpaceDE) + public void setFAutoSpaceDE(byte field_32_fAutoSpaceDE) { - this.field_31_fAutoSpaceDE = field_31_fAutoSpaceDE; + this.field_32_fAutoSpaceDE = field_32_fAutoSpaceDE; } /** - * Get the fAtuoSpaceDN field for the PAP record. + * Get the fAutoSpaceDN field for the PAP record. */ - public byte getFAtuoSpaceDN() + public byte getFAutoSpaceDN() { - return field_32_fAtuoSpaceDN; + return field_33_fAutoSpaceDN; } /** - * Set the fAtuoSpaceDN field for the PAP record. + * Set the fAutoSpaceDN field for the PAP record. */ - public void setFAtuoSpaceDN(byte field_32_fAtuoSpaceDN) + public void setFAutoSpaceDN(byte field_33_fAutoSpaceDN) { - this.field_32_fAtuoSpaceDN = field_32_fAtuoSpaceDN; + this.field_33_fAutoSpaceDN = field_33_fAutoSpaceDN; } /** @@ -675,31 +695,31 @@ public abstract class PAPAbstractType */ public int getWAlignFont() { - return field_33_wAlignFont; + return field_34_wAlignFont; } /** * Set the wAlignFont field for the PAP record. */ - public void setWAlignFont(int field_33_wAlignFont) + public void setWAlignFont(int field_34_wAlignFont) { - this.field_33_wAlignFont = field_33_wAlignFont; + this.field_34_wAlignFont = field_34_wAlignFont; } /** - * Get the fVertical field for the PAP record. + * Get the fontAlign field for the PAP record. */ - public byte getFVertical() + public short getFontAlign() { - return field_34_fVertical; + return field_35_fontAlign; } /** - * Set the fVertical field for the PAP record. + * Set the fontAlign field for the PAP record. */ - public void setFVertical(byte field_34_fVertical) + public void setFontAlign(short field_35_fontAlign) { - this.field_34_fVertical = field_34_fVertical; + this.field_35_fontAlign = field_35_fontAlign; } /** @@ -707,15 +727,15 @@ public abstract class PAPAbstractType */ public byte getFBackward() { - return field_35_fBackward; + return field_36_fBackward; } /** * Set the fBackward field for the PAP record. */ - public void setFBackward(byte field_35_fBackward) + public void setFBackward(byte field_36_fBackward) { - this.field_35_fBackward = field_35_fBackward; + this.field_36_fBackward = field_36_fBackward; } /** @@ -723,15 +743,15 @@ public abstract class PAPAbstractType */ public byte getFRotateFont() { - return field_36_fRotateFont; + return field_37_fRotateFont; } /** * Set the fRotateFont field for the PAP record. */ - public void setFRotateFont(byte field_36_fRotateFont) + public void setFRotateFont(byte field_37_fRotateFont) { - this.field_36_fRotateFont = field_36_fRotateFont; + this.field_37_fRotateFont = field_37_fRotateFont; } /** @@ -739,15 +759,15 @@ public abstract class PAPAbstractType */ public byte getFInTable() { - return field_37_fInTable; + return field_38_fInTable; } /** * Set the fInTable field for the PAP record. */ - public void setFInTable(byte field_37_fInTable) + public void setFInTable(byte field_38_fInTable) { - this.field_37_fInTable = field_37_fInTable; + this.field_38_fInTable = field_38_fInTable; } /** @@ -755,15 +775,15 @@ public abstract class PAPAbstractType */ public byte getFTtp() { - return field_38_fTtp; + return field_39_fTtp; } /** * Set the fTtp field for the PAP record. */ - public void setFTtp(byte field_38_fTtp) + public void setFTtp(byte field_39_fTtp) { - this.field_38_fTtp = field_38_fTtp; + this.field_39_fTtp = field_39_fTtp; } /** @@ -771,15 +791,15 @@ public abstract class PAPAbstractType */ public byte getWr() { - return field_39_wr; + return field_40_wr; } /** * Set the wr field for the PAP record. */ - public void setWr(byte field_39_wr) + public void setWr(byte field_40_wr) { - this.field_39_wr = field_39_wr; + this.field_40_wr = field_40_wr; } /** @@ -787,15 +807,15 @@ public abstract class PAPAbstractType */ public byte getFLocked() { - return field_40_fLocked; + return field_41_fLocked; } /** * Set the fLocked field for the PAP record. */ - public void setFLocked(byte field_40_fLocked) + public void setFLocked(byte field_41_fLocked) { - this.field_40_fLocked = field_40_fLocked; + this.field_41_fLocked = field_41_fLocked; } /** @@ -803,15 +823,15 @@ public abstract class PAPAbstractType */ public byte[] getPtap() { - return field_41_ptap; + return field_42_ptap; } /** * Set the ptap field for the PAP record. */ - public void setPtap(byte[] field_41_ptap) + public void setPtap(byte[] field_42_ptap) { - this.field_41_ptap = field_41_ptap; + this.field_42_ptap = field_42_ptap; } /** @@ -819,15 +839,15 @@ public abstract class PAPAbstractType */ public int getDxaAbs() { - return field_42_dxaAbs; + return field_43_dxaAbs; } /** * Set the dxaAbs field for the PAP record. */ - public void setDxaAbs(int field_42_dxaAbs) + public void setDxaAbs(int field_43_dxaAbs) { - this.field_42_dxaAbs = field_42_dxaAbs; + this.field_43_dxaAbs = field_43_dxaAbs; } /** @@ -835,15 +855,15 @@ public abstract class PAPAbstractType */ public int getDyaAbs() { - return field_43_dyaAbs; + return field_44_dyaAbs; } /** * Set the dyaAbs field for the PAP record. */ - public void setDyaAbs(int field_43_dyaAbs) + public void setDyaAbs(int field_44_dyaAbs) { - this.field_43_dyaAbs = field_43_dyaAbs; + this.field_44_dyaAbs = field_44_dyaAbs; } /** @@ -851,15 +871,15 @@ public abstract class PAPAbstractType */ public int getDxaWidth() { - return field_44_dxaWidth; + return field_45_dxaWidth; } /** * Set the dxaWidth field for the PAP record. */ - public void setDxaWidth(int field_44_dxaWidth) + public void setDxaWidth(int field_45_dxaWidth) { - this.field_44_dxaWidth = field_44_dxaWidth; + this.field_45_dxaWidth = field_45_dxaWidth; } /** @@ -867,15 +887,15 @@ public abstract class PAPAbstractType */ public short[] getBrcTop() { - return field_45_brcTop; + return field_46_brcTop; } /** * Set the brcTop field for the PAP record. */ - public void setBrcTop(short[] field_45_brcTop) + public void setBrcTop(short[] field_46_brcTop) { - this.field_45_brcTop = field_45_brcTop; + this.field_46_brcTop = field_46_brcTop; } /** @@ -883,15 +903,15 @@ public abstract class PAPAbstractType */ public short[] getBrcLeft() { - return field_46_brcLeft; + return field_47_brcLeft; } /** * Set the brcLeft field for the PAP record. */ - public void setBrcLeft(short[] field_46_brcLeft) + public void setBrcLeft(short[] field_47_brcLeft) { - this.field_46_brcLeft = field_46_brcLeft; + this.field_47_brcLeft = field_47_brcLeft; } /** @@ -899,15 +919,15 @@ public abstract class PAPAbstractType */ public short[] getBrcBottom() { - return field_47_brcBottom; + return field_48_brcBottom; } /** * Set the brcBottom field for the PAP record. */ - public void setBrcBottom(short[] field_47_brcBottom) + public void setBrcBottom(short[] field_48_brcBottom) { - this.field_47_brcBottom = field_47_brcBottom; + this.field_48_brcBottom = field_48_brcBottom; } /** @@ -915,15 +935,15 @@ public abstract class PAPAbstractType */ public short[] getBrcRight() { - return field_48_brcRight; + return field_49_brcRight; } /** * Set the brcRight field for the PAP record. */ - public void setBrcRight(short[] field_48_brcRight) + public void setBrcRight(short[] field_49_brcRight) { - this.field_48_brcRight = field_48_brcRight; + this.field_49_brcRight = field_49_brcRight; } /** @@ -931,15 +951,15 @@ public abstract class PAPAbstractType */ public short[] getBrcBetween() { - return field_49_brcBetween; + return field_50_brcBetween; } /** * Set the brcBetween field for the PAP record. */ - public void setBrcBetween(short[] field_49_brcBetween) + public void setBrcBetween(short[] field_50_brcBetween) { - this.field_49_brcBetween = field_49_brcBetween; + this.field_50_brcBetween = field_50_brcBetween; } /** @@ -947,15 +967,15 @@ public abstract class PAPAbstractType */ public short[] getBrcBar() { - return field_50_brcBar; + return field_51_brcBar; } /** * Set the brcBar field for the PAP record. */ - public void setBrcBar(short[] field_50_brcBar) + public void setBrcBar(short[] field_51_brcBar) { - this.field_50_brcBar = field_50_brcBar; + this.field_51_brcBar = field_51_brcBar; } /** @@ -963,15 +983,15 @@ public abstract class PAPAbstractType */ public int getDxaFromText() { - return field_51_dxaFromText; + return field_52_dxaFromText; } /** * Set the dxaFromText field for the PAP record. */ - public void setDxaFromText(int field_51_dxaFromText) + public void setDxaFromText(int field_52_dxaFromText) { - this.field_51_dxaFromText = field_51_dxaFromText; + this.field_52_dxaFromText = field_52_dxaFromText; } /** @@ -979,15 +999,15 @@ public abstract class PAPAbstractType */ public int getDyaFromText() { - return field_52_dyaFromText; + return field_53_dyaFromText; } /** * Set the dyaFromText field for the PAP record. */ - public void setDyaFromText(int field_52_dyaFromText) + public void setDyaFromText(int field_53_dyaFromText) { - this.field_52_dyaFromText = field_52_dyaFromText; + this.field_53_dyaFromText = field_53_dyaFromText; } /** @@ -995,15 +1015,15 @@ public abstract class PAPAbstractType */ public int getDyaHeight() { - return field_53_dyaHeight; + return field_54_dyaHeight; } /** * Set the dyaHeight field for the PAP record. */ - public void setDyaHeight(int field_53_dyaHeight) + public void setDyaHeight(int field_54_dyaHeight) { - this.field_53_dyaHeight = field_53_dyaHeight; + this.field_54_dyaHeight = field_54_dyaHeight; } /** @@ -1011,47 +1031,47 @@ public abstract class PAPAbstractType */ public byte getFMinHeight() { - return field_54_fMinHeight; + return field_55_fMinHeight; } /** * Set the fMinHeight field for the PAP record. */ - public void setFMinHeight(byte field_54_fMinHeight) + public void setFMinHeight(byte field_55_fMinHeight) { - this.field_54_fMinHeight = field_54_fMinHeight; + this.field_55_fMinHeight = field_55_fMinHeight; } /** * Get the shd field for the PAP record. */ - public byte[] getShd() + public short getShd() { - return field_55_shd; + return field_56_shd; } /** * Set the shd field for the PAP record. */ - public void setShd(byte[] field_55_shd) + public void setShd(short field_56_shd) { - this.field_55_shd = field_55_shd; + this.field_56_shd = field_56_shd; } /** * Get the dcs field for the PAP record. */ - public byte[] getDcs() + public short getDcs() { - return field_56_dcs; + return field_57_dcs; } /** * Set the dcs field for the PAP record. */ - public void setDcs(byte[] field_56_dcs) + public void setDcs(short field_57_dcs) { - this.field_56_dcs = field_56_dcs; + this.field_57_dcs = field_57_dcs; } /** @@ -1059,15 +1079,15 @@ public abstract class PAPAbstractType */ public byte getLvl() { - return field_57_lvl; + return field_58_lvl; } /** * Set the lvl field for the PAP record. */ - public void setLvl(byte field_57_lvl) + public void setLvl(byte field_58_lvl) { - this.field_57_lvl = field_57_lvl; + this.field_58_lvl = field_58_lvl; } /** @@ -1075,15 +1095,15 @@ public abstract class PAPAbstractType */ public byte getFNumRMIns() { - return field_58_fNumRMIns; + return field_59_fNumRMIns; } /** * Set the fNumRMIns field for the PAP record. */ - public void setFNumRMIns(byte field_58_fNumRMIns) + public void setFNumRMIns(byte field_59_fNumRMIns) { - this.field_58_fNumRMIns = field_58_fNumRMIns; + this.field_59_fNumRMIns = field_59_fNumRMIns; } /** @@ -1091,15 +1111,15 @@ public abstract class PAPAbstractType */ public byte[] getAnld() { - return field_59_anld; + return field_60_anld; } /** * Set the anld field for the PAP record. */ - public void setAnld(byte[] field_59_anld) + public void setAnld(byte[] field_60_anld) { - this.field_59_anld = field_59_anld; + this.field_60_anld = field_60_anld; } /** @@ -1107,15 +1127,15 @@ public abstract class PAPAbstractType */ public int getFPropRMark() { - return field_60_fPropRMark; + return field_61_fPropRMark; } /** * Set the fPropRMark field for the PAP record. */ - public void setFPropRMark(int field_60_fPropRMark) + public void setFPropRMark(int field_61_fPropRMark) { - this.field_60_fPropRMark = field_60_fPropRMark; + this.field_61_fPropRMark = field_61_fPropRMark; } /** @@ -1123,15 +1143,15 @@ public abstract class PAPAbstractType */ public int getIbstPropRMark() { - return field_61_ibstPropRMark; + return field_62_ibstPropRMark; } /** * Set the ibstPropRMark field for the PAP record. */ - public void setIbstPropRMark(int field_61_ibstPropRMark) + public void setIbstPropRMark(int field_62_ibstPropRMark) { - this.field_61_ibstPropRMark = field_61_ibstPropRMark; + this.field_62_ibstPropRMark = field_62_ibstPropRMark; } /** @@ -1139,15 +1159,15 @@ public abstract class PAPAbstractType */ public byte[] getDttmPropRMark() { - return field_62_dttmPropRMark; + return field_63_dttmPropRMark; } /** * Set the dttmPropRMark field for the PAP record. */ - public void setDttmPropRMark(byte[] field_62_dttmPropRMark) + public void setDttmPropRMark(byte[] field_63_dttmPropRMark) { - this.field_62_dttmPropRMark = field_62_dttmPropRMark; + this.field_63_dttmPropRMark = field_63_dttmPropRMark; } /** @@ -1155,15 +1175,15 @@ public abstract class PAPAbstractType */ public byte[] getNumrm() { - return field_63_numrm; + return field_64_numrm; } /** * Set the numrm field for the PAP record. */ - public void setNumrm(byte[] field_63_numrm) + public void setNumrm(byte[] field_64_numrm) { - this.field_63_numrm = field_63_numrm; + this.field_64_numrm = field_64_numrm; } /** @@ -1171,15 +1191,15 @@ public abstract class PAPAbstractType */ public int getItbdMac() { - return field_64_itbdMac; + return field_65_itbdMac; } /** * Set the itbdMac field for the PAP record. */ - public void setItbdMac(int field_64_itbdMac) + public void setItbdMac(int field_65_itbdMac) { - this.field_64_itbdMac = field_64_itbdMac; + this.field_65_itbdMac = field_65_itbdMac; } /** @@ -1187,15 +1207,15 @@ public abstract class PAPAbstractType */ public byte[] getRgdxaTab() { - return field_65_rgdxaTab; + return field_66_rgdxaTab; } /** * Set the rgdxaTab field for the PAP record. */ - public void setRgdxaTab(byte[] field_65_rgdxaTab) + public void setRgdxaTab(byte[] field_66_rgdxaTab) { - this.field_65_rgdxaTab = field_65_rgdxaTab; + this.field_66_rgdxaTab = field_66_rgdxaTab; } /** @@ -1203,15 +1223,78 @@ public abstract class PAPAbstractType */ public byte[] getRgtbd() { - return field_66_rgtbd; + return field_67_rgtbd; } /** * Set the rgtbd field for the PAP record. */ - public void setRgtbd(byte[] field_66_rgtbd) + public void setRgtbd(byte[] field_67_rgtbd) { - this.field_66_rgtbd = field_66_rgtbd; + this.field_67_rgtbd = field_67_rgtbd; + } + + /** + * Sets the fVertical field value. + * + */ + public void setFVertical(boolean value) + { + field_35_fontAlign = (short)fVertical.setBoolean(field_35_fontAlign, value); + + + } + + /** + * + * @return the fVertical field value. + */ + public boolean isFVertical() + { + return fVertical.isSet(field_35_fontAlign); + + } + + /** + * Sets the fBackward field value. + * + */ + public void setFBackward(boolean value) + { + field_35_fontAlign = (short)fBackward.setBoolean(field_35_fontAlign, value); + + + } + + /** + * + * @return the fBackward field value. + */ + public boolean isFBackward() + { + return fBackward.isSet(field_35_fontAlign); + + } + + /** + * Sets the fRotateFont field value. + * + */ + public void setFRotateFont(boolean value) + { + field_35_fontAlign = (short)fRotateFont.setBoolean(field_35_fontAlign, value); + + + } + + /** + * + * @return the fRotateFont field value. + */ + public boolean isFRotateFont() + { + return fRotateFont.isSet(field_35_fontAlign); + } diff --git a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/SEPAbstractType.java b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/SEPAbstractType.java index eaab76a5cf..29c4426766 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/SEPAbstractType.java +++ b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/SEPAbstractType.java @@ -76,29 +76,29 @@ public abstract class SEPAbstractType { private byte field_1_bkc; - private byte field_2_fTitlePage; - private byte field_3_fAutoPgn; + private boolean field_2_fTitlePage; + private boolean field_3_fAutoPgn; private byte field_4_nfcPgn; - private byte field_5_fUnlocked; + private boolean field_5_fUnlocked; private byte field_6_cnsPgn; - private byte field_7_fPgnRestart; - private byte field_8_fEndNote; + private boolean field_7_fPgnRestart; + private boolean field_8_fEndNote; private byte field_9_lnc; - private byte field_10_unused1; + private byte field_10_grpfIhdt; private int field_11_nLnnMod; private int field_12_dxaLnn; private int field_13_dxaPgn; private int field_14_dyaPgn; - private byte field_15_fLBetween; + private boolean field_15_fLBetween; private byte field_16_vjc; private int field_17_dmBinFirst; private int field_18_dmBinOther; private int field_19_dmPaperReq; - private int field_20_brcTop; - private int field_21_brcLeft; - private int field_22_brcBottom; - private int field_23_brcRight; - private int field_24_fPropMark; + private short[] field_20_brcTop; + private short[] field_21_brcLeft; + private short[] field_22_brcBottom; + private short[] field_23_brcRight; + private boolean field_24_fPropMark; private int field_25_ibstPropRMark; private int field_26_dttmPropRMark; private int field_27_dxtCharSpace; @@ -111,7 +111,7 @@ public abstract class SEPAbstractType private int field_34_lnnMin; private int field_35_wTextFlow; private short field_36_unused3; - private int field_37_pgbProb; + private int field_37_pgbProp; private short field_38_unused4; private int field_39_xaPage; private int field_40_yaPage; @@ -125,7 +125,7 @@ public abstract class SEPAbstractType private int field_48_dyaHdrTop; private int field_49_dyaHdrBottom; private int field_50_ccolM1; - private byte field_51_fEvenlySpaced; + private boolean field_51_fEvenlySpaced; private byte field_52_unused5; private int field_53_dxaColumns; private int[] field_54_rgdxaColumn; @@ -133,7 +133,7 @@ public abstract class SEPAbstractType private byte field_56_dmOrientFirst; private byte field_57_fLayout; private short field_58_unused6; - private byte[] field_59_olst; + private byte[] field_59_olstAnm; public SEPAbstractType() @@ -146,7 +146,7 @@ public abstract class SEPAbstractType */ public int getSize() { - return 4 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 4 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 2 + 2 + 4 + 4 + 4 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 1 + 1 + 4 + 356 + 4 + 1 + 1 + 2 + 212; + return 4 + 1 + 0 + 0 + 1 + 0 + 1 + 0 + 0 + 1 + 1 + 2 + 4 + 2 + 2 + 0 + 1 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 0 + 2 + 4 + 4 + 4 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 0 + 1 + 4 + 356 + 4 + 1 + 1 + 2 + 212; } @@ -170,7 +170,7 @@ public abstract class SEPAbstractType /** * Get the fTitlePage field for the SEP record. */ - public byte getFTitlePage() + public boolean getFTitlePage() { return field_2_fTitlePage; } @@ -178,7 +178,7 @@ public abstract class SEPAbstractType /** * Set the fTitlePage field for the SEP record. */ - public void setFTitlePage(byte field_2_fTitlePage) + public void setFTitlePage(boolean field_2_fTitlePage) { this.field_2_fTitlePage = field_2_fTitlePage; } @@ -186,7 +186,7 @@ public abstract class SEPAbstractType /** * Get the fAutoPgn field for the SEP record. */ - public byte getFAutoPgn() + public boolean getFAutoPgn() { return field_3_fAutoPgn; } @@ -194,7 +194,7 @@ public abstract class SEPAbstractType /** * Set the fAutoPgn field for the SEP record. */ - public void setFAutoPgn(byte field_3_fAutoPgn) + public void setFAutoPgn(boolean field_3_fAutoPgn) { this.field_3_fAutoPgn = field_3_fAutoPgn; } @@ -218,7 +218,7 @@ public abstract class SEPAbstractType /** * Get the fUnlocked field for the SEP record. */ - public byte getFUnlocked() + public boolean getFUnlocked() { return field_5_fUnlocked; } @@ -226,7 +226,7 @@ public abstract class SEPAbstractType /** * Set the fUnlocked field for the SEP record. */ - public void setFUnlocked(byte field_5_fUnlocked) + public void setFUnlocked(boolean field_5_fUnlocked) { this.field_5_fUnlocked = field_5_fUnlocked; } @@ -250,7 +250,7 @@ public abstract class SEPAbstractType /** * Get the fPgnRestart field for the SEP record. */ - public byte getFPgnRestart() + public boolean getFPgnRestart() { return field_7_fPgnRestart; } @@ -258,7 +258,7 @@ public abstract class SEPAbstractType /** * Set the fPgnRestart field for the SEP record. */ - public void setFPgnRestart(byte field_7_fPgnRestart) + public void setFPgnRestart(boolean field_7_fPgnRestart) { this.field_7_fPgnRestart = field_7_fPgnRestart; } @@ -266,7 +266,7 @@ public abstract class SEPAbstractType /** * Get the fEndNote field for the SEP record. */ - public byte getFEndNote() + public boolean getFEndNote() { return field_8_fEndNote; } @@ -274,7 +274,7 @@ public abstract class SEPAbstractType /** * Set the fEndNote field for the SEP record. */ - public void setFEndNote(byte field_8_fEndNote) + public void setFEndNote(boolean field_8_fEndNote) { this.field_8_fEndNote = field_8_fEndNote; } @@ -296,19 +296,19 @@ public abstract class SEPAbstractType } /** - * Get the unused1 field for the SEP record. + * Get the grpfIhdt field for the SEP record. */ - public byte getUnused1() + public byte getGrpfIhdt() { - return field_10_unused1; + return field_10_grpfIhdt; } /** - * Set the unused1 field for the SEP record. + * Set the grpfIhdt field for the SEP record. */ - public void setUnused1(byte field_10_unused1) + public void setGrpfIhdt(byte field_10_grpfIhdt) { - this.field_10_unused1 = field_10_unused1; + this.field_10_grpfIhdt = field_10_grpfIhdt; } /** @@ -378,7 +378,7 @@ public abstract class SEPAbstractType /** * Get the fLBetween field for the SEP record. */ - public byte getFLBetween() + public boolean getFLBetween() { return field_15_fLBetween; } @@ -386,7 +386,7 @@ public abstract class SEPAbstractType /** * Set the fLBetween field for the SEP record. */ - public void setFLBetween(byte field_15_fLBetween) + public void setFLBetween(boolean field_15_fLBetween) { this.field_15_fLBetween = field_15_fLBetween; } @@ -458,7 +458,7 @@ public abstract class SEPAbstractType /** * Get the brcTop field for the SEP record. */ - public int getBrcTop() + public short[] getBrcTop() { return field_20_brcTop; } @@ -466,7 +466,7 @@ public abstract class SEPAbstractType /** * Set the brcTop field for the SEP record. */ - public void setBrcTop(int field_20_brcTop) + public void setBrcTop(short[] field_20_brcTop) { this.field_20_brcTop = field_20_brcTop; } @@ -474,7 +474,7 @@ public abstract class SEPAbstractType /** * Get the brcLeft field for the SEP record. */ - public int getBrcLeft() + public short[] getBrcLeft() { return field_21_brcLeft; } @@ -482,7 +482,7 @@ public abstract class SEPAbstractType /** * Set the brcLeft field for the SEP record. */ - public void setBrcLeft(int field_21_brcLeft) + public void setBrcLeft(short[] field_21_brcLeft) { this.field_21_brcLeft = field_21_brcLeft; } @@ -490,7 +490,7 @@ public abstract class SEPAbstractType /** * Get the brcBottom field for the SEP record. */ - public int getBrcBottom() + public short[] getBrcBottom() { return field_22_brcBottom; } @@ -498,7 +498,7 @@ public abstract class SEPAbstractType /** * Set the brcBottom field for the SEP record. */ - public void setBrcBottom(int field_22_brcBottom) + public void setBrcBottom(short[] field_22_brcBottom) { this.field_22_brcBottom = field_22_brcBottom; } @@ -506,7 +506,7 @@ public abstract class SEPAbstractType /** * Get the brcRight field for the SEP record. */ - public int getBrcRight() + public short[] getBrcRight() { return field_23_brcRight; } @@ -514,7 +514,7 @@ public abstract class SEPAbstractType /** * Set the brcRight field for the SEP record. */ - public void setBrcRight(int field_23_brcRight) + public void setBrcRight(short[] field_23_brcRight) { this.field_23_brcRight = field_23_brcRight; } @@ -522,7 +522,7 @@ public abstract class SEPAbstractType /** * Get the fPropMark field for the SEP record. */ - public int getFPropMark() + public boolean getFPropMark() { return field_24_fPropMark; } @@ -530,7 +530,7 @@ public abstract class SEPAbstractType /** * Set the fPropMark field for the SEP record. */ - public void setFPropMark(int field_24_fPropMark) + public void setFPropMark(boolean field_24_fPropMark) { this.field_24_fPropMark = field_24_fPropMark; } @@ -728,19 +728,19 @@ public abstract class SEPAbstractType } /** - * Get the pgbProb field for the SEP record. + * Get the pgbProp field for the SEP record. */ - public int getPgbProb() + public int getPgbProp() { - return field_37_pgbProb; + return field_37_pgbProp; } /** - * Set the pgbProb field for the SEP record. + * Set the pgbProp field for the SEP record. */ - public void setPgbProb(int field_37_pgbProb) + public void setPgbProp(int field_37_pgbProp) { - this.field_37_pgbProb = field_37_pgbProb; + this.field_37_pgbProp = field_37_pgbProp; } /** @@ -954,7 +954,7 @@ public abstract class SEPAbstractType /** * Get the fEvenlySpaced field for the SEP record. */ - public byte getFEvenlySpaced() + public boolean getFEvenlySpaced() { return field_51_fEvenlySpaced; } @@ -962,7 +962,7 @@ public abstract class SEPAbstractType /** * Set the fEvenlySpaced field for the SEP record. */ - public void setFEvenlySpaced(byte field_51_fEvenlySpaced) + public void setFEvenlySpaced(boolean field_51_fEvenlySpaced) { this.field_51_fEvenlySpaced = field_51_fEvenlySpaced; } @@ -1080,19 +1080,19 @@ public abstract class SEPAbstractType } /** - * Get the olst field for the SEP record. + * Get the olstAnm field for the SEP record. */ - public byte[] getOlst() + public byte[] getOlstAnm() { - return field_59_olst; + return field_59_olstAnm; } /** - * Set the olst field for the SEP record. + * Set the olstAnm field for the SEP record. */ - public void setOlst(byte[] field_59_olst) + public void setOlstAnm(byte[] field_59_olstAnm) { - this.field_59_olst = field_59_olst; + this.field_59_olstAnm = field_59_olstAnm; } diff --git a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TAPAbstractType.java b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TAPAbstractType.java index f00680fe13..d21858b249 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TAPAbstractType.java +++ b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TAPAbstractType.java @@ -78,14 +78,19 @@ public abstract class TAPAbstractType private int field_1_jc; private int field_2_dxaGapHalf; private int field_3_dyaRowHeight; - private byte field_4_fCantSplit; - private byte field_5_fTableHeader; + private boolean field_4_fCantSplit; + private boolean field_5_fTableHeader; private int field_6_tlp; - private int field_7_itcMac; + private short field_7_itcMac; private short[] field_8_rgdxaCenter; - private byte[] field_9_rgtc; + private TCAbstractType[] field_9_rgtc; private byte[] field_10_rgshd; - private byte[] field_11_rgbrcTable; + private short[] field_11_brcBottom; + private short[] field_12_brcTop; + private short[] field_13_brcLeft; + private short[] field_14_brcRight; + private short[] field_15_brcVertical; + private short[] field_16_brcHorizontal; public TAPAbstractType() @@ -98,7 +103,7 @@ public abstract class TAPAbstractType */ public int getSize() { - return 4 + 2 + 4 + 4 + 1 + 1 + 4 + 2 + 130 + 0 + 0 + 0; + return 4 + 2 + 4 + 4 + 0 + 0 + 4 + 2 + 130 + 0 + 0 + 4 + 4 + 4 + 4 + 4 + 4; } @@ -154,7 +159,7 @@ public abstract class TAPAbstractType /** * Get the fCantSplit field for the TAP record. */ - public byte getFCantSplit() + public boolean getFCantSplit() { return field_4_fCantSplit; } @@ -162,7 +167,7 @@ public abstract class TAPAbstractType /** * Set the fCantSplit field for the TAP record. */ - public void setFCantSplit(byte field_4_fCantSplit) + public void setFCantSplit(boolean field_4_fCantSplit) { this.field_4_fCantSplit = field_4_fCantSplit; } @@ -170,7 +175,7 @@ public abstract class TAPAbstractType /** * Get the fTableHeader field for the TAP record. */ - public byte getFTableHeader() + public boolean getFTableHeader() { return field_5_fTableHeader; } @@ -178,7 +183,7 @@ public abstract class TAPAbstractType /** * Set the fTableHeader field for the TAP record. */ - public void setFTableHeader(byte field_5_fTableHeader) + public void setFTableHeader(boolean field_5_fTableHeader) { this.field_5_fTableHeader = field_5_fTableHeader; } @@ -202,7 +207,7 @@ public abstract class TAPAbstractType /** * Get the itcMac field for the TAP record. */ - public int getItcMac() + public short getItcMac() { return field_7_itcMac; } @@ -210,7 +215,7 @@ public abstract class TAPAbstractType /** * Set the itcMac field for the TAP record. */ - public void setItcMac(int field_7_itcMac) + public void setItcMac(short field_7_itcMac) { this.field_7_itcMac = field_7_itcMac; } @@ -234,7 +239,7 @@ public abstract class TAPAbstractType /** * Get the rgtc field for the TAP record. */ - public byte[] getRgtc() + public TCAbstractType[] getRgtc() { return field_9_rgtc; } @@ -242,7 +247,7 @@ public abstract class TAPAbstractType /** * Set the rgtc field for the TAP record. */ - public void setRgtc(byte[] field_9_rgtc) + public void setRgtc(TCAbstractType[] field_9_rgtc) { this.field_9_rgtc = field_9_rgtc; } @@ -264,19 +269,99 @@ public abstract class TAPAbstractType } /** - * Get the rgbrcTable field for the TAP record. + * Get the brcBottom field for the TAP record. */ - public byte[] getRgbrcTable() + public short[] getBrcBottom() { - return field_11_rgbrcTable; + return field_11_brcBottom; } /** - * Set the rgbrcTable field for the TAP record. + * Set the brcBottom field for the TAP record. */ - public void setRgbrcTable(byte[] field_11_rgbrcTable) + public void setBrcBottom(short[] field_11_brcBottom) { - this.field_11_rgbrcTable = field_11_rgbrcTable; + this.field_11_brcBottom = field_11_brcBottom; + } + + /** + * Get the brcTop field for the TAP record. + */ + public short[] getBrcTop() + { + return field_12_brcTop; + } + + /** + * Set the brcTop field for the TAP record. + */ + public void setBrcTop(short[] field_12_brcTop) + { + this.field_12_brcTop = field_12_brcTop; + } + + /** + * Get the brcLeft field for the TAP record. + */ + public short[] getBrcLeft() + { + return field_13_brcLeft; + } + + /** + * Set the brcLeft field for the TAP record. + */ + public void setBrcLeft(short[] field_13_brcLeft) + { + this.field_13_brcLeft = field_13_brcLeft; + } + + /** + * Get the brcRight field for the TAP record. + */ + public short[] getBrcRight() + { + return field_14_brcRight; + } + + /** + * Set the brcRight field for the TAP record. + */ + public void setBrcRight(short[] field_14_brcRight) + { + this.field_14_brcRight = field_14_brcRight; + } + + /** + * Get the brcVertical field for the TAP record. + */ + public short[] getBrcVertical() + { + return field_15_brcVertical; + } + + /** + * Set the brcVertical field for the TAP record. + */ + public void setBrcVertical(short[] field_15_brcVertical) + { + this.field_15_brcVertical = field_15_brcVertical; + } + + /** + * Get the brcHorizontal field for the TAP record. + */ + public short[] getBrcHorizontal() + { + return field_16_brcHorizontal; + } + + /** + * Set the brcHorizontal field for the TAP record. + */ + public void setBrcHorizontal(short[] field_16_brcHorizontal) + { + this.field_16_brcHorizontal = field_16_brcHorizontal; } diff --git a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TCAbstractType.java b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TCAbstractType.java index d26733a509..096617cb38 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TCAbstractType.java +++ b/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TCAbstractType.java @@ -85,10 +85,10 @@ public abstract class TCAbstractType private BitField fVertRestart = new BitField(0x0040); private BitField vertAlign = new BitField(0x0180); private short field_2_unused; - private byte[] field_3_brcTop; - private byte[] field_4_brcLeft; - private byte[] field_5_brcBottom; - private byte[] field_6_brcRight; + private short[] field_3_brcTop; + private short[] field_4_brcLeft; + private short[] field_5_brcBottom; + private short[] field_6_brcRight; public TCAbstractType() @@ -141,7 +141,7 @@ public abstract class TCAbstractType /** * Get the brcTop field for the TC record. */ - public byte[] getBrcTop() + public short[] getBrcTop() { return field_3_brcTop; } @@ -149,7 +149,7 @@ public abstract class TCAbstractType /** * Set the brcTop field for the TC record. */ - public void setBrcTop(byte[] field_3_brcTop) + public void setBrcTop(short[] field_3_brcTop) { this.field_3_brcTop = field_3_brcTop; } @@ -157,7 +157,7 @@ public abstract class TCAbstractType /** * Get the brcLeft field for the TC record. */ - public byte[] getBrcLeft() + public short[] getBrcLeft() { return field_4_brcLeft; } @@ -165,7 +165,7 @@ public abstract class TCAbstractType /** * Set the brcLeft field for the TC record. */ - public void setBrcLeft(byte[] field_4_brcLeft) + public void setBrcLeft(short[] field_4_brcLeft) { this.field_4_brcLeft = field_4_brcLeft; } @@ -173,7 +173,7 @@ public abstract class TCAbstractType /** * Get the brcBottom field for the TC record. */ - public byte[] getBrcBottom() + public short[] getBrcBottom() { return field_5_brcBottom; } @@ -181,7 +181,7 @@ public abstract class TCAbstractType /** * Set the brcBottom field for the TC record. */ - public void setBrcBottom(byte[] field_5_brcBottom) + public void setBrcBottom(short[] field_5_brcBottom) { this.field_5_brcBottom = field_5_brcBottom; } @@ -189,7 +189,7 @@ public abstract class TCAbstractType /** * Get the brcRight field for the TC record. */ - public byte[] getBrcRight() + public short[] getBrcRight() { return field_6_brcRight; } @@ -197,7 +197,7 @@ public abstract class TCAbstractType /** * Set the brcRight field for the TC record. */ - public void setBrcRight(byte[] field_6_brcRight) + public void setBrcRight(short[] field_6_brcRight) { this.field_6_brcRight = field_6_brcRight; }