mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-25 02:37:00 -06:00
* EPUB: Split Document in a paragraph style's Export Tagging * EPUB: Split Document as a document setting (off, one style, or export tags) The document stores EPUB Export Options › Split Document (DocSettings.epub_split): off (one content file, the default), a single paragraph style, or the paragraph styles' Export Tagging › Split Document flags. document.epubSplit sets it as one undo step; file.exportEpub takes a split that overrides it for one export. A Style setting follows a renamed style and a deleted style's replacement. IDML reads and writes EPubExportPreference BreakDocument and ParagraphStyleName. A split before a list item or preformatted line closes the open list or block first, so each content file is balanced. * EPUB Export Options dialog with Split Document before Export EPUB File › Export EPUB… opens EPUB Export Options, seeded from the document's Split Document setting: a Split Document checkbox with Single Paragraph Style (and its style) or Based on Paragraph Style Export Tags. OK stores a changed setting through document.epubSplit, then continues to the save dialog; Cancel does nothing. app.exportEpub with a path skips the dialog. Docs and the progress log describe the setting. * EPUB: the navigation test exports one content file with Split Document off * EPUB export from the menu passes its options (cover, split) to the engine * EPUB: Split Document on a style's EPUB tag map counts when the style says false; a caller's cover: false stays