Skip to main content
Known Participant
October 8, 2010
Question

cfpdf extract the table of contents from a pdf

  • October 8, 2010
  • 1 reply
  • 1836 views

Is there a way to extract the "table of contents" from a

pdf using coldfusion?

Does an example exist?

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 8, 2010

    Extract how, as text ...?

    Known Participant
    October 11, 2010

    Well, I would prefer XML.

    Something text-based, so I can parse the table of contents.

    The resulting output will be sent to a Flash-Base Web Application

    for display.

    Inspiring
    October 11, 2010

    I do not recall if it supports xml. But you can extract the pdf text with ddx. For CF9, it should be a built in action of cfpdf.

    http://www.coldfusionjedi.com/index.cfm/2007/7/24/ColdFusion-8-Working-with-PDFs-Part-7