The viewer and designer can be combined into one edit-and-preview workflow using the viewer's onDesignReport and the designer's onExit events, served from two routes.

Viewer route: enable the Design button.
viewer = StiViewer()
viewer.onDesignReport += 'viewerDesign'
viewer.options.toolbar.showDesignButton = True
Designer route: handle Exit and Save.
designer = StiDesigner()
designer.onExit += 'designerExit'
designer.onSaveReport += saveReport
designer.options.toolbar.showFileMenuExit = True

How it works. Two routes and a pair of events link preview and editing, so users move between viewer and designer within one workflow.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.