| 1 | # Clipboard |
| 2 | |
| 3 | `onenote-2010.html` is the `HTML Format` OneNote 2010 put on the clipboard for a |
| 4 | whole outline holding bold, italic, coloured, resized, re-fonted, underlined and |
| 5 | highlighted runs, a link, nested bullets, a numbered list, a To Do tag, a 2 by 2 |
| 6 | table with a bold cell, and a last line (lab, 2026-10-02; `tools/w7`, a page |
| 7 | built through COM and copied with Ctrl+A, Ctrl+C). Beside it OneNote offered |
| 8 | `OneNote 2010 Internal` (56 bytes naming the copy, not its content), Unicode and |
| 9 | ANSI text, an enhanced metafile and a device-independent bitmap, but no RTF. The |
| 10 | tag is absent from the HTML. `crates/canvas/src/editor/html.rs` reads it in its |
| 11 | tests. |
| 12 | |
| 13 | `word-2010.html` is the `HTML Format` Word 2010 put on the clipboard for a |
| 14 | document of a bulleted list three levels deep, a plain paragraph, a numbered |
| 15 | list three levels deep (1., a., i.) and a last plain paragraph, typed with |
| 16 | AutoFormat and Tab and copied with Ctrl+A, Ctrl+C (lab, 2026-10-02). Word |
| 17 | writes each item as a paragraph whose `mso-list` style names its list and |
| 18 | level, with its marker in a `mso-list:Ignore` span inside `<![if |
| 19 | !supportLists]>`. Pasted into OneNote 2010, each level nested under the item |
| 20 | above; bullets kept Word's glyph and font (Symbol `·`, Courier New `o`, |
| 21 | Wingdings `§`) with no gallery index, and numbers took Word's sequence and |
| 22 | punctuation. OneNote also nested the numbered list under the plain paragraph |
| 23 | before it, from Word's indents; Snowbound nests by `mso-list` level alone, as |
| 24 | it reads `ul` and `ol`. `crates/canvas/src/editor/html.rs` and |
| 25 | `crates/canvas/tests/clip_paste.rs` read it. |