t2p.h

Wed, 02 Jan 2002 10:18:13 +0000

author
eric
date
Wed, 02 Jan 2002 10:18:13 +0000
changeset 36
a338db73c6f4
parent 32
3aac131058da
child 48
3d0be1c1c1b2
permissions
-rw-r--r--

bug fixes.

     1 typedef struct
     2 {
     3   boolean has_resolution;
     4   double x_resolution;
     5   double y_resolution;
     7   boolean has_page_size;
     8   page_size_t page_size;
    10   boolean has_rotation;
    11   int rotation;
    13   boolean has_crop;
    14   crop_t crop;
    15 } input_attributes_t;
    17 boolean open_tiff_input_file (char *name);
    18 boolean close_tiff_input_file (void);
    21 typedef struct
    22 {
    23   char *author;
    24   char *creator;
    25   char *title;
    26   char *subject;
    27   char *keywords;
    28 } pdf_file_attributes_t;
    30 boolean open_pdf_output_file (char *name,
    31 			      pdf_file_attributes_t *attributes);
    34 void process_page_numbers (int page_index,
    35 			   int count,
    36 			   int base,
    37 			   page_label_t *page_label);
    39 boolean process_page (int image,  /* range 1 .. n */
    40 		      input_attributes_t input_attributes,
    41 		      bookmark_t *bookmarks);