88f5a00e389b
tables.rs
/// Menu bar: (menu, entries). Entries: `cmd:<id>`, `ui:<id>`, `-` separator, `>Submenu` … `<`.
pub const MENUS: &[(&str, &[&str])] = &[
(
"File",
&[
"ui:app.newDocumentDialog",
"ui:app.openDialog",
">Open Recent",
"cmd:file.clearRecent",
"<",
"-",
"cmd:file.close",
"ui:app.save",
"ui:app.saveDialog",
"ui:app.saveCopyDialog",
"cmd:file.revert",
"-",
"ui:app.placeDialog",
"ui:app.contactSheetDialog",
"ui:app.placeWithOptions",
"-",
"ui:app.exportPdf",
"ui:app.exportBatch",
"ui:app.packageDialog",
"ui:app.printBooklet",
"ui:app.exportPng",
"ui:app.exportIdml",
"ui:app.exportEpub",
"ui:app.exportFixedEpub",
"ui:app.exportInteractivePdf",
"ui:app.exportHtml",
"ui:app.exportPptx",
"ui:app.exportXml",
"ui:app.exportText",
">Export",
"cmd:snippet.export",
"<",
"-",
"cmd:layout.documentSetup",
"cmd:file.info",
"-",
"ui:app.quit",
],
),
(
"Edit",
&[
"cmd:edit.undo",
"cmd:edit.redo",
"-",
"cmd:edit.cut",
"cmd:edit.copy",
"cmd:edit.paste",
"cmd:edit.pasteWithoutFormatting",
"cmd:edit.pasteInto",
"cmd:edit.pasteInPlace",
"cmd:edit.clear",
"-",
"cmd:edit.duplicate",
"ui:app.placeAndLink",
"cmd:edit.stepAndRepeat",
"-",
"cmd:edit.selectAll",
"cmd:guide.selectAll",
"cmd:edit.deselectAll",
"-",
"ui:app.findChange",
"cmd:find.next",
"ui:app.storyEditor",
"-",
">Spelling",
"cmd:spelling.check",
"ui:edit.dynamicSpelling",
"cmd:spelling.addWord",
"ui:app.userDictionary",
"<",
">Transparency Blend Space",
"cmd:edit.transparencyBlendSpace|Document RGB|{\"space\": \"rgb\"}",
"cmd:edit.transparencyBlendSpace|Document CMYK|{\"space\": \"cmyk\"}",
"<",
"ui:app.colorSettings",
">Transparency Flattener Presets",
"ui:app.flattener|None (keep transparency)|{\"preset\": \"\"}",
"ui:app.flattener|High Resolution|{\"preset\": \"high\"}",
"ui:app.flattener|Medium Resolution|{\"preset\": \"medium\"}",
"ui:app.flattener|Low Resolution|{\"preset\": \"low\"}",
"<",
"-",
"ui:app.palette",
"ui:app.keyboardShortcuts",
"ui:app.menus",
"ui:app.preferences",
],
),
(
"Layout",
&[
">Pages",
"cmd:layout.pages.insert",
"cmd:layout.pages.move",
"ui:app.duplicateSpread",
"ui:app.deletePage",
"-",
"cmd:layout.pages.applyParent",
"cmd:layout.parents.new",
"ui:app.parentOptions",
"<",
"cmd:layout.marginsAndColumns",
"cmd:layout.createGuides",
"cmd:layout.createAlternate",
"ui:app.alternateLayoutOptions",
"-",
"ui:view.firstPage",
"ui:view.previousPage",
"ui:view.nextPage",
"ui:view.lastPage",
"ui:view.nextSpread",
"ui:view.previousSpread",
"ui:view.goToPage",
"ui:view.goBack",
"ui:view.goForward",
"-",
"cmd:layout.section",
"cmd:toc.generate",
"cmd:toc.update",
">Index",
"cmd:index.addReference",
"cmd:index.generate",
"cmd:index.update",
"<",
],
),
(
"Type",
&[
">Size",
"cmd:type.char|6 pt|{\"attrs\": {\"size\": 6}}",
"cmd:type.char|7 pt|{\"attrs\": {\"size\": 7}}",
"cmd:type.char|8 pt|{\"attrs\": {\"size\": 8}}",
"cmd:type.char|9 pt|{\"attrs\": {\"size\": 9}}",
"cmd:type.char|10 pt|{\"attrs\": {\"size\": 10}}",
"cmd:type.char|11 pt|{\"attrs\": {\"size\": 11}}",
"cmd:type.char|12 pt|{\"attrs\": {\"size\": 12}}",
"cmd:type.char|14 pt|{\"attrs\": {\"size\": 14}}",
"cmd:type.char|18 pt|{\"attrs\": {\"size\": 18}}",
"cmd:type.char|24 pt|{\"attrs\": {\"size\": 24}}",
"cmd:type.char|30 pt|{\"attrs\": {\"size\": 30}}",
"cmd:type.char|36 pt|{\"attrs\": {\"size\": 36}}",
"cmd:type.char|48 pt|{\"attrs\": {\"size\": 48}}",
"cmd:type.char|60 pt|{\"attrs\": {\"size\": 60}}",
"cmd:type.char|72 pt|{\"attrs\": {\"size\": 72}}",
"<",
"-",
"ui:app.characterPanel",
"ui:app.paragraphPanel",
"ui:app.tabsPanel",
"ui:app.glyphsPanel",
"-",
"ui:app.characterStylesPanel",
"ui:app.paragraphStylesPanel",
"-",
"cmd:type.createOutlines",
"ui:app.findFontDialog",
"cmd:font.reload",
">Change Case",
"cmd:type.changeCase|UPPERCASE|{\"case\": \"upper\"}",
"cmd:type.changeCase|lowercase|{\"case\": \"lower\"}",
"cmd:type.changeCase|Title Case|{\"case\": \"title\"}",
"cmd:type.changeCase|Sentence case|{\"case\": \"sentence\"}",
"<",
"-",
">Type on a Path",
"cmd:type.pathOptions",
"cmd:type.pathOptions|Delete Type from Path|{\"delete\": true}",
"<",
"-",
">Notes",
"cmd:note.new",
"cmd:note.convertFromText",
"ui:window.panel|Notes|{\"panel\": \"notes\"}",
"-",
"cmd:note.previous",
"cmd:note.next",
"<",
">Track Changes",
"cmd:changes.track",
"cmd:changes.acceptAll",
"cmd:changes.rejectAll",
"<",
"-",
"cmd:footnote.insert",
"ui:app.footnoteOptionsDialog",
"cmd:endnote.insert",
"cmd:footnote.goToReference",
"-",
">Hyperlinks & Cross-References",
"cmd:hyperlink.create",
"cmd:anchor.create",
"-",
"ui:app.insertXrefDialog",
"cmd:xref.defineFormat",
"<",
">Text Variables",
"cmd:variables.define",
"cmd:variables.insert",
"cmd:variables.convertToText",
"<",
"-",
">Bulleted & Numbered Lists",
"cmd:list.bullets",
"cmd:list.numbers",
"-",
"cmd:list.define",
"<",
"-",
">Insert Special Character",
">Symbols",
"cmd:text.insert|Bullet Character|{\"text\": \"\u{2022}\", \"raw\": true}",
"cmd:text.insert|Copyright Symbol|{\"text\": \"\u{a9}\", \"raw\": true}",
"cmd:text.insert|Ellipsis|{\"text\": \"\u{2026}\", \"raw\": true}",
"cmd:text.insert|Paragraph Symbol|{\"text\": \"\u{b6}\", \"raw\": true}",
"cmd:text.insert|Registered Trademark Symbol|{\"text\": \"\u{ae}\", \"raw\": true}",
"cmd:text.insert|Section Symbol|{\"text\": \"\u{a7}\", \"raw\": true}",
"cmd:text.insert|Trademark Symbol|{\"text\": \"\u{2122}\", \"raw\": true}",
"<",
">Markers",
"ui:app.insertCurrentPageNumber",
"cmd:text.insert|Next Page Number|{\"text\": \"\u{e007}\", \"raw\": true}",
"cmd:text.insert|Previous Page Number|{\"text\": \"\u{e008}\", \"raw\": true}",
"cmd:text.insert|Section Marker|{\"text\": \"\u{e001}\", \"raw\": true}",
"<",
">Hyphens and Dashes",
"cmd:text.insert|Em Dash|{\"text\": \"\u{2014}\", \"raw\": true}",
"cmd:text.insert|En Dash|{\"text\": \"\u{2013}\", \"raw\": true}",
"cmd:text.insert|Discretionary Hyphen|{\"text\": \"\u{ad}\", \"raw\": true}",
"cmd:text.insert|Nonbreaking Hyphen|{\"text\": \"\u{2011}\", \"raw\": true}",
"<",
">Quotation Marks",
"cmd:text.insert|Double Left Quotation Marks|{\"text\": \"\u{201c}\", \"raw\": true}",
"cmd:text.insert|Double Right Quotation Marks|{\"text\": \"\u{201d}\", \"raw\": true}",
"cmd:text.insert|Single Left Quotation Mark|{\"text\": \"\u{2018}\", \"raw\": true}",
"cmd:text.insert|Single Right Quotation Mark|{\"text\": \"\u{2019}\", \"raw\": true}",
"cmd:text.insert|Straight Double Quotation Marks|{\"text\": \"\\\"\", \"raw\": true}",
"cmd:text.insert|Straight Single Quotation Mark (Apostrophe)|{\"text\": \"'\", \"raw\": true}",
"<",
">Other",
"cmd:text.insert|Tab|{\"text\": \"\\t\", \"raw\": true}",
"cmd:text.insert|Right Indent Tab|{\"text\": \"\u{e006}\", \"raw\": true}",
"cmd:text.insert|Indent to Here|{\"text\": \"\u{e005}\", \"raw\": true}",
"<",
"<",
">Insert White Space",
"ui:app.insertEmSpace",
"ui:app.insertEnSpace",
"cmd:text.insert|Nonbreaking Space|{\"text\": \"\u{a0}\", \"raw\": true}",
"cmd:text.insert|Hair Space|{\"text\": \"\u{200a}\", \"raw\": true}",
"cmd:text.insert|Sixth Space|{\"text\": \"\u{2006}\", \"raw\": true}",
"cmd:text.insert|Thin Space|{\"text\": \"\u{2009}\", \"raw\": true}",
"cmd:text.insert|Quarter Space|{\"text\": \"\u{2005}\", \"raw\": true}",
"cmd:text.insert|Third Space|{\"text\": \"\u{2004}\", \"raw\": true}",
"cmd:text.insert|Punctuation Space|{\"text\": \"\u{2008}\", \"raw\": true}",
"cmd:text.insert|Figure Space|{\"text\": \"\u{2007}\", \"raw\": true}",
"cmd:text.insert|Flush Space|{\"text\": \"\u{2001}\", \"raw\": true}",
"<",
">Insert Break Character",
"cmd:text.insert|Column Break|{\"text\": \"\u{e002}\", \"raw\": true}",
"cmd:text.insert|Frame Break|{\"text\": \"\u{e003}\", \"raw\": true}",
"cmd:text.insert|Page Break|{\"text\": \"\u{e004}\", \"raw\": true}",
"cmd:text.insert|Odd Page Break|{\"text\": \"\u{e011}\", \"raw\": true}",
"cmd:text.insert|Even Page Break|{\"text\": \"\u{e012}\", \"raw\": true}",
"cmd:text.insert|Paragraph Return|{\"text\": \"\\n\", \"raw\": true}",
"cmd:text.insert|Forced Line Break|{\"text\": \"\u{2028}\", \"raw\": true}",
"<",
"cmd:type.fillWithPlaceholder",
"-",
"ui:view.hiddenCharacters",
"-",
"cmd:math.insert",
">Story Direction",
"cmd:type.storyDirection|Horizontal|{\"vertical\": false}",
"cmd:type.storyDirection|Vertical|{\"vertical\": true}",
"<",
"-",
"cmd:type.tateChuYoko",
"ui:app.rubyDialog",
"cmd:type.kenten",
"cmd:type.warichu",
],
),
(
"Object",
&[
">Transform",
"cmd:transform.move",
"cmd:transform.scale",
"cmd:transform.rotate",
"cmd:transform.shear",
"-",
"cmd:transform.flip",
"-",
"cmd:transform.clear",
"<",
">Transform Again",
"cmd:transform.again",
"cmd:transform.again|Transform Again Individually|{\"individually\": true}",
"cmd:transform.again|Transform Sequence Again|{\"sequence\": true}",
"cmd:transform.again|Transform Sequence Again Individually|{\"sequence\": true, \"individually\": true}",
"<",
">Arrange",
"cmd:object.bringToFront",
"cmd:object.bringForward",
"cmd:object.sendBackward",
"cmd:object.sendToBack",
"<",
">Select",
"cmd:select.firstAbove",
"cmd:select.nextAbove",
"cmd:select.nextBelow",
"cmd:select.lastBelow",
"-",
"cmd:select.container",
"cmd:select.content",
"-",
"cmd:select.previousInGroup",
"cmd:select.nextInGroup",
"<",
"-",
"cmd:object.group",
"cmd:object.ungroup",
"cmd:object.lock",
"cmd:object.unlockAll",
"cmd:object.hide",
"cmd:object.showAll",
"-",
"ui:app.qrCode",
"-",
"cmd:object.textFrameOptions",
"cmd:object.primaryTextFrame",
">Anchored Object",
"cmd:anchored.options",
"cmd:anchored.release",
"<",
"-",
">Fitting",
"ui:fit.fillFrameProportionally",
"ui:fit.contentProportionally",
"-",
"ui:fit.frameToContent",
"ui:fit.contentToFrame",
"ui:fit.centerContent",
"-",
"cmd:object.clearFittingOptions",
"-",
"ui:app.fittingOptions",
"<",
">Content",
"cmd:object.content|Graphic|{\"type\":\"graphic\"}",
"cmd:object.content|Text|{\"type\":\"text\"}",
"cmd:object.content|Unassigned|{\"type\":\"unassigned\"}",
"<",
"-",
">Effects",
"ui:effects.dialog|Transparency…|{\"page\": \"transparency\"}",
"cmd:object.dropShadow",
"cmd:object.innerShadow",
"cmd:object.outerGlow",
"cmd:object.innerGlow",
"cmd:object.bevel",
"cmd:object.satin",
"cmd:object.feather",
"cmd:object.directionalFeather",
"<",
"cmd:object.cornerOptions",
"-",
"ui:app.layerOptions",
"cmd:object.exportOptions",
">Captions",
"cmd:object.caption",
"cmd:object.caption|Generate Live Caption|{\"live\": true}",
"<",
">Clipping Path",
"cmd:object.clippingPathOptions|None|{\"type\": \"none\"}",
"cmd:object.clippingPath|Alpha Channel|{\"type\": \"alpha\"}",
"cmd:object.clippingPath|Detect Edges|{\"type\": \"edges\"}",
"<",
"-",
">Flex Layout",
"cmd:flex.add",
"cmd:flex.convert",
"cmd:flex.remove",
"-",
"ui:window.panel|Show Flex Controls|{\"panel\": \"flexLayout\"}",
"<",
"-",
">Paths",
"cmd:path.join",
"cmd:object.convertShape|Open Path|{\"to\": \"openPath\"}",
"cmd:object.convertShape|Close Path|{\"to\": \"closedPath\"}",
"cmd:path.reverse",
"-",
"cmd:object.makeCompoundPath",
"cmd:object.releaseCompoundPath",
"<",
">Pathfinder",
"cmd:object.pathfinder|Add|{\"op\": \"add\"}",
"cmd:object.pathfinder|Subtract|{\"op\": \"subtract\"}",
"cmd:object.pathfinder|Intersect|{\"op\": \"intersect\"}",
"cmd:object.pathfinder|Exclude Overlap|{\"op\": \"exclude\"}",
"cmd:object.pathfinder|Minus Back|{\"op\": \"minusBack\"}",
"<",
">Convert Shape",
"cmd:object.convertShape|Rectangle|{\"to\": \"rectangle\"}",
"cmd:object.convertShape|Rounded Rectangle|{\"to\": \"roundedRectangle\"}",
"cmd:object.convertShape|Beveled Rectangle|{\"to\": \"beveledRectangle\"}",
"cmd:object.convertShape|Inverse Rounded Rectangle|{\"to\": \"inverseRoundedRectangle\"}",
"cmd:object.convertShape|Ellipse|{\"to\": \"ellipse\"}",
"cmd:object.convertShape|Triangle|{\"to\": \"triangle\"}",
"cmd:object.convertShape|Polygon|{\"to\": \"polygon\"}",
"cmd:object.convertShape|Line|{\"to\": \"line\"}",
"cmd:object.convertShape|Orthogonal Line|{\"to\": \"orthogonalLine\"}",
"<",
">Convert Point",
"cmd:path.convertPoints|Plain|{\"kind\": \"plain\"}",
"cmd:path.convertPoints|Corner|{\"kind\": \"corner\"}",
"cmd:path.convertPoints|Smooth|{\"kind\": \"smooth\"}",
"cmd:path.convertPoints|Symmetrical|{\"kind\": \"symmetrical\"}",
"<",
],
),
(
// InDesign's order. The Table panel is in Window › Type & Tables (Shift+F9).
"Table",
&[
"ui:app.insertTableDialog",
"ui:app.convertTextToTableDialog",
"ui:app.convertTableToTextDialog",
"-",
">Cell Options",
"ui:app.cellOptionsDialog",
"ui:app.diagonalLinesDialog",
"<",
"-",
">Insert",
"cmd:table.insertRowAbove",
"cmd:table.insertRowBelow",
"cmd:table.insertColumnLeft",
"cmd:table.insertColumnRight",
"<",
">Delete",
"cmd:table.deleteRow",
"cmd:table.deleteColumn",
"cmd:table.delete",
"<",
">Select",
"cmd:table.selectRow",
"cmd:table.selectColumn",
"cmd:table.selectTable",
"<",
"-",
"cmd:table.merge",
"cmd:table.unmerge",
"cmd:table.splitHorizontally",
"cmd:table.splitVertically",
"ui:app.graphicCell|Convert Cell to Graphic Cell…",
"cmd:table.textCell",
">Convert Rows",
"cmd:table.convertRowsToHeader",
"cmd:table.convertRowsToBody",
"cmd:table.convertRowsToFooter",
"<",
"-",
"cmd:table.distributeRows",
"cmd:table.distributeColumns",
"-",
"cmd:table.goToRow",
],
),
(
"View",
&[
"ui:view.overprintPreview",
">Proof Setup",
"ui:view.proofSetup|Working CMYK|{\"target\": \"workingCmyk\"}",
"ui:view.proofSetup|Internet Standard RGB (sRGB)|{\"target\": \"srgb\"}",
"ui:view.proofSetup|Legacy Macintosh RGB|{\"target\": \"legacyMacRgb\"}",
"ui:view.proofSetup|Monitor RGB|{\"target\": \"monitorRgb\"}",
"ui:view.proofSetup|Color Blindness – Protanopia|{\"target\": \"protanopia\"}",
"ui:view.proofSetup|Color Blindness – Deuteranopia|{\"target\": \"deuteranopia\"}",
"-",
"ui:view.proofSetup|Simulate Paper Color|{\"simulatePaper\": \"toggle\"}",
"<",
"ui:view.proofColors",
">Separations Preview",
"ui:view.separations|Off|{\"plate\": null, \"inkLimit\": null}",
"ui:view.separations|All Inks|{\"plate\": \"all\"}",
"ui:view.separations|Cyan|{\"plate\": \"cyan\"}",
"ui:view.separations|Magenta|{\"plate\": \"magenta\"}",
"ui:view.separations|Yellow|{\"plate\": \"yellow\"}",
"ui:view.separations|Black|{\"plate\": \"black\"}",
"ui:view.separations|Ink Limit 300%|{\"inkLimit\": 300}",
"<",
"ui:view.flattenerPreview",
"-",
"ui:view.zoomIn",
"ui:view.zoomOut",
"ui:view.fitPage",
"ui:view.fitSelection",
"ui:view.fitSpread",
"ui:view.actualSize",
"ui:view.entirePasteboard",
"-",
">Rotate Spread",
"ui:view.rotateSpread|90° CW|{\"angle\": 90}",
"ui:view.rotateSpread|90° CCW|{\"angle\": -90}",
"ui:view.rotateSpread|180°|{\"angle\": 180}",
"ui:view.rotateSpread|Clear Rotation|{\"angle\": 0}",
"<",
"-",
">Screen Mode",
"ui:view.screenMode|Normal|{\"mode\": \"normal\"}",
"ui:view.screenMode|Preview|{\"mode\": \"preview\"}",
"ui:view.screenMode|Bleed|{\"mode\": \"bleed\"}",
"ui:view.screenMode|Slug|{\"mode\": \"slug\"}",
"ui:view.screenMode|Presentation|{\"mode\": \"presentation\"}",
"<",
">Display Performance",
"ui:view.fastDisplay",
"ui:view.typicalDisplay",
"ui:view.highQualityDisplay",
"<",
"-",
"ui:view.rulers",
"-",
">Extras",
"ui:view.frameEdges",
"ui:view.textThreads",
"<",
">Grids & Guides",
"ui:view.guides",
"ui:view.lockGuides",
"cmd:view.lockColumnGuides",
"ui:view.snapToGuides",
"ui:view.snapToDocumentGrid",
"ui:view.smartGuides",
"ui:view.baselineGrid",
"ui:view.documentGrid",
"-",
"ui:app.deleteAllGuides",
"<",
"-",
">Structure",
"ui:view.taggedFrames",
"ui:view.tagMarkers",
"<",
">Story Editor",
"ui:view.storyEditorStyleColumn",
"ui:view.storyEditorDepthRuler",
"<",
],
),
(
"Window",
// InDesign's order: Arrange, Workspace, then the panels alphabetically with their groups.
&[
">Arrange",
"ui:window.newWindow",
"ui:window.split",
"-",
"ui:window.nextDocument",
"ui:window.previousDocument",
"<",
"ui:window.workspace",
"-",
"ui:window.panel|Articles|{\"panel\": \"articles\"}",
">Color",
"ui:window.panel|Color|{\"panel\": \"color\"}",
"ui:window.panel|Gradient|{\"panel\": \"gradient\"}",
"ui:window.panel|Swatches|{\"panel\": \"swatches\"}",
"<",
"ui:window.taskBar",
"ui:window.controlBar",
">Editorial",
"ui:window.panel|Notes|{\"panel\": \"notes\"}",
"ui:window.panel|Track Changes|{\"panel\": \"trackChanges\"}",
"<",
"ui:window.panel|Effects|{\"panel\": \"effects\"}",
"ui:window.panel|Info|{\"panel\": \"info\"}",
">Interactive",
"ui:window.panel|Bookmarks|{\"panel\": \"bookmarks\"}",
"ui:window.panel|Buttons and Forms|{\"panel\": \"buttons\"}",
"ui:window.panel|Hyperlinks|{\"panel\": \"hyperlinks\"}",
"ui:window.panel|Liquid Layout|{\"panel\": \"liquid\"}",
"ui:window.panel|Media|{\"panel\": \"media\"}",
"ui:window.panel|Object States|{\"panel\": \"states\"}",
"ui:window.panel|Page Transitions|{\"panel\": \"transitions\"}",
"<",
"ui:window.panel|Layers|{\"panel\": \"layers\"}",
"ui:window.panel|Links|{\"panel\": \"links\"}",
">Object & Layout",
"ui:window.panel|Align|{\"panel\": \"align\"}",
"ui:window.panel|Flex Layout|{\"panel\": \"flexLayout\"}",
"ui:window.panel|Pathfinder|{\"panel\": \"pathfinder\"}",
"<",
">Output",
"ui:window.panel|Attributes|{\"panel\": \"attributes\"}",
"ui:window.panel|Preflight|{\"panel\": \"preflight\"}",
"ui:window.panel|Separations Preview|{\"panel\": \"separations\"}",
"<",
"ui:window.panel|Pages|{\"panel\": \"pages\"}",
"ui:window.panel|Properties|{\"panel\": \"properties\"}",
"ui:window.panel|Stroke|{\"panel\": \"stroke\"}",
">Styles",
"ui:window.panel|Character Styles|{\"panel\": \"characterStyles\"}",
"ui:window.panel|Object Styles|{\"panel\": \"objectStyles\"}",
"ui:window.panel|Paragraph Styles|{\"panel\": \"paragraphStyles\"}",
"<",
"ui:window.panel|Text Wrap|{\"panel\": \"textWrap\"}",
">Type & Tables",
"ui:window.panel|Character|{\"panel\": \"character\"}",
"ui:window.panel|Conditional Text|{\"panel\": \"conditions\"}",
"ui:window.panel|Glyphs|{\"panel\": \"glyphs\"}",
"ui:window.panel|Paragraph|{\"panel\": \"paragraph\"}",
"ui:window.panel|Story|{\"panel\": \"story\"}",
"ui:window.panel|Table|{\"panel\": \"table\"}",
"ui:app.tabsPanel",
"ui:window.panel|Typography|{\"panel\": \"typography\"}",
"<",
">Utilities",
"ui:window.panel|Book|{\"panel\": \"book\"}",
"ui:window.panel|Data Merge|{\"panel\": \"dataMerge\"}",
"ui:window.panel|Library|{\"panel\": \"library\"}",
"ui:window.panel|Scripts|{\"panel\": \"scripts\"}",
"ui:window.panel|Tags|{\"panel\": \"tags\"}",
"<",
"-",
"ui:window.hidePanels",
"ui:window.hidePanelsExceptTools",
"ui:window.toolsDoubleColumn",
"-",
"ui:window.brightness",
],
),
(
"Help",
&[
"ui:help.discord",
"-",
"ui:help.appPage",
"ui:help.github",
"ui:help.issues",
"ui:help.website",
"-",
"cmd:file.newSample",
"-",
"ui:help.checkForUpdates",
"ui:help.about",
],
),
];
/// The built-in workspaces, in InDesign's order.
pub const WORKSPACES: &[&str] =
&["Advanced", "Book", "Digital Publishing", "Essentials", "Essentials Classic", "Interactive for PDF", "Printing and Proofing", "Typography"];
/// The built-in workspaces that open a panel below the Properties · Pages · Layers group.
pub const WORKSPACE_OPEN_PANELS: &[(&str, &str)] =
&[("Printing and Proofing", "swatches"), ("Interactive for PDF", "buttons"), ("Digital Publishing", "liquid")];
/// The panel the built-in workspace `name` opens below the Properties · Pages · Layers group.
pub fn workspace_open_panel(name: &str) -> Option<&'static str> {
WORKSPACE_OPEN_PANELS.iter().find(|(workspace, _)| *workspace == name).map(|(_, panel)| *panel)
}
/// Essentials Classic's iconic column: InDesign's iconic panel groups, top to bottom.
pub const CLASSIC_GROUPS: &[&[&str]] = &[
&["pages", "layers", "links"],
&["stroke", "color"],
&["swatches"],
&["effects"],
&["paragraph"],
&["textWrap"],
&["characterStyles", "paragraphStyles"],
&["gradient"],
];
/// The Typography preset's available panels in the order observed in InDesign's workspace.
/// CC Libraries has no corresponding DesignCraft panel, and where the Story panel sits in it is
/// not recorded, so these groups leave it out.
pub const TYPOGRAPHY_GROUPS: &[&[&str]] = &[
&["pages", "layers", "swatches"],
&["glyphs", "textWrap"],
&["stroke", "gradient"],
&["hyperlinks", "effects"],
&["paragraph", "paragraphStyles"],
&["character", "characterStyles"],
];
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.