com.stimulsoft.report.export.service
Class StiImageExportService

java.lang.Object
  extended by com.stimulsoft.report.export.service.StiExportService
      extended by com.stimulsoft.report.export.service.StiImageExportService
Direct Known Subclasses:
StiBmpExportService, StiEmfExportService, StiJpegExportService, StiPcxExportService, StiPngExportService, StiSvgExportService, StiTiffExportService

public abstract class StiImageExportService
extends StiExportService

Class represent export for Image format Copyright Stimulsoft


Field Summary
 
Fields inherited from class com.stimulsoft.report.export.service.StiExportService
currentPassNumber, DATE_1900, maximumPassNumber, MILLISECONDS_IN_DAY, ONE_HOUR
 
Constructor Summary
StiImageExportService()
           
 
Method Summary
 void export(StiReport report, java.io.OutputStream outputStream, StiExportSettings settings)
          Export StiReport
 void exportImage(StiReport report, java.io.OutputStream outputStream, StiExportSettings exportSettings)
          Exports a rendered document to the stream as an image.
abstract  StiImageFormat getImageFormat()
          Specifies the format of the image.
 boolean getMultipleFiles()
          Gets a value indicating a number of files in exported document as a result of export
 
Methods inherited from class com.stimulsoft.report.export.service.StiExportService
export, export, export, export, getExFile, getExportedFiles, getExportFormat, getExportSettings, getStatusString, invokeExporting, invokeExporting, invokeExporting, isStoped, setExFile, setExportReport, setExportSettings, setOutputStream, setProgress, setStatusString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiImageExportService

public StiImageExportService()
Method Detail

getImageFormat

public abstract StiImageFormat getImageFormat()
Specifies the format of the image.

Returns:
The format of the image.

export

public void export(StiReport report,
                   java.io.OutputStream outputStream,
                   StiExportSettings settings)
            throws StiException
Export StiReport

Specified by:
export in class StiExportService
Parameters:
report - StiReport to export
outputStream - OutputStream for export
settings - StiExportSettings
Throws:
StiException

exportImage

public void exportImage(StiReport report,
                        java.io.OutputStream outputStream,
                        StiExportSettings exportSettings)
                 throws StiException
Exports a rendered document to the stream as an image.

Parameters:
report - A StiReport which is to be exported.
outputStream - A OutputStream for 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:
getMultipleFiles in class StiExportService
Returns:
Support multiple files