pub enum PdfConformance {
Show 20 variants 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),
}
Expand description

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(CustomPdfConformance)

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

Implementations

Get the identifier string for PDF

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

Does this conformance level allow video

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

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

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

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

Check if the conformance level must have an ICC Profile

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Does nothing but move self, equivalent to drop.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.