Changeset 1446 for trunk/docx4j/src/main/java/org/docx4j/openpackaging
- Timestamp:
- 02/27/11 00:51:58 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/WordprocessingML/MainDocumentPart.java
r1381 r1446 57 57 import org.docx4j.wml.CTFootnotes; 58 58 import org.docx4j.wml.CTShd; 59 import org.docx4j.wml.Comments; 59 60 import org.docx4j.wml.Ftr; 60 61 import org.docx4j.wml.Hdr; … … 409 410 410 411 Map<String, String> stylesInUse = new HashMap<String, String>(); 411 // traverseMainDocumentRecursive(bodyChildren, null, stylesInUse);412 412 Finder finder = new Finder(null, stylesInUse); 413 413 new TraversalUtil(bodyChildren, finder); … … 421 421 422 422 Ftr ftr = ((FooterPart)part).getJaxbElement(); 423 // traverseMainDocumentRecursive(ftr.getEGBlockLevelElts(), null, stylesInUse);424 423 finder.walkJAXBElements(ftr); 425 424 … … 427 426 428 427 Hdr hdr = ((HeaderPart)part).getJaxbElement(); 429 // traverseMainDocumentRecursive(hdr.getEGBlockLevelElts(), null, stylesInUse);430 428 finder.walkJAXBElements(hdr); 431 429 } … … 437 435 log.debug("Looking at endnotes"); 438 436 CTEndnotes endnotes= this.getEndNotesPart().getJaxbElement(); 439 // traverseMainDocumentRecursive(endnotes.getEndnote(), null, stylesInUse);440 437 finder.walkJAXBElements(endnotes); 441 438 } … … 443 440 log.debug("Looking at footnotes"); 444 441 CTFootnotes footnotes= this.getFootnotesPart().getJaxbElement(); 445 // traverseMainDocumentRecursive(footnotes.getFootnote(), null, stylesInUse);446 442 finder.walkJAXBElements(footnotes); 443 } 444 445 // Comments 446 if (this.getCommentsPart()!=null) { 447 log.debug("Looking at comments"); 448 Comments comments = this.getCommentsPart().getJaxbElement(); 449 finder.walkJAXBElements(comments); 447 450 } 448 451
Note: See TracChangeset
for help on using the changeset viewer.
