List Bookmarks

The -list-bookmarks operation prints (to standard output) the bookmarks in a file. The first column give the level of the tree at which a particular bookmark is. Then the text of the bookmark in quotes, then the page number which the bookmark points to, then (optionally) the word "open" if the bookmark should have its children (at the level immediately below) visible when the file is loaded.

For example, upon executing
\begin{framed}
\small\verb!cpdf -list-bookmarks doc.pdf!
\end{framed}

the result might be:
\begin{framed}
\begin{verbatim}0 ''Part 1'' 1 open
1 ''Part 1A'' 2
1 ''Part 1B'' 3
0 ''Part 2'' 4
1 ''Part 2a'' 5\end{verbatim}
\end{framed}
If the page number is 0, it indicates that clicking on that entry doesn't move to a page.


vmplanet.net vmware images 2008-05-26