Writing PDF with Outlines

  • Given an NSTextView I want to create PDF text with outline.

    The documentation (PDF Kit Programming Guide) says: "An outline is
    like an interactive table of contents, showing the chapter or
    structure hierarchy of the document. Outlines make it easy for users
    to see the structure of a document and to jump to a particular
    location."

    There is PDF Kit which has PDFOutline to display outlines from pdf,
    and there are the print methods in NSView to create pdf text.

    But how to create pdf with outlines?

    Are there any Cocoa (or Quartz or anything else) methods which can
    help me?

    Gerriet.
  • > Are there any Cocoa (or Quartz or anything else) methods which can
    > help me?

    I don't think so. You'll wind up building the PDF yourself, using your own
    code or some PDF library--there's a libpdf or pdflib out there open source,
    and some commercial ones as well.

    --
    Scott Ribe
    <scott_ribe...>
    http://www.killerbytes.com/
    (303) 722-0567 voice
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today