pub fn replace_text_all_pages(
doc: &mut Document,
search: &str,
replacement: &str,
) -> Result<usize>Expand description
Replace text across all pages in a document.
Same contract as replace_text: returns the total count; occurrences
that cannot be replaced simply do not count.