Skip to main content

document_text

Function document_text 

Source
pub fn document_text(source: Source<'_>) -> Result<String, String>
Expand description

Reads a complete textual snapshot of source — the same view jubarte debug --check text prints, preserving the snapshots’ tracked marks. Kept for callers that need the raw text of one document before comparing it; the review paths go through diff_text_view / diff_documents_view.

§Errors

A message when source is Source::Docx and the package cannot be admitted.