aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-bookmarks.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-12-23 15:11:10 +0100
committerJay Berkenbilt <ejb@ql.org>2018-12-23 15:15:46 +0100
commit2e306d32494bede29b995f34cacafd9d28b94500 (patch)
tree90654c4d38da39cb2e3895332904c3d1b566b869 /examples/pdf-bookmarks.cc
parent76bf863aaa7bd57c2672718804dd334a6c561cfb (diff)
downloadqpdf-2e306d32494bede29b995f34cacafd9d28b94500.tar.zst
Add comment about json to pdf-bookmarks
Diffstat (limited to 'examples/pdf-bookmarks.cc')
-rw-r--r--examples/pdf-bookmarks.cc4
1 files changed, 4 insertions, 0 deletions
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 <qpdf/QUtil.hh>
#include <qpdf/QTC.hh>
+// 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;