Examples of SdtFinder


Examples of org.docx4j.finders.SdtFinder

    List<Object> groupedContent = null;
   
    ///////////////////////////////////////////////
    // First, contents of existing content controls
    // .. find the content controls
    SdtFinder sdtFinder = new SdtFinder();
    new TraversalUtil(mainDocument.getContent(), sdtFinder);
   
    // .. loop through them
    for (SdtElement sdtEl : sdtFinder.getSdtList()) {
      content = sdtEl.getSdtContent().getContent();
      groupedContent = groupContent(content);
     
      if (groupedContent != null) {
        content.clear();
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.