int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum; CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream, pageOffset, translator);
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum; CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream, pageOffset, translator);
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum; CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream, pageOffset, tpt);
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum; CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream, pageOffset, tpt);
CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(); cfkp.fill(overflow);
/** * Constructor used to read a binTable in from a Word document. * * @param documentStream The POIFS "WordDocument" stream from a Word document * @param offset The offset of the Chp bin table in the main stream. * @param size The size of the Chp bin table in the main stream. * @param fcMin The start of text in the main stream. */ public Word6CHPBinTable(byte[] documentStream, int offset, int size, int fcMin) { PlexOfCps binTable = new PlexOfCps(documentStream, offset, size, 2); int length = binTable.length(); for (int x = 0; x < length; x++) { GenericPropertyNode node = binTable.getProperty(x); int pageNum = LittleEndian.getShort((byte[])node.getBytes()); int pageOffset = POIFSConstants.BIG_BLOCK_SIZE * pageNum; CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream, pageOffset, fcMin); int fkpSize = cfkp.size(); for (int y = 0; y < fkpSize; y++) { _textRuns.add(cfkp.getCHPX(y)); } } }
CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(); cfkp.fill(overflow);