mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-26 19:26:46 -06:00
* PDF export: Export Adobe PDF options dialog with remembered settings File > Export PDF... now opens an options dialog (General / Compression / Marks and Bleeds / Advanced) that exposes only the parameters the engine's file.exportPdf already supports: PDF standard, image compression, flattener preset, spreads, document bleed, crop/bleed/page-info marks with weight and offset, tagged PDF, page range, and the title. Choosing a preset fills the dependent fields; editing any field switches the preset to Custom. The last-used settings persist in ui.json (UiState.pdfExport) and are reused across exports and sessions. Programmatic callers that pass explicit params (path, options) still export directly without the dialog; cancelling the save picker writes nothing. Adds English and ar/pt-br strings, unit tests for the settings serde, the dialog defaults and preset mapping, the open/confirm flow (stub writer), and the menu dispatch, plus a ROADMAP note. * PDF export: rename dialog title to "Export PDF" --------- Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>