00001
00020 #ifndef WORDSEG_H
00021 #define WORDSEG_H
00022
00023 #include "varable.h"
00024 #include "blobbox.h"
00025 #include "notdll.h"
00026
00033 extern BOOL_VAR_H (textord_fp_chopping, TRUE, "Do fixed pitch chopping");
00036 void make_words(
00037 ICOORD page_tr,
00038 float gradient,
00039 BLOCK_LIST *blocks,
00040 TO_BLOCK_LIST *land_blocks,
00041 TO_BLOCK_LIST *port_blocks
00042 );
00043 void set_row_spaces(
00044 TO_BLOCK *block,
00045 FCOORD rotation,
00046 BOOL8 testing_on
00047 );
00048 INT32 row_words(
00049 TO_BLOCK *block,
00050 TO_ROW *row,
00051 INT32 maxwidth,
00052 FCOORD rotation,
00053 BOOL8 testing_on
00054 );
00055 INT32 row_words2(
00056 TO_BLOCK *block,
00057 TO_ROW *row,
00058 INT32 maxwidth,
00059 FCOORD rotation,
00060 BOOL8 testing_on
00061 );
00062 void make_real_words(
00063 TO_BLOCK *block,
00064 FCOORD rotation
00065 );
00066 ROW *make_rep_words(
00067 TO_ROW *row,
00068 TO_BLOCK *block
00069 );
00070 WERD *make_real_word(
00071 BLOBNBOX_IT *box_it,
00072 INT32 blobcount,
00073 BOOL8 bol,
00074 BOOL8 fuzzy_sp,
00075 BOOL8 fuzzy_non,
00076 UINT8 blanks
00077 );
00078 #endif