Class StiExcelExportService
java.lang.Object
com.stimulsoft.report.export.service.StiExportService
com.stimulsoft.report.export.service.StiExcelExportService
Class represent Excel format export
Copyright Stimulsoft
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAccessory class BiffImageDataclassAccessory class Escher Layer -
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 exportSettings) ExportStiReportvoidexportExcel(StiReport report, OutputStream outputStream, StiExportSettings settings) Returs service export formatbooleanGets a value indicating a number of files in exported document as a result of exportstatic voidsetPercentScaleForFontHeightCorrection(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 arrayMethods inherited from class com.stimulsoft.report.export.service.StiExportService
closeProgress, export, export, export, export, getExFile, getExportedFiles, getExportSettings, getStatusString, invokeExporting, invokeExporting, invokeExporting, isStoped, processFile, sendEMail, sendEMail, setExFile, setExportReport, setExportSettings, setOutputStream, setProgress, setStatusString
-
Constructor Details
-
StiExcelExportService
public StiExcelExportService()
-
-
Method Details
-
export
public void export(StiReport report, OutputStream outputStream, StiExportSettings exportSettings) throws StiException Description copied from class:StiExportServiceExportStiReport- Specified by:
exportin classStiExportService- Parameters:
report-StiReportto exportoutputStream-OutputStreamfor exportexportSettings-StiExportSettings- Throws:
StiException
-
exportExcel
public void exportExcel(StiReport report, OutputStream outputStream, StiExportSettings settings) throws StiException - Throws:
StiException
-
toIntArray
public static int[] toIntArray(byte[] array) Convert byte array to int array- Parameters:
array-- Returns:
-
getExportFormat
Returs service export format- Specified by:
getExportFormatin classStiExportService- Returns:
StiExportFormat
-
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
-
setPercentScaleForFontHeightCorrection
public static void setPercentScaleForFontHeightCorrection(byte value) Sets a value indicates ratio of the font for the whole exported document.- Parameters:
value-
-