diff options
Diffstat (limited to 'ios/document.c')
-rw-r--r-- | ios/document.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ios/document.c b/ios/document.c index 85f8e381..6d30a0bc 100644 --- a/ios/document.c +++ b/ios/document.c @@ -43,6 +43,17 @@ open_document(char *filename) } } +fz_outline * +load_outline(struct document *doc) +{ + if (doc->pdf) + return pdf_load_outline(doc->pdf); + else if (doc->xps) + return xps_load_outline(doc->xps); + else + return NULL; +} + int count_pages(struct document *doc) { |