XSSFClientAnchor anchor = (XSSFClientAnchor) shape.getAnchor(); //XSSFClientAnchor anchor = picture.getPreferredSize(); CTMarker marker = anchor.getFrom(); String key = marker.getRow() + "-" + marker.getCol(); try{ picture.getPictureData(); }catch (NullPointerException e){ continue; }
.getPreferredSize .getPictureData() 读取excel图片空指针
最新推荐文章于 2023-12-22 16:57:41 发布