Tue, 01 Jan 2002 06:11:43 +0000
add support for PDF file attributes: author, creator, title, etc.
1 typedef struct
2 {
3 page_size_t size;
4 int rotation;
5 crop_t crop;
6 } input_attributes_t;
8 boolean open_tiff_input_file (char *name);
9 boolean close_tiff_input_file (void);
12 typedef struct
13 {
14 char *author;
15 char *creator;
16 char *title;
17 char *subject;
18 char *keywords;
19 } pdf_file_attributes_t;
21 boolean open_pdf_output_file (char *name,
22 pdf_file_attributes_t *attributes);
25 void process_page_numbers (int page_index,
26 int count,
27 int base,
28 page_label_t *page_label);
30 boolean process_page (int image, /* range 1 .. n */
31 input_attributes_t input_attributes,
32 bookmark_t *bookmarks);