论坛首页 入门技术论坛

【POI你更新了吗】POI 3.7 BETA2 的小杯具~

浏览 3496 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2010-09-18   最后修改:2010-09-18
最近做Excel处理,因为要兼容XLS,XLSX,所以从POI3.2直接换成最新的3.7.2..  效果相当好,基本功能都实现了....
最后试了下把老版本另存为新版本...杯具开始了....
shiftRow函数一执行就报错
查看源代码片断如下:
public ExternalName getExternalName(int externSheetIndex, int externNameIndex) {
   throw new RuntimeException("Not implemented yet");
}

public NameXPtg getNameXPtg(String name) {
// may require to return null to make tests pass
throw new RuntimeException("Not implemented yet");
}

public EvaluationSheet getSheet(int sheetIndex) {
return new XSSFEvaluationSheet(_uBook.getSheetAt(sheetIndex));
}

public ExternalSheet getExternalSheet(int externSheetIndex) {
// TODO Auto-generated method stub
return null;
}
public int getExternalSheetIndex(String workbookName, String sheetName) {
throw new RuntimeException("not implemented yet");
}
public int getSheetIndex(String sheetName) {
return _uBook.getSheetIndex(sheetName);
}

/**
* TODO - figure out what the hell this methods does in
*  HSSF...
*/
public String resolveNameXText(NameXPtg n) {
throw new RuntimeException("method not implemented yet");
}


  只想说apache,快点更新喽~~~~~~~~







   发表时间:2010-09-18  
  大家有遇到这个问题吗            
0 请登录后投票
   发表时间:2010-09-18  
yucai 写道
  大家有遇到这个问题吗            

新老版本切换,是用office2007做的,然后在poi里操作的

还是直接在poi里做?
0 请登录后投票
   发表时间:2010-09-18  
kimmking 写道
yucai 写道
  大家有遇到这个问题吗            

新老版本切换,是用office2007做的,然后在poi里操作的

还是直接在poi里做?



是用2003做的表格,用Office2007/2010打开(兼容模式),另存为XLSX格式.再操作执行shiftRow就报错,,原因就是上面几个方法没有实现....shiftRow方法调用了其中的一个,, 估计还有其它的地方调这几个方法报错,,目前就方法了这一个~
0 请登录后投票
   发表时间:2011-05-06  
cell.setEncoding方法好像也没实现~
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics