📄 chpabstracttype.java
字号:
/* ==================================================================== Copyright 2002-2004 Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.==================================================================== */ package org.apache.poi.hwpf.model.types;import org.apache.poi.util.BitField;import org.apache.poi.util.LittleEndian;import org.apache.poi.util.StringUtil;import org.apache.poi.util.HexDump;import org.apache.poi.hdf.model.hdftypes.HDFType;import org.apache.poi.hwpf.usermodel.*;/** * Character Properties. * NOTE: This source is automatically generated please do not modify this file. Either subclass or * remove the record in src/records/definitions. * @author S. Ryan Ackley */public abstract class CHPAbstractType implements HDFType{ protected short field_1_chse; protected int field_2_format_flags; private static BitField fBold = new BitField(0x0001); private static BitField fItalic = new BitField(0x0002); private static BitField fRMarkDel = new BitField(0x0004); private static BitField fOutline = new BitField(0x0008); private static BitField fFldVanish = new BitField(0x0010); private static BitField fSmallCaps = new BitField(0x0020); private static BitField fCaps = new BitField(0x0040); private static BitField fVanish = new BitField(0x0080); private static BitField fRMark = new BitField(0x0100); private static BitField fSpec = new BitField(0x0200); private static BitField fStrike = new BitField(0x0400); private static BitField fObj = new BitField(0x0800); private static BitField fShadow = new BitField(0x1000); private static BitField fLowerCase = new BitField(0x2000); private static BitField fData = new BitField(0x4000); private static BitField fOle2 = new BitField(0x8000); protected int field_3_format_flags1; private static BitField fEmboss = new BitField(0x0001); private static BitField fImprint = new BitField(0x0002); private static BitField fDStrike = new BitField(0x0004); private static BitField fUsePgsuSettings = new BitField(0x0008); protected int field_4_ftcAscii; protected int field_5_ftcFE; protected int field_6_ftcOther; protected int field_7_hps; protected int field_8_dxaSpace; protected byte field_9_iss; protected byte field_10_kul; protected byte field_11_ico; protected int field_12_hpsPos; protected int field_13_lidDefault; protected int field_14_lidFE; protected byte field_15_idctHint; protected int field_16_wCharScale; protected int field_17_fcPic; protected int field_18_fcObj; protected int field_19_lTagObj; protected int field_20_ibstRMark; protected int field_21_ibstRMarkDel; protected DateAndTime field_22_dttmRMark; protected DateAndTime field_23_dttmRMarkDel; protected int field_24_istd; protected int field_25_baseIstd; protected int field_26_ftcSym; protected int field_27_xchSym; protected int field_28_idslRMReason; protected int field_29_idslReasonDel; protected byte field_30_ysr; protected byte field_31_chYsr; protected int field_32_hpsKern; protected short field_33_Highlight; private static BitField icoHighlight = new BitField(0x001f); private static BitField fHighlight = new BitField(0x0020); private static BitField kcd = new BitField(0x01c0); private static BitField fNavHighlight = new BitField(0x0200); private static BitField fChsDiff = new BitField(0x0400); private static BitField fMacChs = new BitField(0x0800); private static BitField fFtcAsciSym = new BitField(0x1000); protected short field_34_fPropMark; protected int field_35_ibstPropRMark; protected DateAndTime field_36_dttmPropRMark; protected byte field_37_sfxtText; protected byte field_38_fDispFldRMark; protected int field_39_ibstDispFldRMark; protected DateAndTime field_40_dttmDispFldRMark; protected byte[] field_41_xstDispFldRMark; protected ShadingDescriptor field_42_shd; protected BorderCode field_43_brc; public CHPAbstractType() { } /** * Size of record (exluding 4 byte header) */ public int getSize() { 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_2_format_flags; } /** * Set the format_flags field for the CHP record. */ public void setFormat_flags(int field_2_format_flags) { this.field_2_format_flags = field_2_format_flags; } /** * Get the format_flags1 field for the CHP record. */ public int getFormat_flags1() { return field_3_format_flags1; } /** * Set the format_flags1 field for the CHP record. */ public void setFormat_flags1(int field_3_format_flags1) { this.field_3_format_flags1 = field_3_format_flags1; } /** * Get the ftcAscii field for the CHP record. */ public int getFtcAscii() { return field_4_ftcAscii; } /** * Set the ftcAscii field for the CHP record. */ public void setFtcAscii(int field_4_ftcAscii) { this.field_4_ftcAscii = field_4_ftcAscii; } /** * Get the ftcFE field for the CHP record. */ public int getFtcFE() { return field_5_ftcFE; } /** * Set the ftcFE field for the CHP record. */ public void setFtcFE(int field_5_ftcFE) { this.field_5_ftcFE = field_5_ftcFE; } /** * Get the ftcOther field for the CHP record. */ public int getFtcOther() { return field_6_ftcOther; } /** * Set the ftcOther field for the CHP record. */ public void setFtcOther(int field_6_ftcOther) { this.field_6_ftcOther = field_6_ftcOther; } /** * Get the hps field for the CHP record. */ public int getHps() { return field_7_hps; } /** * Set the hps field for the CHP record. */ public void setHps(int field_7_hps) { this.field_7_hps = field_7_hps; } /** * Get the dxaSpace field for the CHP record. */ public int getDxaSpace() { return field_8_dxaSpace; } /** * Set the dxaSpace field for the CHP record. */ public void setDxaSpace(int field_8_dxaSpace) { this.field_8_dxaSpace = field_8_dxaSpace; } /** * Get the iss field for the CHP record. */ public byte getIss() { return field_9_iss; } /** * Set the iss field for the CHP record. */ public void setIss(byte field_9_iss) { this.field_9_iss = field_9_iss; } /** * Get the kul field for the CHP record. */ public byte getKul() { return field_10_kul; } /** * Set the kul field for the CHP record. */ public void setKul(byte field_10_kul) { this.field_10_kul = field_10_kul; } /** * Get the ico field for the CHP record. */ public byte getIco() { return field_11_ico; } /** * Set the ico field for the CHP record. */ public void setIco(byte field_11_ico) { this.field_11_ico = field_11_ico; } /** * Get the hpsPos field for the CHP record. */ public int getHpsPos() { return field_12_hpsPos; } /** * Set the hpsPos field for the CHP record. */ public void setHpsPos(int field_12_hpsPos) { this.field_12_hpsPos = field_12_hpsPos; } /** * Get the lidDefault field for the CHP record. */ public int getLidDefault() { return field_13_lidDefault; } /** * Set the lidDefault field for the CHP record. */ public void setLidDefault(int field_13_lidDefault) { this.field_13_lidDefault = field_13_lidDefault; } /** * Get the lidFE field for the CHP record. */ public int getLidFE() { return field_14_lidFE; } /** * Set the lidFE field for the CHP record. */ public void setLidFE(int field_14_lidFE) { this.field_14_lidFE = field_14_lidFE; } /** * Get the idctHint field for the CHP record. */ public byte getIdctHint() { return field_15_idctHint; } /** * Set the idctHint field for the CHP record. */ public void setIdctHint(byte field_15_idctHint) { this.field_15_idctHint = field_15_idctHint; } /** * Get the wCharScale field for the CHP record. */ public int getWCharScale() { return field_16_wCharScale; } /** * Set the wCharScale field for the CHP record. */ public void setWCharScale(int field_16_wCharScale) { this.field_16_wCharScale = field_16_wCharScale; } /** * Get the fcPic field for the CHP record. */ public int getFcPic() { return field_17_fcPic; } /** * Set the fcPic field for the CHP record. */ public void setFcPic(int field_17_fcPic) { 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; } /** * Get the ibstRMark field for the CHP record. */ public int getIbstRMark() { return field_20_ibstRMark; } /** * Set the ibstRMark field for the CHP record. */ public void setIbstRMark(int field_20_ibstRMark) { this.field_20_ibstRMark = field_20_ibstRMark; } /** * Get the ibstRMarkDel field for the CHP record. */ public int getIbstRMarkDel() { return field_21_ibstRMarkDel; } /** * Set the ibstRMarkDel field for the CHP record. */ public void setIbstRMarkDel(int field_21_ibstRMarkDel) { this.field_21_ibstRMarkDel = field_21_ibstRMarkDel; } /** * Get the dttmRMark field for the CHP record. */ public DateAndTime getDttmRMark() { return field_22_dttmRMark; } /** * Set the dttmRMark field for the CHP record. */ public void setDttmRMark(DateAndTime field_22_dttmRMark) { this.field_22_dttmRMark = field_22_dttmRMark; } /** * Get the dttmRMarkDel field for the CHP record. */ public DateAndTime getDttmRMarkDel() { return field_23_dttmRMarkDel; } /** * Set the dttmRMarkDel field for the CHP record. */ public void setDttmRMarkDel(DateAndTime field_23_dttmRMarkDel) { this.field_23_dttmRMarkDel = field_23_dttmRMarkDel; } /** * Get the istd field for the CHP record. */ public int getIstd() { return field_24_istd; } /** * Set the istd field for the CHP record. */ public void setIstd(int field_24_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; } /** * Get the ftcSym field for the CHP record. */ public int getFtcSym() { return field_26_ftcSym; } /** * Set the ftcSym field for the CHP record. */ public void setFtcSym(int field_26_ftcSym) { this.field_26_ftcSym = field_26_ftcSym; } /** * Get the xchSym field for the CHP record. */ public int getXchSym() { return field_27_xchSym; } /** * Set the xchSym field for the CHP record. */ public void setXchSym(int field_27_xchSym) { this.field_27_xchSym = field_27_xchSym; } /** * Get the idslRMReason field for the CHP record. */ public int getIdslRMReason() { return field_28_idslRMReason; } /** * Set the idslRMReason field for the CHP record. */ public void setIdslRMReason(int field_28_idslRMReason) { this.field_28_idslRMReason = field_28_idslRMReason; } /** * Get the idslReasonDel field for the CHP record. */ public int getIdslReasonDel() { return field_29_idslReasonDel; } /** * Set the idslReasonDel field for the CHP record. */ public void setIdslReasonDel(int field_29_idslReasonDel) { this.field_29_idslReasonDel = field_29_idslReasonDel; } /** * Get the ysr field for the CHP record. */ public byte getYsr() { return field_30_ysr; } /** * Set the ysr field for the CHP record. */ public void setYsr(byte field_30_ysr) { this.field_30_ysr = field_30_ysr; } /** * Get the chYsr field for the CHP record. */ public byte getChYsr() { return field_31_chYsr; } /** * Set the chYsr field for the CHP record. */ public void setChYsr(byte field_31_chYsr) { this.field_31_chYsr = field_31_chYsr; } /** * Get the hpsKern field for the CHP record. */ public int getHpsKern() { return field_32_hpsKern; } /** * Set the hpsKern field for the CHP record. */ public void setHpsKern(int field_32_hpsKern) { this.field_32_hpsKern = field_32_hpsKern; } /** * Get the Highlight field for the CHP record. */ public short getHighlight() { return field_33_Highlight; } /** * Set the Highlight field for the CHP record. */ public void setHighlight(short field_33_Highlight) { this.field_33_Highlight = field_33_Highlight; } /** * Get the fPropMark field for the CHP record. */ public short getFPropMark() { return field_34_fPropMark; } /** * Set the fPropMark field for the CHP record. */ public void setFPropMark(short field_34_fPropMark) { this.field_34_fPropMark = field_34_fPropMark; } /** * Get the ibstPropRMark field for the CHP record. */ public int getIbstPropRMark() { return field_35_ibstPropRMark; } /** * Set the ibstPropRMark field for the CHP record. */ public void setIbstPropRMark(int field_35_ibstPropRMark) { this.field_35_ibstPropRMark = field_35_ibstPropRMark; } /** * Get the dttmPropRMark field for the CHP record. */ public DateAndTime getDttmPropRMark() { return field_36_dttmPropRMark; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -