com.stimulsoft.report.export.service
Class StiRtfExportService

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

public class StiRtfExportService
extends StiExportService

Class represent export to RTF 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
StiRtfExportService()
           
 
Method Summary
 java.lang.String convertTextWithHtmlTagsToRtfText(StiFont font, StiBrush textBrush, StiTextHorAlignment horAlignment, java.lang.String text)
          Convert text with html tags to Rtf text
 void export(StiReport report, java.io.OutputStream outputStream, StiExportSettings exportSettings)
          Export StiReport
 void exportRtf(StiReport report, java.io.OutputStream outputStream, StiRtfExportSettings settings)
           
 StiExportFormat getExportFormat()
          Returs service export format
 boolean getMultipleFiles()
          Gets a value indicating a number of files in exported document as a result of export
 java.lang.Boolean getRemoveEmptySpaceAtBottom()
          Is remove empty soace at bottom
static java.lang.String getRtfFileFromHtmlTags(StiText stiText, java.lang.String text)
          Returns rtf to string
 
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

StiRtfExportService

public StiRtfExportService()
Method Detail

convertTextWithHtmlTagsToRtfText

public java.lang.String convertTextWithHtmlTagsToRtfText(StiFont font,
                                                         StiBrush textBrush,
                                                         StiTextHorAlignment horAlignment,
                                                         java.lang.String text)
Convert text with html tags to Rtf text

Parameters:
stiText - StiText
text -
Returns:
Convertted StiText

getRtfFileFromHtmlTags

public static java.lang.String getRtfFileFromHtmlTags(StiText stiText,
                                                      java.lang.String text)
                                               throws StiException,
                                                      java.io.IOException
Returns rtf to string

Parameters:
stiText - StiText
text -
Returns:
Converted value
Throws:
java.io.IOException
StiException

export

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

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

exportRtf

public void exportRtf(StiReport report,
                      java.io.OutputStream outputStream,
                      StiRtfExportSettings settings)
               throws StiException
Throws:
StiException

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

getRemoveEmptySpaceAtBottom

public java.lang.Boolean getRemoveEmptySpaceAtBottom()
Is remove empty soace at bottom

Returns:
Is remove empty soace at bottom