Modules & CommandBus Reference
This reference lists all 29 IShibaModule classes and 46 ShibaCommandBus command IDs verified directly from the ShibaPPT source tree.
1. Summary Metrics
- Total Auto-Discovered Modules:
29(ShibaModuleHost.DiscoverAndRegisterModules) - Protected Core Modules (Always Enabled):
2(mod_settings,mod_hotkeys) - Docked CustomTaskPane Modules:
8(mod_animation,mod_color,mod_component,mod_crosspage,mod_design,mod_fonts,mod_localicon,mod_webimage) - Total Registered CommandBus IDs:
46(case-insensitive; supports optionalshiba:orcmd:prefix in CircularMenu)
2. Complete Registry of 29 Modules & 46 Commands
| # | ModuleId | EN / ZH Display Name | Class & Source File | Pane Width | Registered Command IDs & Parameters |
|---|---|---|---|---|---|
| 1 | mod_settings 🔒 | Plugin Settings 插件设置 | SettingsShibaModulemod_settings\RegistryTestTool.cs | — | • settings.open (optional string platform ID -> opens "apikeys" tab, else "about")• license.open (opens License Center tab) |
| 2 | mod_hotkeys 🔒 | Global Hotkeys 全局快捷键 | HotkeyShibaModuleHotkeySystem\HotkeyDetector.cs | — | • hotkeys.open (opens Hotkeys tab in Plugin Settings) |
| 3 | mod_design | Design Panel 简报 | DesignModulemod_design\Core\DesignModule.cs | 300px | • design.toggle_taskpane (toggle docked Design pane)• design.open_window (open floating Design sidebar) |
| 4 | mod_crosspage | Cross-Page Tools 跨页修改 | CrossPageModulemod_crosspage\CrossPageModule.cs | 360px | • crosspage.toggle_taskpane (toggle Cross-Page sync & transition pane) |
| 5 | mod_zoom | Precise Zoom Toolbar 微调缩放 | ZoomModulemod_zoom\ZoomModule.cs | — | • zoom.toggle (optional bool explicit state, or toggles floating zoom bar) |
| 6 | mod_fillet | Fillet & Path Tools 圆角与路径工具 | FilletShibaModulemod_Fillet\Core\FilletModule.cs | — | • fillet.open (open Fillet & Pen Path window, svg_tools license)• outline_stroke.open (open Outline Stroke window, svg_tools license) |
| 7 | mod_paperjs | Paper.js Vector Editor Paper.js 矢量编辑器 | PaperJsShibaModulemod_paperjs\PaperWpfWindow.xaml.cs | — | • paperjs.open (open interactive Paper.js Boolean & Bezier editor, svg_tools license) |
| 8 | mod_vtracer | VTracer Image Vectorizer VTracer 图像描摹 | VtracerShibaModulemod_vtracer\VtracerService.cs | — | • vtracer.settings (open bitmap-to-vector tracing dialog, image_ai license) |
| 9 | mod_color | Color Palette 配色管理 | ColorModulemod_color\Core\ColorModule.cs | 350px | • color.toggle_taskpane (toggle OpenXML slide color analysis & replacement pane) |
| 10 | mod_colorpicker | Color Picker 颜色选择器 | ColorPickerModulemod_colorpicker\ColorPickerService.cs | — | • colorpicker.open (open standalone eyedropper & multi-stop gradient editor) |
| 11 | mod_fonts | Font Manager 字体管理 | FontsModulemod_Fonts\Core\FontsModule.cs | 350px | • fonts.toggle_taskpane (toggle docked Font Manager pane)• fonts.open_window (open standalone Font Manager window) |
| 12 | mod_component | Component Library 组件管理 | ComponentModulemod_component\ComponentModule.cs | 350px | • component.toggle_taskpane (toggle reusable GVML slide component library) |
| 13 | mod_localicon | Local Icon Picker 本地图标 | LocalIconModulemod_LocalIcon\LocalIconModule.cs | 350px | • localicon.toggle_taskpane (toggle vector icon catalog & local SVG picker) |
| 14 | mod_icon_search | Online Icon Search 在线图标搜索 | IconSearchShibaModuleIconSearchTool\IconWebsiteConfig.cs | — | • icon_search.open (open multi-site online icon aggregator window) |
| 15 | mod_webimage | Web Image Picker 在线图片 | WebImageModulemod_WebImage\WebImageModule.cs | 400px | • webimage.toggle_taskpane (toggle Pexels / Pixabay / Unsplash stock photo pane) |
| 16 | mod_image_editor | Original Image Editor 图片编辑器 | ImageEditorShibaModuleImageEditor\ImageEditorManager.cs | — | • image_editor.open (open canvas-synced raw image color & gradient editor) |
| 17 | mod_image_pipeline | Image AI Pipeline 统一图片处理管线 | ImagePipelineShibaModuleCore\Pipelines\Image\ImagePipeline.cs | — | • image.cutout (smart background removal, image_ai license)• image.portrait_cutout (AI portrait segmentation, image_ai license)• image.upscale (AI super-resolution upscale, image_ai license) |
| 18 | mod_image_export | Raw Image & HD PDF Export 原图与高清PDF导出 | ImageExportShibaModulemod_image_export\ImageExportService.cs | — | • image.export_original (extract un-recompressed original image from shape)• image.paste (paste clipboard image at full fidelity)• pdf.export_slides (export slides as high-resolution PDF) |
| 19 | mod_animation | Animation Timeline 动画时间轴 | AnimationModulemod_Animation\AnimationModule.cs | 400px | • animation.toggle_taskpane (toggle visual animation timeline pane) |
| 20 | mod_ai | AI+ Assistant Suite AI+ 助手 | AiShibaModulemod_ai\AIWebsiteConfig.cs | — | • ai.open (open multi-platform AI workspace with two-way slide/table sync) |
| 21 | mod_chat | AI Chat Assistant AI 聊天对话 | ChatModulechat\ChatModule.cs | — | • chat.open (open native streaming LLM chat assistant) |
| 22 | mod_text_rewrite | Smart Text Rewrite 智能文案处理 | TextRewriteShibaModuleCore\Pipelines\Text\TextRewriteService.cs | — | • text.polish (polish selected text)• text.shorten (condense selected text)• text.expand (expand selected text)• text.proofread (proofread spelling & grammar) |
| 23 | mod_translation | Smart Translation 智能翻译 | TranslationShibaModulemod_translation\TranslationHelper.cs | — | • translation.translate (optional string target language, default "英语", layout-preserving) |
| 24 | mod_ocr | OCR Text Recognition OCR 文字识别 | OcrModulemod_ocr\OcrModule.cs | — | • ocr.recognize (recognize text/tables from selected image into editable shapes) |
| 25 | mod_circular_menu | Radial Circular Menu 圆盘菜单 | CircularMenuShibaModuleCircularMenu\Managers\CircularWindowController.cs | — | • circular_menu.show (pop up radial menu at cursor)• circular_menu.toggle (show/hide radial menu)• circular_menu.settings (open visual Circular Menu Config Editor)• circular_menu.switch_engine (toggle WebView2 vs. WPF radial engine) |
| 26 | mod_custom_ribbon | Custom Ribbon 自定义功能区 | CustomRibbonModulemod_CustomRibbon\CustomRibbonModule.cs | — | • custom_ribbon.open_designer (open visual Custom Ribbon Designer)• custom_ribbon.refresh (purge icon cache & invalidate Office Ribbon) |
| 27 | mod_executeaction | Action & Macro Center 动作与宏执行中心 | ExecuteActionModulemod_executeaction\ExecuteActionModule.cs | — | • executeaction.open (optional string tab such as "Control", open Command Center)• vba.editor.open (optional string .vba path, open Monaco VBA Editor) |
| 28 | mod_xml | XML Code Editor XML 代码编辑器 | XmlEditorModulemod_xml\XmlEditorModule.cs | — | • xml.open (open live OpenXML inspector & writeback editor, dev_tools license) |
| 29 | mod_clipboard | Clipboard Inspector 剪贴板调试 | ClipboardShibaModulemod_Clipboard\ClipboardDebugWindow.xaml.cs | — | • clipboard_debug.open (open clipboard format & GVML tree/hex debugger) |
🔒 denotes protected core modules that cannot be disabled in
ShibaModuleHost.
3. Command Resolution Priority in CircularMenu
When a user clicks an item in CircularMenu or CustomRibbon, commands resolve in this order:
ShibaCommandBusCommand: Strips optionalshiba:orcmd:prefixes and invokesCommandBus.TryExecute(id)if registered.- Native Office
idMsoCommand: InvokesApplication.CommandBars.ExecuteMso(controlCommand)(e.g.,AlignLeft,ObjectsGroup). - VBA Macro /
.vbaScript: Invokes the built-in VBA script runner orApplication.Run(macroName).
