1 2 17 18 19 20 package org.apache.poi.hdf.extractor; 21 22 27 28 public class PAP implements Cloneable 29 { 30 int _istd; byte _jc; byte _fKeep; byte _fKeepFollow; byte _fPageBreakBefore; byte _positionByte; byte _brcp; byte _brcl; byte _ilvl; byte _fNoLnn; int _ilfo; byte _fSideBySide; byte _fNoAutoHyph; byte _fWindowControl; int _dxaRight; int _dxaLeft; int _dxaLeft1; int[] _lspd = new int[2]; int _dyaBefore; int _dyaAfter; byte[] _phe = new byte[12]; byte _fCrLf; byte _fUsePgsuSettings; byte _fAdjustRight; byte _fKinsoku; byte _fWordWrap; byte _fOverflowPunct; byte _fTopLinePunct; byte _fAutoSpaceDE; byte _fAutoSpaceDN; int _wAlignFont; short _fontAlign; byte _fInTable; byte _fTtp; byte _wr; byte _fLocked; int _dxaAbs; int _dyaAbs; int _dxaWidth; short[] _brcTop = new short[2]; short[] _brcLeft = new short[2]; short[] _brcBottom = new short[2]; short[] _brcRight = new short[2]; short[] _brcBetween = new short[2]; short[] _brcBar = new short[2]; short _brcTop1; short _brcLeft1; short _brcBottom1; short _brcRight1; short _brcBetween1; short _brcBar1; int _dxaFromText; int _dyaFromText; int _dyaHeight; int _shd; int _dcs; byte[] _anld = new byte[84]; short _fPropRMark; short _ibstPropRMark; byte[] _dttmPropRMark = new byte[4]; byte[] _numrm = new byte[8]; short _itbdMac; 93 94 95 public PAP() 96 { 97 _fWindowControl = 1; 98 _lspd[1] = 1; 100 _ilvl = 9; 101 } 102 public Object clone() throws CloneNotSupportedException 103 { 104 PAP clone = (PAP)super.clone(); 105 106 clone._brcBar = new short[2]; 107 clone._brcBottom = new short[2]; 108 clone._brcLeft = new short[2]; 109 clone._brcBetween = new short[2]; 110 clone._brcRight = new short[2]; 111 clone._brcTop = new short[2]; 112 clone._lspd = new int[2]; 113 clone._phe = new byte[12]; 114 clone._anld = new byte[84]; 115 clone._dttmPropRMark = new byte[4]; 116 clone._numrm = new byte[8]; 117 118 System.arraycopy(_brcBar, 0, clone._brcBar, 0, 2); 119 System.arraycopy(_brcBottom, 0, clone._brcBottom, 0, 2); 120 System.arraycopy(_brcLeft, 0, clone._brcLeft, 0, 2); 121 System.arraycopy(_brcBetween, 0, clone._brcBetween, 0, 2); 122 System.arraycopy(_brcRight, 0, clone._brcRight, 0, 2); 123 System.arraycopy(_brcTop, 0, clone._brcTop, 0, 2); 124 System.arraycopy(_lspd, 0, clone._lspd, 0, 2); 125 System.arraycopy(_phe, 0, clone._phe, 0, 12); 126 System.arraycopy(_anld, 0, clone._anld, 0, 84); 127 System.arraycopy(_dttmPropRMark, 0, clone._dttmPropRMark, 0, 4); 128 System.arraycopy(_numrm, 0, clone._numrm, 0, 8); 129 130 return clone; 131 } 132 133 } 134 | Popular Tags |