( Sorry firefox pasted a link from javadoc into the previous email :-[ )
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 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 too.
Thanks in advance, From Richard.
[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=33760
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]