1.1 diff -r 198616589af5 -r 1fe64161aaac tumble.h 1.2 --- a/tumble.h Mon Dec 31 08:12:58 2001 +0000 1.3 +++ b/tumble.h Mon Dec 31 08:25:04 2001 +0000 1.4 @@ -1,14 +1,22 @@ 1.5 +typedef struct 1.6 +{ 1.7 + page_size_t size; 1.8 + int rotation; 1.9 + crop_t crop; 1.10 +} input_attributes_t; 1.11 + 1.12 +typedef struct 1.13 +{ 1.14 + char *page_number; 1.15 + bookmark_t *bookmarks; 1.16 +} output_attributes_t; 1.17 + 1.18 boolean open_tiff_input_file (char *name); 1.19 boolean close_tiff_input_file (void); 1.20 1.21 boolean open_pdf_output_file (char *name); 1.22 boolean close_pdf_output_file (void); 1.23 1.24 -boolean process_page (int image); /* range 1 .. n */ 1.25 - 1.26 - 1.27 - 1.28 - 1.29 - 1.30 - 1.31 - 1.32 +boolean process_page (int image, /* range 1 .. n */ 1.33 + input_attributes_t input_attributes, 1.34 + output_attributes_t output_attributes);