|
|
@@ -99,34 +99,74 @@ abstract public class FONode { |
|
|
|
|
|
|
|
public void setIsInLabel() { |
|
|
|
this.isInLabel = true; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++ ) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.setIsInLabel(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setIsInListBody() { |
|
|
|
this.isInListBody = true; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.setIsInListBody(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setIsInTableCell() { |
|
|
|
this.isInTableCell = true; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.setIsInTableCell(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setDistanceBetweenStarts(int distance) { |
|
|
|
this.distanceBetweenStarts = distance; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.setDistanceBetweenStarts(distance); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setLabelSeparation(int separation) { |
|
|
|
this.labelSeparation = separation; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.setLabelSeparation(separation); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setBodyIndent(int indent) { |
|
|
|
this.bodyIndent = indent; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.setBodyIndent(indent); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void forceStartOffset(int offset) { |
|
|
|
this.forcedStartOffset = offset; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.forceStartOffset(offset); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void forceWidth(int width) { |
|
|
|
this.forcedWidth = width; |
|
|
|
// made recursive by Eric Schaeffer |
|
|
|
for (int i = 0; i < this.children.size(); i++) { |
|
|
|
FONode child = (FONode) this.children.elementAt(i); |
|
|
|
child.forceWidth(width); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void resetMarker() { |