|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PDFDevice
PDFDevice defines the common API for all pdf generation classes.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.internal.CustomGraphics |
|---|
G_DASH_LINE, JPEG_EXPORT |
| Method Summary | |
|---|---|
boolean |
addField(inetsoft.report.internal.FieldPainterPaintable pt)
Add a field to the current pdf document. |
void |
close()
Close the pdf output stream. |
void |
endArtifact()
Marks the end of a non-content artifact. |
void |
endFigure()
Marks the end of a figure. |
void |
endHeading()
Marks the end of a heading. |
void |
endParagraph()
Marks the end of a paragraph of text. |
void |
endTable()
Marks the end of a table. |
void |
endTableCell()
Marks the end of a table data cell. |
void |
endTableHeader()
Marks the end of a table header cell. |
String |
getFontName(Font font)
Get the pdf font name corresponding to the Java font name. |
Size |
getPageSize()
Get the current page size. |
PrintJob |
getPrintJob()
Get the printjob object associated with this object, which contains the page size and resolution information. |
boolean |
isAsciiOnly()
Check if the output is ascii only. |
boolean |
isCompressImage()
Check if compression is on. |
boolean |
isCompressText()
Check if compression is on. |
boolean |
isMapSymbols()
Check if symbol mapping is enabled. |
void |
putFontName(String javaName,
String psFontName)
Add the mapping for the pdf font name corresponding to the Java font name. |
void |
setAsciiOnly(boolean ascii)
Set whether the output should only contain 7 bits ascii code only. |
void |
setCompressImage(boolean comp)
Set whether to compress the image object and streams in the PDF. |
void |
setCompressText(boolean comp)
Set whether to compress the text object and streams in the PDF. |
void |
setMapSymbols(boolean map)
Set whether to map unicode characters for greek and math symbols to symbol font characters. |
void |
setOrientation(int orient)
Set page orientation. |
void |
setOutput(OutputStream o)
Set the output stream for the PDF output. |
void |
setPageSize(Size size)
Set the page size in inches. |
void |
startArtifact()
Marks the start of a non-content artifact. |
void |
startFigure(String altText)
Marks the beginning of a figure. |
void |
startHeading(int level)
Marks the start of a heading. |
void |
startParagraph(Integer linkId)
Marks the beginning of a paragraph of text. |
void |
startTable()
Marks the beginning of a table. |
void |
startTableCell(Integer linkId)
Marks the beginning of a table data cell. |
void |
startTableHeader(Integer linkId)
Marks the beginning of a table header cell. |
void |
startTableRow()
Marks the beginning of a table row. |
| Methods inherited from interface inetsoft.report.internal.CustomGraphics |
|---|
isSupported |
| Method Detail |
|---|
void setOutput(OutputStream o)
void setCompressText(boolean comp)
comp - compression option.boolean isCompressText()
void setAsciiOnly(boolean ascii)
ascii - output ascii only.boolean isAsciiOnly()
void setCompressImage(boolean comp)
comp - compression option.boolean isCompressImage()
void setMapSymbols(boolean map)
boolean isMapSymbols()
Size getPageSize()
void setPageSize(Size size)
size - Size object in inches.void setOrientation(int orient)
setOrientation in interface inetsoft.report.internal.CustomGraphicsorient - orientation, StyleConstants.PORTRAIT or
StyleConstants.LANDSCAPE.String getFontName(Font font)
font - Java font.
void putFontName(String javaName,
String psFontName)
javaName - Java font name.psFontName - mapped font name.PrintJob getPrintJob()
getPrintJob in interface PrintGraphicsboolean addField(inetsoft.report.internal.FieldPainterPaintable pt)
void close()
void startParagraph(Integer linkId)
linkId - the identifier of the link annotation associated with the
paragraph.void endParagraph()
void startHeading(int level)
level - the heading level.void endHeading()
void startFigure(String altText)
altText - the alternate text for the chart graphic.void endFigure()
void startTable()
void endTable()
void startTableRow()
void startTableHeader(Integer linkId)
linkId - the identifier of the link annotation associated with the
paragraph.void endTableHeader()
void startTableCell(Integer linkId)
linkId - the identifier of the link annotation associated with the
paragraph.void endTableCell()
void startArtifact()
void endArtifact()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||