📄 papabstracttype.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;/** * Paragraph 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 PAPAbstractType implements HDFType{ private int field_1_istd; private byte field_2_jc; private byte field_3_fKeep; private byte field_4_fKeepFollow; private byte field_5_fPageBreakBefore; private byte field_6_fBrLnAbove; private byte field_7_fBrLnBelow; private byte field_8_pcVert; private byte field_9_pcHorz; private byte field_10_brcp; private byte field_11_brcl; private byte field_12_ilvl; private byte field_13_fNoLnn; private int field_14_ilfo; private byte field_15_fSideBySide; private byte field_16_fNoAutoHyph; private byte field_17_fWidowControl; private int field_18_dxaRight; private int field_19_dxaLeft; private int field_20_dxaLeft1; private short[] field_21_lspd; private int field_22_dyaBefore; 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() { } /** * Size of record (exluding 4 byte header) */ 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 + 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; } /** * Get the istd field for the PAP record. */ public int getIstd() { return field_1_istd; } /** * Set the istd field for the PAP record. */ public void setIstd(int field_1_istd) { this.field_1_istd = field_1_istd; } /** * Get the jc field for the PAP record. */ public byte getJc() { return field_2_jc; } /** * Set the jc field for the PAP record. */ public void setJc(byte field_2_jc) { this.field_2_jc = field_2_jc; } /** * Get the fKeep field for the PAP record. */ public byte getFKeep() { return field_3_fKeep; } /** * Set the fKeep field for the PAP record. */ public void setFKeep(byte field_3_fKeep) { this.field_3_fKeep = field_3_fKeep; } /** * Get the fKeepFollow field for the PAP record. */ public byte getFKeepFollow() { return field_4_fKeepFollow; } /** * Set the fKeepFollow field for the PAP record. */ public void setFKeepFollow(byte field_4_fKeepFollow) { this.field_4_fKeepFollow = field_4_fKeepFollow; } /** * Get the fPageBreakBefore field for the PAP record. */ public byte getFPageBreakBefore() { return field_5_fPageBreakBefore; } /** * Set the fPageBreakBefore field for the PAP record. */ public void setFPageBreakBefore(byte field_5_fPageBreakBefore) { this.field_5_fPageBreakBefore = field_5_fPageBreakBefore; } /** * Get the fBrLnAbove field for the PAP record. */ public byte getFBrLnAbove() { return field_6_fBrLnAbove; } /** * Set the fBrLnAbove field for the PAP record. */ public void setFBrLnAbove(byte field_6_fBrLnAbove) { this.field_6_fBrLnAbove = field_6_fBrLnAbove; } /** * Get the fBrLnBelow field for the PAP record. */ public byte getFBrLnBelow() { return field_7_fBrLnBelow; } /** * Set the fBrLnBelow field for the PAP record. */ public void setFBrLnBelow(byte field_7_fBrLnBelow) { this.field_7_fBrLnBelow = field_7_fBrLnBelow; } /** * Get the pcVert field for the PAP record. */ public byte getPcVert() { return field_8_pcVert; } /** * Set the pcVert field for the PAP record. */ public void setPcVert(byte field_8_pcVert) { this.field_8_pcVert = field_8_pcVert; } /** * Get the pcHorz field for the PAP record. */ public byte getPcHorz() { return field_9_pcHorz; } /** * Set the pcHorz field for the PAP record. */ public void setPcHorz(byte field_9_pcHorz) { this.field_9_pcHorz = field_9_pcHorz; } /** * Get the brcp field for the PAP record. */ public byte getBrcp() { return field_10_brcp; } /** * Set the brcp field for the PAP record. */ public void setBrcp(byte field_10_brcp) { this.field_10_brcp = field_10_brcp; } /** * Get the brcl field for the PAP record. */ public byte getBrcl() { return field_11_brcl; } /** * Set the brcl field for the PAP record. */ public void setBrcl(byte field_11_brcl) { this.field_11_brcl = field_11_brcl; } /** * Get the ilvl field for the PAP record. */ public byte getIlvl() { return field_12_ilvl; } /** * Set the ilvl field for the PAP record. */ public void setIlvl(byte field_12_ilvl) { this.field_12_ilvl = field_12_ilvl; } /** * Get the fNoLnn field for the PAP record. */ public byte getFNoLnn() { return field_13_fNoLnn; } /** * Set the fNoLnn field for the PAP record. */ public void setFNoLnn(byte field_13_fNoLnn) { this.field_13_fNoLnn = field_13_fNoLnn; } /** * Get the ilfo field for the PAP record. */ public int getIlfo() { return field_14_ilfo; } /** * Set the ilfo field for the PAP record. */ public void setIlfo(int field_14_ilfo) { this.field_14_ilfo = field_14_ilfo; } /** * Get the fSideBySide field for the PAP record. */ public byte getFSideBySide() { return field_15_fSideBySide; } /** * Set the fSideBySide field for the PAP record. */ public void setFSideBySide(byte field_15_fSideBySide) { this.field_15_fSideBySide = field_15_fSideBySide; } /** * Get the fNoAutoHyph field for the PAP record. */ public byte getFNoAutoHyph() { return field_16_fNoAutoHyph; } /** * Set the fNoAutoHyph field for the PAP record. */ public void setFNoAutoHyph(byte field_16_fNoAutoHyph) { this.field_16_fNoAutoHyph = field_16_fNoAutoHyph; } /** * Get the fWidowControl field for the PAP record. */ public byte getFWidowControl() { return field_17_fWidowControl; } /** * Set the fWidowControl field for the PAP record. */ public void setFWidowControl(byte field_17_fWidowControl) { this.field_17_fWidowControl = field_17_fWidowControl; } /** * Get the dxaRight field for the PAP record. */ public int getDxaRight() { return field_18_dxaRight; } /** * Set the dxaRight field for the PAP record. */ public void setDxaRight(int field_18_dxaRight) { this.field_18_dxaRight = field_18_dxaRight; } /** * Get the dxaLeft field for the PAP record. */ public int getDxaLeft() { return field_19_dxaLeft; } /** * Set the dxaLeft field for the PAP record. */ public void setDxaLeft(int field_19_dxaLeft) { this.field_19_dxaLeft = field_19_dxaLeft; } /** * Get the dxaLeft1 field for the PAP record. */ public int getDxaLeft1() { return field_20_dxaLeft1; } /** * Set the dxaLeft1 field for the PAP record. */ public void setDxaLeft1(int field_20_dxaLeft1) { this.field_20_dxaLeft1 = field_20_dxaLeft1; } /** * Get the lspd field for the PAP record. */ public short[] getLspd() { return field_21_lspd; } /** * Set the lspd field for the PAP record. */ public void setLspd(short[] field_21_lspd) { this.field_21_lspd = field_21_lspd; } /** * Get the dyaBefore field for the PAP record. */ public int getDyaBefore() { return field_22_dyaBefore; } /** * Set the dyaBefore field for the PAP record. */ public void setDyaBefore(int field_22_dyaBefore) { 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_24_phe; } /** * Set the phe field for the PAP record. */ public void setPhe(byte[] field_24_phe) { this.field_24_phe = field_24_phe; } /** * Get the fCrLf field for the PAP record. */ public byte getFCrLf() { return field_25_fCrLf; } /** * Set the fCrLf field for the PAP record. */ public void setFCrLf(byte field_25_fCrLf) { this.field_25_fCrLf = field_25_fCrLf; } /** * Get the fUsePgsuSettings field for the PAP record. */ public byte getFUsePgsuSettings() { return field_26_fUsePgsuSettings; } /** * Set the fUsePgsuSettings field for the PAP record. */ public void setFUsePgsuSettings(byte field_26_fUsePgsuSettings) { this.field_26_fUsePgsuSettings = field_26_fUsePgsuSettings; } /** * Get the fAdjustRight field for the PAP record. */ public byte getFAdjustRight() { return field_27_fAdjustRight; } /** * Set the fAdjustRight field for the PAP record. */ public void setFAdjustRight(byte field_27_fAdjustRight) { this.field_27_fAdjustRight = field_27_fAdjustRight; } /** * Get the fKinsoku field for the PAP record. */ public byte getFKinsoku() { return field_28_fKinsoku; } /** * Set the fKinsoku field for the PAP record. */ public void setFKinsoku(byte field_28_fKinsoku) { this.field_28_fKinsoku = field_28_fKinsoku; } /** * Get the fWordWrap field for the PAP record. */ public byte getFWordWrap() { return field_29_fWordWrap; } /** * Set the fWordWrap field for the PAP record. */ public void setFWordWrap(byte field_29_fWordWrap) { this.field_29_fWordWrap = field_29_fWordWrap; } /** * Get the fOverflowPunct field for the PAP record. */ public byte getFOverflowPunct() { return field_30_fOverflowPunct; } /** * Set the fOverflowPunct field for the PAP record. */ public void setFOverflowPunct(byte field_30_fOverflowPunct) { this.field_30_fOverflowPunct = field_30_fOverflowPunct; } /** * Get the fTopLinePunct field for the PAP record. */ public byte getFTopLinePunct() { return field_31_fTopLinePunct; } /**
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -