pub enum PdfExportProfile {
None,
A1B,
A2B,
A3B,
A4,
UA1,
}Expand description
PDF export profile — selects the krilla validator and provides
document-metadata defaults that the renderer applies via RenderContext.
PDF/A profiles require certain compliance items (embedded subset fonts,
ToUnicode CMaps, document metadata). krilla handles the technical
compliance automatically; the caller’s only job is to provide title,
language, and creator strings via RenderContext (the bin pulls these
from the document’s frontmatter).
Variants§
None
Plain PDF, no validator. Smallest file size; no compliance guarantees.
A1B
PDF/A-1b — long-term archival, level B (basic visual reproduction).
A2B
PDF/A-2b — extends A-1b with JPEG 2000, transparency, and more.
A3B
PDF/A-3b — like A-2b but allows arbitrary embedded files.
A4
PDF/A-4 — the modern archival profile (PDF 2.0 base).
UA1
PDF/UA-1 — universal accessibility. Requires tagged PDF (deferred).
Trait Implementations§
Source§impl Clone for PdfExportProfile
impl Clone for PdfExportProfile
impl Copy for PdfExportProfile
Source§impl Debug for PdfExportProfile
impl Debug for PdfExportProfile
Source§impl Default for PdfExportProfile
impl Default for PdfExportProfile
Source§impl<'de> Deserialize<'de> for PdfExportProfile
impl<'de> Deserialize<'de> for PdfExportProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for PdfExportProfile
Source§impl PartialEq for PdfExportProfile
impl PartialEq for PdfExportProfile
impl StructuralPartialEq for PdfExportProfile
Auto Trait Implementations§
impl Forget for PdfExportProfile
impl Freeze for PdfExportProfile
impl Move for PdfExportProfile
impl RefUnwindSafe for PdfExportProfile
impl Send for PdfExportProfile
impl Sync for PdfExportProfile
impl Unpin for PdfExportProfile
impl UnsafeUnpin for PdfExportProfile
impl UnwindSafe for PdfExportProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.