DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36016>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36016





------- Additional Comments From [EMAIL PROTECTED]  2005-08-09 09:18 -------
Similar to Bugs #36014 and #36018 I found the cause of the problem but 'what's
the fix'? The cause is simple - the leader-pattern-width property is defined as
having a percentage based of type LengthBase.CONTAINING_BOX. But in
LengthBase.getBaseLength() the switch statement doesn't handle that case =>
error message.

For "leader-pattern-width" and "leader-width" the spec says: Percentages refer
to the inline-progression-dimension of content-rectangle of parent area.

So I looked at the code and thought a statement like:
    parentFO.getLayoutDimension(PercentBase.BLOCK_IPD).intValue();
should do the trick. But that is the code used in the case of percent base set
to LengthBase.BLOCK_WIDTH. That means this should return the IPD of the
containing block which may not be the same as the parent area as the parent area
could be an inline area.

So how do I get to the IPD of the parent area?



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to