44 lines
4.3 KiB
XML
44 lines
4.3 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">
|
|
<editBox id="PlotDirectorBook" label="Book" getText="GetBookTip" getSupertip="GetBookTip" onChange="RestoreTitle" sizeString="MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" />
|
|
<editBox id="PlotDirectorChapter" label="Chapter" getText="GetChapterTip" getSupertip="GetChapterTip" onChange="RestoreTitle" sizeString="MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" />
|
|
<editBox id="PlotDirectorScene" label="Scene" getText="GetSceneTip" getSupertip="GetSceneTip" onChange="RestoreTitle" sizeString="MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" />
|
|
</group>
|
|
<group id="PlotDirectorSharedFocus" label="Manuscript focus"><toggleButton id="PlotDirectorHold" getLabel="GetFocusAction" imageMso="Lock" getPressed="GetFocusHeld" onAction="ToggleFocusHold" getSupertip="GetFocusTip"/><editBox id="PlotDirectorFocusState" label="State" getText="GetFocusState" onChange="RestoreTitle" sizeString="MMMMMMMMMMMMMMMMMMMMMMMM"/></group>
|
|
<group id="PlotDirectorWriting" label="Writing">
|
|
<button id="PlotDirectorContext" label="Context" size="large" imageMso="ReadingMode" onAction="OpenContext" getEnabled="CanOpenBook" />
|
|
<button id="PlotDirectorWeb" label="PlotDirector" size="large" imageMso="HyperlinkInsert" onAction="OpenPlotDirector" getEnabled="CanOpenBook" />
|
|
</group>
|
|
<group id="PlotDirectorCompanion" label="Companion">
|
|
<button id="PlotDirectorOpen" label="Open Companion" size="large" imageMso="WindowNew" onAction="OpenCompanion" />
|
|
</group>
|
|
<group id="PlotDirectorAudioReview" label="Audio Review">
|
|
<button id="PlotDirectorAudioReviewOpen" label="Audio Review" size="large" imageMso="ReadAloud" onAction="OpenCompanion" supertip="Start an Audio Review in Writer or Reader. Companion connects automatically when one controllable player is available." />
|
|
<button id="PlotDirectorAudioBack" label="Back 15 seconds" size="large" getImage="GetPlaybackIcon" onAction="AudioBack" getVisible="AudioShowSeek" getEnabled="AudioCanBack" />
|
|
<button id="PlotDirectorAudioPlay" label="Play" size="large" getImage="GetPlaybackIcon" onAction="AudioPlay" getVisible="AudioShowPlay" getEnabled="AudioCanPlay" />
|
|
<button id="PlotDirectorAudioPause" label="Pause" size="large" getImage="GetPlaybackIcon" onAction="AudioPause" getVisible="AudioShowPause" getEnabled="AudioCanPause" />
|
|
<button id="PlotDirectorAudioForward" label="Forward 15 seconds" size="large" getImage="GetPlaybackIcon" onAction="AudioForward" getVisible="AudioShowSeek" getEnabled="AudioCanForward" />
|
|
</group>
|
|
<group id="PlotDirectorSync" label="Synchronisation">
|
|
<box id="PlotDirectorSyncState" boxStyle="vertical">
|
|
<labelControl id="PlotDirectorStatus" getLabel="GetStatus" />
|
|
<labelControl id="PlotDirectorSyncStatus" getLabel="GetSyncStatus" getSupertip="GetSyncTip" />
|
|
<labelControl id="PlotDirectorSyncProgress" getLabel="GetSyncProgress" />
|
|
</box>
|
|
<button id="PlotDirectorSynchronise" label="Synchronise" size="large" imageMso="RefreshAll" onAction="Synchronise" getEnabled="CanOpenBook" supertip="Check this manuscript using the existing chapter synchronisation workflow." />
|
|
</group>
|
|
<group id="PlotDirectorMaintenance" label="Tools">
|
|
<menu id="PlotDirectorTools" label="Tools" size="large" imageMso="FileDocumentInspect">
|
|
<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." />
|
|
<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>
|