#include "ocrblock.h"#include "ocrrow.h"#include "werd.h"#include "rect.h"#include "pagewalk.h"#include "varable.h"#include "notdll.h"#include "tesseractclass.h"Go to the source code of this file.
Classes | |
| class | PGEventHandler |
Functions | |
| void | add_word (WERD *word, ROW *src_row, BLOCK *src_block, BLOCK_LIST *dest_block_list) |
| ScrollView * | bln_word_window_handle () |
| void | build_image_window (TBOX page_bounding_box) |
| void | display_bln_lines (ScrollView window, ScrollView::Color colour, float scale_factor, float y_offset, float minx, float maxx) |
| void | do_re_display (BOOL8 word_painter(BLOCK *, ROW *, WERD *)) |
| const TBOX | do_tidy_cmd () |
| void | do_view_cmd () |
| void | do_write_file (char *name) |
| void | pgeditor_msg (const char *msg) |
| void | pgeditor_show_point (SVEvent *event) |
| void | pgeditor_write_file (char *name, BLOCK_LIST *blocks) |
| float | re_scale_and_move_bln_word (WERD *norm_word, const TBOX &box) |
| void | re_segment_word (BLOCK_LIST *block_list, TBOX &selection_box) |
| void | block_space_stat (BLOCK_LIST *block_list, TBOX &selection_box) |
| void | row_space_stat (BLOCK_LIST *block_list, TBOX &selection_box) |
| void | show_point (BLOCK_LIST *block_list, float x, float y) |
| BOOL8 | word_blank_and_set_display (BLOCK *block, ROW *row, WERD *word) |
| BOOL8 | word_bln_display (BLOCK *, ROW *row, WERD *word) |
| BOOL8 | word_change_text (BLOCK *block, ROW *row, WERD *word) |
| BOOL8 | word_copy (BLOCK *block, ROW *row, WERD *word) |
| BOOL8 | word_delete (BLOCK *block, ROW *row, WERD *word, BLOCK_IT &block_it, ROW_IT &row_it, WERD_IT &word_it) |
| BOOL8 | word_display (BLOCK *, ROW *row, WERD *word) |
| BOOL8 | word_dumper (BLOCK *block, ROW *row, WERD *word) |
| BOOL8 | word_set_display (BLOCK *block, ROW *row, WERD *word) |
| BOOL8 | word_toggle_seg (BLOCK *, ROW *, WERD *word) |
| void | do_check_mem (inT32 level) |
Variables | |
| BLOCK_LIST * | current_block_list |
| BOOL8 * | current_image_changed |
| char * | editor_image_win_name = "EditorImage" |
| int | editor_image_xpos = 590 |
| int | editor_image_ypos = 10 |
| int | editor_image_height = 680 |
| int | editor_image_width = 655 |
| int | editor_image_word_bb_color = BLUE |
| int | editor_image_blob_bb_color = YELLOW |
| int | editor_image_text_color = WHITE |
| char * | editor_dbwin_name = "EditorDBWin" |
| int | editor_dbwin_xpos = 50 |
| int | editor_dbwin_ypos = 500 |
| int | editor_dbwin_height = 24 |
| int | editor_dbwin_width = 80 |
| char * | editor_word_name = "BlnWords" |
| int | editor_word_xpos = 60 |
| int | editor_word_ypos = 510 |
| int | editor_word_height = 240 |
| int | editor_word_width = 655 |
| double | editor_smd_scale_factor = 1.0 |
| ScrollView* bln_word_window_handle | ( | ) |
| void block_space_stat | ( | BLOCK_LIST * | block_list, | |
| TBOX & | selection_box | |||
| ) |
| void build_image_window | ( | TBOX | page_bounding_box | ) |
| void display_bln_lines | ( | ScrollView | window, | |
| ScrollView::Color | colour, | |||
| float | scale_factor, | |||
| float | y_offset, | |||
| float | minx, | |||
| float | maxx | |||
| ) |
| void do_check_mem | ( | inT32 | level | ) |
| void do_re_display | ( | BOOL8 | word_painterBLOCK *, ROW *, WERD * | ) |
| const TBOX do_tidy_cmd | ( | ) |
| void do_view_cmd | ( | ) |
| void do_write_file | ( | char * | name | ) |
| void pgeditor_msg | ( | const char * | msg | ) |
| void pgeditor_show_point | ( | SVEvent * | event | ) |
| void pgeditor_write_file | ( | char * | name, | |
| BLOCK_LIST * | blocks | |||
| ) |
| void re_segment_word | ( | BLOCK_LIST * | block_list, | |
| TBOX & | selection_box | |||
| ) |
| void row_space_stat | ( | BLOCK_LIST * | block_list, | |
| TBOX & | selection_box | |||
| ) |
| void show_point | ( | BLOCK_LIST * | block_list, | |
| float | x, | |||
| float | y | |||
| ) |
| BOOL8 word_delete | ( | BLOCK * | block, | |
| ROW * | row, | |||
| WERD * | word, | |||
| BLOCK_IT & | block_it, | |||
| ROW_IT & | row_it, | |||
| WERD_IT & | word_it | |||
| ) |
| BLOCK_LIST* current_block_list |
| int editor_dbwin_height = 24 |
"Editor debug window height"
| char* editor_dbwin_name = "EditorDBWin" |
"Editor debug window name"
| int editor_dbwin_width = 80 |
"Editor debug window width"
| int editor_dbwin_xpos = 50 |
"Editor debug window X Pos"
| int editor_dbwin_ypos = 500 |
"Editor debug window Y Pos"
| int editor_image_blob_bb_color = YELLOW |
"Blob bounding box colour"
| int editor_image_height = 680 |
"Editor image height"
| int editor_image_text_color = WHITE |
"Correct text colour"
| int editor_image_width = 655 |
"Editor image width"
| char* editor_image_win_name = "EditorImage" |
"Editor image window name"
| int editor_image_word_bb_color = BLUE |
"Word bounding box colour"
| int editor_image_xpos = 590 |
"Editor image X Pos"
| int editor_image_ypos = 10 |
"Editor image Y Pos"
| double editor_smd_scale_factor = 1.0 |
"Scaling for smd image"
| int editor_word_height = 240 |
"Word window height"
| char* editor_word_name = "BlnWords" |
"BL normalised word window"
| int editor_word_width = 655 |
"Word window width"
| int editor_word_xpos = 60 |
"Word window X Pos"
| int editor_word_ypos = 510 |
"Word window Y Pos"
1.6.3