|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.io.AbstractGenerator
inetsoft.report.pdf.PDF3Generator
public class PDF3Generator
PDF3Generator is a PDF generator that supports generation of Table Of Contents bookmarks in PDF. This class should not be created directly. Call getPDFGenerator() method to get an instance of this class.
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.io.AbstractGenerator |
|---|
docInfo |
| Constructor Summary | |
|---|---|
PDF3Generator()
Create a generator. |
|
PDF3Generator(OutputStream out)
Create a generator to the specified output. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the generation if one if on going. |
void |
generate(Enumeration pages)
Generate PDF file from a collection of StylePage objects. |
void |
generate(ReportSheet report)
Generate PDF file. |
void |
generate(ReportSheet sheet,
Enumeration pages)
Write a collection of pages to text. |
void |
generate(Vector pages)
Generate PDF file. |
protected Graphics |
getGraphics()
Get the graphics object for a new page. |
protected Dimension |
getPageDimension()
Get the graphics object for a new page. |
Size |
getPageSize()
Get the output page size. |
static PDF3Generator |
getPDFGenerator(OutputStream output)
Get an instance of a PDF generator. |
PDF3Printer |
getPrinter()
Get the PDF3Printer used inside this generator. |
boolean |
isAccessible()
Gets the flag that determines if an accessible PDF file is generated. |
boolean |
isPrintOnOpen()
Determines if the print dialog should be displayed when the generated PDF is opened. |
boolean |
isSelectiveBookmarks()
Indicates whether selective bookmarking is turned on |
void |
setAccessible(boolean accessible)
Sets the flag that determines if an accessible PDF file is generated. |
void |
setPageSize(Size pgsize)
Set the output page size. |
void |
setPrintOnOpen(boolean printOnOpen)
Sets whether the print dialog should be displayed when the generated PDF is opened. |
void |
setReportID(String id)
Sets the print report ID when the generated PDF is opened. |
void |
setSelectiveBookmarks(boolean selectiveBookmarks)
|
| Methods inherited from class inetsoft.report.io.AbstractGenerator |
|---|
addProgressListener, fireProgressEvent, getCachePages, getOutput, getReportCache, getReportId, removeProgressListener, setDocumentInfo, setOutput, setReportCache, setReportId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDF3Generator()
public PDF3Generator(OutputStream out)
| Method Detail |
|---|
public static PDF3Generator getPDFGenerator(OutputStream output)
public void generate(ReportSheet sheet,
Enumeration pages)
throws IOException
IOExceptionpublic void generate(Vector pages)
pages - report pages, StylePage.public void generate(ReportSheet report)
report - report object.public void generate(Enumeration pages)
public void cancel()
public PDF3Printer getPrinter()
protected Graphics getGraphics()
protected Dimension getPageDimension()
public void setPageSize(Size pgsize)
pgsize - page size in inches.public Size getPageSize()
public void setSelectiveBookmarks(boolean selectiveBookmarks)
public boolean isSelectiveBookmarks()
public void setPrintOnOpen(boolean printOnOpen)
printOnOpen - true to print when opened.public void setReportID(String id)
id - to print when opened.public boolean isPrintOnOpen()
public boolean isAccessible()
Accessible PDF files will be larger and may take longer to generate.
public void setAccessible(boolean accessible)
Accessible PDF files will be larger and may take longer to generate.
accessible - true to generate an accessible PDF;
false otherwise.
|
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 | ||||||||