Filter classes
Pages
Page
Location
- class form_analyzer.filters.Location(horizontal: Optional[Tuple[float, float]] = None, vertical: Optional[Tuple[float, float]] = None)
Restricts the fields to a given location on a page.
Restrictions are indicated as ratios in the range [0.0, 1.0], so the tuple (.0, 1.0) would indicate the full range and (.5, 1.0) the right/bottom half and (.0, 0.5) the left/upper half.
If a dimension is None, it is not checked (and equal to the full range (.0, 1.0)).
- Parameters
horizontal – Horizontal range to take into account (left, right), default None
vertical – Vertical range to take into account (top, bottom), default None
Selected
- class form_analyzer.filters.Selected
Restricts the fields to those that are selected (i.e. have a checked checkbox).