Thu, 20 Feb 2003 12:16:00 +0000
my own PDF routines to replace Panda.
eric@59 | 1 | struct pdf_page |
eric@59 | 2 | { |
eric@59 | 3 | pdf_file_handle pdf_file; |
eric@59 | 4 | struct pdf_obj *page_dict; |
eric@59 | 5 | struct pdf_obj *media_box; |
eric@59 | 6 | struct pdf_obj *procset; |
eric@59 | 7 | struct pdf_obj *resources; |
eric@59 | 8 | |
eric@59 | 9 | char last_XObject_name; |
eric@59 | 10 | struct pdf_obj *XObject_dict; |
eric@59 | 11 | }; |
eric@59 | 12 | |
eric@59 | 13 | |
eric@59 | 14 | struct pdf_pages |
eric@59 | 15 | { |
eric@59 | 16 | struct pdf_obj *pages_dict; |
eric@59 | 17 | struct pdf_obj *kids; |
eric@59 | 18 | struct pdf_obj *count; |
eric@59 | 19 | }; |
eric@59 | 20 | |
eric@59 | 21 | |
eric@59 | 22 | struct pdf_file |
eric@59 | 23 | { |
eric@59 | 24 | FILE *f; |
eric@59 | 25 | struct pdf_obj *first_ind_obj; |
eric@59 | 26 | struct pdf_obj *last_ind_obj; |
eric@59 | 27 | long int xref_offset; |
eric@59 | 28 | struct pdf_obj *catalog; |
eric@59 | 29 | struct pdf_obj *info; |
eric@59 | 30 | struct pdf_pages *root; |
eric@59 | 31 | struct pdf_obj *trailer_dict; |
eric@59 | 32 | }; |