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.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.