public final class TableAreaDetectorParameters extends Object
Provides parameters for table detector.
Constructor and Description |
---|
TableAreaDetectorParameters() |
Modifier and Type | Method and Description |
---|---|
Integer |
getMinColumnCount()
Gets a minimum number of table columns.
|
Integer |
getMinRowCount()
Gets a minimum number of table rows.
|
Integer |
getMinVerticalSpace()
Gets a minimum width of vertical separators.
|
Rectangle |
getRectangle()
Gets a rectangle which bounds table detection region.
|
List<Double> |
getVerticalSeparators()
Gets a collection of vertical separators.
|
Boolean |
hasMergedCells() |
void |
setMergedCells(Boolean value) |
void |
setMinColumnCount(Integer value)
Sets a minimum number of table columns.
|
void |
setMinRowCount(Integer value)
Sets a minimum number of table rows.
|
void |
setMinVerticalSpace(Integer value)
Sets a minimum width of vertical separators.
|
void |
setRectangle(Rectangle value)
Sets a rectangle which bounds table detection region.
|
void |
setVerticalSeparators(List<Double> value)
Sets a collection of vertical separators.
|
public Integer getMinRowCount()
Gets a minimum number of table rows.
public void setMinRowCount(Integer value)
Sets a minimum number of table rows.
value
- An optional integer value that provides a minimum number of rows in the table.public Integer getMinColumnCount()
Gets a minimum number of table columns.
public void setMinColumnCount(Integer value)
Sets a minimum number of table columns.
value
- An optional integer value that provides a minimum number of columns in the table.public Boolean hasMergedCells()
public void setMergedCells(Boolean value)
public Integer getMinVerticalSpace()
Gets a minimum width of vertical separators.
public void setMinVerticalSpace(Integer value)
Sets a minimum width of vertical separators.
value
- An optional integer value that provides a minimun width of vertical separators.public Rectangle getRectangle()
Gets a rectangle which bounds table detection region.
Rectangle
which bounds table detection region.public void setRectangle(Rectangle value)
Sets a rectangle which bounds table detection region.
value
- An optional instance of Rectangle
which bounds table detection region.public List<Double> getVerticalSeparators()
Gets a collection of vertical separators.
Copyright © 2019. All rights reserved.