Draw slides on the board as frames, which Export takes as they are - #96
Open
marcosqlbi wants to merge 2 commits into
Open
Draw slides on the board as frames, which Export takes as they are#96marcosqlbi wants to merge 2 commits into
marcosqlbi wants to merge 2 commits into
Conversation
View > Frame adds a frame the size of the screen: a dashed rectangle with a title tab, selected by its edge or its tab and never by its inside, so everything in it stays reachable. It moves, resizes, renames with F2, reorders, and deletes like anything else selectable, and moves nothing inside it: a frame is a label over content, read at export time. A frame is not a container. It links no strokes and takes no part in the single-container test, so a frame around a picture does not stop ink from linking to the picture. In the partitioner frames win: whatever sits inside one is that slide, frames come first, and the rest of the board is cut automatically. Frames appear in no export and no preview. The archive version moves to 6 only for a board that holds a frame; a board without one is still written as version 5 and opens in every release since. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Phase E5 of docs/export.md, on top of #95 (base is the E4 branch; retarget to
mainonce it merges). The automatic cut serves a board drawn without a deck in mind. Someone preparing a board for a deck wants to say where the slides are, and on a whiteboard the way to say it is to draw a rectangle. Decision 27 is the summary.What it does
preview.png.Where the code is
Core/Model:FrameBoardObjectwith its edge-and-tab hit test;BoardDocument.HitTestTopContainertakes the zoom and reaches frames by their edge;BoardArchivewrites and readsframe, choosing the version per board.Core/Export/BoardPartitioner: frames first.SQLBI.Whiteboard:BoardSurfacedraws frames over everything when asked and the rasterizer and preview renderer ask it not to;MainWindowgains the command, the rename, and frame cases in the gesture code;FrameTitleWindowis the rename dialog.The smaller calls are under E5 in docs/export-decisions.md.
🤖 Generated with Claude Code