next up previous contents index
Next: Pages Up: Merging and Splitting Previous: Selecting Pages   Contents   Index

Splitting on Bookmarks

The SplitOnBookmarks function can be used to split a document into chapters, sections etc according to the tree structure of its bookmarks. The level argument gives the level of the tree upon which to split. Level 0 indictates just top-level bookmarks, level 1 top-level and next-level-down etc.
\begin{framed}
\noindent\begin{tabular}{rl}
\small\sffamily\textbf{C\char93 } &
...
...dflib.SplitOnBookmarks(pdf, 0)!
\end{minipage}\\ [5mm]
\end{tabular}\end{framed}



root 2008-12-01