pyPDFeditor-GUI 3.0.2__tar.gz → 3.0.4__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.
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/PKG-INFO +1 -1
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/PKG-INFO +1 -1
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/__init__.py +1 -1
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/functions.py +5 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/LICENSE +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/README.md +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/SOURCES.txt +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/dependency_links.txt +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/entry_points.txt +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/requires.txt +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/top_level.txt +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/__main__.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/application.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/Add.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/Add_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/Add_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/Photo.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/__init__.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/arrow_move.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/book2.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/chevron_down.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/color.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/color_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/color_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/delete.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/delete_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/delete_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/dismiss.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/dismiss_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/down.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/down_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/down_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/edit.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/folder.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/folder_d.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/folder_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/folder_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/font.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/font_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/font_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/home.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/lock.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/maximize.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/merge.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/metadata.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/minimize.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/more.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/more_d.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/more_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/more_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/move_page.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/pdf icon.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/rotate_anticlockwise.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/rotate_clockwise.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/settings.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/settings_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/settings_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/square_multiple.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/sync.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/sync_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/sync_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/view.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/view_h.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/view_p.svg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/language.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/style_sheets.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/window_effect.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/windows.py +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/setup.cfg +0 -0
- {pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/setup.py +0 -0
|
@@ -71,6 +71,8 @@ def open_pdf(file_name: str, parent: QWidget) -> Tuple[Optional[Doc], bool]:
|
|
|
71
71
|
"""
|
|
72
72
|
try: # handle wrong format (svg included) except images
|
|
73
73
|
doc = Doc(filename=file_name)
|
|
74
|
+
doc.rotatedPages = {}
|
|
75
|
+
doc.pass_word = None
|
|
74
76
|
except RuntimeError:
|
|
75
77
|
return _open_warning(parent)
|
|
76
78
|
if not doc.is_pdf:
|
|
@@ -82,6 +84,9 @@ def open_pdf(file_name: str, parent: QWidget) -> Tuple[Optional[Doc], bool]:
|
|
|
82
84
|
return _open_warning(parent)
|
|
83
85
|
pdf_bites = doc.convert_to_pdf() # convert to pdf
|
|
84
86
|
doc = Doc("pdf", pdf_bites)
|
|
87
|
+
doc._name = file_name
|
|
88
|
+
doc.rotatedPages = {}
|
|
89
|
+
doc.pass_word = None
|
|
85
90
|
if doc.needs_pass:
|
|
86
91
|
while doc.is_encrypted:
|
|
87
92
|
value, _ = QInputDialog.getText(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pyPDFeditor_GUI.egg-info/dependency_links.txt
RENAMED
|
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
|
{pypdfeditor_gui-3.0.2 → pypdfeditor_gui-3.0.4}/pypdfeditor_core/icons/rotate_anticlockwise.svg
RENAMED
|
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
|