126 int column_start,
int column_end);
178 bool decrease)
const;
180 bool decrease)
const;
ColPartitionGrid * text_grid_
double CalculateCellFilledPercentage(int row, int column)
void FindWhitespacedRows()
static bool IsWeakTableRow(StructuredTable *table, int row)
int CountHorizontalIntersections(int y)
ColPartitionGrid * text_grid_
bool FindLinesBoundingBoxIteration(TBOX *bounding_box)
GenericVectorEqEq< int > cell_x_
int CountFilledCellsInRow(int row)
bool VerifyWhitespacedTable()
int FindHorizontalMargin(ColPartitionGrid *grid, int start_y, bool decrease) const
StructuredTable * RecognizeTable(const TBOX &guess_box)
void set_max_text_height(int height)
const TBOX & bounding_box() const
void set_line_grid(ColPartitionGrid *lines)
void set_bounding_box(const TBOX &box)
bool FindLinedStructure()
int FindVerticalMargin(ColPartitionGrid *grid, int start_x, bool decrease) const
void Display(ScrollView *window, ScrollView::Color color)
bool HasSignificantLines(const TBOX &guess)
void set_text_grid(ColPartitionGrid *text)
void set_max_text_height(int height)
static void FindCellSplitLocations(const GenericVector< int > &min_list, const GenericVector< int > &max_list, int max_merged, GenericVector< int > *locations)
bool VerifyLinedTableCells()
void UpdateMargins(ColPartitionGrid *grid)
void FindWhitespacedColumns()
bool VerifyRowFilled(int row)
void set_min_height(int height)
ColPartitionGrid * line_grid_
bool RecognizeWhitespacedTable(const TBOX &guess_box, StructuredTable *table)
void set_line_grid(ColPartitionGrid *lines)
bool FindWhitespacedStructure()
int NextHorizontalSplit(int left, int right, int y, bool top_to_bottom)
GenericVectorEqEq< int > cell_y_
int CountFilledCellsInColumn(int column)
bool FindLinesBoundingBox(TBOX *bounding_box)
void set_min_width(int width)
~StructuredTable()=default
int row_height(int row) const
int column_width(int column) const
int CountVerticalIntersections(int x)
bool RecognizeLinedTable(const TBOX &guess_box, StructuredTable *table)
void set_text_grid(ColPartitionGrid *text)
bool DoesPartitionFit(const ColPartition &part) const
int CountPartitions(const TBOX &box)
ColPartitionGrid * line_grid_