Package org.docx4j.openpackaging.parts.WordprocessingML

Examples of org.docx4j.openpackaging.parts.WordprocessingML.NumberingDefinitionsPart.restart()


   
      wordMLPackage.getMainDocumentPart().addObject(
          createNumberedParagraph(1, 1, "text on level 1" ));
     
      // Ok, lets restart numbering
      long newNumId = ndp.restart(1, 0, 1);
     
      wordMLPackage.getMainDocumentPart().addObject(
          createNumberedParagraph(newNumId, 0, "text on top level - restarted" ));
     
      // After first using newNumId, it doesn't matter whether
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.