Trait pdfium_render::form_field::PdfFormFieldCommon
source · pub trait PdfFormFieldCommon {
// Required methods
fn name(&self) -> Option<String>;
fn appearance_stream(&self) -> Option<String>;
fn appearance_mode_value(
&self,
appearance_mode: PdfAppearanceMode,
) -> Option<String>;
}Expand description
Functionality common to all PdfFormField objects, regardless of their PdfFormFieldType.
Required Methods§
sourcefn name(&self) -> Option<String>
fn name(&self) -> Option<String>
Returns the name of this PdfFormField, if any.
sourcefn appearance_stream(&self) -> Option<String>
fn appearance_stream(&self) -> Option<String>
Returns the name of the currently set appearance stream for this PdfFormField, if any.
sourcefn appearance_mode_value(
&self,
appearance_mode: PdfAppearanceMode,
) -> Option<String>
fn appearance_mode_value( &self, appearance_mode: PdfAppearanceMode, ) -> Option<String>
Returns the value currently set for the given appearance mode for this PdfFormField, if any.