aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/area/inline/Leader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/area/inline/Leader.java')
-rw-r--r--src/org/apache/fop/area/inline/Leader.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/org/apache/fop/area/inline/Leader.java b/src/org/apache/fop/area/inline/Leader.java
index 2475cac80..0bc5415a5 100644
--- a/src/org/apache/fop/area/inline/Leader.java
+++ b/src/org/apache/fop/area/inline/Leader.java
@@ -8,6 +8,7 @@
package org.apache.fop.area.inline;
import org.apache.fop.render.Renderer;
+import org.apache.fop.fo.properties.RuleStyle;
public class Leader extends Stretch {
@@ -18,14 +19,7 @@ public class Leader extends Stretch {
// if space replaced with a space
// otherwise this is a holder for a line
- public static final int DOTTED = 0;
- public static final int DASHED = 1;
- public static final int SOLID = 2;
- public static final int DOUBLE = 3;
- public static final int GROOVE = 4;
- public static final int RIDGE = 5;
-
- int ruleStyle = SOLID;
+ int ruleStyle = RuleStyle.SOLID;
int ruleThickness = 1000;
public Leader() {