Struct pdf_writer::writers::Catalog [−][src]
pub struct Catalog<'a> { /* fields omitted */ }
Expand description
Writer for a document catalog dictionary.
This struct is created by PdfWriter::catalog
.
Implementations
Write the /Pages
attribute pointing to the root page tree.
Write the /PageLayout
attribute to determine how the viewer will
display the document’s pages.
Write the /PageMode
attribute to set which chrome elements the viewer
should show.
Write the /Outlines
attribute pointing to the root
outline dictionary.
Write the /Dests
attribute pointing to a
named destinations dictionary. PDF 1.1+.
Start writing the /ViewerPreferences
dictionary. PDF 1.2+.
Write the /PageLabels
attribute to specify the page labels. 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)
.