Some test text!

Document outline

In this document
chevron_rightShowing an outline view controller

A document outline, or table of contents, demonstrates how the PDF document is organized and helps users see the overall picture. The OutlineViewController class shows the document outline (table of contents) that can be used to navigate through the document being viewed by a PTPDFViewCtrl by tapping on a bookmark item.

The outline control is part of the Tools library, so make sure you have added the Tools library to your project.

linkShowing an outline view controller

To create a new outline view controller instance and display it from another view controller, supply a PTPDFViewCtrl instance to the OutlineViewController designated initializer:

The outline view controller must be pushed onto a navigation controller's stack before being shown.

You can set a delegate to be notified by the outline view controller when outline bookmarks are selected with the OutlineViewControllerDelegate protocol. (See the CompleteReader example for usage of an OutlineViewController.)