Struct pdf_writer::writers::FormXObject [−][src]
pub struct FormXObject<'a> { /* fields omitted */ }
Expand description
Writer for an form XObject stream. PDF 1.1+.
This struct is created by PdfWriter::form_xobject
.
Note that these have nothing to do with forms that have fields to fill out. Rather, they are a way to encapsulate and reuse content across the file.
Implementations
Write the /BBox
attribute. Required.
This clips the form xobject to coordinates in its coordinate system.
Write the /Matrix
attribute to map form space to user space.
Start writing the /Resources
dictionary to specify the resources used by the
XObject. This makes it independant of the parent content stream it is
eventually invoked in. PDF 1.2+.
Start writing the /Group
dictionary to set up transparency model parameters and
let this XObject be known as a group. PDF 1.4+.
Start writing the /Ref
dictionary to identify the page from an external document
that the XObject is a reference to. PDF 1.4+.
Write the /LastModified
attribute. PDF 1.3+.
Methods from Deref<Target = Stream<'a>>
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)
.