
Resolve "same-page" cross-reference hyperlink markers in a filled docx
Source:R/same-page-crossrefs.R
styling_resolve_same_page_crossrefs.RdDelegates to quartifyr-styling resolve-same-page-crossrefs in the
bundled Python engine, via headless LibreOffice (read-only – it decides
hyperlinked-vs-plain per cross-reference but never re-saves the docx
itself beyond that). Shares styling_recalculate_fields()'s
known-flaky headless-LibreOffice behavior.
Examples
if (FALSE) { # \dontrun{
# Requires a provisioned quartifyr Python environment and LibreOffice
# (soffice) on PATH -- run this after reportifyr::build_report() has
# filled in real content, so real page numbers exist to compare.
styling_resolve_same_page_crossrefs("report/final/report-final.docx")
} # }