31 lines
2.4 KiB
XML

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnLoad">
<ribbon>
<tabs>
<tab id="PlotDirectorTab" label="PlotDirector">
<group id="PlotDirectorManuscript" label="Manuscript">
<labelControl id="PlotDirectorBook" getLabel="GetBook" getSupertip="GetBookTip" />
<labelControl id="PlotDirectorLocation" getLabel="GetLocation" getSupertip="GetLocationTip" />
</group>
<group id="PlotDirectorWriting" label="Writing">
<button id="PlotDirectorContext" label="Writing Context" size="large" imageMso="ReadingMode" onAction="OpenContext" getEnabled="CanOpenBook" />
<button id="PlotDirectorIntent" label="Writing Intent" size="large" imageMso="ReviewNewComment" onAction="OpenIntent" getEnabled="CanOpenBook" />
</group>
<group id="PlotDirectorSync" label="Synchronisation">
<button id="PlotDirectorSyncStatus" getLabel="GetSyncStatus" getSupertip="GetSyncTip" imageMso="FileDocumentInspect" onAction="Troubleshooting" />
<labelControl id="PlotDirectorSyncProgress" getLabel="GetSyncProgress" />
<button id="PlotDirectorSynchronise" label="Synchronise" imageMso="RefreshAll" onAction="Synchronise" getEnabled="CanOpenBook" supertip="Check this manuscript using the existing chapter synchronisation workflow." />
<button id="PlotDirectorRepair" label="Repair Synchronisation" onAction="Repair" getEnabled="CanOpenBook" supertip="Validate or repair the existing import while preserving existing chapters, scenes and author decisions." />
</group>
<group id="PlotDirectorConnection" label="Connection">
<labelControl id="PlotDirectorStatus" getLabel="GetStatus" />
<button id="PlotDirectorOpen" label="Open Companion" imageMso="FileOpen" onAction="OpenCompanion" />
<menu id="PlotDirectorTools" label="Tools">
<button id="PlotDirectorRemoveLegacyMarkers" label="Remove Legacy Markers" onAction="RemoveLegacyMarkers" supertip="Remove old PlotDirector chapter and scene anchors while keeping the manuscript and its identity." />
<button id="PlotDirectorTroubleshooting" label="Troubleshooting" onAction="Troubleshooting" supertip="Inspect advanced Word connection, navigation and synchronisation diagnostics." />
</menu>
</group>
</tab>
</tabs>
</ribbon>
</customUI>