return length;
}
- public int getRuleThickness() {
- return ruleThickness.getValue();
- }
-
public Font getFontState() {
return commonFont.getFontState(getFOEventHandler().getFontInfo());
}
- public int getPatternWidth() {
- return leaderPatternWidth.getValue();
- }
-
/**
* Return the Common Font Properties.
*/
/**
* Return the "rule-thickness" property.
- * TODO: 31699
*/
- public Length ___getRuleThickness() {
+ public Length getRuleThickness() {
return ruleThickness;
}
org.apache.fop.area.inline.Leader leader =
new org.apache.fop.area.inline.Leader();
leader.setRuleStyle(fobj.getRuleStyle());
- leader.setRuleThickness(fobj.getRuleThickness());
+ leader.setRuleThickness(fobj.getRuleThickness().getValue());
leaderArea = leader;
} else if (fobj.getLeaderPattern() == LeaderPattern.SPACE) {
leaderArea = new Space();
t.setOffset(font.getAscender());
int width = font.getCharWidth(dot);
Space spacer = null;
- if (fobj.getPatternWidth() > width) {
+ if (fobj.getLeaderPatternWidth().getValue() > width) {
spacer = new Space();
- spacer.setIPD(fobj.getPatternWidth() - width);
- width = fobj.getPatternWidth();
+ spacer.setIPD(fobj.getLeaderPatternWidth().getValue() - width);
+ width = fobj.getLeaderPatternWidth().getValue();
}
FilledArea fa = new FilledArea();
fa.setUnitWidth(width);
clm.fillArea(lm);
int width = clm.getStackingSize();
Space spacer = null;
- if (fobj.getPatternWidth() > width) {
+ if (fobj.getLeaderPatternWidth().getValue() > width) {
spacer = new Space();
- spacer.setIPD(fobj.getPatternWidth() - width);
- width = fobj.getPatternWidth();
+ spacer.setIPD(fobj.getLeaderPatternWidth().getValue() - width);
+ width = fobj.getLeaderPatternWidth().getValue();
}
fa.setUnitWidth(width);
if (spacer != null) {