00001
00020 #ifndef BLREAD_H
00021 #define BLREAD_H
00022
00023 #include "varable.h"
00024 #include "ocrblock.h"
00025
00026 BOOL8 read_pd_file(
00027 STRING name,
00028 INT32 xsize,
00029 INT32 ysize,
00030 BLOCK_LIST *blocks
00031 );
00032 void get_pd_vertex(
00033 FILE *pdfp,
00034 INT32 xsize,
00035 INT32 ysize,
00036 BOX *box,
00037 INT32 &xcoord,
00038 INT32 &ycoord);
00039 BOOL8 read_hpd_file(
00040 STRING name,
00041 INT32 xsize,
00042 INT32 ysize,
00043 BLOCK_LIST *blocks
00044 );
00045 void scan_hpd_blocks(
00046 const char *name,
00047 PAGE_BLOCK_LIST *page_blocks,
00048 INT32 &block_no,
00049 BLOCK_IT *block_it
00050 );
00051 BOOL8 read_vec_file(
00052 STRING name,
00053 INT32 xsize,
00054 INT32 ysize,
00055 BLOCK_LIST *blocks
00056 );
00057 BOOL8 read_unlv_file(
00058 STRING name,
00059 INT32 xsize,
00060 INT32 ysize,
00061 BLOCK_LIST *blocks
00062 );
00063 #endif