pdf_private.h

Thu, 20 Feb 2003 12:16:00 +0000

author
eric
date
Thu, 20 Feb 2003 12:16:00 +0000
changeset 59
e8821eb2fb08
child 62
9bd354b83e16
permissions
-rw-r--r--

my own PDF routines to replace Panda.

     1 struct pdf_page
     2 {
     3   pdf_file_handle pdf_file;
     4   struct pdf_obj *page_dict;
     5   struct pdf_obj *media_box;
     6   struct pdf_obj *procset;
     7   struct pdf_obj *resources;
     9   char last_XObject_name;
    10   struct pdf_obj *XObject_dict;
    11 };
    14 struct pdf_pages
    15 {
    16   struct pdf_obj *pages_dict;
    17   struct pdf_obj *kids;
    18   struct pdf_obj *count;
    19 };
    22 struct pdf_file
    23 {
    24   FILE             *f;
    25   struct pdf_obj   *first_ind_obj;
    26   struct pdf_obj   *last_ind_obj;
    27   long int         xref_offset;
    28   struct pdf_obj   *catalog;
    29   struct pdf_obj   *info;
    30   struct pdf_pages *root;
    31   struct pdf_obj   *trailer_dict;
    32 };