mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-24 10:27:44 -06:00
Found in NIH's monitoring-plan template compared with Word for Windows: its footer puts the page number in a text frame (w:framePr: centred, text wrapping around it), and Word draws "NCCIH DSMP Template" ending just left of the number on the same line. Before: frames other than drop caps were ignored on import, so the number took a line of its own above the footer text (making every page a line shorter), and the frame was lost on save. After: a paragraph's text frame is read (size, anchors, alignment, offsets, wrap, distances) and written back. In headers, footers, table cells and text boxes it is placed like a floating object, sized to its text unless it has a width, and the text after it wraps around it; the DSMP footer now matches Word's. Frames in the body text still lay out in line. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>