File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1670,7 +1670,7 @@ if len(pyliste) == 0 or min(pyliste) not in range(len(self)) or max(pyliste) not
16701670 }
16711671
16721672 //---------------------------------------------------------------------
1673- // Check: is this an AcroForm with at least one field?
1673+ // Return the /SigFlags value
16741674 //---------------------------------------------------------------------
16751675 CLOSECHECK0(getSigFlags)
16761676 int getSigFlags()
@@ -2338,7 +2338,6 @@ if len(pyliste) == 0 or min(pyliste) not in range(len(self)) or max(pyliste) not
23382338
23392339 self.setToC(new_toc)
23402340 self._reset_page_refs()
2341- Py_RETURN_NONE
23422341
23432342
23442343 def deletePageRange(self, from_page = -1, to_page = -1):
@@ -2368,7 +2367,6 @@ if len(pyliste) == 0 or min(pyliste) not in range(len(self)) or max(pyliste) not
23682367
23692368 self.setToC(new_toc)
23702369 self._reset_page_refs()
2371- Py_RETURN_NONE
23722370
23732371 def saveIncr(self):
23742372 " " " Save PDF incrementally" " "
@@ -5970,7 +5968,7 @@ CheckParent(self)
59705968 def widget(self):
59715969 annot_type = self.type[0]
59725970 if annot_type != ANNOT_WIDGET:
5973- Py_RETURN_NONE
5971+ return None
59745972 w = Widget()
59755973 w.field_type = self.widget_type[0]
59765974 w.field_type_string = self.widget_type[1]
Original file line number Diff line number Diff line change @@ -563,15 +563,14 @@ def CheckFont(page, fontname):
563563 return f
564564 if f[3 ].lower () == fontname.lower ():
565565 return f
566- Py_RETURN_NONE
567566
568567def CheckFontInfo (doc, xref):
569568 " " " Return a font info if present in the document.
570569 " " "
571570 for f in doc.FontInfos :
572571 if xref == f[0 ]:
573572 return f
574- Py_RETURN_NONE
573+
575574
576575def UpdateFontInfo (doc, info):
577576 xref = info[0 ]
Original file line number Diff line number Diff line change 11%pythoncode %{
22VersionFitz = " 1.14.0"
33VersionBind = " 1.14.19"
4- VersionDate = " 2019-07-18 20:01:17 "
5- version = (VersionBind, VersionFitz, " 20190718200117 " )
4+ VersionDate = " 2019-07-21 03:55:10 "
5+ version = (VersionBind, VersionFitz, " 20190721035510 " )
66%}
You can’t perform that action at this time.
0 commit comments