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