Package org.apache.fop.pdf
Class PDFOutputIntent
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFOutputIntent
- All Implemented Interfaces:
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 org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getChildren, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDFString
-
Field Details
-
GTS_PDFX
Subtype for PDF/X output intents- See Also:
-
GTS_PDFA1
Subtype for PDF/A-1 output intents- See Also:
-
-
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
public byte[] toPDF()Encodes the object as a byte array for output to a PDF file.
-