public final class StiPdfExportService extends StiExportService
| Modifier and Type | Field and Description |
|---|---|
static boolean |
compatibleMode160 |
PdfFonts |
pdfFont |
static boolean |
printScaling
PrintScaling property shows, how Acrobat Reader must to use margins of the printer. if true,
then default settings of the Acrobat Reader will be used (usually "Fit to printer margin")
else PrintScaling parameter of the pdf file will be set to None.
|
currentPassNumber, DATE_1900, exFile, exportedFiles, exportReport, exportSettings, maximumPassNumber, MILLISECONDS_IN_DAY, multipleFiles, ONE_HOUR, outputStream, RenderedPagesCount, statusString| Constructor and Description |
|---|
StiPdfExportService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearFontsCache()
Clear fonts cache
|
static java.lang.String |
convertToEscapeSequence(java.lang.String value)
Convert String to Escape sequence
|
static java.lang.String |
convertToEscapeSequencePlusTabs(java.lang.String value)
Convert String to Escape sequence with tabs
|
void |
export(StiReport report,
java.io.OutputStream outputStream,
StiExportSettings exportSettings)
Export
StiReport |
void |
exportPdf(StiReport report,
java.io.OutputStream outputStream,
StiPdfExportSettings settings)
Exports a rendered report to the pdf file.
|
StiExportFormat |
getExportFormat()
Returs service export format
|
int |
getHatchNumber(StiHatchBrush brush)
Returns number of hatch in table of hatches.
|
boolean |
getMultipleFiles()
Gets a value indicating a number of files in exported document as a result of export
|
void |
popColorFromStack()
Pop color from stack
|
void |
pushColorToStack()
Push color to stack
|
void |
renderImage(StiPdfData pp,
float imageResolution)
Render image
|
void |
renderText(StiPdfData pp)
Render text
|
void |
renderText2(StiPdfData pp) |
void |
renderTextFont(StiPdfData pp)
Render text font
|
void |
setNonStrokeColor(StiColor tempColor)
Stire non stroke color
|
void |
setStrokeColor(StiColor tempColor)
Store colors
|
void |
storeHatchData(StiBrush brush)
Store hatch data
|
void |
storeImageDataForGeom(StiImage image) |
void |
storeShadingData1(StiBrush brush,
int pageNumber)
Store brushes data
|
int |
storeShadingData2(double x,
double y,
double width,
double height,
StiBrush brush)
Store shadding data
|
closeProgress, export, export, export, export, getExFile, getExportedFiles, getExportSettings, getStatusString, invokeExporting, invokeExporting, invokeExporting, isStoped, processFile, sendEMail, sendEMail, setExFile, setExportReport, setExportSettings, setOutputStream, setProgress, setStatusStringpublic PdfFonts pdfFont
public static boolean compatibleMode160
public static boolean printScaling
public void renderText2(StiPdfData pp) throws java.io.IOException
java.io.IOExceptionpublic int getHatchNumber(StiHatchBrush brush)
brush - public static java.lang.String convertToEscapeSequence(java.lang.String value)
value - public static java.lang.String convertToEscapeSequencePlusTabs(java.lang.String value)
value - public void setStrokeColor(StiColor tempColor) throws java.io.IOException
tempColor - StiColorjava.io.IOExceptionpublic void setNonStrokeColor(StiColor tempColor) throws java.io.IOException
tempColor - java.io.IOExceptionpublic void pushColorToStack()
public void popColorFromStack()
public void renderText(StiPdfData pp) throws java.io.IOException
pp - StiPdfDatajava.io.IOExceptionpublic void renderTextFont(StiPdfData pp) throws java.io.IOException
pp - StiPdfDatajava.io.IOExceptionpublic void storeImageDataForGeom(StiImage image)
public void renderImage(StiPdfData pp, float imageResolution) throws java.io.IOException
pp - StiPdfDataimageResolution - java.io.IOExceptionpublic void storeShadingData1(StiBrush brush, int pageNumber)
brush - StiBrushpageNumber - public int storeShadingData2(double x,
double y,
double width,
double height,
StiBrush brush)
x - y - width - height - brush - StiBrushpublic void storeHatchData(StiBrush brush)
brush - StiBrushpublic void clearFontsCache()
public void export(StiReport report, java.io.OutputStream outputStream, StiExportSettings exportSettings) throws StiException
StiReportexport in class StiExportServicereport - StiReport to exportoutputStream - OutputStream for exportexportSettings - StiExportSettingsStiExceptionpublic void exportPdf(StiReport report, java.io.OutputStream outputStream, StiPdfExportSettings settings) throws StiException
report - A StiReport which instanceof to be exported.outputStream - A OutputStream for the export of a document.exportSettings - StiPdfExportSettingsStiExceptionpublic StiExportFormat getExportFormat()
getExportFormat in class StiExportServiceStiExportFormatpublic boolean getMultipleFiles()
getMultipleFiles in class StiExportServiceCopyright © 2019 Stimulsoft. All Rights Reserved.