freeports_analysis.formats.algorithms.unstructured.anima_en23
ANIMA_EN23 format submodule
Functions
|
PDF filter for ANIMA_EN23 format with dynamic table bounds calculation. |
- freeports_analysis.formats.algorithms.unstructured.anima_en23.pdf_filter(xml_root) List[PdfBlock]
PDF filter for ANIMA_EN23 format with dynamic table bounds calculation.
This PDF filter dynamically calculates the bounds of the table by using the position of “Fair Value” text as a reference point.
- Parameters:
xml_root (etree.Element) – XML root element of the PDF page
- Returns:
List of PDF blocks extracted from the page
- Return type:
List[PdfBlock]
Notes
The filter: - Locates “Fair Value” text to determine table position - Dynamically calculates currency set bounds - Identifies table areas based on font patterns - Uses standard PDF filtering with calculated parameters