|
||||||||||
| 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.PdfDocumentDescription
public class PdfDocumentDescription
Gives a description of the document. Author, Title, size, number of pages..etc.
| 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 | |
|---|---|
java.lang.String |
getAuthor()
Returns the author of the document. |
java.util.Calendar |
getCreationDate()
Returns the creation date of the document. |
java.lang.String |
getCreator()
Returns the creator of the document. |
java.lang.String |
getKeywords()
Returns the keywords of the document. |
java.util.Calendar |
getLastModifiedDate()
Returns the last modified date of the document. |
int |
getPageCount()
Returns the number of pages in the document. |
java.awt.print.PageFormat |
getPageFormat(int pageIndex)
Returns the PageFormat of the specified page |
java.lang.String |
getPath()
Returns the absolute path of the document. |
float |
getPdfVersion()
return the PDF version used by this document. |
java.lang.String |
getProducer()
Returns the producer of the document. |
int |
getSize()
Returns the size of the document in bytes (updates unsaved included). |
java.lang.String |
getSubject()
Returns the subject of the document. |
java.lang.String |
getTitle()
Returns the title of the document. |
void |
setAuthor(java.lang.String author)
Sets the author of the document. |
void |
setKeywords(java.lang.String keywords)
Sets the keywords for the document. |
void |
setPdfVersion(float version)
Sets the document version. |
void |
setSubject(java.lang.String subject)
Sets the subject of the document. |
void |
setTitle(java.lang.String title)
Sets the title of the document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getAuthor()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public java.util.Calendar getCreationDate()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public java.lang.String getCreator()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public java.lang.String getKeywords()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public java.util.Calendar getLastModifiedDate()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.public int getPageCount()
public java.awt.print.PageFormat getPageFormat(int pageIndex)
throws PdfException,
java.io.IOException
pageIndex - The index of the page
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.public java.lang.String getPath()
public float getPdfVersion()
throws java.io.IOException,
PdfException
PdfException
java.io.IOException
public java.lang.String getProducer()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public int getSize()
throws java.io.IOException,
PdfException
java.io.IOException - Raised if a problem occurred while reading the file.
PdfException - Raised if a problem occurred while parsing the file.
public java.lang.String getSubject()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public java.lang.String getTitle()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public void setAuthor(java.lang.String author)
throws PdfException,
java.io.IOException
author - The author of the document to set.
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public void setKeywords(java.lang.String keywords)
throws PdfException,
java.io.IOException
keywords - A string a keywords of the document to set.
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public void setPdfVersion(float version)
throws java.io.IOException,
PdfException
version - the PDF version in use for the documents
PdfException
java.io.IOException
public void setSubject(java.lang.String subject)
throws PdfException,
java.io.IOException
subject - The subject of the document to set.
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
public void setTitle(java.lang.String title)
throws PdfException,
java.io.IOException
title - The title of the document to set.
PdfException - Raised if a problem occurred while parsing the file.
java.io.IOException - Raised if a problem occurred while reading the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||