Keith,
no, this is not possible with the old PDFlib version.
Rainer
Keith Todd schrieb:
> The question should be can this be duplicated in PDFLib 4.0.3
>
> Thanks,
>
> Keith
> --- In pdflib@yahoogroups.com, "Todd, Keith" <Keith_Todd@...> wrote:
>>
>> Is there a way to duplicate the functionality of the following
> code in
>> PHP 4.0.3?
>>
>> $optlist = "script {app.launchURL('$target', false);}";
>>
>> $webaction = $p->create_action("JavaScript", $optlist);
>>
>> $optlist = sprintf("linewidth=1 borderstyle=underline contents
>> {DrillDown} annotcolor {rgb 0 0 1} action {activate %d}",
> $webaction);
>> $p->create_annotation($LastCharPos, $topPixel, $FirstCharPos,
>> $topPixel-7, "Link", $optlist);
>>
>> The call to app.launchURL() is only available in Adobe Reader 7.0
> and
>> the above code works great in PDFLIb6.0 but I have been trying to
>> simulate this in PDFLib 4.0.3 with no luck. I have tried
> add_weblink,
>> launchlink, and others.
>>
>> Thanks for any help,
>>
>> Keith
>>
>>
>> This message and any attachments are intended only for the use of
> the addressee and may contain information that is privileged and
> confidential. If the reader of the message is not the intended
> recipient or an authorized representative of the intended recipient,
> you are hereby notified that any dissemination of this communication
> is strictly prohibited. If you have received this communication in
> error, please notify us immediately by e-mail and delete the message
> and any attachments from your system.
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
--
Rainer Plöckl rp@... http://www.pdflib.com
PDFlib Text Extraction Toolkit (TET): Unicode text from any PDF
_______PDFlib - a library for generating PDF on the fly________