Class StiImageExportService
java.lang.Object
com.stimulsoft.report.export.service.StiExportService
com.stimulsoft.report.export.service.StiImageExportService
- Direct Known Subclasses:
StiBmpExportService,StiEmfExportService,StiJpegExportService,StiPcxExportService,StiPngExportService,StiSvgExportService,StiTiffExportService
Class represent export for Image format
Copyright Stimulsoft
-
Field Summary
Fields inherited from class com.stimulsoft.report.export.service.StiExportService
currentPassNumber, DATE_1900, exFile, exportedFiles, exportReport, exportSettings, maximumPassNumber, MILLISECONDS_IN_DAY, multipleFiles, ONE_HOUR, outputStream, RenderedPagesCount, statusString -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(StiReport report, OutputStream outputStream, StiExportSettings settings) ExportStiReportvoidexportImage(StiReport report, OutputStream outputStream, StiExportSettings settings) Exports a rendered document to the stream as an image.abstract StiImageFormatSpecifies the format of the image.booleanGets a value indicating a number of files in exported document as a result of exportMethods inherited from class com.stimulsoft.report.export.service.StiExportService
closeProgress, export, export, export, export, getExFile, getExportedFiles, getExportFormat, getExportSettings, getStatusString, invokeExporting, invokeExporting, invokeExporting, isStoped, processFile, sendEMail, sendEMail, setExFile, setExportReport, setExportSettings, setOutputStream, setProgress, setStatusString
-
Constructor Details
-
StiImageExportService
public StiImageExportService()
-
-
Method Details
-
getImageFormat
Specifies the format of the image.- Returns:
- The format of the image.
-
export
public void export(StiReport report, OutputStream outputStream, StiExportSettings settings) throws StiException ExportStiReport- Specified by:
exportin classStiExportService- Parameters:
report-StiReportto exportoutputStream-OutputStreamfor exportsettings-StiExportSettings- Throws:
StiException
-
exportImage
public void exportImage(StiReport report, OutputStream outputStream, StiExportSettings settings) throws StiException Exports a rendered document to the stream as an image.- Parameters:
report- AStiReportwhich is to be exported.outputStream- AOutputStreamfor export of a document.settings-StiImageExportSettings- Throws:
StiException
-
getMultipleFiles
public boolean getMultipleFiles()Gets a value indicating a number of files in exported document as a result of export- Specified by:
getMultipleFilesin classStiExportService- Returns:
- Support multiple files
-