Examples of MemFuncPtg


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

      RefPtg.class, // [G7]
      RangePtg.class,
      AttrPtg.class // [sum ]
    );

    MemFuncPtg mf = (MemFuncPtg)ptgs[0];
    assertEquals(57, mf.getLenRefSubexpression());
    assertEquals("D4:E5", ((AreaPtgBase)ptgs[7]).toFormulaString());
    assertTrue(((AttrPtg)ptgs[16]).isSum());

    ptgs = parseFormula("SUM(A1:B2:C3:D4)");
    confirmTokenClasses(ptgs,
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.