* @return CellHandle array of all book cells
*/
public CellHandle[] getCells() {
BiffRec[] allcz = this.mybook.getCells();
CellHandle[] ret = new CellHandle[allcz.length];
Mulblank aMul= null;
short c= -1;
for(int t=0;t<ret.length;t++) {
ret[t] = new CellHandle(allcz[t],this);
if (allcz[t].getOpcode()==XLSConstants.MULBLANK) {
// handle Mulblanks: ref a range of cells; to get correct cell address,
// traverse thru range and set cellhandle ref to correct column
if (allcz[t]==aMul) {
c++;
} else {
aMul= (Mulblank)allcz[t];
c= (short)aMul.getColFirst();
}
ret[t].setBlankRef(c); // for Mulblank use only -sets correct column reference for multiple blank cells ...
}
}
return ret;