[][src]Struct printpdf::types::pdf_conformance::CustomPdfConformance

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 Clone for CustomPdfConformance[src]

impl Debug for CustomPdfConformance[src]

impl Default for CustomPdfConformance[src]

impl Eq for CustomPdfConformance[src]

impl PartialEq<CustomPdfConformance> for CustomPdfConformance[src]

impl StructuralEq for CustomPdfConformance[src]

impl StructuralPartialEq for CustomPdfConformance[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.