1.1 diff -r 6e306105c128 -r 12bc5088172e pdf.h 1.2 --- a/pdf.h Wed Mar 05 01:58:31 2003 +0000 1.3 +++ b/pdf.h Wed Mar 05 01:58:36 2003 +0000 1.4 @@ -4,7 +4,7 @@ 1.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.6 * 1.7 * PDF routines 1.8 - * $Id: pdf.h,v 1.4 2003/02/21 01:25:47 eric Exp $ 1.9 + * $Id: pdf.h,v 1.5 2003/03/04 17:58:36 eric Exp $ 1.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -28,6 +28,8 @@ 1.14 1.15 typedef struct pdf_page *pdf_page_handle; 1.16 1.17 +typedef struct pdf_bookmark *pdf_bookmark_handle; 1.18 + 1.19 1.20 void pdf_init (void); 1.21 1.22 @@ -68,6 +70,11 @@ 1.23 1.24 void pdf_set_page_number (pdf_page_handle pdf_page, char *page_number); 1.25 1.26 -void pdf_bookmark (pdf_page_handle pdf_page, int level, char *name); 1.27 +/* Create a new bookmark, under the specified parent, or at the top 1.28 + level if parent is NULL. */ 1.29 +pdf_bookmark_handle pdf_new_bookmark (pdf_bookmark_handle parent, 1.30 + char *title, 1.31 + bool open, 1.32 + pdf_page_handle pdf_page); 1.33 1.34 void pdf_insert_tiff_image (pdf_page_handle pdf_page, char *filename);