Skip to content

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

Merge PR #1679: Convert Text to Table and Table to Text

aiongg450b3ae9632f
diff --cc ROADMAP.md
index 13f32ba39,4a141e8a5..172c7a496
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -432,11 -420,9 +432,12 @@@ Newest first
- **2026-10-23** · File › File Info… edits the document's Document Title, Author, Description, Keywords, Copyright Notice and Copyright Info URL (`file.info`), and the document saves them. PDF export (PDF/X-4 and Print Booklet included) writes the title, author, description and keywords into the PDF's document information and XMP. EPUB export takes the title and author from File Info, and HTML export takes the title. A title or author given to the export replaces File Info's, and an empty Document Title leaves the document's name as the title. No readiness percentage change.
- **2026-10-23** · Save and export dialogs (Save As, Save a Copy, Export PDF and the other exports, Package, libraries and books) start in the active document's folder once it has been saved, and for a document never saved in the folder of the last file saved or exported, remembered across sessions (#1653). A folder deleted since falls back to the system's choice. No readiness percentage change.
- **2026-10-22** · Autoflow (Shift-click with the loaded text cursor, autoflow on Place, `text.thread {autoflow}`) fills the pages that follow before it adds any, as InDesign does: one frame per column on each following page, whatever else the page holds, then new pages at the end of the document. It inserted pages right after the story's last frame, in front of the document's own pages. Frames it set past the end of the text go again; a page the document had stays, and a page autoflow added only for such a frame goes with it. Smart Text Reflow of the primary text frame is unchanged. No readiness percentage change.
+- **2026-10-18** · German text hyphenates using the MIT-licensed 2006 reform patterns (`hyph-de-1996.tex`) through `hypher`. Explicit 2006 names and plain/2006 locale codes reach both composers; traditional and unknown spelling variants stay unhyphenated. Tests cover this distinction, umlauts, ß, compounds, reformed ck/st breaks and paragraph limits. Six of InDesign's ~40 hyphenation languages. No readiness percentage change.
- **2026-10-16** · Edit › Keyboard Shortcuts imports a set saved by InDesign's Show Set (.txt, Windows or Mac key names, UTF-8 or UTF-16): matched commands take its Default shortcuts or lose theirs, other commands give up keys it takes, and a report lists what it changed and the items it could not match (`window.importShortcuts`, #1180). Tool keys stay fixed. No readiness percentage change.
- **2026-10-23** · Translations: a missing string shows in English and fails no test; `cargo xtask i18n-report`, run by `cargo xtask ci`, prints the missing strings per language. Tests keep duplicate-key and placeholder checks and the language mechanics (lookup, context captions, plural captions, right-to-left). No readiness percentage change.
+- **2026-10-23** · Show Hidden Characters marks table cells as InDesign does: every cell shows its own spaces, tabs and paragraph returns and an end-of-story # after its text (an empty cell shows just the #), and the table paragraph's ¶ sits after the table's bottom right corner. Cells showed no marks. No readiness percentage change.
+- **2026-10-23** · Tables: with the Type tool in a cell, Shift+Tab goes back a cell (it went on to the next one) and Esc toggles between the text and the cell, as in InDesign: the insertion point selects its cell, and selected cells select the text of the first one (`table.toggleSelection`). Esc left the table for the frame. No readiness percentage change.
+ - **2026-10-23** · Tables: Convert Text to Table… and Convert Table to Text… open InDesign's dialogs (they converted at once, with tabs and paragraphs only). Column and Row Separator take Tab, Comma, Paragraph or any characters typed; Number of Columns, available when both separators are the same, fills rows of that many cells (a list of paragraphs into two columns); Convert Text to Table also applies a Table Style. `table.convertFromText` takes `rowSeparator`, `columns` and `tableStyle`, and `table.convertToText` its separators. Convert Text to Table is available only with text selected outside a table. No readiness percentage change.
- **2026-10-23** · Tables: the Table menu follows InDesign's order (Cell Options before Insert, Delete and Select; Merge, Unmerge and Split before Convert Cell Type and Convert Rows; Distribute Rows Evenly before Distribute Columns Evenly), and its first item is Insert Table… with InDesign's Cmd+Alt+Shift+T, which opens the dialog (the shortcut ran `table.insert` with its defaults, behind the dialog). The Table panel stays in Window › Type & Tables (Shift+F9). The Insert Table dialog is laid out as InDesign's: Body Rows and Columns, then Header and Footer Rows, as numbers with spinners and right-aligned labels, and a Table Style applied to the new table. No readiness percentage change.
- **2026-10-22** · Hyphenation Settings, as in InDesign: the Paragraph panel menu's Hyphenation… (`app.hyphenationDialog`) sets the selected paragraphs' Hyphenate, Words with at Least, After First, Before Last, Hyphen Limit, Hyphenation Zone, the Better Spacing ↔ Fewer Hyphens slider (InDesign's 0–10 steps), Hyphenate Capitalized Words, Last Word and Across Column, with Preview, as one undo step; Paragraph Style Options › Hyphenation has the same form. The panel menu lists its items in InDesign's order. Replicated from a hyphenation tutorial: the same text in Minion Pro breaks into the same lines as InDesign's with hyphenation on, off, and at Fewer Hyphens. No readiness percentage change.
- **2026-10-22** · Hyphenate Across Column (Hyphenation Settings; IDML HyphenateAcrossColumns) is applied: with it off, a paragraph whose line ending in an automatic hyphen would end a column or frame is re-composed without that hyphenation point, so the word moves on whole, as in InDesign. Opened and imported files keep their own setting, so their layouts don't change. No readiness percentage change.
diff --cc crates/engine/src/cmd/table.rs
index 61a35222f,b304edada..d3743df9e
--- a/crates/engine/src/cmd/table.rs
+++ b/crates/engine/src/cmd/table.rs
@@@ -28,5 -28,5 +28,5 @@@ mod styles
mod target;
pub use registry::specs;
-pub(crate) use selection::step_cell;
+pub(crate) use selection::{one_selected_cell_to_text, step_cell};
- pub use structure::{MAX_BODY_ROWS, MAX_COLUMNS, MAX_HEADER_FOOTER_ROWS};
+ pub use structure::{MAX_BODY_ROWS, MAX_COLUMNS, MAX_CONVERTED_CELLS, MAX_HEADER_FOOTER_ROWS};
diff --cc crates/ui-egui/src/dialogs.rs
index 49b685bff,3beaa0964..92a36dce6
--- a/crates/ui-egui/src/dialogs.rs
+++ b/crates/ui-egui/src/dialogs.rs
@@@ -149,58 -151,92 +151,144 @@@ fn text_field_named(ui: &mut egui::Ui,
}
}
+/// Insert Pages…, after page `abs` and with that page's parent, as InDesign's.
+pub(crate) fn open_insert_pages(app: &mut DesignApp, abs: usize) {
+ let Some(st) = app.session.active() else { return };
+ let abs = abs.min(st.doc.page_count().saturating_sub(1));
+ let parent = st.doc.page(abs).and_then(|p| p.parent).map_or_else(String::new, |id| id.0.to_string());
+ app.ui.dialog = Some(Dialog::new("insertPages", json!({"count": 1, "insert": "after", "page": abs, "parent": parent})));
+}
+
+/// Insert Pages, as InDesign's: how many, where (after or before a page, at the start or the end
+/// of the document) and with which parent.
+fn insert_pages_dialog(app: &DesignApp, ui: &mut egui::Ui, d: &mut Dialog) {
+ let lang = app.ui.language.clone();
+ let Some(st) = app.session.active() else { return };
+ let pages: Vec<String> = (0..st.doc.page_count()).map(|i| app.session.page_label(i)).collect();
+ let mut parents = vec![(String::new(), crate::i18n::tr(&lang, "[None]").to_string())];
+ parents.extend(st.doc.parents.iter().map(|p| (p.id.0.to_string(), p.parent.as_ref().map(|i| i.label()).unwrap_or_default())));
+ egui::Grid::new("insert_pages").num_columns(2).spacing([8.0, 6.0]).show(ui, |ui| {
+ let name = crate::rtl::label(ui, crate::i18n::tr(&lang, "Pages:"));
+ let mut n = d.n("count").unwrap_or(1.0).clamp(1.0, 9999.0) as u32;
+ if ui.add(egui::DragValue::new(&mut n).range(1..=9999)).labelled_by(name.id).changed() {
+ d.fields.insert("count".into(), json!(n));
+ }
+ ui.end_row();
+ let name = crate::rtl::label(ui, crate::i18n::tr(&lang, "Insert:"));
+ ui.horizontal(|ui| {
+ let wheres = [("after", "After Page"), ("before", "Before Page"), ("start", "At Start of Document"), ("end", "At End of Document")];
+ translated_combo(&lang, ui, d, "insert", &wheres).labelled_by(name.id);
+ // The page, by name: At Start and At End need none.
+ ui.add_enabled_ui(matches!(d.s("insert").as_str(), "after" | "before"), |ui| {
+ let cur = (d.n("page").unwrap_or(0.0).max(0.0) as usize).min(pages.len().saturating_sub(1));
+ craft_ui::ComboBox::from_id_salt("insert_page")
+ .selected_text(pages.get(cur).cloned().unwrap_or_default())
+ .width(64.0)
+ .show_ui(ui, |ui| {
+ for (i, name) in pages.iter().enumerate() {
+ if ui.selectable_label(i == cur, name).clicked() {
+ d.fields.insert("page".into(), json!(i));
+ }
+ }
+ })
+ .response
+ .accessible_name(crate::i18n::tr(&lang, "Page").to_owned());
+ });
+ });
+ ui.end_row();
+ let name = crate::rtl::label(ui, crate::i18n::tr(&lang, "Parent:"));
+ let opts: Vec<(&str, &str)> = parents.iter().map(|(v, l)| (v.as_str(), l.as_str())).collect();
+ combo(ui, d, "parent", &opts).labelled_by(name.id);
+ ui.end_row();
+ });
+}
+
+ /// Separators the Convert dialogs offer by name; anything else typed in the field is the
+ /// separator's own characters.
+ const SEPARATORS: [(&str, &str); 3] = [("tab", "Tab"), ("comma", "Comma"), ("paragraph", "Paragraph")];
+
+ /// The characters a separator field stands for (`table.convertFromText` resolves it the same
+ /// way), so "comma" and a typed "," are the same separator.
+ fn resolved_separator(v: &str) -> &str {
+ match v {
+ "tab" => "\t",
+ "comma" => ",",
+ "paragraph" => "\n",
+ other => other,
+ }
+ }
+
+ /// Whether the Convert dialog's two separators are the same (Number of Columns then applies).
+ fn same_separators(d: &Dialog) -> bool {
+ resolved_separator(&d.s("columnSeparator")) == resolved_separator(&d.s("rowSeparator"))
+ }
+
+ /// A separator field, as InDesign's: type any characters, or pick Tab, Comma or Paragraph from
+ /// its menu. Stored as `tab`/`comma`/`paragraph` or the typed text.
+ fn separator_field(lang: &str, ui: &mut egui::Ui, d: &mut Dialog, key: &str) {
+ let cur = d.s(key);
+ let name = |v: &str| SEPARATORS.iter().find(|s| s.0 == v).map(|s| crate::i18n::tr(lang, s.1).to_string());
+ let mut shown = name(&cur).unwrap_or_else(|| cur.clone());
+ ui.horizontal(|ui| {
+ ui.spacing_mut().item_spacing.x = 2.0;
+ if ui.add(egui::TextEdit::singleline(&mut shown).id_salt(("sep", key)).desired_width(150.0)).changed() {
+ let v = SEPARATORS.iter().find(|s| crate::i18n::tr(lang, s.1) == shown).map_or(shown.clone(), |s| s.0.to_string());
+ d.fields.insert(key.into(), json!(v));
+ }
+ ui.menu_button("▾", |ui| {
+ for (v, label) in SEPARATORS {
+ if ui.selectable_label(cur == v, crate::i18n::tr(lang, label)).clicked() {
+ d.fields.insert(key.into(), json!(v));
+ ui.close();
+ }
+ }
+ });
+ });
+ }
+
+ /// Table › Convert Text to Table and Convert Table to Text, laid out as InDesign's: Column and
+ /// Row Separator; converting text to a table also has Number of Columns (only when both
+ /// separators are the same: the cells then fill rows of that many) and Table Style.
+ fn convert_table_dialog(app: &DesignApp, ui: &mut egui::Ui, d: &mut Dialog) {
+ let lang = &app.ui.language;
+ let to_table = d.id == "convertTextToTable";
+ let label = |ui: &mut egui::Ui, text: &str, on: bool| {
+ ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {
+ ui.add_enabled(on, egui::Label::new(crate::rtl::widget(ui, format!("{}:", crate::i18n::tr(lang, text)))));
+ });
+ };
+ egui::Grid::new(("convert_table", to_table)).num_columns(2).min_col_width(120.0).spacing([8.0, 6.0]).show(ui, |ui| {
+ label(ui, "Column Separator", true);
+ separator_field(lang, ui, d, "columnSeparator");
+ ui.end_row();
+ label(ui, "Row Separator", true);
+ separator_field(lang, ui, d, "rowSeparator");
+ ui.end_row();
+ if !to_table {
+ return;
+ }
+ let same = same_separators(d);
+ label(ui, "Number of Columns", same);
+ let max = designcraft_engine::cmd::table::MAX_COLUMNS as f64;
+ let field = crate::widgets::NumField::number("columns", d.n("columns"), "", 0).width(70.0).range(1.0, max).spinner().enabled(same);
+ if let Some(v) = field.show(ui) {
+ d.fields.insert("columns".into(), json!(v.round()));
+ }
+ ui.end_row();
+ label(ui, "Table Style", true);
+ let names: Vec<String> = app.session.active().map(|st| st.doc.styles.table.iter().map(|s| s.name.clone()).collect()).unwrap_or_default();
+ let cur = table_style_field(d).unwrap_or_else(|| designcraft_doc::BASIC_TABLE.to_string());
+ craft_ui::ComboBox::from_id_salt("convert_table_style").selected_text(&cur).width(170.0).show_ui(ui, |ui| {
+ for n in &names {
+ if ui.selectable_label(*n == cur, n).clicked() {
+ d.fields.insert("tableStyle".into(), json!(n));
+ }
+ }
+ });
+ ui.end_row();
+ });
+ }
+
/// The dialog's chosen table style: none when unset, null or empty (a new table's [Basic Table]).
fn table_style_field(d: &Dialog) -> Option<String> {
d.fields.get("tableStyle").and_then(Value::as_str).filter(|s| !s.is_empty()).map(str::to_string)
@@@ -2448,8 -2356,10 +2536,11 @@@ pub fn show(app: &mut DesignApp, ctx: &
"newDocument" => crate::i18n::tr(&app.ui.language, "New Document"),
"frameSize" => crate::i18n::tr(&app.ui.language, "Rectangle"),
"goToPage" => crate::i18n::tr(&app.ui.language, "Go to Page"),
+ "insertPages" => crate::i18n::tr(&app.ui.language, "Insert Pages"),
"insertTable" => crate::i18n::tr(&app.ui.language, "Insert Table…").trim_end_matches('…').trim_end(),
+ // The menu items' translations (every language has them), without the ellipsis.
+ "convertTextToTable" => crate::i18n::tr(&app.ui.language, "Convert Text to Table…").trim_end_matches('…').trim_end(),
+ "convertTableToText" => crate::i18n::tr(&app.ui.language, "Convert Table to Text…").trim_end_matches('…').trim_end(),
"cellOptions" => crate::i18n::tr(&app.ui.language, "Cell Options"),
"createGuides" => crate::i18n::tr(&app.ui.language, "Create Guides"),
"marginsAndColumns" => crate::i18n::tr(&app.ui.language, "Margins and Columns"),
@@@ -2521,8 -2427,8 +2612,9 @@@
let available = (ctx.content_rect().size() - frame_margin - egui::vec2(16.0, 16.0)).max(egui::Vec2::splat(1.0));
let preferred_width: f32 = match d.id.as_str() {
"alert" => 440.0,
- "closeDocument" | "updateLink" | "deletePages" | "newWorkspace" | "pagesPanelOptions" | "insertTable" => 380.0,
+ "closeDocument" | "updateLink" | "deletePages" | "newWorkspace" | "pagesPanelOptions" | "insertTable" | "convertTableToText" => 380.0,
+ "insertPages" => 440.0,
+ "convertTextToTable" => 420.0,
"newDocument" => 960.0,
"hyphenation" => 560.0,
"numberingSection" => 560.0,
diff --cc crates/ui-egui/src/i18n/ar.rs
index a2d19e1cd,23a6d5c0b..61ba28179
--- a/crates/ui-egui/src/i18n/ar.rs
+++ b/crates/ui-egui/src/i18n/ar.rs
@@@ -32,40 -31,12 +32,46 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "قص"),
("Copy", "نسخ"),
("Paste", "لصق"),
+ ("Keep In Frame", "الإبقاء داخل الإطار"),
+ ("New Paragraph Style", "نمط فقرة جديد"),
+ ("New Character Style", "نمط حرف جديد"),
+ ("Next Style:", "النمط التالي:"),
+ ("[Same style]", "[النمط نفسه]"),
+ ("Reset To Base", "إعادة التعيين إلى الأساس"),
+ ("Apply Style to Selection", "تطبيق النمط على التحديد"),
+ ("Change Format:", "تغيير التنسيق:"),
+ ("Change Format Settings", "إعدادات تغيير التنسيق"),
+ ("Style Options", "خيارات النمط"),
+ ("[Any Style]", "[أي نمط]"),
+ ("Specify attributes to change", "تحديد السمات المراد تغييرها"),
+ ("Clear specified attributes", "مسح السمات المحددة"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "مع تنسيق للتغيير وحقل «تغيير إلى» فارغ، يبقى النص الذي تم العثور عليه ويتغير تنسيقه فقط",
+ ),
+ ("Double Column", "عمود مزدوج"),
+ ("Tools Panel:", "لوحة الأدوات:"),
+ ("Color Theme:", "سمة الألوان:"),
+ ("At End of Document", "في نهاية المستند"),
+ ("At Start of Document", "في بداية المستند"),
+ ("Before Page", "قبل الصفحة"),
+ ("After Page", "بعد الصفحة"),
+ ("Parent:", "الصفحة الأصلية:"),
+ ("Insert:", "إدراج:"),
+ ("Stroke Type", "نوع الحد"),
+ ("Corner Shape", "شكل الزاوية"),
+ ("Corner Size and Shape:", "حجم الزوايا وشكلها:"),
+ ("Join", "وصل"),
+ ("Convert Point", "تحويل النقطة"),
+ ("New Section", "قسم جديد"),
+ ("Clear Frame Fitting Options", "مسح خيارات ملاءمة الإطار"),
+ ("Cannot be edited", "غير قابل للتحرير"),
+ ("Convert Text to Table…", "تحويل النص إلى جدول…"),
+ ("Convert Table to Text…", "تحويل الجدول إلى نص…"),
+ ("Column Separator", "فاصل الأعمدة"),
+ ("Row Separator", "فاصل الصفوف"),
+ ("Number of Columns", "عدد الأعمدة"),
+ ("Comma", "فاصلة"),
("Restart Numbering", "إعادة الترقيم"),
("Continue Numbering", "متابعة الترقيم"),
("Keep Options…", "خيارات الإبقاء…"),
diff --cc crates/ui-egui/src/i18n/cs.rs
index fdb75d7b4,4fe34f6b3..c37cc44b2
--- a/crates/ui-egui/src/i18n/cs.rs
+++ b/crates/ui-egui/src/i18n/cs.rs
@@@ -33,44 -32,12 +33,50 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Vyjmout"),
("Copy", "Kopírovat"),
("Paste", "Vložit"),
+ ("Keep In Frame", "Zachovat v rámečku"),
+ ("Gap Tint:", "Odstín mezery:"),
+ ("New Paragraph Style", "Nový styl odstavce"),
+ ("New Character Style", "Nový styl znaku"),
+ ("Next Style:", "Další styl:"),
+ ("[Same style]", "[Stejný styl]"),
+ ("Reset To Base", "Obnovit podle základu"),
+ ("Apply Style to Selection", "Použít styl na výběr"),
+ ("Change Format:", "Změnit formát:"),
+ ("Change Format Settings", "Nastavení změny formátu"),
+ ("Style Options", "Volby stylu"),
+ ("[Any Style]", "[Libovolný styl]"),
+ ("Specify attributes to change", "Určit atributy ke změně"),
+ ("Clear specified attributes", "Vymazat určené atributy"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "Se změnou formátu a prázdným polem „Změnit na“ nalezený text zůstane a změní se jen jeho formát",
+ ),
+ ("Double Column", "Dvojitý sloupec"),
+ ("Single Column", "Jednoduchý sloupec"),
+ ("Tools Panel:", "Panel nástrojů:"),
+ ("Color Theme:", "Barevný motiv:"),
+ ("At End of Document", "Na konec dokumentu"),
+ ("At Start of Document", "Na začátek dokumentu"),
+ ("Before Page", "Před stránku"),
+ ("After Page", "Za stránku"),
+ ("Parent:", "Vzor:"),
+ ("Insert:", "Vložit:"),
+ ("Stroke Type", "Typ tahu"),
+ ("Corner Shape", "Tvar rohu"),
+ ("Corner Size and Shape:", "Velikost a tvar rohů:"),
+ ("Join", "Spojit"),
+ ("Convert Point", "Převést bod"),
+ ("Plain", "Obyčejný"),
+ ("Symmetrical", "Symetrický"),
+ ("New Section", "Nový oddíl"),
+ ("Clear Frame Fitting Options", "Vymazat volby přizpůsobení rámečku"),
+ ("Cannot be edited", "Nelze upravit"),
+ ("Convert Text to Table…", "Převést text na tabulku…"),
+ ("Convert Table to Text…", "Převést tabulku na text…"),
+ ("Column Separator", "Oddělovač sloupců"),
+ ("Row Separator", "Oddělovač řádků"),
+ ("Number of Columns", "Počet sloupců"),
+ ("Comma", "Čárka"),
("Restart Numbering", "Začít číslování znovu"),
("Continue Numbering", "Pokračovat v číslování"),
("Keep Options…", "Volby zachování…"),
diff --cc crates/ui-egui/src/i18n/de.rs
index 07a026f55,a3d460598..aef24f179
--- a/crates/ui-egui/src/i18n/de.rs
+++ b/crates/ui-egui/src/i18n/de.rs
@@@ -32,16 -31,12 +32,22 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Ausschneiden"),
("Copy", "Kopieren"),
("Paste", "Einfügen"),
+ ("Stroke Type", "Konturtyp"),
+ ("Corner Shape", "Eckenform"),
+ ("Corner Size and Shape:", "Eckengröße und -form:"),
+ ("Join", "Verbinden"),
+ ("Convert Point", "Punkt konvertieren"),
+ ("Plain", "Einfach"),
+ ("Symmetrical", "Symmetrisch"),
+ ("New Section", "Neuer Abschnitt"),
+ ("Clear Frame Fitting Options", "Rahmeneinpassungsoptionen löschen"),
+ ("Cannot be edited", "Nicht bearbeitbar"),
+ ("Convert Text to Table…", "Text in Tabelle umwandeln …"),
+ ("Convert Table to Text…", "Tabelle in Text umwandeln …"),
+ ("Column Separator", "Spaltentrennzeichen"),
+ ("Row Separator", "Zeilentrennzeichen"),
+ ("Number of Columns", "Spaltenanzahl"),
+ ("Comma", "Komma"),
("Restart Numbering", "Nummerierung neu beginnen"),
("Continue Numbering", "Nummerierung fortführen"),
("Keep Options…", "Umbruchoptionen …"),
diff --cc crates/ui-egui/src/i18n/it.rs
index d71f2870d,bd0abc03d..d65947a10
--- a/crates/ui-egui/src/i18n/it.rs
+++ b/crates/ui-egui/src/i18n/it.rs
@@@ -30,41 -29,13 +30,48 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Taglia"),
("Copy", "Copia"),
("Paste", "Incolla"),
+ ("Keep In Frame", "Mantieni nella cornice"),
+ ("New Paragraph Style", "Nuovo stile di paragrafo"),
+ ("New Character Style", "Nuovo stile di carattere"),
+ ("Next Style:", "Stile successivo:"),
+ ("[Same style]", "[Stesso stile]"),
+ ("Reset To Base", "Ripristina base"),
+ ("Apply Style to Selection", "Applica stile alla selezione"),
+ ("Change Format:", "Modifica formato:"),
+ ("Change Format Settings", "Impostazioni di modifica formato"),
+ ("Style Options", "Opzioni stile"),
+ ("[Any Style]", "[Qualsiasi stile]"),
+ ("Specify attributes to change", "Specifica gli attributi da modificare"),
+ ("Clear specified attributes", "Cancella gli attributi specificati"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "Con un formato di modifica e «Sostituisci con» vuoto, il testo trovato resta e cambia solo la formattazione",
+ ),
+ ("Double Column", "Colonna doppia"),
+ ("Tools Panel:", "Pannello Strumenti:"),
+ ("Color Theme:", "Tema colore:"),
+ ("At End of Document", "Alla fine del documento"),
+ ("At Start of Document", "All'inizio del documento"),
+ ("Before Page", "Prima della pagina"),
+ ("After Page", "Dopo la pagina"),
+ ("Parent:", "Pagina mastro:"),
+ ("Insert:", "Inserisci:"),
+ ("Insert Pages", "Inserisci pagine"),
+ ("Stroke Type", "Tipo traccia"),
+ ("Corner Shape", "Forma angolo"),
+ ("Corner Size and Shape:", "Dimensione e forma angoli:"),
+ ("Join", "Unisci"),
+ ("Convert Point", "Converti punto"),
+ ("New Section", "Nuova sezione"),
+ ("Clear Frame Fitting Options", "Cancella opzioni di adattamento cornice"),
+ ("Cannot be edited", "Non modificabile"),
+ ("Tab", "Tabulazione"),
+ ("Convert Text to Table…", "Converti testo in tabella…"),
+ ("Convert Table to Text…", "Converti tabella in testo…"),
+ ("Column Separator", "Separatore colonna"),
+ ("Row Separator", "Separatore riga"),
+ ("Number of Columns", "Numero di colonne"),
+ ("Comma", "Virgola"),
("Restart Numbering", "Riavvia numerazione"),
("Continue Numbering", "Continua numerazione"),
("Keep Options…", "Opzioni di separazione…"),
diff --cc crates/ui-egui/src/i18n/ja.rs
index 761512b83,31363c669..d5d8efa69
--- a/crates/ui-egui/src/i18n/ja.rs
+++ b/crates/ui-egui/src/i18n/ja.rs
@@@ -31,14 -30,12 +31,20 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "カット"),
("Copy", "コピー"),
("Paste", "ペースト"),
+ ("Stroke Type", "線の種類"),
+ ("Corner Shape", "角のシェイプ"),
+ ("Corner Size and Shape:", "角のサイズとシェイプ:"),
+ ("Join", "連結"),
+ ("Convert Point", "ポイントを切り換え"),
+ ("New Section", "新規セクション"),
+ ("Clear Frame Fitting Options", "フレーム調整オプションを消去"),
+ ("Cannot be edited", "編集不可"),
+ ("Convert Text to Table…", "テキストを表に変換…"),
+ ("Convert Table to Text…", "表をテキストに変換…"),
+ ("Column Separator", "列分解文字"),
+ ("Row Separator", "行分解文字"),
+ ("Number of Columns", "列数"),
+ ("Comma", "カンマ"),
("Restart Numbering", "番号の振り直し"),
("Continue Numbering", "番号の継続"),
("Keep Options…", "段落分離禁止オプション…"),
diff --cc crates/ui-egui/src/i18n/ka.rs
index 5a68e37b0,4a4f1bfd5..a5d69ddbd
--- a/crates/ui-egui/src/i18n/ka.rs
+++ b/crates/ui-egui/src/i18n/ka.rs
@@@ -33,38 -32,12 +33,44 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "ამოჭრა"),
("Copy", "კოპირება"),
("Paste", "ჩასმა"),
+ ("Keep In Frame", "ჩარჩოში შენარჩუნება"),
+ ("New Paragraph Style", "აბზაცის ახალი სტილი"),
+ ("New Character Style", "სიმბოლოს ახალი სტილი"),
+ ("Next Style:", "შემდეგი სტილი:"),
+ ("[Same style]", "[იგივე სტილი]"),
+ ("Reset To Base", "საბაზოზე დაბრუნება"),
+ ("Apply Style to Selection", "სტილის გამოყენება მონიშნულზე"),
+ ("Change Format:", "ფორმატის შეცვლა:"),
+ ("Change Format Settings", "ფორმატის შეცვლის პარამეტრები"),
+ ("Style Options", "სტილის პარამეტრები"),
+ ("[Any Style]", "[ნებისმიერი სტილი]"),
+ ("Specify attributes to change", "შესაცვლელი ატრიბუტების მითითება"),
+ ("Clear specified attributes", "მითითებული ატრიბუტების გასუფთავება"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "ფორმატის შეცვლით და ცარიელი „ჩანაცვლება“ ველით ნაპოვნი ტექსტი რჩება და მხოლოდ ფორმატი იცვლება",
+ ),
+ ("Double Column", "ორმაგი სვეტი"),
+ ("Tools Panel:", "ხელსაწყოების პანელი:"),
+ ("Color Theme:", "ფერთა თემა:"),
+ ("At End of Document", "დოკუმენტის ბოლოს"),
+ ("At Start of Document", "დოკუმენტის დასაწყისში"),
+ ("Before Page", "გვერდის წინ"),
+ ("After Page", "გვერდის შემდეგ"),
+ ("Parent:", "საბაზო გვერდი:"),
+ ("Insert:", "ჩასმა:"),
+ ("Stroke Type", "კონტურის ტიპი"),
+ ("Corner Shape", "კუთხის ფორმა"),
+ ("Corner Size and Shape:", "კუთხეების ზომა და ფორმა:"),
+ ("New Section", "ახალი სექცია"),
+ ("Clear Frame Fitting Options", "ჩარჩოს მორგების პარამეტრების გასუფთავება"),
+ ("Cannot be edited", "რედაქტირება შეუძლებელია"),
+ ("Convert Text to Table…", "ტექსტის ცხრილად გარდაქმნა…"),
+ ("Convert Table to Text…", "ცხრილის ტექსტად გარდაქმნა…"),
+ ("Column Separator", "სვეტების გამყოფი"),
+ ("Row Separator", "სტრიქონების გამყოფი"),
+ ("Number of Columns", "სვეტების რაოდენობა"),
+ ("Comma", "მძიმე"),
("Restart Numbering", "ნუმერაციის თავიდან დაწყება"),
("Continue Numbering", "ნუმერაციის გაგრძელება"),
("Keep Options…", "შენარჩუნების პარამეტრები…"),
diff --cc crates/ui-egui/src/i18n/pl.rs
index b536be8c7,592fb7ca4..6e3bdeaf4
--- a/crates/ui-egui/src/i18n/pl.rs
+++ b/crates/ui-egui/src/i18n/pl.rs
@@@ -31,44 -30,12 +31,50 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Wytnij"),
("Copy", "Kopiuj"),
("Paste", "Wklej"),
+ ("Keep In Frame", "Zachowaj w ramce"),
+ ("Gap Tint:", "Odcień odstępu:"),
+ ("New Paragraph Style", "Nowy styl akapitowy"),
+ ("New Character Style", "Nowy styl znakowy"),
+ ("Next Style:", "Następny styl:"),
+ ("[Same style]", "[Ten sam styl]"),
+ ("Reset To Base", "Przywróć bazowy"),
+ ("Apply Style to Selection", "Zastosuj styl do zaznaczenia"),
+ ("Change Format:", "Zmień format:"),
+ ("Change Format Settings", "Ustawienia zmiany formatu"),
+ ("Style Options", "Opcje stylu"),
+ ("[Any Style]", "[Dowolny styl]"),
+ ("Specify attributes to change", "Określ atrybuty do zmiany"),
+ ("Clear specified attributes", "Wyczyść określone atrybuty"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "Przy zmianie formatu i pustym polu „Zmień na” znaleziony tekst zostaje, a zmienia się tylko jego format",
+ ),
+ ("Double Column", "Podwójna kolumna"),
+ ("Single Column", "Pojedyncza kolumna"),
+ ("Tools Panel:", "Panel narzędzi:"),
+ ("Color Theme:", "Motyw kolorów:"),
+ ("At End of Document", "Na końcu dokumentu"),
+ ("At Start of Document", "Na początku dokumentu"),
+ ("Before Page", "Przed stroną"),
+ ("After Page", "Po stronie"),
+ ("Parent:", "Strona wzorcowa:"),
+ ("Insert:", "Wstaw:"),
+ ("Stroke Type", "Rodzaj obrysu"),
+ ("Corner Shape", "Kształt narożnika"),
+ ("Corner Size and Shape:", "Rozmiar i kształt narożników:"),
+ ("Join", "Połącz"),
+ ("Convert Point", "Konwertuj punkt"),
+ ("Plain", "Zwykły"),
+ ("Symmetrical", "Symetryczny"),
+ ("New Section", "Nowa sekcja"),
+ ("Clear Frame Fitting Options", "Wyczyść opcje dopasowania ramki"),
+ ("Cannot be edited", "Nie można edytować"),
+ ("Convert Text to Table…", "Zamień tekst na tabelę…"),
+ ("Convert Table to Text…", "Zamień tabelę na tekst…"),
+ ("Column Separator", "Separator kolumn"),
+ ("Row Separator", "Separator wierszy"),
+ ("Number of Columns", "Liczba kolumn"),
+ ("Comma", "Przecinek"),
("Restart Numbering", "Zacznij numerowanie od nowa"),
("Continue Numbering", "Kontynuuj numerowanie"),
("Keep Options…", "Opcje utrzymywania…"),
diff --cc crates/ui-egui/src/i18n/pt_br.rs
index 505b840ea,6ad112f48..cc270f82c
--- a/crates/ui-egui/src/i18n/pt_br.rs
+++ b/crates/ui-egui/src/i18n/pt_br.rs
@@@ -33,41 -32,13 +33,48 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Recortar"),
("Copy", "Copiar"),
("Paste", "Colar"),
+ ("Keep In Frame", "Manter no quadro"),
+ ("New Paragraph Style", "Novo estilo de parágrafo"),
+ ("New Character Style", "Novo estilo de caractere"),
+ ("Next Style:", "Próximo estilo:"),
+ ("[Same style]", "[Mesmo estilo]"),
+ ("Reset To Base", "Redefinir para base"),
+ ("Apply Style to Selection", "Aplicar estilo à seleção"),
+ ("Change Format:", "Alterar formato:"),
+ ("Change Format Settings", "Configurações de alteração de formato"),
+ ("Style Options", "Opções de estilo"),
+ ("[Any Style]", "[Qualquer estilo]"),
+ ("Specify attributes to change", "Especificar atributos a alterar"),
+ ("Clear specified attributes", "Limpar atributos especificados"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "Com um formato de alteração e “Alterar para” vazio, o texto encontrado permanece e só a formatação muda",
+ ),
+ ("Double Column", "Coluna dupla"),
+ ("Tools Panel:", "Painel Ferramentas:"),
+ ("Color Theme:", "Tema de cores:"),
+ ("At End of Document", "No final do documento"),
+ ("At Start of Document", "No início do documento"),
+ ("Before Page", "Antes da página"),
+ ("After Page", "Após a página"),
+ ("Parent:", "Página principal:"),
+ ("Insert:", "Inserir:"),
+ ("Insert Pages", "Inserir páginas"),
+ ("Stroke Type", "Tipo de traçado"),
+ ("Corner Shape", "Forma do canto"),
+ ("Corner Size and Shape:", "Tamanho e forma dos cantos:"),
+ ("Join", "Unir"),
+ ("Convert Point", "Converter ponto"),
+ ("New Section", "Nova seção"),
+ ("Clear Frame Fitting Options", "Limpar opções de ajuste do quadro"),
+ ("Cannot be edited", "Não editável"),
+ ("Tab", "Tabulação"),
+ ("Convert Text to Table…", "Converter texto em tabela…"),
+ ("Convert Table to Text…", "Converter tabela em texto…"),
+ ("Column Separator", "Separador de coluna"),
+ ("Row Separator", "Separador de linha"),
+ ("Number of Columns", "Número de colunas"),
+ ("Comma", "Vírgula"),
("Restart Numbering", "Reiniciar numeração"),
("Continue Numbering", "Continuar numeração"),
("Keep Options…", "Opções de manutenção…"),
diff --cc crates/ui-egui/src/i18n/ru.rs
index 6e8e49df2,5ecd5e0fa..fbb4c81ef
--- a/crates/ui-egui/src/i18n/ru.rs
+++ b/crates/ui-egui/src/i18n/ru.rs
@@@ -35,44 -34,12 +35,50 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Вырезать"),
("Copy", "Копировать"),
("Paste", "Вставить"),
+ ("Keep In Frame", "Сохранить во фрейме"),
+ ("Gap Tint:", "Оттенок пробелов:"),
+ ("New Paragraph Style", "Новый стиль абзаца"),
+ ("New Character Style", "Новый стиль символов"),
+ ("Next Style:", "Следующий стиль:"),
+ ("[Same style]", "[Тот же стиль]"),
+ ("Reset To Base", "Сбросить до основы"),
+ ("Apply Style to Selection", "Применить стиль к выделенному"),
+ ("Change Format:", "Заменить формат:"),
+ ("Change Format Settings", "Параметры замены формата"),
+ ("Style Options", "Параметры стиля"),
+ ("[Any Style]", "[Любой стиль]"),
+ ("Specify attributes to change", "Задать атрибуты для замены"),
+ ("Clear specified attributes", "Очистить заданные атрибуты"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "Если задан формат замены, а поле «Заменить на» пусто, найденный текст остаётся, меняется только его формат",
+ ),
+ ("Double Column", "Две колонки"),
+ ("Single Column", "Одна колонка"),
+ ("Tools Panel:", "Панель инструментов:"),
+ ("Color Theme:", "Цветовая тема:"),
+ ("At End of Document", "В конец документа"),
+ ("At Start of Document", "В начало документа"),
+ ("Before Page", "Перед страницей"),
+ ("After Page", "После страницы"),
+ ("Parent:", "Шаблон:"),
+ ("Insert:", "Вставить:"),
+ ("Stroke Type", "Тип обводки"),
+ ("Corner Shape", "Форма угла"),
+ ("Corner Size and Shape:", "Размер и форма углов:"),
+ ("Join", "Соединить"),
+ ("Convert Point", "Преобразовать точку"),
+ ("Plain", "Простая"),
+ ("Symmetrical", "Симметричная"),
+ ("New Section", "Новый раздел"),
+ ("Clear Frame Fitting Options", "Очистить параметры подгонки фрейма"),
+ ("Cannot be edited", "Нельзя изменить"),
+ ("Convert Text to Table…", "Преобразовать текст в таблицу…"),
+ ("Convert Table to Text…", "Преобразовать таблицу в текст…"),
+ ("Column Separator", "Разделитель столбцов"),
+ ("Row Separator", "Разделитель строк"),
+ ("Number of Columns", "Число столбцов"),
+ ("Comma", "Запятая"),
("Restart Numbering", "Начать нумерацию заново"),
("Continue Numbering", "Продолжить нумерацию"),
("Keep Options…", "Параметры удержания…"),
diff --cc crates/ui-egui/src/i18n/table.rs
index 93e83a382,6671e9dee..aa6855725
--- a/crates/ui-egui/src/i18n/table.rs
+++ b/crates/ui-egui/src/i18n/table.rs
@@@ -1200,8 -1128,19 +1200,21 @@@ pub(super) const TABLE: &[(&str, [&str
],
),
("Load Styles", ["Formate laden", "Charger les styles", "Cargar estilos", "スタイルを読み込み", "加载样式"]),
+ ("New Section", ["Neuer Abschnitt", "Nouvelle section", "Nueva sección", "新規セクション", "新建章节"]),
+ ("Cannot be edited", ["Nicht bearbeitbar", "Non modifiable", "No editable", "編集不可", "不可编辑"]),
+ ("Tab", ["Tabulator", "Tabulation", "Tabulación", "タブ", "制表符"]),
+ (
+ "Convert Text to Table…",
+ ["Text in Tabelle umwandeln …", "Convertir le texte en tableau…", "Convertir texto en tabla…", "テキストを表に変換…", "将文本转换为表格…"],
+ ),
+ (
+ "Convert Table to Text…",
+ ["Tabelle in Text umwandeln …", "Convertir le tableau en texte…", "Convertir tabla en texto…", "表をテキストに変換…", "将表格转换为文本…"],
+ ),
+ ("Column Separator", ["Spaltentrennzeichen", "Séparateur de colonnes", "Separador de columnas", "列分解文字", "列分隔符"]),
+ ("Row Separator", ["Zeilentrennzeichen", "Séparateur de rangs", "Separador de filas", "行分解文字", "行分隔符"]),
+ ("Number of Columns", ["Spaltenanzahl", "Nombre de colonnes", "Número de columnas", "列数", "列数"]),
+ ("Comma", ["Komma", "Virgule", "Coma", "カンマ", "逗号"]),
("Restart Numbering", ["Nummerierung neu beginnen", "Recommencer la numérotation", "Reiniciar numeración", "番号の振り直し", "重新开始编号"]),
("Continue Numbering", ["Nummerierung fortführen", "Poursuivre la numérotation", "Continuar numeración", "番号の継続", "继续编号"]),
("Keep Options…", ["Umbruchoptionen …", "Options d'enchaînement…", "Opciones de separación…", "段落分離禁止オプション…", "保持选项…"]),
diff --cc crates/ui-egui/src/i18n/uk.rs
index 858e0912e,7868ddb87..2157858b8
--- a/crates/ui-egui/src/i18n/uk.rs
+++ b/crates/ui-egui/src/i18n/uk.rs
@@@ -31,41 -30,13 +31,48 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Вирізати"),
("Copy", "Копіювати"),
("Paste", "Вставити"),
+ ("Keep In Frame", "Зберегти у фреймі"),
+ ("New Paragraph Style", "Новий стиль абзацу"),
+ ("New Character Style", "Новий стиль символів"),
+ ("Next Style:", "Наступний стиль:"),
+ ("[Same style]", "[Той самий стиль]"),
+ ("Reset To Base", "Скинути до основи"),
+ ("Apply Style to Selection", "Застосувати стиль до виділеного"),
+ ("Change Format:", "Замінити формат:"),
+ ("Change Format Settings", "Параметри заміни формату"),
+ ("Style Options", "Параметри стилю"),
+ ("[Any Style]", "[Будь-який стиль]"),
+ ("Specify attributes to change", "Задати атрибути для заміни"),
+ ("Clear specified attributes", "Очистити задані атрибути"),
+ (
+ "With a Change Format and nothing in Change to, the found text stays and is only formatted",
+ "Якщо задано формат заміни, а поле «Замінити на» порожнє, знайдений текст лишається, змінюється лише його формат",
+ ),
+ ("Double Column", "Подвійна колонка"),
+ ("Tools Panel:", "Панель інструментів:"),
+ ("Color Theme:", "Колірна тема:"),
+ ("At End of Document", "У кінець документа"),
+ ("At Start of Document", "На початок документа"),
+ ("Before Page", "Перед сторінкою"),
+ ("After Page", "Після сторінки"),
+ ("Parent:", "Шаблон:"),
+ ("Insert:", "Вставити:"),
+ ("Insert Pages", "Вставити сторінки"),
+ ("Stroke Type", "Тип обведення"),
+ ("Corner Shape", "Форма кута"),
+ ("Corner Size and Shape:", "Розмір і форма кутів:"),
+ ("Join", "Зʼєднати"),
+ ("Convert Point", "Перетворити точку"),
+ ("New Section", "Новий розділ"),
+ ("Clear Frame Fitting Options", "Очистити параметри припасування фрейму"),
+ ("Cannot be edited", "Не можна змінити"),
+ ("Tab", "Табуляція"),
+ ("Convert Text to Table…", "Перетворити текст на таблицю…"),
+ ("Convert Table to Text…", "Перетворити таблицю на текст…"),
+ ("Column Separator", "Роздільник стовпців"),
+ ("Row Separator", "Роздільник рядків"),
+ ("Number of Columns", "Кількість стовпців"),
+ ("Comma", "Кома"),
("Restart Numbering", "Почати нумерацію знову"),
("Continue Numbering", "Продовжити нумерацію"),
("Keep Options…", "Параметри утримання…"),