Expand description
Basic PDF forms support according to ISO 32000-1 Chapter 12.7
This module provides basic interactive form fields including text fields, checkboxes, radio buttons, and push buttons.
Re-exports§
pub use button_widget::create_checkbox_widget;pub use button_widget::create_radio_widget;pub use button_widget::ButtonWidget;pub use choice_widget::create_combobox_widget;pub use choice_widget::create_listbox_widget;pub use choice_widget::ChoiceWidget;pub use field_appearance::AppearanceCharacteristics;pub use field_appearance::ButtonAppearanceGenerator;pub use field_appearance::ButtonBorderStyle;pub use field_appearance::ButtonStyle;pub use field_appearance::FieldAppearanceGenerator;pub use field_appearance::IconFit;pub use field_appearance::IconScaleType;pub use field_appearance::IconScaleWhen;pub use field_appearance::PushButtonAppearanceGenerator;pub use field_appearance::TextAlignment;pub use field_appearance::TextPosition;
Modules§
- button_
widget - Button field widget integration for ISO 32000-1 compliance
- calculation_
system - Enhanced form calculation system with JavaScript support
- calculations
- Form field calculations support according to ISO 32000-1 Section 12.7.5.3
- choice_
widget - Choice field widgets (ComboBox and ListBox) for PDF forms
- field_
actions - Field action handling for interactive forms according to ISO 32000-1 Section 12.6.3
- field_
appearance - Form field appearance streams per ISO 32000-1 §12.7.3.3
- javascript_
engine - Limited JavaScript engine for form calculations
- signature_
field - Digital signature fields implementation according to ISO 32000-1 Section 12.7.4.5
- signature_
handler - Signature handler for managing signature fields and signing process
- signature_
widget - Enhanced signature widget implementation with full annotation support
- validation
- Form field validation system according to ISO 32000-1 Section 12.7.5.3
Structs§
- Acro
Form - Interactive form dictionary (AcroForm)
- Appearance
Dictionary - Appearance dictionary for a form field
- Appearance
Stream - Appearance stream for a form field
- Button
Field - Base button field
- Check
Box - Checkbox field
- Check
BoxAppearance - Checkbox appearance generator
- Choice
Field - Base choice field
- Combo
Box - Combo box field
- Combo
BoxAppearance - Appearance generator for ComboBox fields
- Field
Flags - Field flags according to ISO 32000-1 Table 221
- Field
Options - Field options
- Form
Data - Form data extracted from PDF
- Form
Field - Form field with widget
- Form
Manager - Form manager for creating and managing forms
- ListBox
- List box field
- List
BoxAppearance - Appearance generator for ListBox fields
- Push
Button - Push button field
- Push
Button Appearance - Push button appearance generator
- Radio
Button - Radio button field
- Radio
Button Appearance - Radio button appearance generator
- Text
Field - Text field for entering text
- Text
Field Appearance - Text field appearance generator
- Widget
- Widget annotation for form field
- Widget
Appearance - Widget appearance settings
Enums§
- Appearance
State - Appearance states for form fields
- Border
Style - Border style for widgets
- Check
Style - Style of check mark
- Field
Type - Type of form field
Traits§
- Appearance
Generator - Trait for generating appearance streams for different field types
- Field
- Base field trait
Functions§
- create_
checkbox_ dict - Create a working checkbox field dictionary
- create_
combo_ box_ dict - Create a working combo box (dropdown) field dictionary
- create_
list_ box_ dict - Create a working list box field dictionary
- create_
push_ button_ dict - Create a working push button field dictionary
- create_
radio_ button_ dict - Create a working radio button field dictionary
- create_
text_ field_ dict - Create a working text field dictionary
- generate_
default_ appearance - Generate default appearance stream for a field type