Package org.opendope.SmartArt.dataHierarchy

Examples of org.opendope.SmartArt.dataHierarchy.SmartArtDataHierarchy$Images


    return textFormats;
  }
 
  public SmartArtDataHierarchy convert() {
   
    SmartArtDataHierarchy smartArtDataHierarchy
    = factory.createSmartArtDataHierarchy();

    CTPt docPt = ptList.getPt().get(0);
   
    if (docPt.getPrSet()!=null
        && docPt.getPrSet().getLoTypeId()!=null) {

      smartArtDataHierarchy.setLoTypeId(
          docPt.getPrSet().getLoTypeId() );     
    } else {
      log.error("Couldn't read @loTypeId");
    }
   
    org.opendope.SmartArt.dataHierarchy.List docList = factory.createList();
    // dgm:pt[@type="doc" and @modelId="0"]
    org.opendope.SmartArt.dataHierarchy.ListItem listItem = factory.createListItem();
    docList.getListItem().add(listItem);
   
    listItem.setId(docPt.getModelId());
    listItem.setDepth(0);
   
    processChildrenOf(docPt, listItem);
   
   
    smartArtDataHierarchy.setList(docList);
    smartArtDataHierarchy.setImages(images);
    smartArtDataHierarchy.setTexts(texts);
   
   
    return smartArtDataHierarchy;
  }
View Full Code Here

TOP

Related Classes of org.opendope.SmartArt.dataHierarchy.SmartArtDataHierarchy$Images

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.