t2p.h

Tue, 01 Jan 2002 10:16:50 +0000

author
eric
date
Tue, 01 Jan 2002 10:16:50 +0000
changeset 32
3aac131058da
parent 30
35fad7ec7732
child 36
a338db73c6f4
permissions
-rw-r--r--

added start of page size support.

     1 typedef struct
     2 {
     3   boolean has_page_size;
     4   page_size_t page_size;
     6   boolean has_rotation;
     7   int rotation;
     9   boolean has_crop;
    10   crop_t crop;
    11 } input_attributes_t;
    13 boolean open_tiff_input_file (char *name);
    14 boolean close_tiff_input_file (void);
    17 typedef struct
    18 {
    19   char *author;
    20   char *creator;
    21   char *title;
    22   char *subject;
    23   char *keywords;
    24 } pdf_file_attributes_t;
    26 boolean open_pdf_output_file (char *name,
    27 			      pdf_file_attributes_t *attributes);
    30 void process_page_numbers (int page_index,
    31 			   int count,
    32 			   int base,
    33 			   page_label_t *page_label);
    35 boolean process_page (int image,  /* range 1 .. n */
    36 		      input_attributes_t input_attributes,
    37 		      bookmark_t *bookmarks);