Skip to content

Commit

Permalink
Change function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
laurmaedje committed Sep 4, 2024
1 parent 0ce82fe commit c406658
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/structure.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use super::*;
use crate::color::SeparationInfo;

use super::*;

/// Writer for a _document catalog dictionary_.
///
/// This struct is created by [`Pdf::catalog`].
Expand Down Expand Up @@ -136,12 +137,9 @@ impl<'a> Catalog<'a> {
self.insert(Name(b"OutputIntents")).array().typed()
}

/// Start writing the `/AF` array to specify the
/// associated files of the document. PDF 2.0+.
///
/// Each entry in the array is a reference to a [file specification
/// dictionary.](writers::FileSpec)
pub fn associated_files(&mut self) -> TypedArray<'_, Ref> {
/// Start writing the `/AF` array to specify the associated files of the
/// document. PDF 2.0+.
pub fn associated_files(&mut self) -> TypedArray<'_, FileSpec> {
self.insert(Name(b"AF")).array().typed()
}
}
Expand Down

0 comments on commit c406658

Please sign in to comment.