001 package railo.runtime.functions.poi; 002 003 import railo.runtime.PageContext; 004 import railo.runtime.exp.CasterException; 005 import railo.runtime.exp.PageException; 006 import railo.runtime.op.Caster; 007 import railo.runtime.poi.Excel; 008 009 public class SpreadsheetSetCellValue { 010 011 public static String call(PageContext pc,Excel excel, String value, double row, double column) throws PageException { 012 try { 013 excel.setValue(((int)row)-1,((int)column)-1,value); 014 } catch (CasterException e) { 015 throw Caster.toPageException(e); 016 } 017 018 return null; 019 } 020 021 }