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

📄 papabstracttype.java

📁 抽取pdf和word文本内容的源代码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/* ====================================================================   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.*;/** * 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{    protected  int field_1_istd;    protected  byte field_2_jc;    protected  byte field_3_fKeep;    protected  byte field_4_fKeepFollow;    protected  byte field_5_fPageBreakBefore;    protected  byte field_6_fBrLnAbove;    protected  byte field_7_fBrLnBelow;    protected  byte field_8_pcVert;    protected  byte field_9_pcHorz;    protected  byte field_10_brcp;    protected  byte field_11_brcl;    protected  byte field_12_ilvl;    protected  byte field_13_fNoLnn;    protected  int field_14_ilfo;    protected  byte field_15_fSideBySide;    protected  byte field_16_fNoAutoHyph;    protected  byte field_17_fWidowControl;    protected  int field_18_dxaRight;    protected  int field_19_dxaLeft;    protected  int field_20_dxaLeft1;    protected  LineSpacingDescriptor field_21_lspd;    protected  int field_22_dyaBefore;    protected  int field_23_dyaAfter;    protected  byte[] field_24_phe;    protected  byte field_25_fCrLf;    protected  byte field_26_fUsePgsuSettings;    protected  byte field_27_fAdjustRight;    protected  byte field_28_fKinsoku;    protected  byte field_29_fWordWrap;    protected  byte field_30_fOverflowPunct;    protected  byte field_31_fTopLinePunct;    protected  byte field_32_fAutoSpaceDE;    protected  byte field_33_fAutoSpaceDN;    protected  int field_34_wAlignFont;    protected  short field_35_fontAlign;        private static BitField  fVertical = new BitField(0x0001);        private static BitField  fBackward = new BitField(0x0002);        private static BitField  fRotateFont = new BitField(0x0004);    protected  byte field_36_fBackward;    protected  byte field_37_fRotateFont;    protected  byte field_38_fInTable;    protected  byte field_39_fTtp;    protected  byte field_40_wr;    protected  byte field_41_fLocked;    protected  byte[] field_42_ptap;    protected  int field_43_dxaAbs;    protected  int field_44_dyaAbs;    protected  int field_45_dxaWidth;    protected  BorderCode field_46_brcTop;    protected  BorderCode field_47_brcLeft;    protected  BorderCode field_48_brcBottom;    protected  BorderCode field_49_brcRight;    protected  BorderCode field_50_brcBetween;    protected  BorderCode field_51_brcBar;    protected  int field_52_dxaFromText;    protected  int field_53_dyaFromText;    protected  int field_54_dyaHeight;    protected  byte field_55_fMinHeight;    protected  ShadingDescriptor field_56_shd;    protected  DropCapSpecifier field_57_dcs;    protected  byte field_58_lvl;    protected  byte field_59_fNumRMIns;    protected  byte[] field_60_anld;    protected  int field_61_fPropRMark;    protected  int field_62_ibstPropRMark;    protected  DateAndTime field_63_dttmPropRMark;    protected  byte[] field_64_numrm;    protected  int field_65_itbdMac;    protected  int[] field_66_rgdxaTab;    protected  byte[] field_67_rgtbd;    protected  byte field_68_tableLevel;    protected  byte field_69_fTtpEmbedded;    protected  byte field_70_embeddedCellMark;    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 + 1 + 1 + 1;    }    /**     * 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 LineSpacingDescriptor getLspd()    {        return field_21_lspd;    }    /**     * Set the lspd field for the PAP record.     */    public void setLspd(LineSpacingDescriptor 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;    }    /**     * Set the fTopLinePunct field for the PAP record.     */    public void setFTopLinePunct(byte field_31_fTopLinePunct)    {        this.field_31_fTopLinePunct = field_31_fTopLinePunct;    }    /**     * Get the fAutoSpaceDE field for the PAP record.     */    public byte getFAutoSpaceDE()    {        return field_32_fAutoSpaceDE;    }    /**     * Set the fAutoSpaceDE field for the PAP record.     */    public void setFAutoSpaceDE(byte field_32_fAutoSpaceDE)    {        this.field_32_fAutoSpaceDE = field_32_fAutoSpaceDE;    }    /**     * Get the fAutoSpaceDN field for the PAP record.     */    public byte getFAutoSpaceDN()    {        return field_33_fAutoSpaceDN;    }    /**     * Set the fAutoSpaceDN field for the PAP record.     */    public void setFAutoSpaceDN(byte field_33_fAutoSpaceDN)    {        this.field_33_fAutoSpaceDN = field_33_fAutoSpaceDN;    }    /**     * Get the wAlignFont field for the PAP record.

⌨️ 快捷键说明

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