pub struct FormCatalog {
pub fields: Vec<FormField>,
pub need_appearances: bool,
pub sig_flags: SigFlags,
pub calculation_order: Vec<String>,
pub default_appearance: Option<String>,
pub quadding: u8,
pub has_xfa: bool,
}Expand description
Top-level AcroForm dictionary.
Fields§
§fields: Vec<FormField>Field tree (top-level fields and their descendants).
need_appearances: bool/NeedAppearances — viewer must regenerate appearance
streams. Default false.
sig_flags: SigFlags/SigFlags — bit 0 = signatures exist; bit 1 = append-only.
calculation_order: Vec<String>/CO — array of fully-qualified field names defining
calculation order for fields with calculation actions.
default_appearance: Option<String>/DA — default appearance string used by text fields lacking
their own.
quadding: u8/Q — default quadding (0 = left, 1 = center, 2 = right).
has_xfa: boolWhether /XFA is present (XFA forms — deprecated in PDF 2.0
but still seen in the wild). The XFA payload itself is not
parsed; consumers can fetch it via the resolver if needed.
Trait Implementations§
Source§impl Clone for FormCatalog
impl Clone for FormCatalog
Source§fn clone(&self) -> FormCatalog
fn clone(&self) -> FormCatalog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormCatalog
impl Debug for FormCatalog
Source§impl Default for FormCatalog
impl Default for FormCatalog
Source§fn default() -> FormCatalog
fn default() -> FormCatalog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FormCatalog
impl RefUnwindSafe for FormCatalog
impl Send for FormCatalog
impl Sync for FormCatalog
impl Unpin for FormCatalog
impl UnsafeUnpin for FormCatalog
impl UnwindSafe for FormCatalog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more