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 for this conformance

Default: ""

Does this standard allow 3d content?

Default: false

Does this standard allow video content?

Default: false

Does this standard allow audio content

Default: false

Does this standard allow enbedded JS?

Default: false

Does this standard allow enbedding JPEG files?

Default: true

Does this standard require XMP metadata to be set?

Default: true

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

Does this standard require an ICC profile to be embedded for color management?

Default: true

Does this standard allow PDF layers?

Default: true

Trait Implementations

impl Debug for CustomPdfConformance
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for CustomPdfConformance
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for CustomPdfConformance
[src]

impl Clone for CustomPdfConformance
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for CustomPdfConformance
[src]

[src]

Returns the "default value" for a type. Read more