New Forum | Previous | Next | (P-PDF) Developers
Topic: Re: How do I send an annotation in a DC stream?
Conf: (P-PDF) Developers, Msg: 57278
Date: 5/29/2002 05:24 PM
At 07:46 AM 11/21/2001 +1100, p-pdf-developer Listmanager wrote:
>I am using VC++. When printing a line in Distiller, I need to be able to
>define text that links to another document. What I'm currently doing is
>printing text, using the SDK TextOut() function, to a postscript
>file. The reason I do this is, while I'm printing the document I am
>retaining information so that I can create bookmarks. Now what I need to
>be able to do is create hyperlinks inside of the postscript code,
>preferable while its sending text to the device context. Is this possible?
The general answer is that you need to be able to include PDFMarks
(documented in the SDK and at PDFlib.com) into the Postscript
stream. Those marks allow you to add non-content information (bookmarks,
links, etc.) to a PDF document when Distiller (or similar programs) process
Now, how you include the marks via Windows API calls is a good
question! If it were the Mac OS, I could tell you ;).