(even if it did, I'm not sure if saving the text view as pdf would preserve it). Does anyone know if cocoa can convert html to pdf, and preserve the links? The only way I can think of doing this, and it's sort of ugly, is to make up the PDF file as you do at the moment and then load it back into an PDFDocument using PKDKit. Then you can extract the text, match up the text against your NSAttributedString, locate the link attributes and then attach PDFAnnotationLink objects to the matching texts. You can then save it back out with the link annotations. It's yucky, but it might work... Nicko
(even if it did, I'm not sure if saving the text view as pdf would preserve it). Does anyone know if cocoa can convert html to pdf, and preserve the links?
Nicko