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>>
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)
.