com.stimulsoft.report.export.service
Class StiExcelExportService

java.lang.Object
  extended by com.stimulsoft.report.export.service.StiExportService
      extended by com.stimulsoft.report.export.service.StiExcelExportService

public class StiExcelExportService
extends StiExportService

Class represent Excel format export Copyright Stimulsoft


Nested Class Summary
 class StiExcelExportService.BiffImageData
          Accessory class BiffImageData
 class StiExcelExportService.Escher
          Accessory class Escher Layer
 
Field Summary
 
Fields inherited from class com.stimulsoft.report.export.service.StiExportService
currentPassNumber, DATE_1900, maximumPassNumber, MILLISECONDS_IN_DAY, ONE_HOUR
 
Constructor Summary
StiExcelExportService()
           
 
Method Summary
 void export(StiReport report, java.io.OutputStream outputStream, StiExportSettings exportSettings)
          Export StiReport
 void exportExcel(StiReport report, java.io.OutputStream outputStream, StiExportSettings exportSettings)
           
 StiExportFormat getExportFormat()
          Returs service export format
 boolean getMultipleFiles()
          Gets a value indicating a number of files in exported document as a result of export
static void setPercentScaleForFontHeightCorrection(byte value)
          Sets a value indicates ratio of the font for the whole exported document.
static int[] toIntArray(byte[] array)
          Convert byte array to int array
 
Methods inherited from class com.stimulsoft.report.export.service.StiExportService
export, export, export, export, getExFile, getExportedFiles, 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

StiExcelExportService

public StiExcelExportService()
Method Detail

export

public void export(StiReport report,
                   java.io.OutputStream outputStream,
                   StiExportSettings exportSettings)
            throws StiException
Description copied from class: StiExportService
Export StiReport

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

exportExcel

public void exportExcel(StiReport report,
                        java.io.OutputStream outputStream,
                        StiExportSettings exportSettings)
                 throws StiException
Throws:
StiException

toIntArray

public static int[] toIntArray(byte[] array)
Convert byte array to int array

Parameters:
array -
Returns:

getExportFormat

public StiExportFormat getExportFormat()
Returs service export format

Specified by:
getExportFormat in class StiExportService
Returns:
StiExportFormat

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

setPercentScaleForFontHeightCorrection

public static void setPercentScaleForFontHeightCorrection(byte value)
Sets a value indicates ratio of the font for the whole exported document.

Parameters:
value -