Changeset 376 for trunk/src/org/expeditee/io/DefaultTreeWriter.java
- Timestamp:
- 11/02/08 13:05:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/io/DefaultTreeWriter.java
r290 r376 15 15 16 16 private int _indent = 0; 17 17 18 18 // the list of frames currently being processed 19 19 private Stack<FrameCounter> _frames = new Stack<FrameCounter>(); … … 81 81 82 82 Frame next = FrameIO.LoadFrame(cur.frame); 83 83 84 if (next == null) { 84 85 return; 85 86 } 87 88 Text title = next.getTitleItem(); 86 89 87 90 // the items on the frame currently being processed. … … 109 112 // ignore annotation and framenames 110 113 if (item.getID() >= 0) { 111 //Only follow the links of text items 112 if (item instanceof Text && item.getLink() != null 113 && !item.isAnnotation()) { 114 // Only follow the links of non annotation text items 115 boolean followLink = item instanceof Text 116 && item.getLink() != null 117 && (!item.isAnnotation() /*|| item.getText() 118 .toLowerCase().equals("@next")*/); 119 120 if (followLink) { 114 121 cur.index = i; 115 122 _frames.push(cur); … … 139 146 // Dont write out the title here because it is written 140 147 // out earlier 141 } else if (item != next.getTitleItem())148 } else if (item != title) 142 149 this.writeItem(item); 143 150 } … … 177 184 } 178 185 } 179 186 180 187 protected int getIndent() { 181 188 return _indent;
Note:
See TracChangeset
for help on using the changeset viewer.