Have the text highlighted where - in Acrobat/Reader? If so, you're out of luck - since there isn't any way to tell Acrobat to highlight something programmatically like that..UNLESS you want to write your own custom plugin to Acrobat/Reader...
Leonard -----Original Message----- From: Wulf Berschin [mailto:bersc...@dosco.de] Sent: Wednesday, January 28, 2009 12:52 PM To: Leonard Rosenthol Cc: Post all your questions about iText here Subject: Re: [iText-questions] Highlight Bookmark Targets Thank you, Leaonard, for the clarification, what we have is a huge 20.000 pages documentation in PDF (source is XML). We want to serve this content as PDF and give the user the ability to not only get the desired page but also to highlight the text portion which was (in XML) declared as target. Highlighting is important since the seeked text may occur inline of a paragraph and more often on a page... A simple page and text seach on parameter base will not suffice. Wulf Leonard Rosenthol schrieb: > Yes - tagging is TOTALLY DIFFERENT than bookmarks!! > > Tags in a PDF are directly integrated with the content on a page (see ISO > 32000-1, 14.6, 14.7 and 14.8) and because of that, you know exactly what the > content that is associated with a tag is. iText can be used to get the > contents between the tags. HOWEVER, you still need to then compute the > "bounding box" of that content - and iText has no capabilities in that areas > as it pretty much requires an almost complete rendering engine to do so). > > What are you trying to accomplish by finding those bounds? > > Leonard > > -----Original Message----- > From: Wulf Berschin [mailto:bersc...@dosco.de] > Sent: Wednesday, January 28, 2009 10:57 AM > To: Leonard Rosenthol > Cc: Post all your questions about iText here > Subject: Re: [iText-questions] Highlight Bookmark Targets > > Hi Leonhard, > > Leonard Rosenthol schrieb: >> I don't think I've ever seen Acrobat highlight text after it being clicked >> on from a bookmark. Are you seeing this on all PDFs? Can you take a >> screen shot? >> > > VoilĂ . It's obviousely a Tag and when I check "Mark content" (or > similar) under Options the small window, click the entry "Inhaltsverzeichnis" > Acrobat goes to this text and shows a blue box around this text. the PSDF was > created with (structured) FrameMaker. > > Can you give us some hints how Acrobat does this? Is 1T3XT's (Bruno's) > assumption near reality? > > Regards, > Wulf > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php