| 1 | # Native right-to-left page control |
| 2 | |
| 3 | `scripts/author.ps1` changes PageSettings RTL to true and locks the existing |
| 4 | table columns to 96 and 144 points through OneNote COM. `before.xml`, `after.xml` |
| 5 | and `read/page-000.xml` retain the native observations. The saved store uses |
| 6 | visual left-to-right column order [Right cell, Left cell], with widths [144, 96]. |
| 7 | COM exports cells in page direction [Left cell, Right cell], with widths [96, 144]. |
| 8 | The native PDF independently confirms the physical cell order. Native x is store x - |
| 9 | PageMarginOriginX - 36; the native table outline measures wider than its stored suggested |
| 10 | maximum width and keeps its right edge, store x + LayoutMaxWidth - PageMarginOriginX - 36 |
| 11 | equalling native x + native width (`corpus/rtl-page` has narrower outlines keep their left). |
| 12 | Vertical coordinates retain the 14.4-point canonical origin. |
| 13 | |
| 14 | The public fixture includes images, a file and two opaque ink objects. All |
| 15 | supported text, object order, payloads, formats and coordinates pass |
| 16 | `tools/verify-document.py`. Ink stroke bounds remain distinct from the stored |
| 17 | container position; the comparator checks ink count and excludes stroke geometry. |
| 18 | `teardown.json` records deletion of the authoring clone. |