Skip to content

Commit

Permalink
Proof read
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Oct 26, 2023
1 parent 6803f1d commit 28b79dd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/forms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,15 @@ impl<'a> Form<'a> {
}

/// Write the document-wide default value for the `/DA` attribute of
/// fields containing variable text.
/// fields containing variable text. See
/// [`Field::vartext_default_appearance`].
pub fn default_appearance(&mut self, default: Str) -> &mut Self {
self.dict.pair(Name(b"DA"), default);
self
}

/// Write the document-wide default value for the `/Q` attribute of
/// fields containing variable text.
/// fields containing variable text. See [`Field::vartext_quadding`].
pub fn quadding(&mut self, default: Quadding) -> &mut Self {
self.dict.pair(Name(b"Q"), default as i32);
self
Expand All @@ -86,7 +87,7 @@ bitflags::bitflags! {
}
}

/// A form field.
/// Writer for an _ form field dictionary_.
///
/// This struct is created by [`Chunk::form_field`].
pub struct Field<'a> {
Expand Down

0 comments on commit 28b79dd

Please sign in to comment.