pub struct InteractiveForm {
pub fields: Vec<ObjRef>,
pub need_appearances: bool,
pub signature_flags: SignatureFlags,
pub calculation_order: Vec<ObjRef>,
pub default_resources: Option<Dict>,
pub default_appearance: Option<String>,
pub quadding: Option<Quadding>,
pub xfa: bool,
}Expand description
The interactive form dictionary (ISO 32000-1 §12.7.2, Table 218).
Fields§
§fields: Vec<ObjRef>/Fields: the root fields, those with no parent, as the references
the array holds.
need_appearances: bool/NeedAppearances: whether a reader should build the widgets’
appearance streams itself; false by default.
signature_flags: SignatureFlags/SigFlags, no flag set by default.
calculation_order: Vec<ObjRef>/CO: the fields with calculation actions, in the order their values
are recalculated.
default_resources: Option<Dict>/DR: the default resources for the fields’ appearance streams.
default_appearance: Option<String>/DA: the document-wide default appearance string for variable
text, a content fragment such as /Helv 0 Tf 0 g, as written.
quadding: Option<Quadding>/Q: the document-wide default quadding for variable text; None
when absent or not 0, 1 or 2.
xfa: bool/XFA: whether the form carries an XFA resource, as a stream or an
array of packets (§12.7.8).
Trait Implementations§
Source§impl Clone for InteractiveForm
impl Clone for InteractiveForm
Source§impl Debug for InteractiveForm
impl Debug for InteractiveForm
Source§impl PartialEq for InteractiveForm
impl PartialEq for InteractiveForm
impl StructuralPartialEq for InteractiveForm
Auto Trait Implementations§
impl Freeze for InteractiveForm
impl RefUnwindSafe for InteractiveForm
impl Send for InteractiveForm
impl Sync for InteractiveForm
impl Unpin for InteractiveForm
impl UnsafeUnpin for InteractiveForm
impl UnwindSafe for InteractiveForm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more