tumble.h

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