Examples of IGraphicObjectShape


Examples of ag.ion.bion.officelayer.draw.shapes.IGraphicObjectShape

    return textShape;
  }

  @Override
  public IGraphicObjectShape createGraphicObjectShape(GraphicInfo graphicInfo) {
    IGraphicObjectShape graphicObjectShape = new GraphicObjectShape(
        drawPage.createShape(IShape.GRAPHIC_OBJECT_SHAPE), drawPage);

    String internalURL = drawPage.insertImage(graphicInfo.getUrl());
    if (internalURL == null)
      return null;

    graphicObjectShape.setGraphicURL(internalURL);
    Size size = new Size();
    size.Height = graphicInfo.getHeight();
    size.Width = graphicInfo.getWidth();
    graphicObjectShape.setSize(size);

    return graphicObjectShape;
  }
View Full Code Here

Examples of ag.ion.bion.officelayer.draw.shapes.IGraphicObjectShape

  private String integrateInPresentation(GraphicInfo graphicInfo,
      PresentationPosition position) {
    IShapeFactory shapeFactory = position.getPresentationPage()
        .getDrawPage().getShapeFactory();
    IGraphicObjectShape graphicShape = shapeFactory
        .createGraphicObjectShape(graphicInfo);

    replaceShape(position.getTextShape(), graphicShape);

    String id = generateID();
    setXName(graphicShape.getXShape(), generateID());
    return id;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.