[−][src]Struct printpdf::types::pdf_conformance::CustomPdfConformance
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 Clone for CustomPdfConformance
[src]
pub fn clone(&self) -> CustomPdfConformance
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CustomPdfConformance
[src]
impl Default for CustomPdfConformance
[src]
impl Eq for CustomPdfConformance
[src]
impl PartialEq<CustomPdfConformance> for CustomPdfConformance
[src]
pub fn eq(&self, other: &CustomPdfConformance) -> bool
[src]
pub fn ne(&self, other: &CustomPdfConformance) -> bool
[src]
impl StructuralEq for CustomPdfConformance
[src]
impl StructuralPartialEq for CustomPdfConformance
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomPdfConformance
[src]
impl Send for CustomPdfConformance
[src]
impl Sync for CustomPdfConformance
[src]
impl Unpin for CustomPdfConformance
[src]
impl UnwindSafe for CustomPdfConformance
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,