|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.report.export.service.StiExportService
com.stimulsoft.report.export.service.StiPdfExportService
public final class StiPdfExportService
Class represent export for PDF format Copyright Stimulsoft
| Field Summary | |
|---|---|
static boolean |
compatibleMode160
|
PdfFonts |
pdfFont
|
static boolean |
printScaling
PrintScaling property shows, how Acrobat Reader must to use margins of the printer. |
| Fields inherited from class com.stimulsoft.report.export.service.StiExportService |
|---|
currentPassNumber, DATE_1900, maximumPassNumber, MILLISECONDS_IN_DAY, ONE_HOUR |
| Constructor Summary | |
|---|---|
StiPdfExportService()
|
|
| Method Summary | |
|---|---|
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 |
java.lang.String |
makeSignedByString(java.lang.String input,
boolean padding)
|
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,
int pageNumber)
|
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 |
| 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 |
| Field Detail |
|---|
public PdfFonts pdfFont
public static boolean compatibleMode160
public static boolean printScaling
| Constructor Detail |
|---|
public StiPdfExportService()
| Method Detail |
|---|
public void renderText2(StiPdfData pp,
int pageNumber)
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 - StiColor
java.io.IOException
public void setNonStrokeColor(StiColor tempColor)
throws java.io.IOException
tempColor -
java.io.IOExceptionpublic void pushColorToStack()
public void popColorFromStack()
public java.lang.String makeSignedByString(java.lang.String input,
boolean padding)
throws java.security.InvalidKeyException,
java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException,
javax.crypto.NoSuchPaddingException,
java.security.InvalidAlgorithmParameterException,
javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
javax.crypto.NoSuchPaddingException
java.security.InvalidAlgorithmParameterException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
public void renderText(StiPdfData pp)
throws java.io.IOException
pp - StiPdfData
java.io.IOException
public void renderTextFont(StiPdfData pp)
throws java.io.IOException
pp - StiPdfData
java.io.IOExceptionpublic void storeImageDataForGeom(StiImage image)
public void renderImage(StiPdfData pp,
float imageResolution)
throws java.io.IOException
pp - StiPdfDataimageResolution -
java.io.IOException
public 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
StiReport
export in class StiExportServicereport - StiReport to exportoutputStream - OutputStream for exportexportSettings - StiExportSettings
StiException
public 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 - StiPdfExportSettings
StiExceptionpublic StiExportFormat getExportFormat()
getExportFormat in class StiExportServiceStiExportFormatpublic boolean getMultipleFiles()
getMultipleFiles in class StiExportService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||