Struct pdf_writer::PdfWriter [−][src]
pub struct PdfWriter { /* fields omitted */ }
Expand description
The root writer.
Implementations
Core methods.
Create a new PDF writer with the default buffer capacity (currently 8 KB).
This already writes the PDF header containing the (major, minor) version.
Create a new PDF writer with the specified initial buffer capacity.
This already writes the PDF header containing the (major, minor) version.
Set the indent level per layer of nested objects.
Default value: 0.
Write the cross-reference table and file trailer and return the underlying buffer.
Indirect objects.
Start writing an indirectly referenceable object.
Start writing an outline item.
Start writing a named destination dictionary.
Start writing a Type-1 font.
Start writing a Type-0 font.
Start writing a CID font.
Start writing a font descriptor.
Streams.
Start writing an indirectly referenceable stream.
The stream data and the /Length
field are written automatically. You
can add additional key-value pairs to the stream dictionary with the
returned stream writer.
Start writing a character map stream.
If you want to use this for a /ToUnicode
CMap, you can use the
UnicodeCmap
builder to construct the data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PdfWriter
impl UnwindSafe for PdfWriter