diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-12-23 15:11:10 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-12-23 15:15:46 +0100 |
commit | 2e306d32494bede29b995f34cacafd9d28b94500 (patch) | |
tree | 90654c4d38da39cb2e3895332904c3d1b566b869 /examples | |
parent | 76bf863aaa7bd57c2672718804dd334a6c561cfb (diff) | |
download | qpdf-2e306d32494bede29b995f34cacafd9d28b94500.tar.zst |
Add comment about json to pdf-bookmarks
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pdf-bookmarks.cc | 4 |
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; |