public PAPX( int charStart, int charEnd, SprmBuffer buf ) { super( charStart, charEnd, buf ); _phe = new ParagraphHeight(); }
public void write(OutputStream out) throws IOException { out.write(toByteArray()); }
@Override public boolean equals(Object o) { if (super.equals(o)) { return _phe.equals(((PAPX)o)._phe); } return false; }
public boolean equals(Object o) { if (super.equals(o)) { return _phe.equals(((PAPX)o)._phe); } return false; }
/** * Used to get the ParagraphHeight of a PAPX at a particular index. * @param index * @return The ParagraphHeight */ private ParagraphHeight getParagraphHeight(int index) { int pheOffset = _offset + 1 + (((_crun + 1) * 4) + (index * 13)); return new ParagraphHeight(_fkp, pheOffset); } }
public void write(OutputStream out) throws IOException { out.write(toByteArray()); }
public PAPX( int charStart, int charEnd, SprmBuffer buf ) { super( charStart, charEnd, buf ); _phe = new ParagraphHeight(); }
byte[] phe = papx.getParagraphHeight().toByteArray(); byte[] grpprl = papx.getGrpprl();
/** * Used to get the ParagraphHeight of a PAPX at a particular index. * @param index * @return The ParagraphHeight */ private ParagraphHeight getParagraphHeight(int index) { int pheOffset = _offset + 1 + (((_crun + 1) * 4) + (index * 13)); ParagraphHeight phe = new ParagraphHeight(_fkp, pheOffset); return phe; } }
byte[] phe = papx.getParagraphHeight().toByteArray(); byte[] grpprl = papx.getGrpprl();
@Deprecated public PAPX(int fcStart, int fcEnd, CharIndexTranslator translator, SprmBuffer buf, byte[] dataStream) { super(fcStart, fcEnd, translator, buf); _phe = new ParagraphHeight(); buf = findHuge(buf, dataStream); if(buf != null) _buf = buf; }