本文整理了Java中org.apache.poi.hssf.usermodel.HSSFWorkbook.initDrawings()
方法的一些代码示例,展示了HSSFWorkbook.initDrawings()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HSSFWorkbook.initDrawings()
方法的具体详情如下:
包路径:org.apache.poi.hssf.usermodel.HSSFWorkbook
类名称:HSSFWorkbook
方法名:initDrawings
暂无
代码示例来源:origin: org.apache.poi/poi
public int addPicture(byte[] pictureData, int format)
initDrawings();
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
/**
* Creates the top-level drawing patriarch. This will have
* the effect of removing any existing drawings on this
* sheet.
* This may then be used to add graphics or charts
* @return The new patriarch.
*/
public HSSFPatriarch createDrawingPatriarch() {
if(_patriarch == null){
// Create the drawing group if it doesn't already exist.
_workbook.initDrawings();
if(_patriarch == null){
_sheet.aggregateDrawingRecords(_book.getDrawingManager(), true);
EscherAggregate agg = (EscherAggregate) _sheet.findFirstRecordBySid(EscherAggregate.sid);
_patriarch = new HSSFPatriarch(this, agg);
agg.setPatriarch(_patriarch);
}
}
return _patriarch;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi
public int addPicture(byte[] pictureData, int format)
initDrawings();
代码示例来源:origin: com.haulmont.thirdparty/poi
initDrawings();
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
initDrawings();
内容来源于网络,如有侵权,请联系作者删除!