📄 chpabstracttype.java
字号:
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" and * "Apache POI" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact apache@apache.org. * * 5. Products derived from this software may not be called "Apache", * "Apache POI", nor may "Apache" appear in their name, without * prior written permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */package org.apache.poi.hdf.model.hdftypes.definitions;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;/** * 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 BitField fBold = new BitField(0x0001); private BitField fItalic = new BitField(0x0002); private BitField fRMarkDel = new BitField(0x0004); private BitField fOutline = new BitField(0x0008); private BitField fFldVanish = new BitField(0x0010); private BitField fSmallCaps = new BitField(0x0020); private BitField fCaps = new BitField(0x0040); private BitField fVanish = new BitField(0x0080); private BitField fRMark = new BitField(0x0100); private BitField fSpec = new BitField(0x0200); private BitField fStrike = new BitField(0x0400); private BitField fObj = new BitField(0x0800); private BitField fShadow = new BitField(0x1000); private BitField fLowerCase = new BitField(0x2000); private BitField fData = new BitField(0x4000); private BitField fOle2 = new BitField(0x8000); 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_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() { } /** * 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; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -