1.1 --- a/pdf.h Wed Mar 05 01:58:36 2003 +0000 1.2 +++ b/pdf.h Wed Mar 05 02:09:49 2003 +0000 1.3 @@ -4,7 +4,7 @@ 1.4 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.5 * 1.6 * PDF routines 1.7 - * $Id: pdf.h,v 1.5 2003/03/04 17:58:36 eric Exp $ 1.8 + * $Id: pdf.h,v 1.6 2003/03/04 18:09:49 eric Exp $ 1.9 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.10 * 1.11 * This program is free software; you can redistribute it and/or modify 1.12 @@ -31,9 +31,14 @@ 1.13 typedef struct pdf_bookmark *pdf_bookmark_handle; 1.14 1.15 1.16 +#define PDF_PAGE_MODE_USE_NONE 0 1.17 +#define PDF_PAGE_MODE_USE_OUTLINES 1 1.18 +#define PDF_PAGE_MODE_USE_THUMBS 2 /* not yet implemented */ 1.19 + 1.20 + 1.21 void pdf_init (void); 1.22 1.23 -pdf_file_handle pdf_create (char *filename); 1.24 +pdf_file_handle pdf_create (char *filename, int page_mode); 1.25 1.26 void pdf_close (pdf_file_handle pdf_file); 1.27