|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPdfModule
com.crionics.jpdf.AbstractModule
com.crionics.jpdf.CreatorModule
public final class CreatorModule
Module used to create new PDF contents, such as text, graphics, pages and outlines.
| Field Summary |
|---|
| Fields inherited from class com.crionics.jpdf.AbstractModule |
|---|
MOD_CREATOR, MOD_DESCRIPTION, MOD_ENCRYPTION, MOD_MERGER, MOD_PRINTER, MOD_SECURITY, MOD_SIGNER, MOD_TEMPLATE |
| Method Summary | |
|---|---|
Outline |
createOutline()
Creates a new outline Object in the document, where you will be able to add your the different Items. |
LayerProperty |
getLayerProperty(java.lang.String layerName)
Returns the properties associated with the given layer name |
AbstractDestinationPage |
getNamedDestination(java.lang.String name)
This method gets a named destination from the document. one typical use of named destinations is to open a document on a given page. |
java.util.List |
getNamedDestinations()
This method returns the list of destinations defined in the document. |
Outline |
getOutline()
Recovers the Outline present in the current document if presents. |
Page |
getPage(int i)
Gets the page at index i |
void |
removeNamedDestination(java.lang.String name)
This method deletes the given named destination from the document. |
void |
setNamedDestination(java.lang.String name,
AbstractDestinationPage destination)
This method sets a named destination in the document. one typical use of named destinations is to open a document on a given page. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Outline createOutline()
throws PdfException,
java.io.IOException
java.io.IOException - Raised if a problem occured while reading the file.
PdfException - Raised if a problem occured while parsing the file.
public LayerProperty getLayerProperty(java.lang.String layerName)
throws PdfException,
java.io.IOException
layerName - the layer name as defined in the list of layers
java.io.IOException - Raised if a problem occured while reading the file.
PdfException - Raised if a problem occured while parsing the file.
public AbstractDestinationPage getNamedDestination(java.lang.String name)
throws java.io.IOException,
PdfException
name - the name of the destination, typicaly used from a URL
java.io.IOException
PdfException
public java.util.List getNamedDestinations()
throws PdfException,
java.io.IOException
PdfException, - IOException
PdfException
java.io.IOException
public Outline getOutline()
throws java.io.IOException,
PdfException
java.io.IOException - Raised if a problem occured while reading the file.
PdfException - Raised if a problem occured while parsing the file.
public Page getPage(int i)
throws java.io.IOException,
PdfException
i - the page index
java.io.IOException - low level problem
PdfException - page is out of bounds
public void removeNamedDestination(java.lang.String name)
throws java.io.IOException,
PdfException
name - the name of the destination, typically used from a URL
java.io.IOException
PdfException
public void setNamedDestination(java.lang.String name,
AbstractDestinationPage destination)
throws java.io.IOException,
PdfException
name - the name of the destination, typically used from a URLdestination - the "action" to perform
java.io.IOException
PdfException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||