Package ag.ion.bion.officelayer.draw.shapes

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


      return false;

    try {
      IPresentationPage page = ((IPresentationDocument) document)
          .getPageService().getCurrentPresentationPage();
      IShapeFactory shapeFactory = page.getDrawPage().getShapeFactory();
      ITextShape textShape = shapeFactory
          .createTextShape(2000, 4000, tag);
      textShape.addToPage();
    } catch (PresentationException e) {
      return false;
    }
View Full Code Here


      return null;
    } catch (OfficeApplicationException e) {
      return null;
    }

    IShapeFactory shapeFactory = document.getDrawPage(0).getShapeFactory();
    IShape shape = shapeProvider.provide(shapeFactory);

    File image;
    try {
      image = export(shape, document);
View Full Code Here

    return id;
  }

  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();
View Full Code Here

        XNamed xNamed = (XNamed) UnoRuntime.queryInterface(
            XNamed.class, shape.getXShape());
        String name = xNamed.getName();
        if (!integrationID.equals(name))
          continue;
        IShapeFactory shapeFactory = drawPage.getShapeFactory();
        ITextShape textShape = shapeFactory.createTextShape(1, 1,
            undoString);
        replaceShape(shape, textShape);
        steps += 2;
      }
    }
View Full Code Here

TOP

Related Classes of ag.ion.bion.officelayer.draw.shapes.IShapeFactory

Copyright © 2018 www.massapicom. 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.