return false;
}
public String calculate(RenderingContext c, FSFunction function, InlineText text) {
InlineLayoutBox iB = text.getParent();
LineBox lineBox = iB.getLineBox();
// There might be a target-counter function after this function.
// Because the leader should fill up the line, we need the correct
// width and must first compute the target-counter function.
boolean dynamic = false;
Iterator childIterator = lineBox.getChildIterator();
while (childIterator.hasNext()) {
Box child = (Box)childIterator.next();
if (child == iB) {
dynamic = true;
} else if (dynamic && child instanceof InlineLayoutBox) {
((InlineLayoutBox)child).lookForDynamicFunctions(c);
}
}
if (dynamic) {
int totalLineWidth = InlineBoxing.positionHorizontally(c, lineBox, 0);
lineBox.setContentWidth(totalLineWidth);
}
// Get leader value and value width
PropertyValue param = (PropertyValue)function.getParameters().get(0);
String value = param.getStringValue();