YLOutlineParser Class Reference
Inherits from | NSObject |
Declared in | YLOutlineParser.h YLOutlineParser.m |
Tasks
Initialization
-
– initWithDocument:
Initializes a YLOutlineParser instance and returns it to the caller.
Helper Methods
-
– parse
Parse the TOC of the PDF file.
-
– outline
Returns an array with YLOutlineItem objects. This method will return nil if parsing is not finished yet.
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