Struct printpdf::types::pdf_conformance::CustomPdfConformance
[−]
[src]
pub struct CustomPdfConformance { pub identifier: String, pub allows_3d_content: bool, pub allows_video_content: bool, pub allows_audio_content: bool, pub allows_embedded_javascript: bool, pub allows_jpeg_content: bool, pub requires_xmp_metadata: bool, pub allows_default_fonts: bool, pub requires_icc_profile: bool, pub allows_pdf_layers: bool, }
Allows building custom conformance profiles. This is useful if you want very small documents for example and you don't need conformance with any PDF standard, you just want a PDF file.
Fields
identifier: String
Identifier for this conformance
Default: ""
allows_3d_content: bool
Does this standard allow 3d content?
Default: false
allows_video_content: bool
Does this standard allow video content?
Default: false
allows_audio_content: bool
Does this standard allow audio content
Default: false
allows_embedded_javascript: bool
Does this standard allow enbedded JS?
Default: false
allows_jpeg_content: bool
Does this standard allow enbedding JPEG files?
Default: true
requires_xmp_metadata: bool
Does this standard require XMP metadata to be set?
Default: true
allows_default_fonts: bool
Does this standard allow the default PDF fonts (Helvetica, etc.)
(please don't enable this if you do any work that has to be printed accurately)
Default: false
requires_icc_profile: bool
Does this standard require an ICC profile to be embedded for color management?
Default: true
allows_pdf_layers: bool
Does this standard allow PDF layers?
Default: true
Trait Implementations
impl Debug for CustomPdfConformance
[src]
impl PartialEq for CustomPdfConformance
[src]
fn eq(&self, __arg_0: &CustomPdfConformance) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CustomPdfConformance) -> bool
[src]
This method tests for !=
.
impl Eq for CustomPdfConformance
[src]
impl Clone for CustomPdfConformance
[src]
fn clone(&self) -> CustomPdfConformance
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more