org.apache.poi.hssf.usermodel.HSSFWorkbook.initDrawings()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中org.apache.poi.hssf.usermodel.HSSFWorkbook.initDrawings()方法的一些代码示例,展示了HSSFWorkbook.initDrawings()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HSSFWorkbook.initDrawings()方法的具体详情如下:
包路径:org.apache.poi.hssf.usermodel.HSSFWorkbook
类名称:HSSFWorkbook
方法名:initDrawings

HSSFWorkbook.initDrawings介绍

暂无

代码示例

代码示例来源:origin: org.apache.poi/poi

  1. public int addPicture(byte[] pictureData, int format)
  2. initDrawings();

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

  1. /**
  2. * Creates the top-level drawing patriarch. This will have
  3. * the effect of removing any existing drawings on this
  4. * sheet.
  5. * This may then be used to add graphics or charts
  6. * @return The new patriarch.
  7. */
  8. public HSSFPatriarch createDrawingPatriarch() {
  9. if(_patriarch == null){
  10. // Create the drawing group if it doesn't already exist.
  11. _workbook.initDrawings();
  12. if(_patriarch == null){
  13. _sheet.aggregateDrawingRecords(_book.getDrawingManager(), true);
  14. EscherAggregate agg = (EscherAggregate) _sheet.findFirstRecordBySid(EscherAggregate.sid);
  15. _patriarch = new HSSFPatriarch(this, agg);
  16. agg.setPatriarch(_patriarch);
  17. }
  18. }
  19. return _patriarch;
  20. }

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

  1. public int addPicture(byte[] pictureData, int format)
  2. initDrawings();

代码示例来源:origin: com.haulmont.thirdparty/poi

  1. initDrawings();

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

  1. initDrawings();

相关文章

HSSFWorkbook类方法