@class PDFDocument, PDFDestination, PDFOutlinePrivateVars;


@interface PDFOutline : NSObject

/*numberOfChildren

Gets the number of child outlines under the outline.

- (int)numberOfChildren
Availability
Available in Mac OS X v10.4 and later.*/

- (int)numberOfChildren;

/*destination

The destination associated with the outline.

- (PDFDestination *)destination
Discussion

The root outline serves only as a container for the outlines it owns; it does not have a destination. 
Availability
Available in Mac OS X v10.4 and later.*/
- (PDFDestination *)destination;

/*label

Gets the label for the outline.

- (NSString *)label
Discussion

The root outline serves only as a container for the outlines it owns; it does not have a label.
Availability
Available in Mac OS X v10.4 and later.*/
- (NSString *)label;

/*childAtIndex:

Gets the child outline at index.

- (PDFOutline *)childAtIndex:(int)index
Discussion

The index is zero-based. This method throws an exception if index is out of range.
Availability
Available in Mac OS X v10.4 and later.*/
- (PDFOutline *)childAtIndex:(int)index;

@end
