PyPDFForm 1.5.6__tar.gz → 1.5.7__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.
Potentially problematic release.
This version of PyPDFForm might be problematic. Click here for more details.
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PKG-INFO +1 -1
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/__init__.py +1 -1
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/template.py +4 -3
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm.egg-info/PKG-INFO +1 -1
- {pypdfform-1.5.6 → pypdfform-1.5.7}/LICENSE +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/adapter.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/constants.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/coordinate.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/filler.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/font.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/image.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/__init__.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/base.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/checkbox.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/dropdown.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/image.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/radio.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/signature.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/middleware/text.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/patterns.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/utils.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/watermark.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/widgets/__init__.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/widgets/base.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/widgets/checkbox.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/widgets/dropdown.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/widgets/text.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm/wrapper.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm.egg-info/SOURCES.txt +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm.egg-info/dependency_links.txt +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm.egg-info/requires.txt +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/PyPDFForm.egg-info/top_level.txt +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/README.md +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/setup.cfg +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/setup.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_adobe_mode.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_create_widget.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_dropdown.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_dropdown_simple.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_fill_max_length_text_field.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_fill_max_length_text_field_simple.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_fill_method.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_functional.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_functional_simple.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_paragraph.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_paragraph_simple.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_preview.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_signature.py +0 -0
- {pypdfform-1.5.6 → pypdfform-1.5.7}/tests/test_use_full_widget_name.py +0 -0
|
@@ -55,7 +55,8 @@ def build_widgets(
|
|
|
55
55
|
key = get_widget_key(widget)
|
|
56
56
|
_widget = construct_widget(widget, key)
|
|
57
57
|
if _widget is not None:
|
|
58
|
-
|
|
58
|
+
if use_full_widget_name:
|
|
59
|
+
_widget.full_name = get_widget_full_key(widget)
|
|
59
60
|
_widget.desc = get_widget_description(widget)
|
|
60
61
|
if isinstance(_widget, Text):
|
|
61
62
|
_widget.max_length = get_text_field_max_length(widget)
|
|
@@ -206,9 +207,9 @@ def get_widget_full_key(widget: dict) -> Union[str, None]:
|
|
|
206
207
|
if (
|
|
207
208
|
Parent in widget
|
|
208
209
|
and T in widget[Parent].get_object()
|
|
209
|
-
and widget[Parent][T] != key
|
|
210
|
+
and widget[Parent].get_object()[T] != key
|
|
210
211
|
):
|
|
211
|
-
return f"{widget[Parent][T]}.{key}"
|
|
212
|
+
return f"{widget[Parent].get_object()[T]}.{key}"
|
|
212
213
|
|
|
213
214
|
return None
|
|
214
215
|
|
|
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
|