Class StiRtfExportService
java.lang.Object
com.stimulsoft.report.export.service.StiExportService
com.stimulsoft.report.export.service.StiRtfExportService
Class represent export to RTF 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 TypeMethodDescriptionconvertTextWithHtmlTagsToRtfText(StiText stiText, String text) Convert text with html tags to Rtf textvoidexport(StiReport report, OutputStream outputStream, StiExportSettings exportSettings) ExportStiReportvoidexportRtf(StiReport report, OutputStream outputStream, StiRtfExportSettings settings) Returs service export formatbooleanGets a value indicating a number of files in exported document as a result of exportIs remove empty soace at bottomstatic StringgetRtfFileFromHtmlTags(StiText stiText, String text) Returns rtf to stringMethods 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
-
StiRtfExportService
public StiRtfExportService()
-
-
Method Details
-
convertTextWithHtmlTagsToRtfText
Convert text with html tags to Rtf text -
getRtfFileFromHtmlTags
public static String getRtfFileFromHtmlTags(StiText stiText, String text) throws StiException, IOException Returns rtf to string- Parameters:
stiText-StiTexttext-- Returns:
- Converted value
- Throws:
IOExceptionStiException
-
export
public void export(StiReport report, OutputStream outputStream, StiExportSettings exportSettings) throws StiException ExportStiReport- Specified by:
exportin classStiExportService- Parameters:
report-StiReportto exportoutputStream-OutputStreamfor exportexportSettings-StiExportSettings- Throws:
StiException
-
exportRtf
public void exportRtf(StiReport report, OutputStream outputStream, StiRtfExportSettings settings) throws StiException - Throws:
StiException
-
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
-
getRemoveEmptySpaceAtBottom
Is remove empty soace at bottom- Returns:
- Is remove empty soace at bottom
-