Show Export Buttons
Posted: Tue Mar 29, 2011 9:32 am
Hello,
I'm trying to show the export buttons (PDF, EXCEL, JPEG, etc) on the viewer. But only the save button was displayed. How should I proceed so that the buttons are displayed??
this is the code I'm using.
I'm trying to show the export buttons (PDF, EXCEL, JPEG, etc) on the viewer. But only the save button was displayed. How should I proceed so that the buttons are displayed??
this is the code I'm using.
Thanks for the helpStiViewerFx.initialize();
StiOptions.viewer.toolbar.showEditButton = true;
StiOptions.viewer.exports.showExportToDocument = true;
StiOptions.viewer.exports.showExportToExcel = true;
StiOptions.viewer.exports.showExportToJpeg = true;
StiOptions.viewer.exports.showExportToOpenDocumentWriter = true;
StiOptions.viewer.exports.showExportToPdf = true;
StiOptions.viewer.exports.showExportToPpt = true;
var report:StiReport = new StiReport();
report.loadPackedReportFromString(reportXML);
report.showDialog(null,reportName,true,true);