Hello again!
Ok, I'll try to make it a bit clearer. Imagine this table:
Property Name | Blah 1 | .... Blah n | HELP_BUTTON
property 1 | | | btnHelp
propery 2 | | |btnHelp
It the user presses the btnHelp, the Pdf help-file should appear on the screen.
This document has the explanations for all the properties. For example:
1. Property 1
blahblah and more blah.
2. Property 2
blaaaah (tables, diagrams...)
Because the help is amassed in one file, the client would want this behavior:
-user clicks on property "n" btnHelp
-pdf document opens scrolled directly to "n. Property n....." - much like the
bookmark behavior
I found the SetOpenAction method. It executes when the document opens. But it
needs some parameters. It needs a LocalDestination. And here i thought that the
"text searching" would come in. I was thinking that:
- get Property Name from the table
- search "n. property n" string in the PDF
- get the coordinates, location of the string occurrence
- set the Open Action
would to the trick.
But can I do that? Any other suggestions or solutions would be welcomed.
Thank you for your time & patience.
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/