R5.5: ElyTable right-click menus, Excel-style; three rounds used, last fixes tested

Grid and header menus share ely_office::menu with ElyDoc. Each item's
availability is the kernel's state for the exact command it runs
(patch 0045). Patch 0046 lets a header select its row or column while
a shape is selected or its text is edited: the view shell ends the
drawing edit, keeps the typed text, leaves drawing mode, then marks.
Ely no longer sends Esc first.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-14 13:02:10 -04:00
1 parent 07c0b43542
commit 87886c8a8d
30 files changed
+1010 -106

No files matched your search

+8
View File
@@ -66,6 +66,10 @@ pub(super) const EN: &[(&str, &str)] = &[
("table.cells.hide_columns", "Hide Columns"),
("table.cells.show_columns", "Show Columns"),
("table.cells.freeze", "Freeze or Unfreeze Panes"),
("table.menu.insert", "Insert"),
("table.menu.delete", "Delete"),
("table.menu.clear", "Clear Contents"),
("table.menu.format", "Format Cells"),
("table.size.row", "Row Height"),
("table.size.column", "Column Width"),
("table.size.label", "Centimeters"),
@@ -157,6 +161,10 @@ pub(super) const ZH_CN: &[(&str, &str)] = &[
("table.cells.hide_columns", "隐藏列"),
("table.cells.show_columns", "显示列"),
("table.cells.freeze", "冻结或取消冻结窗格"),
("table.menu.insert", "插入"),
("table.menu.delete", "删除"),
("table.menu.clear", "清除内容"),
("table.menu.format", "设置单元格格式"),
("table.size.row", "行高"),
("table.size.column", "列宽"),
("table.size.label", "厘米"),
+14 -14
View File
@@ -13,9 +13,9 @@ pub(super) const EN: &[(&str, &str)] = &[
("office.find.stale", "Edited. Enter counts again."),
("doc.spell.ignore_all", "Ignore All"),
("doc.spell.none", "No suggestions"),
("doc.menu.cut", "Cut"),
("doc.menu.copy", "Copy"),
("doc.menu.paste", "Paste"),
("office.menu.cut", "Cut"),
("office.menu.copy", "Copy"),
("office.menu.paste", "Paste"),
("doc.menu.link", "Link…"),
("doc.menu.comment", "New Comment"),
("doc.menu.insert", "Insert"),
@@ -38,10 +38,10 @@ pub(super) const EN: &[(&str, &str)] = &[
("doc.menu.square", "Square"),
("doc.menu.top_bottom", "Top and Bottom"),
("doc.menu.in_front", "In Front of Text"),
("doc.menu.front", "Bring to Front"),
("doc.menu.forward", "Bring Forward"),
("doc.menu.back", "Send to Back"),
("doc.menu.backward", "Send Backward"),
("office.menu.front", "Bring to Front"),
("office.menu.forward", "Bring Forward"),
("office.menu.back", "Send to Back"),
("office.menu.backward", "Send Backward"),
("doc.menu.caption", "Insert Caption…"),
("doc.compare.open", "Compare With…"),
("doc.compare.name", "{name} compared"),
@@ -108,9 +108,9 @@ pub(super) const ZH_CN: &[(&str, &str)] = &[
("office.find.stale", "已改动,回车重新计数"),
("doc.spell.ignore_all", "全部忽略"),
("doc.spell.none", "无建议"),
("doc.menu.cut", "剪切"),
("doc.menu.copy", "复制"),
("doc.menu.paste", "粘贴"),
("office.menu.cut", "剪切"),
("office.menu.copy", "复制"),
("office.menu.paste", "粘贴"),
("doc.menu.link", "链接…"),
("doc.menu.comment", "新建批注"),
("doc.menu.insert", "插入"),
@@ -133,10 +133,10 @@ pub(super) const ZH_CN: &[(&str, &str)] = &[
("doc.menu.square", "四周型"),
("doc.menu.top_bottom", "上下型"),
("doc.menu.in_front", "浮于文字上方"),
("doc.menu.front", "置于顶层"),
("doc.menu.forward", "上移一层"),
("doc.menu.back", "置于底层"),
("doc.menu.backward", "下移一层"),
("office.menu.front", "置于顶层"),
("office.menu.forward", "上移一层"),
("office.menu.back", "置于底层"),
("office.menu.backward", "下移一层"),
("doc.menu.caption", "插入题注…"),
("doc.compare.open", "与其他版本比较…"),
("doc.compare.name", "{name} 比较结果"),