Enum printpdf::types::pdf_conformance::PdfConformance [−][src]
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(CustomPdfConformance)
Custom PDF conformance, to allow / disallow options. This allows for making very small documents, for example
Methods
impl PdfConformance
[src]
impl PdfConformance
pub fn get_identifier_string(&self) -> String
[src]
pub fn get_identifier_string(&self) -> String
Get the identifier string for PDF
pub fn is_3d_content_allowed(&self) -> bool
[src]
pub fn is_3d_content_allowed(&self) -> bool
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]
pub fn is_video_content_allowed(&self) -> bool
Does this conformance level allow video
pub fn is_audio_content_allowed(&self) -> bool
[src]
pub fn is_audio_content_allowed(&self) -> bool
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]
pub fn is_javascript_content_allowed(&self) -> bool
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]
pub fn is_jpeg_content_allowed(&self) -> bool
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]
pub fn must_have_xmp_metadata(&self) -> bool
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]
pub fn must_have_icc_profile(&self) -> bool
Check if the conformance level must have an ICC Profile
pub fn is_layering_allowed(&self) -> bool
[src]
pub fn is_layering_allowed(&self) -> bool
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 Debug for PdfConformance
[src]
impl Debug for PdfConformance
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PdfConformance
[src]
impl PartialEq for PdfConformance
fn eq(&self, other: &PdfConformance) -> bool
[src]
fn eq(&self, other: &PdfConformance) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PdfConformance) -> bool
[src]
fn ne(&self, other: &PdfConformance) -> bool
This method tests for !=
.
impl Eq for PdfConformance
[src]
impl Eq for PdfConformance
impl Clone for PdfConformance
[src]
impl Clone for PdfConformance
fn clone(&self) -> PdfConformance
[src]
fn clone(&self) -> PdfConformance
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for PdfConformance
impl Send for PdfConformance
impl Sync for PdfConformance
impl Sync for PdfConformance