Package org.opendope.SmartArt.dataHierarchy

Examples of org.opendope.SmartArt.dataHierarchy.TextBody


      CTPt thisPoint) {
   
    CTTextBody textBody = thisPoint.getT();
    if (textBody!=null) {
     
      TextBody tb = getDataHierarchyObjectFactory().createTextBody();
      thisListItem.setTextBody(tb);
     
      for(CTTextParagraph p : textBody.getP() ) {
       
        if (!p.getEGTextRun().isEmpty()
            && p.getEGTextRun().get(0) instanceof org.docx4j.dml.CTRegularTextRun
            ) {
          // TODO; assumes a single r child, which is
          // all we handle.  ie this model doesn't support
          // multiple runs, some of which formatted
         
          org.docx4j.dml.CTRegularTextRun run = (org.docx4j.dml.CTRegularTextRun)p.getEGTextRun().get(0);
         
          tb.getP().add( run.getT() );         
        }
      }
     
    }
    return textBody;
View Full Code Here

TOP

Related Classes of org.opendope.SmartArt.dataHierarchy.TextBody

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.