pub struct OutputIntent<'a> { /* private fields */ }
Expand description
Writer for an output intent dictionary. PDF 1.4+.
This describes the output conditions under which the document may be rendered. Encouraged by PDF/A.
Implementations§
source§impl OutputIntent<'_>
impl OutputIntent<'_>
sourcepub fn subtype(&mut self, subtype: OutputIntentSubtype<'_>) -> &mut Self
pub fn subtype(&mut self, subtype: OutputIntentSubtype<'_>) -> &mut Self
Write the /S
attribute. Required.
sourcepub fn output_condition(&mut self, condition: TextStr<'_>) -> &mut Self
pub fn output_condition(&mut self, condition: TextStr<'_>) -> &mut Self
Write the /OutputCondition
attribute.
A human-readable description of the output condition.
sourcepub fn output_condition_identifier(
&mut self,
identifier: TextStr<'_>,
) -> &mut Self
pub fn output_condition_identifier( &mut self, identifier: TextStr<'_>, ) -> &mut Self
Write the /OutputConditionIdentifier
attribute.
A well-known identifier for the output condition.
sourcepub fn registry_name(&mut self, name: TextStr<'_>) -> &mut Self
pub fn registry_name(&mut self, name: TextStr<'_>) -> &mut Self
Write the /RegistryName
attribute.
The URI of the registry that contains the output condition.
sourcepub fn info(&mut self, info: TextStr<'_>) -> &mut Self
pub fn info(&mut self, info: TextStr<'_>) -> &mut Self
Write the /Info
attribute.
A human-readable string with additional info about the intended output device.
sourcepub fn dest_output_profile(&mut self, profile: Ref) -> &mut Self
pub fn dest_output_profile(&mut self, profile: Ref) -> &mut Self
Write the /DestOutputProfile
attribute.
Required if /OutputConditionIdentifier
does not contain a well-known
identifier for the output condition.
Must reference an ICC profile stream.
Required for PDF/A. The profile must have the prtr
or mntr
tag.