xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Zschech <richard.zsch...@cqrdata.com>
Subject Interactive basic-link
Date Mon, 02 May 2005 05:54:17 GMT
I'm trying to implement a simple fo reader and am having trouble finding 
information about the links with in a document. I'm using 1.0dev and the 
Java2DRenderer developed for bug 33760 [1].  I would like to be able to:

Given a mouse position, find the basic-links under it.
Given an id-ref from a uri fragment or internal link, find the page and 
position on the page for the element with that id.

I have found the method AreaTreeHandler.getPageViewportsContainingID 
which gives the pages a given id is on but not the position on the page.
The FOEventHandler <cid:part1.07070101.06080606@cqrdata.com> has methods 
startLink and endLink which I think can be used to gather information 
about the areas generated for the link but I'm not sure how.

I'm guessing the development team intends to implement the functionality 
I'm describing some time in the future. Would it be much work to 
implement? If it simple enough for me todo could someone give me some 
pointers? Should I submit an RFE for this?

Also it would be nice to have access to the 
destination-placement-offset, show-destination, indicate-destination, 
target-processing-context, and target-stylesheet properties of the links 

Thanks in advance,
 From Richard.

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=33760

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message