Changeset 1712
- Timestamp:
- 11/16/11 11:48:24 (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/convert/out/pdf/viaXSLFO/Conversion.java
r1637 r1712 296 296 Context.jcSectionModel); 297 297 298 log.debug(XmlUtils.marshaltoString(sections, false, Context.jcSectionModel)); 299 298 300 if (settings == null) { 299 301 settings = new PdfSettings(); … … 401 403 org.docx4j.wml.PPr ppr = ((org.docx4j.wml.P)o).getPPr(); 402 404 if (ppr.getSectPr()!=null) { 405 406 // According to the ECMA-376 2ed, if type is not specified, read it as next page 407 // However Word 2007 sometimes treats it as continuous, and sometimes doesn't?? 403 408 404 if (ppr.getSectPr().getType()==null 405 || ( ppr.getSectPr().getType()!=null 406 && ppr.getSectPr().getType().getVal().equals("continuous"))) { 409 if ( ppr.getSectPr().getType()!=null 410 && ppr.getSectPr().getType().getVal().equals("continuous")) { 407 411 // If its continuous, don't add a section 408 // According to the ECMA-376 2ed, if type is not specified, read it as next page409 // However Word 2007 treats it as continuous, so we do the same here.410 412 } else { 411 413 section = factory.createSectionsSection();
Note: See TracChangeset
for help on using the changeset viewer.
