* <code>fo:leader</code></a> object.
* The main property of <code>fo:leader</code> is leader-pattern.
* The following patterns are treated: rule, space, dots and use-content.
- * @asf.todo implement validateChildNode()
+ * TODO implement validateChildNode()
*/
+// [TBD] implement validateChildNode()
public class Leader extends InlineLevel {
// The value of properties relevant for fo:leader.
// See also superclass InlineLevel
private final boolean isSpace;
private boolean breakOppAfter;
private final Font font;
+ private final int level;
- AreaInfo // CSOK: ParameterNumber
- (int startIndex, int breakIndex, int wordSpaceCount, int letterSpaceCount,
- MinOptMax areaIPD, boolean isHyphenated, boolean isSpace, boolean breakOppAfter,
- Font font, int level) {
+ AreaInfo( // CSOK: ParameterNumber
+ int startIndex, int breakIndex, int wordSpaceCount, int letterSpaceCount,
+ MinOptMax areaIPD, boolean isHyphenated, boolean isSpace, boolean breakOppAfter,
- Font font) {
++ Font font, int level) {
assert startIndex <= breakIndex;
this.startIndex = startIndex;
this.breakIndex = breakIndex;