Add public primitives for generic paragraph reading, caller-selected Markdown headings and trailing table-text edits so applications can own document plans and policy.
hwpx.tools.doc_diff.paragraph_texts reads documents, paths, text, sequences and paragraphs/text mappings; application plans stay outside this neutral reader. Existing diff/reference APIs retain their plan support without new warnings.
export_markdown(heading_detector=...) receives formatted paragraph/cell Markdown, including one-cell-table and namespace/extensionless-ingest paths. Omission preserves the existing default; detect_headings=False disables detection.
strip_trailing_table_text(predicate=...) edits only eligible text/runs after the last direct table and before its actual paragraph cache. QName validation and bounded byte spans preserve controls, foreign/cache lookalikes, mixed content, aliases, supported namespace versions and CDATA. Unchanged ZIP payloads remain byte-identical; predicate errors preserve an existing output. The legacy caption helper keeps its exact compatibility behavior.
The selector scales linearly on 500/1,000/2,000-table cache-free inputs. Invalid callbacks use existing structured error types before I/O. The error census stays at its existing limit; the strict module inventory adds the one explicitly owned format helper.
Validation: combined full suite 7,537 passed, 19 skipped, 1 xfailed; 90.41% coverage; independent final review 449 passed, 2 existing skips; mypy, Pyright, Ruff, hygiene and isolated installed-wheel source/heading/caption/legacy/preservation probes pass. Exact-head Python 3.10–3.14 CI passed. This candidate includes the separately reviewed equation, font-width and nested-cell corrections.
Refs #565. This completes additive core prerequisites only. The eight compatibility leak entries remain; automation's published dependency floor and future-major warnings/removal are separate gates. No package publication or future release version is implied.