Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge #1483: Bulleted and Numbered List buttons give InDesign's default hanging indent

aionggc428083d74f1
diff --cc ROADMAP.md
index bf18ebc54,c39178d2b..5dff562db
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -377,10 -359,7 +377,11 @@@ Newest first
- **2026-10-16** · Lock Guides and Lock Column Guides are commands in View ▸ Grids & Guides (`view.lockGuides`, ⌥⌘;, and `view.lockColumnGuides`), so the control channel and MCP reach them. Lock Column Guides is an undo step, is saved with the document, on in new ones, and read from and written to IDML's `ColumnGuideLocked`, which export always wrote as locked (#1096). No readiness percentage change.
- **2026-10-16** · IDML: a page keeps column guides that were dragged off centre (InDesign's Custom columns). They were divided evenly on import, so the gutter sprang back to the middle; the imported positions now place the columns, with the canvas guides, snapping and text placement following them, and they are written back on export. Layout › Margins and Columns re-divides them evenly when the count or gutter changes, as InDesign's does. No readiness percentage change.
- **2026-10-16** · IDML: custom column positions are checked before they are used (#1096). A set must give two edges per column, ascending from the left margin to the right one; any other (a wrong count, unsorted or non-numeric values, a list longer than 216 columns allow, or positions left behind by a margin or page-size change) is the even split, in the canvas, on import and on export, instead of columns drawn outside the margins. No readiness percentage change.
+- **2026-10-21** · Properties › Character and Paragraph: ••• (More Options) expands the section in place, as InDesign's: Character adds vertical and horizontal scale, baseline shift, skew, language and OpenType, and All Caps, Small Caps, Superscript, Subscript, Underline and Strikethrough; Paragraph adds the left, right, first line and last line indents, space before and after, the drop cap's lines and characters, Align to Baseline Grid and Hyphenate. It used to open the Character or Paragraph panel; the language field moved under ••• as in InDesign. Found in the Learn Skills Daily course, chapter 16. No readiness percentage change.
+- **2026-10-21** · The text Control panel has InDesign's two modes: A (Character Formatting Controls: font and style, size and leading, All Caps/Superscript/Underline and Small Caps/Subscript/Strikethrough, kerning and tracking, vertical and horizontal scale, baseline shift and skew, character style and language) and ¶ (Paragraph Formatting Controls: the nine alignments, left/first line and right/last line indents, space before and after, the drop cap's lines and characters, paragraph style, Hyphenate and Align to Baseline Grid). It used to show a fixed mix of both. Found in the Learn Skills Daily course, chapter 16. No readiness percentage change.
+- **2026-10-21** · Properties › Character and Paragraph: ••• (More Options) expands the section in place, as InDesign's: Character adds vertical and horizontal scale, baseline shift, skew, language and OpenType, and All Caps, Small Caps, Superscript, Subscript, Underline and Strikethrough; Paragraph adds the left, right, first line and last line indents, space before and after, the drop cap's lines and characters, Align to Baseline Grid and Hyphenate. It used to open the Character or Paragraph panel; the language field moved under ••• as in InDesign. Found in the Learn Skills Daily course, chapter 16. No readiness percentage change.
+- **2026-10-20** · With the Type tool, the Control panel's font size, leading and tracking fields have a spinner and a list of common values, as in InDesign (auto leading in parentheses). No readiness percentage change.
+ - **2026-10-21** · The Bulleted and Numbered List buttons (Properties, and Type › Bulleted & Numbered Lists › Apply Bullets / Apply Numbers) work as InDesign's: a paragraph with no indents gets the default hanging indent (0.25 in, −0.25 in), so the text lines up after the bullet instead of at the next default tab stop, and pressing the button again removes the list and that indent (`list.bullets`, `list.numbers`). Found in the Learn Skills Daily course, chapter 21. No readiness percentage change.
- **2026-10-16** · Type › Reload Fonts (`font.reload`): fonts installed, edited or removed while DesignCraft runs are read again without a restart, and the open documents recompose with them (#328, #547). An edited font file is noticed by its length and modification time; bundled, added and document fonts stay as they are. InDesign does this by itself, so noticing changes automatically is still open (gap 6). No readiness percentage change.
- **2026-10-16** · Parents can be deleted from their Pages-panel context menu or `layout.parents.delete {id}`. Applied-page and based-on references are cleared, local override copies survive, and Undo restores the parent. Addresses the deletion portion of #956; no readiness percentage change.
- **2026-10-17** · File › Package writes the document's and the IDML's links relative to the package (`Links/logo.png`, `file:Links/logo.png`), so a package holds no path from the machine that made it; opening a document resolves them to the files beside it. Links › Copy Link(s) To still links by full path. (#340). No readiness percentage change.
diff --cc crates/ui-egui/src/i18n/ar.rs
index 7e33b3178,c9247088a..e702b89c3
--- a/crates/ui-egui/src/i18n/ar.rs
+++ b/crates/ui-egui/src/i18n/ar.rs
@@@ -30,29 -30,8 +30,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "قص"),
("Copy", "نسخ"),
("Paste", "لصق"),
+ ("Hyphenation…", "الواصلة…"),
+ ("Hyphenation Settings", "إعدادات الواصلة"),
+ ("hyphens", "واصلات"),
+ ("Hyphenation Zone:", "منطقة الواصلة:"),
+ ("Better Spacing", "تباعد أفضل"),
+ ("Fewer Hyphens", "واصلات أقل"),
+ ("Hyphenate Capitalized Words", "وصل الكلمات ذات الأحرف الكبيرة"),
+ ("Hyphenate Last Word", "وصل الكلمة الأخيرة"),
+ ("Hyphenate Across Column", "الوصل عبر الأعمدة"),
+ ("Character Formatting Controls", "عناصر تحكم تنسيق الأحرف"),
+ ("Paragraph Formatting Controls", "عناصر تحكم تنسيق الفقرات"),
+ ("Font Size", "حجم الخط"),
+ ("Vertical Scale", "المقياس الرأسي"),
+ ("Horizontal Scale", "المقياس الأفقي"),
+ ("Baseline Shift", "إزاحة خط الأساس"),
+ ("Skew (False Italic)", "إمالة (مائل زائف)"),
+ ("Left Indent", "مسافة بادئة يسرى"),
+ ("Right Indent", "مسافة بادئة يمنى"),
+ ("First Line Left Indent", "مسافة بادئة يسرى للسطر الأول"),
+ ("Last Line Right Indent", "مسافة بادئة يمنى للسطر الأخير"),
+ ("Drop Cap Number of Lines", "عدد أسطر الحرف الاستهلالي"),
+ ("Drop Cap One or More Characters", "حرف استهلالي واحد أو أكثر"),
+ ("Align to Baseline Grid", "محاذاة إلى شبكة خط الأساس"),
+ ("Apply Bullets", "تطبيق التعداد النقطي"),
+ ("Apply Numbers", "تطبيق الترقيم"),
("Paste Vector Art", "لصق رسم متجه"),
("Baseline Options", "خيارات خط الأساس"),
("Fixed Number", "عدد ثابت"),
diff --cc crates/ui-egui/src/i18n/cs.rs
index b1c177c51,b34567029..2451c41dd
--- a/crates/ui-egui/src/i18n/cs.rs
+++ b/crates/ui-egui/src/i18n/cs.rs
@@@ -31,29 -31,8 +31,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Vyjmout"),
("Copy", "Kopírovat"),
("Paste", "Vložit"),
+ ("Hyphenation…", "Dělení slov…"),
+ ("Hyphenation Settings", "Nastavení dělení slov"),
+ ("hyphens", "spojovníky"),
+ ("Hyphenation Zone:", "Zóna dělení:"),
+ ("Better Spacing", "Lepší mezery"),
+ ("Fewer Hyphens", "Méně spojovníků"),
+ ("Hyphenate Capitalized Words", "Dělit slova s velkým počátečním písmenem"),
+ ("Hyphenate Last Word", "Dělit poslední slovo"),
+ ("Hyphenate Across Column", "Dělit přes sloupce"),
+ ("Character Formatting Controls", "Ovládací prvky formátování znaků"),
+ ("Paragraph Formatting Controls", "Ovládací prvky formátování odstavců"),
+ ("Font Size", "Velikost písma"),
+ ("Vertical Scale", "Svislá změna velikosti"),
+ ("Horizontal Scale", "Vodorovná změna velikosti"),
+ ("Baseline Shift", "Posun účaří"),
+ ("Skew (False Italic)", "Zkosení (nepravá kurzíva)"),
+ ("Left Indent", "Odsazení zleva"),
+ ("Right Indent", "Odsazení zprava"),
+ ("First Line Left Indent", "Odsazení prvního řádku zleva"),
+ ("Last Line Right Indent", "Odsazení posledního řádku zprava"),
+ ("Drop Cap Number of Lines", "Počet řádků iniciály"),
+ ("Drop Cap One or More Characters", "Iniciála: jeden nebo více znaků"),
+ ("Align to Baseline Grid", "Zarovnat na mřížku účaří"),
+ ("Apply Bullets", "Použít odrážky"),
+ ("Apply Numbers", "Použít číslování"),
("Reverse Path", "Obrátit cestu"),
("Set Anchor", "Nastavit kotvu"),
("Clear", "Vymazat"),
diff --cc crates/ui-egui/src/i18n/de.rs
index 7d0ef5f09,b0a420c6c..0c7705454
--- a/crates/ui-egui/src/i18n/de.rs
+++ b/crates/ui-egui/src/i18n/de.rs
@@@ -31,15 -31,8 +31,17 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Ausschneiden"),
("Copy", "Kopieren"),
("Paste", "Einfügen"),
+ ("Hyphenation…", "Silbentrennung …"),
+ ("Hyphenation Settings", "Silbentrennungseinstellungen"),
+ ("hyphens", "Trennstriche"),
+ ("Hyphenation Zone:", "Silbentrennungsbereich:"),
+ ("Better Spacing", "Bessere Abstände"),
+ ("Fewer Hyphens", "Weniger Trennstriche"),
+ ("Hyphenate Capitalized Words", "Großgeschriebene Wörter trennen"),
+ ("Hyphenate Last Word", "Letztes Wort trennen"),
+ ("Hyphenate Across Column", "Über Spalten trennen"),
+ ("Apply Bullets", "Aufzählungszeichen anwenden"),
+ ("Apply Numbers", "Nummerierung anwenden"),
("Inches Decimal", "Zoll dezimal"),
("Back", "Zurück"),
("Warning", "Warnung"),
diff --cc crates/ui-egui/src/i18n/it.rs
index 555bc77e2,fa705df81..f5574ea56
--- a/crates/ui-egui/src/i18n/it.rs
+++ b/crates/ui-egui/src/i18n/it.rs
@@@ -28,29 -28,8 +28,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Taglia"),
("Copy", "Copia"),
("Paste", "Incolla"),
+ ("Hyphenation…", "Sillabazione…"),
+ ("Hyphenation Settings", "Impostazioni sillabazione"),
+ ("hyphens", "trattini"),
+ ("Hyphenation Zone:", "Area di sillabazione:"),
+ ("Better Spacing", "Spaziatura migliore"),
+ ("Fewer Hyphens", "Meno trattini"),
+ ("Hyphenate Capitalized Words", "Sillaba parole con iniziale maiuscola"),
+ ("Hyphenate Last Word", "Sillaba ultima parola"),
+ ("Hyphenate Across Column", "Sillaba tra colonne"),
+ ("Character Formatting Controls", "Controlli di formattazione carattere"),
+ ("Paragraph Formatting Controls", "Controlli di formattazione paragrafo"),
+ ("Font Size", "Dimensione font"),
+ ("Vertical Scale", "Scala verticale"),
+ ("Horizontal Scale", "Scala orizzontale"),
+ ("Baseline Shift", "Spostamento linea di base"),
+ ("Skew (False Italic)", "Inclinazione (falso corsivo)"),
+ ("Left Indent", "Rientro sinistro"),
+ ("Right Indent", "Rientro destro"),
+ ("First Line Left Indent", "Rientro sinistro prima riga"),
+ ("Last Line Right Indent", "Rientro destro ultima riga"),
+ ("Drop Cap Number of Lines", "Capolettera: numero di righe"),
+ ("Drop Cap One or More Characters", "Capolettera: uno o più caratteri"),
+ ("Align to Baseline Grid", "Allinea alla griglia di base"),
+ ("Apply Bullets", "Applica punti elenco"),
+ ("Apply Numbers", "Applica numeri"),
("Paste Vector Art", "Incolla grafica vettoriale"),
("Baseline Options", "Opzioni linea di base"),
("Fixed Number", "Numero fisso"),
diff --cc crates/ui-egui/src/i18n/ja.rs
index f8714f784,ebeed7ba0..30b5dbe3a
--- a/crates/ui-egui/src/i18n/ja.rs
+++ b/crates/ui-egui/src/i18n/ja.rs
@@@ -30,15 -30,8 +30,17 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "カット"),
("Copy", "コピー"),
("Paste", "ペースト"),
+ ("Hyphenation…", "ハイフネーション…"),
+ ("Hyphenation Settings", "ハイフネーション設定"),
+ ("hyphens", "ハイフン"),
+ ("Hyphenation Zone:", "ハイフネーション領域 :"),
+ ("Better Spacing", "スペースを優先"),
+ ("Fewer Hyphens", "ハイフンを減らす"),
+ ("Hyphenate Capitalized Words", "大文字で始まる単語をハイフネーション"),
+ ("Hyphenate Last Word", "最後の単語をハイフネーション"),
+ ("Hyphenate Across Column", "段をまたいでハイフネーション"),
+ ("Apply Bullets", "箇条書きを適用"),
+ ("Apply Numbers", "段落番号を適用"),
("Paste Vector Art", "ベクトルアートをペースト"),
("Baseline Options", "ベースラインオプション"),
("Column Rules", "段落境界線"),
diff --cc crates/ui-egui/src/i18n/ka.rs
index 31ca47b72,6bf167805..c756cc123
--- a/crates/ui-egui/src/i18n/ka.rs
+++ b/crates/ui-egui/src/i18n/ka.rs
@@@ -31,29 -31,8 +31,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "ამოჭრა"),
("Copy", "კოპირება"),
("Paste", "ჩასმა"),
+ ("Hyphenation…", "დამარცვლა…"),
+ ("Hyphenation Settings", "დამარცვლის პარამეტრები"),
+ ("hyphens", "დეფისი"),
+ ("Hyphenation Zone:", "დამარცვლის ზონა:"),
+ ("Better Spacing", "უკეთესი დაშორება"),
+ ("Fewer Hyphens", "ნაკლები დეფისი"),
+ ("Hyphenate Capitalized Words", "მთავრული სიტყვების დამარცვლა"),
+ ("Hyphenate Last Word", "ბოლო სიტყვის დამარცვლა"),
+ ("Hyphenate Across Column", "სვეტებს შორის დამარცვლა"),
+ ("Character Formatting Controls", "სიმბოლოების ფორმატირების მართვა"),
+ ("Paragraph Formatting Controls", "აბზაცების ფორმატირების მართვა"),
+ ("Font Size", "შრიფტის ზომა"),
+ ("Vertical Scale", "ვერტიკალური მასშტაბი"),
+ ("Horizontal Scale", "ჰორიზონტალური მასშტაბი"),
+ ("Baseline Shift", "საბაზო ხაზის წანაცვლება"),
+ ("Skew (False Italic)", "დახრა (ცრუ კურსივი)"),
+ ("Left Indent", "მარცხენა შეწევა"),
+ ("Right Indent", "მარჯვენა შეწევა"),
+ ("First Line Left Indent", "პირველი სტრიქონის მარცხენა შეწევა"),
+ ("Last Line Right Indent", "ბოლო სტრიქონის მარჯვენა შეწევა"),
+ ("Drop Cap Number of Lines", "ინიციალის სტრიქონების რაოდენობა"),
+ ("Drop Cap One or More Characters", "ინიციალი: ერთი ან მეტი სიმბოლო"),
+ ("Align to Baseline Grid", "საბაზო ბადეზე სწორება"),
+ ("Apply Bullets", "მარკერების გამოყენება"),
+ ("Apply Numbers", "ნუმერაციის გამოყენება"),
("Inches Decimal", "ინჩები (ათობითი)"),
("Back", "უკან"),
("Warning", "გაფრთხილება"),
diff --cc crates/ui-egui/src/i18n/pl.rs
index 30ad7925f,c526ce20f..6f530abe2
--- a/crates/ui-egui/src/i18n/pl.rs
+++ b/crates/ui-egui/src/i18n/pl.rs
@@@ -29,29 -29,8 +29,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Wytnij"),
("Copy", "Kopiuj"),
("Paste", "Wklej"),
+ ("Hyphenation…", "Dzielenie wyrazów…"),
+ ("Hyphenation Settings", "Ustawienia dzielenia wyrazów"),
+ ("hyphens", "dywizy"),
+ ("Hyphenation Zone:", "Strefa dzielenia:"),
+ ("Better Spacing", "Lepsze odstępy"),
+ ("Fewer Hyphens", "Mniej dywizów"),
+ ("Hyphenate Capitalized Words", "Dziel wyrazy pisane wielką literą"),
+ ("Hyphenate Last Word", "Dziel ostatni wyraz"),
+ ("Hyphenate Across Column", "Dziel między łamami"),
+ ("Character Formatting Controls", "Elementy formatowania znaków"),
+ ("Paragraph Formatting Controls", "Elementy formatowania akapitów"),
+ ("Font Size", "Rozmiar czcionki"),
+ ("Vertical Scale", "Skala pionowa"),
+ ("Horizontal Scale", "Skala pozioma"),
+ ("Baseline Shift", "Przesunięcie linii bazowej"),
+ ("Skew (False Italic)", "Pochylenie (fałszywa kursywa)"),
+ ("Left Indent", "Wcięcie z lewej"),
+ ("Right Indent", "Wcięcie z prawej"),
+ ("First Line Left Indent", "Wcięcie pierwszego wiersza z lewej"),
+ ("Last Line Right Indent", "Wcięcie ostatniego wiersza z prawej"),
+ ("Drop Cap Number of Lines", "Inicjał: liczba wierszy"),
+ ("Drop Cap One or More Characters", "Inicjał: jeden lub więcej znaków"),
+ ("Align to Baseline Grid", "Wyrównaj do siatki linii bazowych"),
+ ("Apply Bullets", "Zastosuj wypunktowanie"),
+ ("Apply Numbers", "Zastosuj numerowanie"),
("Clear", "Wyczyść"),
("Duplicate", "Powiel"),
("Select All", "Zaznacz wszystko"),
diff --cc crates/ui-egui/src/i18n/pt_br.rs
index 860f3b2b4,0ecf09588..8175a7ae2
--- a/crates/ui-egui/src/i18n/pt_br.rs
+++ b/crates/ui-egui/src/i18n/pt_br.rs
@@@ -31,29 -31,8 +31,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Recortar"),
("Copy", "Copiar"),
("Paste", "Colar"),
+ ("Hyphenation…", "Hifenização…"),
+ ("Hyphenation Settings", "Configurações de hifenização"),
+ ("hyphens", "hifens"),
+ ("Hyphenation Zone:", "Zona de hifenização:"),
+ ("Better Spacing", "Melhor espaçamento"),
+ ("Fewer Hyphens", "Menos hifens"),
+ ("Hyphenate Capitalized Words", "Hifenizar palavras iniciadas por maiúscula"),
+ ("Hyphenate Last Word", "Hifenizar última palavra"),
+ ("Hyphenate Across Column", "Hifenizar entre colunas"),
+ ("Character Formatting Controls", "Controles de formatação de caracteres"),
+ ("Paragraph Formatting Controls", "Controles de formatação de parágrafos"),
+ ("Font Size", "Tamanho da fonte"),
+ ("Vertical Scale", "Escala vertical"),
+ ("Horizontal Scale", "Escala horizontal"),
+ ("Baseline Shift", "Deslocamento da linha de base"),
+ ("Skew (False Italic)", "Inclinação (falso itálico)"),
+ ("Left Indent", "Recuo à esquerda"),
+ ("Right Indent", "Recuo à direita"),
+ ("First Line Left Indent", "Recuo à esquerda da primeira linha"),
+ ("Last Line Right Indent", "Recuo à direita da última linha"),
+ ("Drop Cap Number of Lines", "Capitular: número de linhas"),
+ ("Drop Cap One or More Characters", "Capitular: um ou mais caracteres"),
+ ("Align to Baseline Grid", "Alinhar à grade de linha de base"),
+ ("Apply Bullets", "Aplicar marcadores"),
+ ("Apply Numbers", "Aplicar números"),
("Paste Vector Art", "Colar arte vetorial"),
("Baseline Options", "Opções de linha de base"),
("Fixed Number", "Número fixo"),
diff --cc crates/ui-egui/src/i18n/ru.rs
index 41d93edb0,f3502f287..854fd20a2
--- a/crates/ui-egui/src/i18n/ru.rs
+++ b/crates/ui-egui/src/i18n/ru.rs
@@@ -33,29 -33,8 +33,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Вырезать"),
("Copy", "Копировать"),
("Paste", "Вставить"),
+ ("Hyphenation…", "Расстановка переносов…"),
+ ("Hyphenation Settings", "Параметры расстановки переносов"),
+ ("hyphens", "дефисов"),
+ ("Hyphenation Zone:", "Зона переносов:"),
+ ("Better Spacing", "Лучшие интервалы"),
+ ("Fewer Hyphens", "Меньше переносов"),
+ ("Hyphenate Capitalized Words", "Переносить слова с прописной буквы"),
+ ("Hyphenate Last Word", "Переносить последнее слово"),
+ ("Hyphenate Across Column", "Переносить между колонками"),
+ ("Character Formatting Controls", "Элементы управления форматированием символов"),
+ ("Paragraph Formatting Controls", "Элементы управления форматированием абзацев"),
+ ("Font Size", "Кегль"),
+ ("Vertical Scale", "Масштаб по вертикали"),
+ ("Horizontal Scale", "Масштаб по горизонтали"),
+ ("Baseline Shift", "Смещение базовой линии"),
+ ("Skew (False Italic)", "Наклон (ложный курсив)"),
+ ("Left Indent", "Отступ слева"),
+ ("Right Indent", "Отступ справа"),
+ ("First Line Left Indent", "Отступ первой строки слева"),
+ ("Last Line Right Indent", "Отступ последней строки справа"),
+ ("Drop Cap Number of Lines", "Буквица: число строк"),
+ ("Drop Cap One or More Characters", "Буквица: один или несколько символов"),
+ ("Align to Baseline Grid", "Выровнять по сетке базовых линий"),
+ ("Apply Bullets", "Применить маркеры"),
+ ("Apply Numbers", "Применить нумерацию"),
("Clear", "Очистить"),
("Duplicate", "Дублировать"),
("Select All", "Выделить все"),
diff --cc crates/ui-egui/src/i18n/uk.rs
index d71d3ecd3,598eacbfe..8cdf821d3
--- a/crates/ui-egui/src/i18n/uk.rs
+++ b/crates/ui-egui/src/i18n/uk.rs
@@@ -29,29 -29,8 +29,31 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Вирізати"),
("Copy", "Копіювати"),
("Paste", "Вставити"),
+ ("Hyphenation…", "Перенесення…"),
+ ("Hyphenation Settings", "Параметри перенесення"),
+ ("hyphens", "дефісів"),
+ ("Hyphenation Zone:", "Зона перенесення:"),
+ ("Better Spacing", "Кращі інтервали"),
+ ("Fewer Hyphens", "Менше перенесень"),
+ ("Hyphenate Capitalized Words", "Переносити слова з великої літери"),
+ ("Hyphenate Last Word", "Переносити останнє слово"),
+ ("Hyphenate Across Column", "Переносити між колонками"),
+ ("Character Formatting Controls", "Елементи керування форматуванням символів"),
+ ("Paragraph Formatting Controls", "Елементи керування форматуванням абзаців"),
+ ("Font Size", "Кегль"),
+ ("Vertical Scale", "Масштаб по вертикалі"),
+ ("Horizontal Scale", "Масштаб по горизонталі"),
+ ("Baseline Shift", "Зсув базової лінії"),
+ ("Skew (False Italic)", "Нахил (несправжній курсив)"),
+ ("Left Indent", "Відступ ліворуч"),
+ ("Right Indent", "Відступ праворуч"),
+ ("First Line Left Indent", "Відступ першого рядка ліворуч"),
+ ("Last Line Right Indent", "Відступ останнього рядка праворуч"),
+ ("Drop Cap Number of Lines", "Буквиця: кількість рядків"),
+ ("Drop Cap One or More Characters", "Буквиця: один або кілька символів"),
+ ("Align to Baseline Grid", "Вирівняти за сіткою базових ліній"),
+ ("Apply Bullets", "Застосувати маркери"),
+ ("Apply Numbers", "Застосувати нумерацію"),
("Paste Vector Art", "Вставити векторну графіку"),
("Baseline Options", "Параметри базової лінії"),
("Fixed Number", "Фіксована кількість"),
diff --cc crates/ui-egui/src/panels/properties.rs
index aa2d9ba74,5fe8bd427..c2ab15f9d
--- a/crates/ui-egui/src/panels/properties.rs
+++ b/crates/ui-egui/src/panels/properties.rs
@@@ -1515,66 -1392,21 +1515,72 @@@ fn paragraph_section(app: &mut DesignAp
}
}
+/// Properties › Paragraph after •••: left and right indent, first line and last line indent,
+/// space before and after, drop cap lines and characters, then Hyphenate and Align to Baseline
+/// Grid, as InDesign lays them out.
+fn paragraph_more(app: &mut DesignApp, ui: &mut Ui, p: &Value, fw: f32) {
+ let lang_ui = app.ui.language.clone();
+ let tr = |s: &str| crate::i18n::tr(&lang_ui, s).to_string();
+ let u = units(app);
+ let half = (fw - 10.0) / 2.0;
+ ui.add_space(4.0);
+ let b = block(ui, 4.0 * FIELD_H + 15.0);
+ let rows = [
+ (("indent-left", "Left Indent", "leftIndent"), ("indent-right", "Right Indent", "rightIndent")),
+ (("indent-first", "First Line Left Indent", "firstLineIndent"), ("indent-last", "Last Line Right Indent", "lastLineIndent")),
+ (("space-before", "Space Before", "spaceBefore"), ("space-after", "Space After", "spaceAfter")),
+ ];
+ for (i, (l, r)) in rows.into_iter().enumerate() {
+ let y = i as f32 * (FIELD_H + 5.0);
+ for (right, (icon, tip, key)) in [(false, l), (true, r)] {
+ let min = para_field_min(key);
+ let field = NumField::measure(key, p[key].as_f64(), u).spinner().range(min, 10_000.0);
+ if let Some(v) = half_field(ui, b, right, y, half, icon, &tr(tip), field) {
+ let _ = app.run("type.para", json!({"attrs": {key: v}}));
+ }
+ }
+ }
+ let y = 3.0 * (FIELD_H + 5.0);
+ for (right, icon, tip, key, max) in [
+ (false, "drop-lines", "Drop Cap Number of Lines", "dropCapLines", designcraft_compose::MAX_DROP_CAP_LINES),
+ (true, "drop-chars", "Drop Cap One or More Characters", "dropCapChars", designcraft_compose::MAX_DROP_CAP_CHARS),
+ ] {
+ let field = NumField::number(key, p[key].as_f64(), "", 0).spinner().range(0.0, max as f64);
+ if let Some(v) = half_field(ui, b, right, y, half, icon, &tr(tip), field) {
+ let _ = app.run("type.para", json!({"attrs": {key: (v.max(0.0) as u64).min(max as u64)}}));
+ }
+ }
+ ui.add_space(4.0);
+ ui.horizontal(|ui| {
+ // First Line Only is aligned too: the button shows it pressed, and a click turns alignment off.
+ let grid = matches!(p["gridAlign"].as_str(), Some("allLines" | "firstLineOnly"));
+ if widgets::icon_toggle(ui, "grid-baseline", grid, &tr("Align to Baseline Grid")).clicked() {
+ let _ = app.run("type.para", json!({"attrs": {"gridAlign": if grid { "none" } else { "allLines" }}}));
+ }
+ ui.add_space(12.0);
+ let mut h = p["hyphenate"].as_bool().unwrap_or(true);
+ if widgets::checkbox(ui, &mut h, &tr("Hyphenate")).changed() {
+ let _ = app.run("type.para", json!({"attrs": {"hyphenate": h}}));
+ }
+ });
+ ui.add_space(4.0);
+}
+
fn bullets_section(app: &mut DesignApp, ui: &mut Ui) {
- let Some(a) = text_attrs(app) else { return };
- let lt = a["para"]["listType"].as_str().unwrap_or("none").to_string();
+ if text_attrs(app).is_none() {
+ return;
+ }
ui.horizontal(|ui| {
ui.spacing_mut().item_spacing.x = 10.0;
- for (icon, kind, tip) in [("bullets", "bullets", "Bulleted List"), ("numbering", "numbers", "Numbered List")] {
- let on = lt == kind;
+ // As InDesign's: a list with the default hanging indent, or (pressed: every selected
+ // paragraph has it, as Type › Apply Bullets shows) no list.
+ use designcraft_doc::ListType;
+ for (icon, kind, cmd, tip) in
+ [("bullets", ListType::Bullets, "list.bullets", "Bulleted List"), ("numbering", ListType::Numbers, "list.numbers", "Numbered List")]
+ {
+ let on = app.session.selection_has_list(kind);
if icon_toggle(ui, icon, on, crate::i18n::tr(&app.ui.language, tip)).clicked() {
- let _ = app.run("type.para", json!({"attrs": {"listType": if on { "none" } else { kind }}}));
+ let _ = app.run(cmd, json!({"on": !on}));
}
}
ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {
diff --cc docs/target-app-parity.md
index 8ae902a21,a178320d6..bd9e5b001
--- a/docs/target-app-parity.md
+++ b/docs/target-app-parity.md
@@@ -1,6 -1,6 +1,6 @@@
# DesignCraft parity with Adobe InDesign
- > **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-24 · **Change:** minor (custom anchored objects honour Relative to Spine; PDF/X-4 visible unembedded font detection, #909; autoflow fills the following pages first; File ▸ Open Recent; .indd and .indt open through indd-utils; text threads by hand; image clipping paths from IDML; anchored objects wrap text; Tabs panel listed as present (#343); spring-loaded Zoom navigation; recovery checkpoint retention; cancelable macOS Dock Quit; Based on Parent; object styles carry effects; colour management on craft-cms, Coated FOGRA39 default CMYK; swatches on placed greyscale and bitmap images) · **Target:** Adobe InDesign 2026 (21.6.0.57, macOS)
-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-21 · **Change:** minor (list buttons with the default hanging indent; File ▸ Open Recent; .indd and .indt open through indd-utils; text threads by hand; image clipping paths from IDML; anchored objects wrap text; Tabs panel listed as present (#343); spring-loaded Zoom navigation; recovery checkpoint retention; cancelable macOS Dock Quit; Based on Parent; object styles carry effects; colour management on craft-cms, Coated FOGRA39 default CMYK; swatches on placed greyscale and bitmap images) · **Target:** Adobe InDesign 2026 (21.6.0.57, macOS)
++> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-24 · **Change:** minor (list buttons with the default hanging indent; custom anchored objects honour Relative to Spine; PDF/X-4 visible unembedded font detection, #909; autoflow fills the following pages first; File ▸ Open Recent; .indd and .indt open through indd-utils; text threads by hand; image clipping paths from IDML; anchored objects wrap text; Tabs panel listed as present (#343); spring-loaded Zoom navigation; recovery checkpoint retention; cancelable macOS Dock Quit; Based on Parent; object styles carry effects; colour management on craft-cms, Coated FOGRA39 default CMYK; swatches on placed greyscale and bitmap images) · **Target:** Adobe InDesign 2026 (21.6.0.57, macOS)
The authoritative assessment of how close DesignCraft is to Adobe InDesign. [ROADMAP.md](../ROADMAP.md)
summarizes it; [gaps.md](gaps.md) lists every known shortfall one at a time; the feature-by-feature