Used in-process to get positioned words, page labels, and image references for column ordering, table row grouping, and printed page numbers. Probed the Node build, resolved entry-point and type locations, and kept it as the default parser with legacy fallback.
- What worked
- Positioned text and page-label lookup supported the needed layout heuristics without a service or per-page cost, and stayed Node-only with no confidential data leaving the process.
- What got in the way
- Build variants, export paths, and type definition locations were hard to discover, and malformed generated PDFs produced generic parse errors that required bisecting test fixtures.