pub struct PagedTextDescsWriter<'a, 'n: 'a> { /* private fields */ }
Expand description
Writer for describing the Paged Text extension schema.
Created by PdfAExtSchemasWriter::paged_text
.
Implementations§
source§impl<'a, 'n: 'a> PagedTextDescsWriter<'a, 'n>
impl<'a, 'n: 'a> PagedTextDescsWriter<'a, 'n>
sourcepub fn properties(&mut self) -> PagedTextPropertiesWriter<'_, 'n>
pub fn properties(&mut self) -> PagedTextPropertiesWriter<'_, 'n>
Start describing the properties of the xmpTPg
schema.
Methods from Deref<Target = PdfAExtSchemaWriter<'a, 'n>>§
sourcepub fn namespace(&mut self, namespace: Namespace<'n>) -> &mut Self
pub fn namespace(&mut self, namespace: Namespace<'n>) -> &mut Self
Write the pdfaSchema:schema
, pdfaSchema:namespaceURI
, and
pdfaSchema:prefix
properties.
The values are extracted from the given namespace.
sourcepub fn properties(&mut self) -> PdfAExtPropertiesWriter<'_, 'n>
pub fn properties(&mut self) -> PdfAExtPropertiesWriter<'_, 'n>
Start writing the pdfaSchema:property
sequence.
Describes the properties of the extension schema.
sourcepub fn value_types(&mut self) -> PdfAExtTypesWriter<'_, 'n>
pub fn value_types(&mut self) -> PdfAExtTypesWriter<'_, 'n>
Start writing the pdfaSchema:valueType
sequence.
Describes the value types of the extension schema.
Methods from Deref<Target = Struct<'a, 'n>>§
sourcepub fn element(
&mut self,
name: &'a str,
namespace: Namespace<'n>,
) -> Element<'_, 'n>
pub fn element( &mut self, name: &'a str, namespace: Namespace<'n>, ) -> Element<'_, 'n>
Start writing a property in the struct.
sourcepub fn element_with_attrs<'b>(
&mut self,
name: &'a str,
namespace: Namespace<'n>,
attrs: impl IntoIterator<Item = (&'b str, &'b str)>,
) -> Element<'_, 'n>
pub fn element_with_attrs<'b>( &mut self, name: &'a str, namespace: Namespace<'n>, attrs: impl IntoIterator<Item = (&'b str, &'b str)>, ) -> Element<'_, 'n>
Start writing a property with attributes in the struct.
Trait Implementations§
source§impl<'a, 'n> Deref for PagedTextDescsWriter<'a, 'n>
impl<'a, 'n> Deref for PagedTextDescsWriter<'a, 'n>
Auto Trait Implementations§
impl<'a, 'n> Freeze for PagedTextDescsWriter<'a, 'n>
impl<'a, 'n> RefUnwindSafe for PagedTextDescsWriter<'a, 'n>
impl<'a, 'n> Send for PagedTextDescsWriter<'a, 'n>
impl<'a, 'n> Sync for PagedTextDescsWriter<'a, 'n>
impl<'a, 'n> Unpin for PagedTextDescsWriter<'a, 'n>
impl<'a, 'n> !UnwindSafe for PagedTextDescsWriter<'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