Struct pdf_writer::writers::DocumentInfo[][src]

pub struct DocumentInfo<'a> { /* fields omitted */ }
Expand description

Writer for a document information dictionary.

This struct is created by PdfWriter::document_info.

Implementations

Write the /Title attribute to set the document’s title. PDF 1.1+.

Write the /Author attribute to set the document’s author.

Write the /Subject attribute to set the document’s subject. PDF 1.1+.

Write the /Keywords attribute to set terms associated to the document. PDF 1.1+.

Write the /Creator attribute to set the name of the product that converted or wrote the file that this PDF has been converted from.

Write the /Producer attribute to set the name of the product that converted or wrote this PDF.

Write the /CreationDate attribute to set the date the document was created.

Write the /ModDate attribute to set the date the document was last modified.

Required if /PieceInfo is set in the document catalog.

Write the /Trapped attribute to set whether the document is fully or partially trapped. PDF 1.3+.

Methods from Deref<Target = Dict<'a>>

The number of written pairs.

Start writing a pair with an arbitrary value.

Write a pair with a primitive value.

This is a shorthand for dict.insert(key).primitive(value).

Write a sequence of pairs with primitive values.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Start writing the object.

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

Performs the conversion.

Performs the conversion.

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.