[][src]Enum printpdf::types::pdf_conformance::PdfConformance

pub enum PdfConformance {
    A1B_2005_PDF_1_4,
    A1A_2005_PDF_1_4,
    A2_2011_PDF_1_7,
    A2A_2011_PDF_1_7,
    A2B_2011_PDF_1_7,
    A2U_2011_PDF_1_7,
    A3_2012_PDF_1_7,
    UA_2014_PDF_1_6,
    X1A_2001_PDF_1_3,
    X3_2002_PDF_1_3,
    X1A_2003_PDF_1_4,
    X3_2003_PDF_1_4,
    X4_2010_PDF_1_4,
    X4P_2010_PDF_1_6,
    X5G_2010_PDF_1_6,
    X5PG_2010_PDF_1_6,
    X5N_2010_PDF_1_6,
    E1_2008_PDF_1_6,
    VT_2010_PDF_1_4,
    Custom(CustomPdfConformance),
}

List of (relevant) PDF versions Please note the difference between PDF/A (archiving), PDF/UA (universal acessibility), PDF/X (printing), PDF/E (engineering / CAD), PDF/VT (large volume transactions with repeated content)

Variants

A1B_2005_PDF_1_4

PDF/A-1b basic PDF, many features restricted

A1A_2005_PDF_1_4

PDF/A-1a language specification, hierarchical document structure, character mappings to unicode, descriptive text for images

A2_2011_PDF_1_7

PDF/A-2:2011 - JPEG compression, transpareny, layering, OpenType fonts

A2A_2011_PDF_1_7

PDF/A-2a:2011

A2B_2011_PDF_1_7

PDF/A-2b:2011

A2U_2011_PDF_1_7

PDF/A-2u:2011 - requires all text to be Unicode

A3_2012_PDF_1_7

PDF/A-3 - like A2 but with embedded files (XML, CAD, etc.)

UA_2014_PDF_1_6

PDF/UA-1 extra functions for accessibility (blind, screenreaders, search, dynamic layout)

X1A_2001_PDF_1_3

PDF/X-1a:2001 no ICC profiles

X3_2002_PDF_1_3

PDF/X-3:2002 allows CMYK, spot, calibrated (managed) RGB, CIELAB, + ICC Profiles

X1A_2003_PDF_1_4

PDF/X-1a:2003 Revision of PDF/X-1a:2001 based on PDF 1.4

X3_2003_PDF_1_4

PDF/X-3:2003 Revision of PDF/X-3:2002 based on PDF 1.4

X4_2010_PDF_1_4

PDF/X-4:2010 Colour-managed, CMYK, gray, RGB or spot colour data are supported as well as PDF transparency and optional content (layers)

X4P_2010_PDF_1_6

PDF/X-4p:2010 Same as the above X-4:2010, but may reference an ICC profile from an external file, and it's based on PDF 1.6

X5G_2010_PDF_1_6

PDF/X-5g:2010 An extension of PDF/X-4 that enables the use of external graphical content. This can be described as OPI-like (Open Prepress Interface) workflows. Specifically this allows graphics to be referenced that are outside the PDF

X5PG_2010_PDF_1_6

PDF/X-5pg An extension of PDF/X-4p that enables the use of external graphical content in conjunction with a reference to an external ICC Profile for the output intent.

X5N_2010_PDF_1_6

PDF/X-5n An extension of PDF/X-4p that allows the externally supplied ICC Profile for the output intent to use a color space other than Greyscale, RGB and CMYK.

E1_2008_PDF_1_6

PDF/E-1:2008 3D Objects, geospatial, etc.

VT_2010_PDF_1_4

PDF/VT-1:2010 Basically a way to make a incomplete PDF as a template and the RIP program is set up in a way that it can easily inject data into the PDF, for high-throughput PDFs (like postcards, stamps), that require customization before printing

Custom PDF conformance, to allow / disallow options. This allows for making very small documents, for example

Methods

impl PdfConformance[src]

pub fn get_identifier_string(&self) -> String[src]

Get the identifier string for PDF

pub fn is_3d_content_allowed(&self) -> bool[src]

STUB: Detects if the PDF has 3D content, but the conformance to the given PDF standard does not allow it.

pub fn is_video_content_allowed(&self) -> bool[src]

Does this conformance level allow video

pub fn is_audio_content_allowed(&self) -> bool[src]

STUB: Detects if the PDF has audio content, but the conformance to the given PDF standard does not allow it.

pub fn is_javascript_content_allowed(&self) -> bool[src]

STUB: Detects if the PDF has 3D content, but the conformance to the given PDF standard does not allow it.

pub fn is_jpeg_content_allowed(&self) -> bool[src]

STUB: Detects if the PDF has JPEG images, but the conformance to the given PDF standard does not allow it

pub fn must_have_xmp_metadata(&self) -> bool[src]

Detects if the PDF must have XMP metadata if it has to conform to the given PDF Standard

pub fn must_have_icc_profile(&self) -> bool[src]

Check if the conformance level must have an ICC Profile

pub fn is_layering_allowed(&self) -> bool[src]

STUB: Detects if the PDF has layering (optional content groups), but the conformance to the given PDF standard does not allow it.

Trait Implementations

impl Clone for PdfConformance[src]

impl Debug for PdfConformance[src]

impl Eq for PdfConformance[src]

impl PartialEq<PdfConformance> for PdfConformance[src]

impl StructuralEq for PdfConformance[src]

impl StructuralPartialEq for PdfConformance[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.