ExtractPDF4J/ExtractPDF4J

Header-anchored column alignment across pages

Ouverte

#7 ouverte le 25 août 2025

 (2 commentaires) (0 réaction) (2 personnes assignées)Java (44 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (545 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Why

Columns drift when layouts change per page. We need to anchor to headers and realign.

Tasks

  • Detect header row per page (fuzzy match against canonical header set)
  • Map per-page headers → canonical order
  • Snap column bounds to matched headers (with tolerance)
  • Add unit tests + 2 real PDFs as fixtures

Acceptance Criteria

  • Multi-page PDFs with shifting headers produce aligned CSVs (no column swaps).

Guide contributeur