Package ag.ion.bion.officelayer.presentation

Examples of ag.ion.bion.officelayer.presentation.IPageService


    if (!document.getDocumentType().equals(IDocument.IMPRESS))
      return null;

    IPresentationDocument presentationDocument = (IPresentationDocument) document;

    IPageService pageService = presentationDocument.getPageService();

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


  }

  private int undoPresentationIntegration(
      IPresentationDocument presentationDocument, String integrationID,
      String undoString) {
    IPageService pageService = presentationDocument.getPageService();

    int steps = 0;
    for (int i = 0; i <= pageService.getPageCount(); i++) {
      IPresentationPage page = null;
      try {
        page = pageService.getPresentationPage(i);
      } catch (PresentationException e) {
        continue;
      }
      IDrawPage drawPage = page.getDrawPage();
      for (IShape shape : drawPage.getShapes()) {
View Full Code Here

TOP

Related Classes of ag.ion.bion.officelayer.presentation.IPageService

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.