Victor, FO:Basic-link isn't working (anymore?) in trunk for PDF. It is properly colored blue, but the link is not active/clickable.
Per your email here: http://marc.theaimsgroup.com/?l=fop-dev&m=106125821432538&w=2 fo:basic-link may have been broken with the addition of AddLMVisitor: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java?annotate=1.19 I've narrowed the problem to being that AddLMVisitor.setupBasicLinkArea() is not being called from AddLMVisitor.serveBasicLink(). Looking at lines 299-302, you have a strange createArea() function within braces--I'm unsure what you're attempting to do there: this code (which calls setupBasicLinkArea()) is never being activated: lm = new InlineStackingLayoutManager() { protected InlineParent createArea(BasicLink node) { InlineParent area = super.createArea(); setupBasicLinkArea(node, parentLM, area); return area; } }; This is quite possibly a Java 101 question, but what does defining a function in this manner do--does it append a new function createArea() to the lm object? Can we just call setupBasicLinkArea() from within serveBasicLink() directly? But how do I get access to the parentLM object in order to do that? Thanks, Glen __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
