From 2e306d32494bede29b995f34cacafd9d28b94500 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 23 Dec 2018 09:11:10 -0500 Subject: [PATCH] Add comment about json to pdf-bookmarks --- examples/pdf-bookmarks.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/pdf-bookmarks.cc b/examples/pdf-bookmarks.cc index 7610f949..807fc02f 100644 --- a/examples/pdf-bookmarks.cc +++ b/examples/pdf-bookmarks.cc @@ -7,6 +7,10 @@ #include #include +// This program demonstrates extraction of bookmarks using the qpdf +// outlines API. Note that all the information shown by this program +// can also be obtained from a PDF file using qpdf's --json option. + static char const* whoami = 0; static enum { st_none, st_numbers, st_lines } style = st_none; static bool show_open = false;