Changeset 1542 for trunk/docx4j/src/main/java/org/docx4j/openpackaging
- Timestamp:
- 06/12/11 05:57:53 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/DrawingML/DiagramDataUnflatten.java
r1534 r1542 98 98 public SmartArtDataHierarchy convert() { 99 99 100 SmartArtDataHierarchy smartArtDataHierarchy 101 = factory.createSmartArtDataHierarchy(); 102 100 103 CTPt docPt = ptList.getPt().get(0); 104 105 if (docPt.getPrSet()!=null 106 && docPt.getPrSet().getLoTypeId()!=null) { 107 108 smartArtDataHierarchy.setLoTypeId( 109 docPt.getPrSet().getLoTypeId() ); 110 } else { 111 log.error("Couldn't read @loTypeId"); 112 } 101 113 102 114 org.opendope.SmartArt.dataHierarchy.List docList = factory.createList(); … … 110 122 processChildrenOf(docPt, listItem); 111 123 112 SmartArtDataHierarchy smartArtDataHierarchy113 = factory.createSmartArtDataHierarchy();114 124 115 125 smartArtDataHierarchy.setList(docList); 116 126 smartArtDataHierarchy.setImages(images); 117 127 smartArtDataHierarchy.setTexts(texts); 128 118 129 119 130 return smartArtDataHierarchy;
Note: See TracChangeset
for help on using the changeset viewer.
