| 1 | # Saved paragraph collapse default |
| 2 | |
| 3 | The Rust scalar writer changed only property `0x0c001c11` on the paragraph |
| 4 | containing `Collapsed parent` from byte `01` to `00`, starting from |
| 5 | `../native-features-01/notebook`. The mutated input is `input/notebook`. |
| 6 | A fresh OneNote 14.0.4763.1000 clone opened it without further editing. |
| 7 | |
| 8 | The original native fixture reports `collapsed="1"` and hides both descendants |
| 9 | in its PDF. This control omits `collapsed` from XML and shows both descendants |
| 10 | in its PDF. Both versions retain the same child/grandchild structure. |
| 11 | `tests/document.rs` and `tools/test_document_oracle.py` assert these facts. |
| 12 | The model exposes the byte as `collapse_state`: 0 means expanded and 1 collapsed; |
| 13 | other values remain uninterpreted. The report folds state 1 while retaining |
| 14 | expandable descendant content. |
| 15 | |
| 16 | The separate `../native-expanded-control-ui-01` demonstrates that a client can |
| 17 | expand its transient view without changing the notebook or its PDF output. |