Exports can be routed through a save dialog that also exposes per-format export settings, via StiFileSaveDialog.

Open the save dialog for a format.
private void export(StiExportFormat format) {
    StiFileSaveDialog dialog = new StiFileSaveDialog(format, report, report.getReportAlias());
    // The dialog lets the user choose the file and adjust export settings,
    // then writes the document in the selected format.
}

How it works. The dialog wraps StiExportManager with a UI, letting users pick the destination and tune settings before the export runs.

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.