Commit 2e306d32494bede29b995f34cacafd9d28b94500
1 parent
76bf863a
Add comment about json to pdf-bookmarks
Showing
1 changed file
with
4 additions
and
0 deletions
examples/pdf-bookmarks.cc
| ... | ... | @@ -7,6 +7,10 @@ |
| 7 | 7 | #include <qpdf/QUtil.hh> |
| 8 | 8 | #include <qpdf/QTC.hh> |
| 9 | 9 | |
| 10 | +// This program demonstrates extraction of bookmarks using the qpdf | |
| 11 | +// outlines API. Note that all the information shown by this program | |
| 12 | +// can also be obtained from a PDF file using qpdf's --json option. | |
| 13 | + | |
| 10 | 14 | static char const* whoami = 0; |
| 11 | 15 | static enum { st_none, st_numbers, st_lines } style = st_none; |
| 12 | 16 | static bool show_open = false; | ... | ... |