Export a board to PDF, one page per area or the whole board on one page - #93
Open
marcosqlbi wants to merge 1 commit into
Open
Export a board to PDF, one page per area or the whole board on one page#93marcosqlbi wants to merge 1 commit into
marcosqlbi wants to merge 1 commit into
Conversation
The same areas the deck uses, as a PDF: one A4 or Letter landscape page per area with a header line, a bookmark, and a footer carrying the board name, the date, and the page number; or the whole board on one page the shape of the board, rendered at up to 6000 pixels on the longer edge, for a reader who zooms. PDF is a choice in the same Export dialog, which relabels itself from slides to pages. PdfSharp (MIT, managed-only) writes the file, with Segoe UI read from the Windows fonts folder because its Core build brings no fonts. The smoke tests read the produced document back for page count, page size, and outline entries. 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 E2 of docs/export.md, on top of #92 (this pull request's base is the E1 branch; retarget it to
mainonce #92 merges). A deck suits a presenter; a PDF suits an attendee who wants to read, print, or zoom, and PDF has the one freedom a slide lacks: a page of any size.What it does
Where the code is
SQLBI.Whiteboard.Export/PdfDocumentWriter.csoverPdfSharp6.2.4 (MIT, managed-only, per decision 21). Fonts are read from the Windows fonts folder through a small resolver, since PDFsharp's Core build brings none.ExportSettingsgains the format, page size, and footer;BoardExporterbranches on the format and renders the poster larger; the dialog gains the PDF controls.The smaller calls are listed under E2 in docs/export-decisions.md; decision 26 is updated.
🤖 Generated with Claude Code