org.apache.fop.pdf

Class PDFOutputIntent

Implemented Interfaces:
PDFWritable

public class PDFOutputIntent
extends PDFObject

Represents the OutputIntent dictionary.
Since:
PDF 1.4

Field Summary

static String
GTS_PDFA1
Subtype for PDF/A-1 output intents
static String
GTS_PDFX
Subtype for PDF/X output intents

Fields inherited from class org.apache.fop.pdf.PDFObject

DATE_FORMAT, log

Method Summary

PDFICCStream
getDestOutputProfile()
String
getInfo()
String
getOutputCondition()
String
getOutputConditionIdentifier()
String
getRegistryName()
String
getSubtype()
void
setDestOutputProfile(PDFICCStream destOutputProfile)
Sets the destination ICC profile.
void
setInfo(String info)
Sets the Info field.
void
setOutputCondition(String outputCondition)
Sets the human-readable form of the output condition.
void
setOutputConditionIdentifier(String outputConditionIdentifier)
Sets the identifier for the output condition.
void
setRegistryName(String registryName)
Sets the registry name.
void
setSubtype(String subtype)
Sets the output intent subtype.
byte[]
toPDF()

Methods inherited from class org.apache.fop.pdf.PDFObject

encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString

Field Details

GTS_PDFA1

public static final String GTS_PDFA1
Subtype for PDF/A-1 output intents

GTS_PDFX

public static final String GTS_PDFX
Subtype for PDF/X output intents

Method Details

getDestOutputProfile

public PDFICCStream getDestOutputProfile()
Returns:
the DestOutputProfile

getInfo

public String getInfo()
Returns:
the Info field

getOutputCondition

public String getOutputCondition()
Returns:
the OutputCondition field

getOutputConditionIdentifier

public String getOutputConditionIdentifier()
Returns:
the OutputConditionIdentifier field

getRegistryName

public String getRegistryName()
Returns:
the RegistryName field

getSubtype

public String getSubtype()
Returns:
the output intent subtype.

setDestOutputProfile

public void setDestOutputProfile(PDFICCStream destOutputProfile)
Sets the destination ICC profile.
Parameters:
destOutputProfile - An ICC profile stream defining the transformation from the PDF document's source colors to output device colorants.

setInfo

public void setInfo(String info)
Sets the Info field.
Parameters:
info - A human-readable text string containing additional information or comments about the intended target device or production condition.

setOutputCondition

public void setOutputCondition(String outputCondition)
Sets the human-readable form of the output condition.
Parameters:
outputCondition - A text string concisely identifying the intended output device or production condition in human-readable form.

setOutputConditionIdentifier

public void setOutputConditionIdentifier(String outputConditionIdentifier)
Sets the identifier for the output condition.
Parameters:
outputConditionIdentifier - A string identifying the intended output device or production condition in human- or machine-readable form.

setRegistryName

public void setRegistryName(String registryName)
Sets the registry name.
Parameters:
registryName - A string (conventionally a uniform resource identifier, or URI) identifying the registry in which the condition designated by OutputConditionIdentifier is defined.

setSubtype

public void setSubtype(String subtype)
Sets the output intent subtype.
Parameters:
subtype - the subtype (usually "GTS_PDFX")

toPDF

public byte[] toPDF()
Overrides:
toPDF in interface PDFObject

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.