diff --git a/src/forms.rs b/src/forms.rs index 007d6ce..b796a06 100644 --- a/src/forms.rs +++ b/src/forms.rs @@ -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 @@ -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> {