Package org.apache.poi.ss.formula.ptg

Examples of org.apache.poi.ss.formula.ptg.RefErrorPtg


          _lastMovedIndex + ", " + _amountToMove + ", " + aFirstRow + ", " + aLastRow + ")");
  }

  private static Ptg createDeletedRef(Ptg ptg) {
    if (ptg instanceof RefPtg) {
      return new RefErrorPtg();
    }
    if (ptg instanceof Ref3DPtg) {
      Ref3DPtg rptg = (Ref3DPtg) ptg;
      return new DeletedRef3DPtg(rptg.getExternSheetIndex());
    }
View Full Code Here


   * (instead of relying on re-parsing the whole formula which converts these
   * to the error constant #REF! )
   */
  public void testRefErr() {

    confirmRefErr(new RefErrorPtg());
    confirmRefErr(new AreaErrPtg());
    confirmRefErr(new DeletedRef3DPtg(0));
    confirmRefErr(new DeletedArea3DPtg(0));
  }
View Full Code Here

   * (instead of relying on re-parsing the whole formula which converts these
   * to the error constant #REF! )
   */
  public void testRefErr() {

    confirmRefErr(new RefErrorPtg());
    confirmRefErr(new AreaErrPtg());
    confirmRefErr(new DeletedRef3DPtg(0));
    confirmRefErr(new DeletedArea3DPtg(0));
  }
View Full Code Here

TOP

Related Classes of org.apache.poi.ss.formula.ptg.RefErrorPtg

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.