Package org.docx4j.model.structure.jaxb.Sections

Examples of org.docx4j.model.structure.jaxb.Sections.Section


    return ret;
  }
   
  private Section createSection(ObjectFactory factory, ConversionSectionWrapper conversionSectionWrapper) {
   
    Section ret = factory.createSectionsSection();
    ret.setName(conversionSectionWrapper.getId());
    for (int i=0; i<conversionSectionWrapper.getContent().size(); i++) {
      // TODO: since the section model knows nothing about WML,
      // we have to marshall each object separately.
      // To fix this, next time wml is generated, include the section model there!
      ret.getAny().add(marshall(conversionSectionWrapper.getContent().get(i)));
    }
    return ret;
  }
View Full Code Here

TOP

Related Classes of org.docx4j.model.structure.jaxb.Sections.Section

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.