Hi, I'm developing a java stand-alone application structured on the screen as follows:
1) a tree data structure on the left side of the screen (a JTree essentially); 2) a pdf view of tree data on the right side of the screen. My target is to provide a clear view of the final pdf document to the user. FOP code is re-generated after any data modification (add, remove, edit and so on) operated on the tree. I'm migrating my application from an HTML view to a PDF view cause of terrible troubles rising up when HTML is printed on a A4-size paper. As I understand, the only component that I can use to embed a PDF view in my application is the PreviewPanel. Nevertheless, this component is very limited: user can only jump across pages. What I need is a trick or a workaround to implement following behaviour: "When user click on a element in the tree the preview panel automatically jumps to the right page and scroll to right place." Somebody knows a workaround to make this possible? In my old html-version of my application I have solved this problem by inserting many hidden anchor elements in the HTML code and using the "scrollToLink" method of the JDesktop pane component. Now I'm in troubles cause I cannot apply the same solution with the generated pdf document... Suggestions? Ideas? -- View this message in context: http://www.nabble.com/How-navigate-scroll-inside-the-PreviewPanel-tp14515390p14515390.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
