pdf.h

changeset 75
29d7cbc7c251
parent 74
12bc5088172e
child 107
312753062c5b
     1.1 diff -r 12bc5088172e -r 29d7cbc7c251 pdf.h
     1.2 --- a/pdf.h	Wed Mar 05 01:58:36 2003 +0000
     1.3 +++ b/pdf.h	Wed Mar 05 02:09:49 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.5 2003/03/04 17:58:36 eric Exp $
     1.9 + * $Id: pdf.h,v 1.6 2003/03/04 18:09:49 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 @@ -31,9 +31,14 @@
    1.14  typedef struct pdf_bookmark *pdf_bookmark_handle;
    1.15  
    1.16  
    1.17 +#define PDF_PAGE_MODE_USE_NONE     0
    1.18 +#define PDF_PAGE_MODE_USE_OUTLINES 1
    1.19 +#define PDF_PAGE_MODE_USE_THUMBS   2  /* not yet implemented */
    1.20 +
    1.21 +
    1.22  void pdf_init (void);
    1.23  
    1.24 -pdf_file_handle pdf_create (char *filename);
    1.25 +pdf_file_handle pdf_create (char *filename, int page_mode);
    1.26  
    1.27  void pdf_close (pdf_file_handle pdf_file);
    1.28