org.apache.poi.xslf.usermodel.XSLFSheet.buildShapes()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(116)

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

XSLFSheet.buildShapes介绍

暂无

代码示例

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

protected XSLFGroupShape(CTGroupShape shape, XSLFSheet sheet){
  super(shape,sheet);
  _shapes = XSLFSheet.buildShapes(shape, this);
  _grpSpPr = shape.getGrpSpPr();
}

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

/**
 * Helper method for initializing drawing and shapes in one go.
 * If they are initialized separately, there's a risk that shapes
 * get added twice, e.g. a shape is added to the drawing, then
 * buildShapes is called and at last the shape is added to shape list
 */
private void initDrawingAndShapes() {
  CTGroupShape cgs = getSpTree();
  if(_drawing == null) {
    _drawing = new XSLFDrawing(this, cgs);
  }
  if (_shapes == null) {
    _shapes = buildShapes(cgs, this);
  }
}

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

try {
  CTGroupShape grp = CTGroupShape.Factory.parse(cur.newXMLStreamReader());
  shapes.addAll(buildShapes(grp, parent));
} catch (XmlException e) {
  LOG.log(POILogger.DEBUG, "unparsable alternate content", e);

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

/*package*/ XSLFGroupShape(CTGroupShape shape, XSLFSheet sheet){
  _shape = shape;
  _sheet = sheet;
  _shapes = _sheet.buildShapes(_shape);
  _spPr = shape.getGrpSpPr();
}

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

protected XSLFGroupShape(CTGroupShape shape, XSLFSheet sheet){
  super(shape,sheet);
  _shapes = XSLFSheet.buildShapes(shape, this);
  _grpSpPr = shape.getGrpSpPr();
}

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

private List<XSLFShape> getShapeList(){
  if(_shapes == null){
    _shapes = buildShapes(getSpTree());
  }
  return _shapes;
}

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

/**
 * Helper method for initializing drawing and shapes in one go.
 * If they are initialized separately, there's a risk that shapes
 * get added twice, e.g. a shape is added to the drawing, then
 * buildShapes is called and at last the shape is added to shape list
 */
private void initDrawingAndShapes() {
  CTGroupShape cgs = getSpTree();
  if(_drawing == null) {
    _drawing = new XSLFDrawing(this, cgs);
  }
  if (_shapes == null) {
    _shapes = buildShapes(cgs, this);
  }
}

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

try {
  CTGroupShape grp = CTGroupShape.Factory.parse(cur.newXMLStreamReader());
  shapes.addAll(buildShapes(grp, parent));
} catch (XmlException e) {
  LOG.log(POILogger.DEBUG, "unparsable alternate content", e);

相关文章