Tue, 01 Jan 2002 10:16:50 +0000
added start of page size support.
eric@23 | 1 | typedef struct |
eric@23 | 2 | { |
eric@32 | 3 | boolean has_page_size; |
eric@32 | 4 | page_size_t page_size; |
eric@32 | 5 | |
eric@32 | 6 | boolean has_rotation; |
eric@23 | 7 | int rotation; |
eric@32 | 8 | |
eric@32 | 9 | boolean has_crop; |
eric@23 | 10 | crop_t crop; |
eric@23 | 11 | } input_attributes_t; |
eric@23 | 12 | |
eric@10 | 13 | boolean open_tiff_input_file (char *name); |
eric@10 | 14 | boolean close_tiff_input_file (void); |
eric@10 | 15 | |
eric@30 | 16 | |
eric@30 | 17 | typedef struct |
eric@30 | 18 | { |
eric@30 | 19 | char *author; |
eric@30 | 20 | char *creator; |
eric@30 | 21 | char *title; |
eric@30 | 22 | char *subject; |
eric@30 | 23 | char *keywords; |
eric@30 | 24 | } pdf_file_attributes_t; |
eric@30 | 25 | |
eric@30 | 26 | boolean open_pdf_output_file (char *name, |
eric@30 | 27 | pdf_file_attributes_t *attributes); |
eric@30 | 28 | |
eric@10 | 29 | |
eric@25 | 30 | void process_page_numbers (int page_index, |
eric@25 | 31 | int count, |
eric@25 | 32 | int base, |
eric@25 | 33 | page_label_t *page_label); |
eric@25 | 34 | |
eric@23 | 35 | boolean process_page (int image, /* range 1 .. n */ |
eric@23 | 36 | input_attributes_t input_attributes, |
eric@25 | 37 | bookmark_t *bookmarks); |