Class PDFOutputIntent
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFOutputIntent
- All Implemented Interfaces:
CompressedObject, PDFWritable
Represents the OutputIntent dictionary.
- Since:
- PDF 1.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()voidsetDestOutputProfile(PDFICCStream destOutputProfile) Sets the destination ICC profile.voidSets the Info field.voidsetOutputCondition(String outputCondition) Sets the human-readable form of the output condition.voidsetOutputConditionIdentifier(String outputConditionIdentifier) Sets the identifier for the output condition.voidsetRegistryName(String registryName) Sets the registry name.voidsetSubtype(String subtype) Sets the output intent subtype.byte[]toPDF()Encodes the object as a byte array for output to a PDF file.Methods inherited from class PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getChildren, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, supportsObjectStream, toPDFString
-
Field Details
-
GTS_PDFX
-
GTS_PDFA1
-
subtype
-
outputCondition
-
outputConditionIdentifier
-
registryName
-
info
-
destOutputProfile
-
-
Constructor Details
-
PDFOutputIntent
public PDFOutputIntent()
-
-
Method Details
-
getSubtype
- Returns:
- the output intent subtype.
-
setSubtype
Sets the output intent subtype.- Parameters:
subtype- the subtype (usually "GTS_PDFX")
-
getOutputCondition
- Returns:
- the OutputCondition field
-
setOutputCondition
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.
-
getOutputConditionIdentifier
- Returns:
- the OutputConditionIdentifier field
-
setOutputConditionIdentifier
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.
-
getRegistryName
- Returns:
- the RegistryName field
-
setRegistryName
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.
-
getInfo
- Returns:
- the Info field
-
setInfo
Sets the Info field.- Parameters:
info- A human-readable text string containing additional information or comments about the intended target device or production condition.
-
getDestOutputProfile
- Returns:
- the DestOutputProfile
-
setDestOutputProfile
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.
-
toPDF
-