⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chpabstracttype.java

📁 java 读写word excel ppt
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/* ====================================================================   Licensed to the Apache Software Foundation (ASF) under one or more   contributor license agreements.  See the NOTICE file distributed with   this work for additional information regarding copyright ownership.   The ASF licenses this file to You 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.hdf.model.hdftypes.definitions;import org.apache.poi.util.BitField;import org.apache.poi.util.BitFieldFactory;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;/** * 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{    private  short field_1_chse;    private  int field_2_format_flags;        private static BitField  fBold = BitFieldFactory.getInstance(0x0001);        private static BitField  fItalic = BitFieldFactory.getInstance(0x0002);        private static BitField  fRMarkDel = BitFieldFactory.getInstance(0x0004);        private static BitField  fOutline = BitFieldFactory.getInstance(0x0008);        private static BitField  fFldVanish = BitFieldFactory.getInstance(0x0010);        private static BitField  fSmallCaps = BitFieldFactory.getInstance(0x0020);        private static BitField  fCaps = BitFieldFactory.getInstance(0x0040);        private static BitField  fVanish = BitFieldFactory.getInstance(0x0080);        private static BitField  fRMark = BitFieldFactory.getInstance(0x0100);        private static BitField  fSpec = BitFieldFactory.getInstance(0x0200);        private static BitField  fStrike = BitFieldFactory.getInstance(0x0400);        private static BitField  fObj = BitFieldFactory.getInstance(0x0800);        private static BitField  fShadow = BitFieldFactory.getInstance(0x1000);        private static BitField  fLowerCase = BitFieldFactory.getInstance(0x2000);        private static BitField  fData = BitFieldFactory.getInstance(0x4000);        private static BitField  fOle2 = BitFieldFactory.getInstance(0x8000);    private  int field_3_format_flags1;        private static BitField  fEmboss = BitFieldFactory.getInstance(0x0001);        private static BitField  fImprint = BitFieldFactory.getInstance(0x0002);        private static BitField  fDStrike = BitFieldFactory.getInstance(0x0004);        private static BitField  fUsePgsuSettings = BitFieldFactory.getInstance(0x0008);    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 static BitField  icoHighlight = BitFieldFactory.getInstance(0x001f);        private static BitField  fHighlight = BitFieldFactory.getInstance(0x0020);        private static BitField  kcd = BitFieldFactory.getInstance(0x01c0);        private static BitField  fNavHighlight = BitFieldFactory.getInstance(0x0200);        private static BitField  fChsDiff = BitFieldFactory.getInstance(0x0400);        private static BitField  fMacChs = BitFieldFactory.getInstance(0x0800);        private static BitField  fFtcAsciSym = BitFieldFactory.getInstance(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()    {    }    /**     * 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 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;    }    /**     * 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 int getDttmPropRMark()    {        return field_36_dttmPropRMark;    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -