Package com.extentech.formats.XLS

Examples of com.extentech.formats.XLS.Mulblank


     * @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;
View Full Code Here

TOP

Related Classes of com.extentech.formats.XLS.Mulblank

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.