📄 sepabstracttype.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;/** * Section 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 SEPAbstractType implements HDFType{ private byte field_1_bkc; private boolean field_2_fTitlePage; private boolean field_3_fAutoPgn; private byte field_4_nfcPgn; private boolean field_5_fUnlocked; private byte field_6_cnsPgn; private boolean field_7_fPgnRestart; private boolean field_8_fEndNote; private byte field_9_lnc; private byte field_10_grpfIhdt; private int field_11_nLnnMod; private int field_12_dxaLnn; private int field_13_dxaPgn; private int field_14_dyaPgn; private boolean field_15_fLBetween; private byte field_16_vjc; private int field_17_dmBinFirst; private int field_18_dmBinOther; private int field_19_dmPaperReq; private short[] field_20_brcTop; private short[] field_21_brcLeft; private short[] field_22_brcBottom; private short[] field_23_brcRight; private boolean field_24_fPropMark; private int field_25_ibstPropRMark; private int field_26_dttmPropRMark; private int field_27_dxtCharSpace; private int field_28_dyaLinePitch; private int field_29_clm; private int field_30_unused2; private byte field_31_dmOrientPage; private byte field_32_iHeadingPgn; private int field_33_pgnStart; private int field_34_lnnMin; private int field_35_wTextFlow; private short field_36_unused3; private int field_37_pgbProp; private short field_38_unused4; private int field_39_xaPage; private int field_40_yaPage; private int field_41_xaPageNUp; private int field_42_yaPageNUp; private int field_43_dxaLeft; private int field_44_dxaRight; private int field_45_dyaTop; private int field_46_dyaBottom; private int field_47_dzaGutter; private int field_48_dyaHdrTop; private int field_49_dyaHdrBottom; private int field_50_ccolM1; private boolean field_51_fEvenlySpaced; private byte field_52_unused5; private int field_53_dxaColumns; private int[] field_54_rgdxaColumn; private int field_55_dxaColumnWidth; private byte field_56_dmOrientFirst; private byte field_57_fLayout; private short field_58_unused6; private byte[] field_59_olstAnm; public SEPAbstractType() { } /** * Size of record (exluding 4 byte header) */ public int getSize() { return 4 + 1 + 0 + 0 + 1 + 0 + 1 + 0 + 0 + 1 + 1 + 2 + 4 + 2 + 2 + 0 + 1 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 0 + 2 + 4 + 4 + 4 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 0 + 1 + 4 + 356 + 4 + 1 + 1 + 2 + 212; } /** * Get the bkc field for the SEP record. */ public byte getBkc() { return field_1_bkc; } /** * Set the bkc field for the SEP record. */ public void setBkc(byte field_1_bkc) { this.field_1_bkc = field_1_bkc; } /** * Get the fTitlePage field for the SEP record. */ public boolean getFTitlePage() { return field_2_fTitlePage; } /** * Set the fTitlePage field for the SEP record. */ public void setFTitlePage(boolean field_2_fTitlePage) { this.field_2_fTitlePage = field_2_fTitlePage; } /** * Get the fAutoPgn field for the SEP record. */ public boolean getFAutoPgn() { return field_3_fAutoPgn; } /** * Set the fAutoPgn field for the SEP record. */ public void setFAutoPgn(boolean field_3_fAutoPgn) { this.field_3_fAutoPgn = field_3_fAutoPgn; } /** * Get the nfcPgn field for the SEP record. */ public byte getNfcPgn() { return field_4_nfcPgn; } /** * Set the nfcPgn field for the SEP record. */ public void setNfcPgn(byte field_4_nfcPgn) { this.field_4_nfcPgn = field_4_nfcPgn; } /** * Get the fUnlocked field for the SEP record. */ public boolean getFUnlocked() { return field_5_fUnlocked; } /** * Set the fUnlocked field for the SEP record. */ public void setFUnlocked(boolean field_5_fUnlocked) { this.field_5_fUnlocked = field_5_fUnlocked; } /** * Get the cnsPgn field for the SEP record. */ public byte getCnsPgn() { return field_6_cnsPgn; } /** * Set the cnsPgn field for the SEP record. */ public void setCnsPgn(byte field_6_cnsPgn) { this.field_6_cnsPgn = field_6_cnsPgn; } /** * Get the fPgnRestart field for the SEP record. */ public boolean getFPgnRestart() { return field_7_fPgnRestart; } /** * Set the fPgnRestart field for the SEP record. */ public void setFPgnRestart(boolean field_7_fPgnRestart) { this.field_7_fPgnRestart = field_7_fPgnRestart; } /** * Get the fEndNote field for the SEP record. */ public boolean getFEndNote() { return field_8_fEndNote; } /** * Set the fEndNote field for the SEP record. */ public void setFEndNote(boolean field_8_fEndNote) { this.field_8_fEndNote = field_8_fEndNote; } /** * Get the lnc field for the SEP record. */ public byte getLnc() { return field_9_lnc; } /** * Set the lnc field for the SEP record. */ public void setLnc(byte field_9_lnc) { this.field_9_lnc = field_9_lnc; } /** * Get the grpfIhdt field for the SEP record. */ public byte getGrpfIhdt() { return field_10_grpfIhdt; } /** * Set the grpfIhdt field for the SEP record. */ public void setGrpfIhdt(byte field_10_grpfIhdt) { this.field_10_grpfIhdt = field_10_grpfIhdt; } /** * Get the nLnnMod field for the SEP record. */ public int getNLnnMod() { return field_11_nLnnMod; } /** * Set the nLnnMod field for the SEP record. */ public void setNLnnMod(int field_11_nLnnMod) { this.field_11_nLnnMod = field_11_nLnnMod; } /** * Get the dxaLnn field for the SEP record. */ public int getDxaLnn() { return field_12_dxaLnn; } /** * Set the dxaLnn field for the SEP record. */ public void setDxaLnn(int field_12_dxaLnn) { this.field_12_dxaLnn = field_12_dxaLnn; } /** * Get the dxaPgn field for the SEP record. */ public int getDxaPgn() { return field_13_dxaPgn; } /** * Set the dxaPgn field for the SEP record. */ public void setDxaPgn(int field_13_dxaPgn) { this.field_13_dxaPgn = field_13_dxaPgn; } /** * Get the dyaPgn field for the SEP record. */ public int getDyaPgn() { return field_14_dyaPgn; } /** * Set the dyaPgn field for the SEP record. */ public void setDyaPgn(int field_14_dyaPgn) { this.field_14_dyaPgn = field_14_dyaPgn; } /** * Get the fLBetween field for the SEP record. */ public boolean getFLBetween() { return field_15_fLBetween; } /** * Set the fLBetween field for the SEP record. */ public void setFLBetween(boolean field_15_fLBetween) { this.field_15_fLBetween = field_15_fLBetween; } /** * Get the vjc field for the SEP record. */ public byte getVjc() { return field_16_vjc; } /** * Set the vjc field for the SEP record. */ public void setVjc(byte field_16_vjc) { this.field_16_vjc = field_16_vjc; } /** * Get the dmBinFirst field for the SEP record. */ public int getDmBinFirst() { return field_17_dmBinFirst; } /** * Set the dmBinFirst field for the SEP record. */ public void setDmBinFirst(int field_17_dmBinFirst) { this.field_17_dmBinFirst = field_17_dmBinFirst; } /** * Get the dmBinOther field for the SEP record. */ public int getDmBinOther() { return field_18_dmBinOther; } /** * Set the dmBinOther field for the SEP record. */ public void setDmBinOther(int field_18_dmBinOther) { this.field_18_dmBinOther = field_18_dmBinOther; } /** * Get the dmPaperReq field for the SEP record. */ public int getDmPaperReq() { return field_19_dmPaperReq; } /** * Set the dmPaperReq field for the SEP record. */ public void setDmPaperReq(int field_19_dmPaperReq) { this.field_19_dmPaperReq = field_19_dmPaperReq; } /** * Get the brcTop field for the SEP record. */ public short[] getBrcTop() { return field_20_brcTop; } /** * Set the brcTop field for the SEP record. */ public void setBrcTop(short[] field_20_brcTop) { this.field_20_brcTop = field_20_brcTop; } /** * Get the brcLeft field for the SEP record. */ public short[] getBrcLeft() { return field_21_brcLeft; } /** * Set the brcLeft field for the SEP record. */ public void setBrcLeft(short[] field_21_brcLeft) { this.field_21_brcLeft = field_21_brcLeft; } /** * Get the brcBottom field for the SEP record. */ public short[] getBrcBottom() { return field_22_brcBottom; } /** * Set the brcBottom field for the SEP record. */ public void setBrcBottom(short[] field_22_brcBottom) { this.field_22_brcBottom = field_22_brcBottom; } /** * Get the brcRight field for the SEP record. */ public short[] getBrcRight() { return field_23_brcRight; } /** * Set the brcRight field for the SEP record. */ public void setBrcRight(short[] field_23_brcRight) { this.field_23_brcRight = field_23_brcRight; } /** * Get the fPropMark field for the SEP record. */ public boolean getFPropMark() { return field_24_fPropMark; } /** * Set the fPropMark field for the SEP record. */ public void setFPropMark(boolean field_24_fPropMark) { this.field_24_fPropMark = field_24_fPropMark; } /** * Get the ibstPropRMark field for the SEP record. */ public int getIbstPropRMark() { return field_25_ibstPropRMark; } /** * Set the ibstPropRMark field for the SEP record. */ public void setIbstPropRMark(int field_25_ibstPropRMark) { this.field_25_ibstPropRMark = field_25_ibstPropRMark; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -