Inherits from NSObject
Declared in YLOutlineParser.h
YLOutlineParser.m

Overview

YLOutlineParser is responsible for parsing the TOC of a PDF file.

Tasks

Initialization

Helper Methods

Instance Methods

initWithDocument:

Initializes a YLOutlineParser instance and returns it to the caller.

- (id)initWithDocument:(YLDocument *)document

Parameters

document

Reference to the document.

Return Value

An initialized YLOutlineParser instance.

Discussion

Initializes a YLOutlineParser instance and returns it to the caller.

Declared In

YLOutlineParser.h

outline

Returns an array with YLOutlineItem objects. This method will return nil if parsing is not finished yet.

- (NSArray *)outline

Discussion

Returns an array with YLOutlineItem objects. This method will return nil if parsing is not finished yet.

Declared In

YLOutlineParser.h

parse

Parse the TOC of the PDF file.

- (void)parse

Discussion

Parse the TOC of the PDF file.

Declared In

YLOutlineParser.h