File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,17 +308,17 @@ impl Pdf {
308308 }
309309
310310 /// Write the cross-reference stream and file trailer and return the
311- /// underlying buffer. This method is functionally the same as [`Pdf::finish`],
311+ /// underlying buffer. This method is functionally the same as [`Pdf::finish`],
312312 /// the difference being that the cross-reference information is written as a
313313 /// cross-reference stream instead of a cross-reference table. Cross-reference stream
314314 /// usually allow for smaller file sizes since they can also be compressed (see below),
315315 /// but are only available from PDF 1.5 onwards. It is also necessary to call
316316 /// this method instead of [`Pdf::finish`] in case object stream are used anywhere
317317 /// in the document.
318- ///
318+ ///
319319 /// `xref_id` will be the object identifier used for the cross-reference stream. As in other
320- /// cases, the identifier needs to be unique throughout the whole document.
321- ///
320+ /// cases, the identifier needs to be unique throughout the whole document.
321+ ///
322322 /// In addition to that, you can optionally pass a closure to the `hook` parameter: The
323323 /// input of the closure will be the raw content of the xref stream, and the output should be
324324 /// the filtered as well as a single filter or a lists of filter that need to be applied to
You can’t perform that action at this time.
0 commit comments