Package org.apache.poi.hssf.record.formula.udf

Examples of org.apache.poi.hssf.record.formula.udf.UDFFinder


    HSSFSheet sheet = wb.getSheetAt(0);

    /**
     * register the two test UDFs in a UDF finder, to be passed to the evaluator
     */
    UDFFinder udff1 = new DefaultUDFFinder(new String[] { "myFunc", },
        new FreeRefFunction[] { new MyFunc(), });
    UDFFinder udff2 = new DefaultUDFFinder(new String[] { "myFunc2", },
        new FreeRefFunction[] { new MyFunc2(), });
    UDFFinder udff = new AggregatingUDFFinder(udff1, udff2);


    HSSFRow row = sheet.getRow(0);
    HSSFCell myFuncCell = row.getCell(1); // =myFunc("_")

View Full Code Here

TOP

Related Classes of org.apache.poi.hssf.record.formula.udf.UDFFinder

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.