t2p.h

Mon, 31 Dec 2001 08:25:04 +0000

author
eric
date
Mon, 31 Dec 2001 08:25:04 +0000
changeset 23
1fe64161aaac
parent 17
d4699dfddcc0
child 25
139b91f9a224
permissions
-rw-r--r--

added input and output attribute structures as arguments to process_page().

     1 typedef struct
     2 {
     3   page_size_t size;
     4   int rotation;
     5   crop_t crop;
     6 } input_attributes_t;
     8 typedef struct
     9 {
    10   char *page_number;
    11   bookmark_t *bookmarks;
    12 } output_attributes_t;
    14 boolean open_tiff_input_file (char *name);
    15 boolean close_tiff_input_file (void);
    17 boolean open_pdf_output_file (char *name);
    18 boolean close_pdf_output_file (void);
    20 boolean process_page (int image,  /* range 1 .. n */
    21 		      input_attributes_t input_attributes,
    22 		      output_attributes_t output_attributes);