PyPDFForm 5.5.1__tar.gz → 5.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PKG-INFO +1 -1
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/__init__.py +1 -1
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/egress.py +2 -2
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/wrapper.py +7 -1
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm.egg-info/PKG-INFO +1 -1
- {pypdfform-5.5.1 → pypdfform-5.5.2}/LICENSE +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/common.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/create.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/entry.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/inspect.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/remove.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/root.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/schemas/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/schemas/create.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/schemas/update.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/cli/update.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/adapter.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/annotations/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/annotations/base.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/annotations/link.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/annotations/stamp.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/annotations/text.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/annotations/text_markup.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/assets/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/assets/bedrock.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/assets/blank.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/constants.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/coordinate.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/deprecation.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/filler.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/font.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/hooks.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/image.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/base.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/checkbox.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/dropdown.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/image.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/radio.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/signature.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/middleware/text.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/patterns.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/circle.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/ellipse.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/image.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/line.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/rect.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/raw/text.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/template.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/types.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/utils.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/watermark.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/__init__.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/base.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/checkbox.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/dropdown.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/image.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/radio.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/signature.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm/lib/widgets/text.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm.egg-info/SOURCES.txt +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm.egg-info/dependency_links.txt +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm.egg-info/entry_points.txt +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm.egg-info/requires.txt +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/PyPDFForm.egg-info/top_level.txt +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/README.md +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/pyproject.toml +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/setup.cfg +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_bulk_create_fields.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_create_widget.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_draw_elements.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_dropdown.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_extract_middleware_attributes.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_fill_max_length_text_field.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_font_widths.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_functional.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_generate_appearance_streams.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_js.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_need_appearances.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_paragraph.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_signature.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_use_full_widget_name.py +0 -0
- {pypdfform-5.5.1 → pypdfform-5.5.2}/tests/test_widget_attr_trigger.py +0 -0
|
@@ -119,8 +119,8 @@ def rebuild_acroform_fields(
|
|
|
119
119
|
fields.append(field_ref)
|
|
120
120
|
seen_fields.add(field_key)
|
|
121
121
|
|
|
122
|
-
if not seen_fields:
|
|
123
|
-
|
|
122
|
+
# if not seen_fields:
|
|
123
|
+
# return pdf
|
|
124
124
|
|
|
125
125
|
if AcroForm not in root:
|
|
126
126
|
root[NameObject(AcroForm)] = DictionaryObject({})
|
|
@@ -527,7 +527,13 @@ class PdfWrapper:
|
|
|
527
527
|
|
|
528
528
|
if result:
|
|
529
529
|
result = rebuild_acroform_fields(
|
|
530
|
-
result,
|
|
530
|
+
result,
|
|
531
|
+
{
|
|
532
|
+
key
|
|
533
|
+
for key, widget in self.widgets.items()
|
|
534
|
+
if not isinstance(widget, Signature)
|
|
535
|
+
}, # TODO: figure out why can't image/sig be rendered by Acrobat
|
|
536
|
+
getattr(self, "use_full_widget_name"),
|
|
531
537
|
)
|
|
532
538
|
if self.version:
|
|
533
539
|
result = set_version(result, get_version(result), self.version)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|