Skip to content

Export PDF file - #79

Draft
mamarguerat wants to merge 3 commits into
feature/pdf-designfrom
feature/export-pdf
Draft

mamarguerat wants to merge 3 commits into
feature/pdf-designfrom
feature/export-pdf

Conversation

@mamarguerat

Copy link
Copy Markdown
Owner

Closes #15

Plan

  • File › Export › PDF file next to the SCN export from Scene file export functionnality #43
  • Load the create PDF design #13 report in a hidden BrowserWindow with the current indexWrk, then use webContents.printToPDF({ pageSize: 'A4', printBackground: true }) and write the file from the save dialog. Electron does this natively, so no PDF library
  • One PDF per project, with one section per mixer
  • Self-check: export doc/demo.mixo_prj and check the file is non-empty and starts with %PDF

Depends on

🤖 Generated with Claude Code

mamarguerat and others added 3 commits October 3, 2026 21:45
Refs #15

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
File > Export documentation > PDF renders report.html in a hidden window
and saves it with printToPDF (A4). No PDF library needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mamarguerat
mamarguerat changed the base branch from develop to feature/pdf-design October 3, 2026 19:56
@mamarguerat

Copy link
Copy Markdown
Owner Author

Implemented, stacked on #78. File › Export documentation › PDF (Shift+Cmd/Ctrl+E) asks where to save, renders the report in a hidden window, waits for the icons to load, then uses printToPDF (A4). Verified with npx electron test/export-pdf.smoke.js: the demo project exported to a valid 109 KB PDF.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant