# feat: place pictures directly on the page through the page model · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/ebed33c87eab2e83fb48269388f22950d118ea53)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: ebed33c87eab2e83fb48269388f22950d118ea53

Requested commit: ebed33c87eab2e83fb48269388f22950d118ea53

Commit: ebed33c87eab2e83fb48269388f22950d118ea53

Tree: 5f2ed70bcdeff20ce0262a8523b62de7fd252a56

Author: clover caruso

Committer: clover caruso

## Message

```
feat: place pictures directly on the page through the page model

A picture outside any outline is a page object in the model, and the writer
handles it the way OneNote 2010 was observed to store one placed through
the COM API on a Rust-written page (corpus/picture-edit/native-page-level,
authored by tools/native/page-picture.ps1): a picture object that is a
direct page child with a position, a layout size with the user flag and a
description, otherwise identical to a paragraph picture. The model inserts
such a picture (appended, then ordered with the other page children),
moves, resizes and describes it, and removes it with the tree editor, which
now accepts page-level pictures. Paragraph pictures refuse a position of
their own. The picture creation and property lowering are shared between
the two homes.

corpus/picture-edit/page-level is the cold read of a Rust-placed picture
with its position, size and description; tools/test_picture_edit.py checks
it together with the native placement.

Assisted-by: claude-fable-5.1

```

## Parents

- [d0ec66f9b4d3023668fa156d8a0903b3b5b8a316](https://git.cafe/clo/snowbound/commit/d0ec66f9b4d3023668fa156d8a0903b3b5b8a316?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/ebed33c87eab2e83fb48269388f22950d118ea53?format=markdown)
