public class PDFConfig extends java.lang.Object implements ConfigurationObject
| Constructor and Description |
|---|
PDFConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor() |
java.lang.String |
getCreator() |
java.lang.String |
getKeywordsAsString() |
java.lang.String |
getSubject() |
java.lang.String |
getTitle() |
boolean |
isCompressed() |
void |
setAuthor(java.lang.String author)
Set the author of the PDF.
|
void |
setCompressed(boolean compressed)
If this property is set to true then the resulting PDF will be a compressed PDF.
|
void |
setCreator(java.lang.String creator)
Set the creator of the PDF.
|
void |
setKeywords(java.util.List<java.lang.String> keywords)
The keywords to include in the PDF metadata.
|
void |
setSubject(java.lang.String subject)
Set the subject of the PDF.
|
void |
setTitle(java.lang.String title)
Set the title of the PDF.
|
void |
validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration configuration)
validate that the configuration was correct.
|
public void validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration configuration)
ConfigurationObjectvalidate in interface ConfigurationObjectvalidationErrors - a list to add any detected errors to.configuration - the containing configurationpublic boolean isCompressed()
public void setCompressed(boolean compressed)
compressed - if the pdf should be compressed.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - the title of the PDF.public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author - the author of the PDF.public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject - the subject of the PDF.public java.lang.String getKeywordsAsString()
public void setKeywords(java.util.List<java.lang.String> keywords)
keywords - the keywords of the PDF.public java.lang.String getCreator()
public void setCreator(java.lang.String creator)
creator - the creator of the PDF.