How to Migrate Highlights When Page Layouts Change
Moving annotations from a single-column Word draft to a two-column journal proof—or from portrait to landscape—requires reconstructing reading order before matching.
Reading order in multi-column PDFs
A PDF content stream does not guarantee that text operators appear in human reading order. Naive extraction that sorts solely by Y coordinate merges the left and right columns of an academic paper into garbled sentences, breaking every multi-line highlight.
AnnotationMove analyzes horizontal coverage histograms across the page body to detect vertical column gutters, orders full-width titles above columns, reads each column top-to-bottom left-to-right, and segments lines into coherent paragraphs.
Handling changed page orientation and rotation
Because all extracted spans and annotations are normalized into a rotation-corrected, CropBox-relative visual coordinate system before matching—and converted back through the target page’s exact rotation and CropBox during export—annotations migrate smoothly between portrait, landscape, Letter, A4, and rotated pages.
Processed locally in your browser with zero file uploads.