pub struct PdfAExtSchemasWriter<'a, 'n: 'a> { /* private fields */ }
Expand description
Write a set of extension schema descriptions.
Created by crate::XmpWriter::extension_schemas
. Check PDF/A-1 TechNote
0008 to learn which schemas and properties need to be described.
Implementations§
source§impl<'a, 'n: 'a> PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n: 'a> PdfAExtSchemasWriter<'a, 'n>
sourcepub fn add_schema(&mut self) -> PdfAExtSchemaWriter<'_, 'n>
pub fn add_schema(&mut self) -> PdfAExtSchemaWriter<'_, 'n>
Start writing a schema.
sourcepub fn pdfaid(&mut self, corrigendum: bool) -> &mut Self
pub fn pdfaid(&mut self, corrigendum: bool) -> &mut Self
Describe the pdfaid
schema.
If corrigendum
is true, the pdfaid:corr
property is added.
sourcepub fn pdf(&mut self) -> AdobePdfDescsWriter<'_, 'n>
pub fn pdf(&mut self) -> AdobePdfDescsWriter<'_, 'n>
Start describing the pdf
schema.
sourcepub fn xmp(&mut self) -> XmpDescsWriter<'_, 'n>
pub fn xmp(&mut self) -> XmpDescsWriter<'_, 'n>
Start describing the xmp
schema.
sourcepub fn xmp_media_management(&mut self) -> XmpMMDescsWriter<'_, 'n>
pub fn xmp_media_management(&mut self) -> XmpMMDescsWriter<'_, 'n>
Start describing the xmpMM
schema.
sourcepub fn paged_text(&mut self) -> PagedTextDescsWriter<'_, 'n>
pub fn paged_text(&mut self) -> PagedTextDescsWriter<'_, 'n>
Start describing the xmpTPg
schema.
sourcepub fn resource_event(&mut self) -> ResourceEventDescsWriter<'_, 'n>
pub fn resource_event(&mut self) -> ResourceEventDescsWriter<'_, 'n>
Start describing the stEvt
auxiliary schema.
sourcepub fn thumbnail(&mut self) -> ThumbnailSchemaWriter<'_, 'n>
pub fn thumbnail(&mut self) -> ThumbnailSchemaWriter<'_, 'n>
Start describing the xmpGImg
schema.
Methods from Deref<Target = Array<'a, 'n>>§
sourcepub fn element_with_attrs(
&mut self,
attrs: impl IntoIterator<Item = (&'a str, &'a str)>,
) -> Element<'_, 'n>
pub fn element_with_attrs( &mut self, attrs: impl IntoIterator<Item = (&'a str, &'a str)>, ) -> Element<'_, 'n>
Start writing an element with attributes in the array.
Trait Implementations§
source§impl<'a, 'n> Deref for PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n> Deref for PdfAExtSchemasWriter<'a, 'n>
Auto Trait Implementations§
impl<'a, 'n> Freeze for PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n> RefUnwindSafe for PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n> Send for PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n> Sync for PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n> Unpin for PdfAExtSchemasWriter<'a, 'n>
impl<'a, 'n> !UnwindSafe for PdfAExtSchemasWriter<'a, 'n>
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
Mutably borrows from an owned value. Read more