com.stimulsoft.report.export.service
Class StiSvgExportService.StiSvgHelper

java.lang.Object
  extended by com.stimulsoft.report.export.service.StiSvgExportService.StiSvgHelper
Enclosing class:
StiSvgExportService

public static class StiSvgExportService.StiSvgHelper
extends java.lang.Object

Accessory class StiSvgHelper


Nested Class Summary
static class StiSvgExportService.StiSvgHelper.StiSvgData
          Inner representation of the export objects.
 
Constructor Summary
StiSvgExportService.StiSvgHelper()
           
 
Method Summary
static java.lang.String getLineStyleDash(StiPenStyle penStyle, double width)
          Get line style dash
static java.lang.String getStyleString(StiFont font, StiColor textColor)
           
static org.w3c.dom.Document saveComponent(StiComponent component)
          Save component to Document
static org.w3c.dom.Document saveComponent(StiComponent component, StiImageFormat imageFormat, float imageQuality, float imageResolution)
          Save component to Document
static java.lang.String saveComponentToString(StiComponent component, StiImageFormat imageFormat, float imageQuality, float imageResolution)
           
static void saveToStream(StiReport report, StiPage page, java.io.OutputStream outputStream, boolean compressed)
          Save to OutputStream
static void saveToStream(StiReport report, StiPage page, java.io.OutputStream outputStream, boolean compressed, boolean standalone, int clipCounter, StiImageFormat imageFormat, float imageQuality, float imageResolution)
          Save to OutputStream * @param report StiReport
static void writeCheckBox(org.w3c.dom.Element el, StiSvgExportService.StiSvgHelper.StiSvgData svgData, org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiSvgExportService.StiSvgHelper

public StiSvgExportService.StiSvgHelper()
Method Detail

getLineStyleDash

public static java.lang.String getLineStyleDash(StiPenStyle penStyle,
                                                double width)
Get line style dash

Parameters:
penStyle - StiPenStyle
width -
Returns:
REsult string value

getStyleString

public static java.lang.String getStyleString(StiFont font,
                                              StiColor textColor)

saveComponent

public static org.w3c.dom.Document saveComponent(StiComponent component)
                                          throws javax.xml.parsers.ParserConfigurationException
Save component to Document

Parameters:
component - StiComponent
Returns:
Result Document
Throws:
javax.xml.parsers.ParserConfigurationException

saveComponent

public static org.w3c.dom.Document saveComponent(StiComponent component,
                                                 StiImageFormat imageFormat,
                                                 float imageQuality,
                                                 float imageResolution)
                                          throws javax.xml.parsers.ParserConfigurationException
Save component to Document

Parameters:
component - StiComponent
imageFormat - StiImageFormat
imageQuality -
imageResolution -
Returns:
Result Document
Throws:
javax.xml.parsers.ParserConfigurationException

saveToStream

public static void saveToStream(StiReport report,
                                StiPage page,
                                java.io.OutputStream outputStream,
                                boolean compressed)
Save to OutputStream

Parameters:
report - StiReport
page - StiPage
outputStream - OutputStream
compressed -

saveToStream

public static void saveToStream(StiReport report,
                                StiPage page,
                                java.io.OutputStream outputStream,
                                boolean compressed,
                                boolean standalone,
                                int clipCounter,
                                StiImageFormat imageFormat,
                                float imageQuality,
                                float imageResolution)
Save to OutputStream * @param report StiReport

Parameters:
page - StiPage
outputStream - OutputStream
compressed -
standalone -
clipCounter -
imageFormat - StiImageFormat
imageQuality -
imageResolution -

writeCheckBox

public static void writeCheckBox(org.w3c.dom.Element el,
                                 StiSvgExportService.StiSvgHelper.StiSvgData svgData,
                                 org.w3c.dom.Document doc)

saveComponentToString

public static java.lang.String saveComponentToString(StiComponent component,
                                                     StiImageFormat imageFormat,
                                                     float imageQuality,
                                                     float imageResolution)
                                              throws java.lang.Exception
Throws:
java.lang.Exception