Examples of PtgArea


Examples of com.extentech.formats.XLS.formulas.PtgArea

        * @param parentRec
        */
       public SqRef(String range, XLSRecord parentRec) {
           // add handling for different ref types, for now utilize a PtgArea
         if (range!=null && !range.equals("")) {
             myPtg = new PtgArea(range, parentRec);
             myPtg.addToRefTracker();
         }
       }
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

          int col2 = ByteTools.readShort(b[6], b[7]);
          int[] rc = {row,col,row2, col2};
          boolean[] bool = {true,true,true,true};
          String location = ExcelTools.formatRangeRowCol(rc, bool);
          myPtg = new PtgArea(location, parentRec);
          myPtg.addToRefTracker();
      }
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

        int col2 = ByteTools.readShort(b[6], b[7]);
        int[] rc = {row,col,row2, col2};
        boolean[] bool = {true,true,true,true};
        String location = ExcelTools.formatRangeRowCol(rc, bool);
        PtgArea pa= new PtgArea(location, parentRec);
        pa.addToRefTracker();
        return this.add(pa);       
    }
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

    }
 
    public boolean add(String range, XLSRecord parentRec) {
        // add handling for different ref types, for now utilize a PtgArea
      if (range!=null && !range.equals("")) {
           PtgArea pa= new PtgArea(range, parentRec);
           pa.addToRefTracker();
           return this.add(pa);
      }
      return false;
    }
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

        cRangeList = new ArrayList();
        for (int i=0;i<numLocs; i++) {
            byte[] b = new byte[1];
            b[0] = 0x0;
            b = ByteTools.append(b, this.getBytesAt(offset, 8));
            PtgArea p = new PtgArea(false);
            p.setParentRec(this);
            p.init(b);
            cRangeList.add(p);
            offset+=8;
        }
       
        // set all the grbit fields
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

      if (range==null) {  // for creating a dv and adding range info later
        cRangeList= null;
        return;
      }
        if(range.indexOf(":")==-1)range = range+":"+range;
        PtgArea p = new PtgArea(range, this, false);
        cRangeList = new ArrayList();
        cRangeList.add(p);
        dirtyflag = true;
    }
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

       if (cRangeList==null) cRangeList= new ArrayList()// 20090605 KSC: Added
       /*int[] i = ExcelTools.getRowColFromString(range);
       if(i.length==2) {
          
       }else {*/
        PtgArea p = new PtgArea(range, this, false)// 20090609 KSC: absolute refs if '$' -really should test if row or col    
        cRangeList.add(p);
        dirtyflag = true;
    }
View Full Code Here

Examples of com.extentech.formats.XLS.formulas.PtgArea

     *
     * @param range
     */
    public void addOoxmlRange(String range) {
        if (cRangeList==null) cRangeList= new ArrayList()// 20090605 KSC: Added
        PtgArea p = new PtgArea(range, this, (range!=null)?(range.indexOf('$')==-1):false); // 20090609 KSC: absolute refs if '$' -really should test if row or col
//        p.setUseReferenceTracker(false);
        cRangeList.add(p);
        dirtyflag = true;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.