126 int column_start,
int column_end);
178 bool decrease)
const;
180 bool decrease)
const;
274 void set_min_height(
int height);
275 void set_min_width(
int width);
329 bool HasSignificantLines(
const TBOX& guess);
343 bool FindLinesBoundingBoxIteration(
TBOX* bounding_box);
359 int NextHorizontalSplit(
int left,
int right,
int y,
bool top_to_bottom);
bool VerifyRowFilled(int row)
ColPartitionGrid * text_grid_
const TBOX & bounding_box() const
GenericVectorEqEq< int > cell_x_
int CountFilledCellsInColumn(int column)
void Display(ScrollView *window, ScrollView::Color color)
void FindWhitespacedColumns()
int column_width(int column) const
int FindVerticalMargin(ColPartitionGrid *grid, int start_x, bool decrease) const
void UpdateMargins(ColPartitionGrid *grid)
ColPartitionGrid * line_grid_
double CalculateCellFilledPercentage(int row, int column)
bool DoesPartitionFit(const ColPartition &part) const
ColPartitionGrid * line_grid_
bool VerifyLinedTableCells()
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)
int FindHorizontalMargin(ColPartitionGrid *grid, int start_y, bool decrease) const
int CountHorizontalIntersections(int y)
bool VerifyWhitespacedTable()
bool FindWhitespacedStructure()
void set_bounding_box(const TBOX &box)
void FindWhitespacedRows()
int CountFilledCellsInRow(int row)
bool FindLinedStructure()
void set_line_grid(ColPartitionGrid *lines)
ColPartitionGrid * text_grid_
void set_text_grid(ColPartitionGrid *text)
int CountVerticalIntersections(int x)
GenericVectorEqEq< int > cell_y_
int CountPartitions(const TBOX &box)
int row_height(int row) const