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);
int FindVerticalMargin(ColPartitionGrid *grid, int start_x, bool decrease) const
int CountFilledCellsInRow(int row)
bool FindLinedStructure()
double CalculateCellFilledPercentage(int row, int column)
bool VerifyWhitespacedTable()
int CountVerticalIntersections(int x)
void FindWhitespacedColumns()
GenericVectorEqEq< int > cell_y_
void set_line_grid(ColPartitionGrid *lines)
void set_text_grid(ColPartitionGrid *text)
bool DoesPartitionFit(const ColPartition &part) const
bool FindWhitespacedStructure()
void set_max_text_height(int height)
void Display(ScrollView *window, ScrollView::Color color)
void FindWhitespacedRows()
void set_bounding_box(const TBOX &box)
static void FindCellSplitLocations(const GenericVector< int > &min_list, const GenericVector< int > &max_list, int max_merged, GenericVector< int > *locations)
int column_width(int column) const
int row_height(int row) const
ColPartitionGrid * line_grid_
ColPartitionGrid * text_grid_
ColPartitionGrid * line_grid_
const TBOX & bounding_box() const
GenericVectorEqEq< int > cell_x_
int CountPartitions(const TBOX &box)
ColPartitionGrid * text_grid_
bool VerifyLinedTableCells()
int CountFilledCellsInColumn(int column)
void UpdateMargins(ColPartitionGrid *grid)
bool VerifyRowFilled(int row)
int CountHorizontalIntersections(int y)
int FindHorizontalMargin(ColPartitionGrid *grid, int start_y, bool decrease) const