|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.OutputProfile
An Output Profile allows you to limit the PDF to use only certain features, or to enable
features that are not on by default. By default documents use the Default
profile,
but at any point before the document is rendered, a profile may be set by calling the
PDF.setOutputProfile
method.
If an attempt is made to use a feature of the PDF specification that is not allowed by the
documents profile, an IllegalStateException
is thrown.
Note that if a PDF is loaded via the PDFReader
class, no attempt is made to ascertain
which features are used. For instance, it's quite possible to load a document containing RGB
colors, set the profile to PDF/X-1a and save it again without the software complaining. If you
are going to load a document from disk and require that it meets a certain profile, we suggest
that you ensure it meets that profile before it's loaded.
PDF.setOutputProfile(org.faceless.pdf2.OutputProfile)
Field Summary | |
static OutputProfile |
Acrobat4Compatible
Force the document to be Acrobat 4.0 compatible. |
static OutputProfile |
Acrobat5Compatible
Force the document to be Acrobat 5.0 compatible. |
static OutputProfile |
Default
This is the default Output Profile. |
static OutputProfile |
ImageOnly
Add some features to the PDF that are useful when the PDF simply consists of one big JPEG image. |
static OutputProfile |
NoCompression
Save the document with no additional compression done. |
static OutputProfile |
PDFX1a
Save the document so that it conforms to the PDF/X-1a (ISO15390-1:2001) prepress specification. |
static OutputProfile |
PDFX3_ICC
Save the document so that it conforms to the PDF/X-3 (ISO15390-3:2002) prepress specification. |
static OutputProfile |
PDFX3_NoICC
Save the document so that it conforms to the PDF/X-3 (ISO15390-3:2002) prepress specification, with the proviso that ICC profiles may not be used in the document. |
Method Summary | |
Object |
clone()
|
void |
setUseCalibratedColorSpaceInsteadOfICC(boolean calibrated)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final OutputProfile Default
public static final OutputProfile Acrobat4Compatible
public static final OutputProfile Acrobat5Compatible
StandardEncryptionHandler
,
and using characters requiring the UTF-16 encoding in StandardCJKFont
public static final OutputProfile NoCompression
public static final OutputProfile ImageOnly
Default
public static final OutputProfile PDFX1a
public static final OutputProfile PDFX3_NoICC
public static final OutputProfile PDFX3_ICC
PDFX3_NoICC
for more information.
Method Detail |
public Object clone()
public void setUseCalibratedColorSpaceInsteadOfICC(boolean calibrated)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |