Examples of IDrawPage


Examples of ag.ion.bion.officelayer.draw.IDrawPage

    List<IArtefactPosition> positions = new ArrayList<IArtefactPosition>();
    for (int i = 0; i <= pageService.getPageCount(); i++) {
      try {
        IPresentationPage page = pageService.getPresentationPage(i);
        IDrawPage drawPage = page.getDrawPage();
        for (IShape shape : drawPage.getShapes()) {
          if (!shape.getType().equals(IShape.TEXT_SHAPE))
            continue;
          ITextShape textShape = (ITextShape) shape;
          String content = textShape.getText().getText();
          if (content.matches(XMLArtefact.TAG_PATTERN)) {
View Full Code Here

Examples of ag.ion.bion.officelayer.draw.IDrawPage

   * @author Sebastian Patschorke
   */
  @Override
  public IDrawPage getDrawPage(int page) {
    Integer p = Integer.valueOf(page);
    IDrawPage drawPage = drawPages.get(p);
    if (drawPage == null) {
      XDrawPage xDrawPage = getXDrawPage(page);
      drawPage = new DrawPage(this, xDrawPage);
      drawPages.put(p, drawPage);
    }
View Full Code Here

Examples of ag.ion.bion.officelayer.draw.IDrawPage

      try {
        page = pageService.getPresentationPage(i);
      } catch (PresentationException e) {
        continue;
      }
      IDrawPage drawPage = page.getDrawPage();
      for (IShape shape : drawPage.getShapes()) {
        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
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.