Class PDOutputIntent
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.graphics.color.PDOutputIntent
-
- All Implemented Interfaces:
COSObjectable
public final class PDOutputIntent extends java.lang.Object implements COSObjectable
An Output Intent describes the colour reproduction characteristics of a possible output device or production condition. Output intents provide a means for matching the colour characteristics of a PDF document with those of a target output device or production environment in which the document will be printed.- Author:
- Guillaume Bailleul
-
-
Constructor Summary
Constructors Constructor Description PDOutputIntent(COSDictionary dictionary)PDOutputIntent(PDDocument doc, java.io.InputStream colorProfile)Create an output intent of GTS_PDFA1 subtype.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSBasegetCOSObject()Convert this standard java object to a COS object.COSStreamgetDestOutputIntent()java.lang.StringgetInfo()java.lang.StringgetOutputCondition()java.lang.StringgetOutputConditionIdentifier()java.lang.StringgetRegistryName()voidsetInfo(java.lang.String value)voidsetOutputCondition(java.lang.String value)voidsetOutputConditionIdentifier(java.lang.String value)voidsetRegistryName(java.lang.String value)
-
-
-
Constructor Detail
-
PDOutputIntent
public PDOutputIntent(PDDocument doc, java.io.InputStream colorProfile) throws java.io.IOException
Create an output intent of GTS_PDFA1 subtype.- Parameters:
doc- The document.colorProfile- the ICC color profile input stream. You can close it after construction.- Throws:
java.io.IOException- If an I/O error occurs while reading the stream.java.lang.IllegalArgumentException- If the stream does not contain valid ICC Profile data.
-
PDOutputIntent
public PDOutputIntent(COSDictionary dictionary)
-
-
Method Detail
-
getCOSObject
public COSBase getCOSObject()
Description copied from interface:COSObjectableConvert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos object that matches this Java object.
-
getDestOutputIntent
public COSStream getDestOutputIntent()
-
getInfo
public java.lang.String getInfo()
-
setInfo
public void setInfo(java.lang.String value)
-
getOutputCondition
public java.lang.String getOutputCondition()
-
setOutputCondition
public void setOutputCondition(java.lang.String value)
-
getOutputConditionIdentifier
public java.lang.String getOutputConditionIdentifier()
-
setOutputConditionIdentifier
public void setOutputConditionIdentifier(java.lang.String value)
-
getRegistryName
public java.lang.String getRegistryName()
-
setRegistryName
public void setRegistryName(java.lang.String value)
-
-