t2p.h

changeset 48
3d0be1c1c1b2
parent 36
a338db73c6f4
child 49
be20d7e8466f
     1.1 --- a/t2p.h	Mon Aug 26 05:43:49 2002 +0000
     1.2 +++ b/t2p.h	Mon Aug 26 06:03:55 2002 +0000
     1.3 @@ -1,21 +1,21 @@
     1.4  typedef struct
     1.5  {
     1.6 -  boolean has_resolution;
     1.7 +  bool has_resolution;
     1.8    double x_resolution;
     1.9    double y_resolution;
    1.10  
    1.11 -  boolean has_page_size;
    1.12 +  bool has_page_size;
    1.13    page_size_t page_size;
    1.14  
    1.15 -  boolean has_rotation;
    1.16 +  bool has_rotation;
    1.17    int rotation;
    1.18  
    1.19 -  boolean has_crop;
    1.20 +  bool has_crop;
    1.21    crop_t crop;
    1.22  } input_attributes_t;
    1.23  
    1.24 -boolean open_tiff_input_file (char *name);
    1.25 -boolean close_tiff_input_file (void);
    1.26 +bool open_tiff_input_file (char *name);
    1.27 +bool close_tiff_input_file (void);
    1.28  
    1.29  
    1.30  typedef struct
    1.31 @@ -27,8 +27,8 @@
    1.32    char *keywords;
    1.33  } pdf_file_attributes_t;
    1.34  
    1.35 -boolean open_pdf_output_file (char *name,
    1.36 -			      pdf_file_attributes_t *attributes);
    1.37 +bool open_pdf_output_file (char *name,
    1.38 +			   pdf_file_attributes_t *attributes);
    1.39  
    1.40  
    1.41  void process_page_numbers (int page_index,
    1.42 @@ -36,6 +36,6 @@
    1.43  			   int base,
    1.44  			   page_label_t *page_label);
    1.45  
    1.46 -boolean process_page (int image,  /* range 1 .. n */
    1.47 -		      input_attributes_t input_attributes,
    1.48 -		      bookmark_t *bookmarks);
    1.49 +bool process_page (int image,  /* range 1 .. n */
    1.50 +		   input_attributes_t input_attributes,
    1.51 +		   bookmark_t *bookmarks);