pdfform/pdfpattern.py: add __PDFObject__ to classes (patch from Arnaud Fontaine <arnaud@andesi.org>
authorrgbecker
Fri, 22 Jan 2010 11:20:45 +0000
changeset 3317 7cc62d990f32
parent 3316 ba8cb8ae1c04
child 3318 59aae14a6010
pdfform/pdfpattern.py: add __PDFObject__ to classes (patch from Arnaud Fontaine <arnaud@andesi.org>
src/reportlab/pdfbase/pdfform.py
src/reportlab/pdfbase/pdfpattern.py
--- a/src/reportlab/pdfbase/pdfform.py	Wed Jan 20 14:45:53 2010 +0000
+++ b/src/reportlab/pdfbase/pdfform.py	Fri Jan 22 11:20:45 2010 +0000
@@ -135,6 +135,7 @@
         return theform
 
 class AcroForm:
+    __PDFObject__ = True
     def __init__(self):
         self.fields = []
     def textField(self, canvas, title, xmin, ymin, xmax, ymax, value="", maxlen=1000000, multiline=0):
--- a/src/reportlab/pdfbase/pdfpattern.py	Wed Jan 20 14:45:53 2010 +0000
+++ b/src/reportlab/pdfbase/pdfpattern.py	Fri Jan 22 11:20:45 2010 +0000
@@ -5,6 +5,7 @@
 import string
 
 class PDFPattern:
+    __PDFObject__ = True
     __RefOnly__ = 1
     def __init__(self, pattern_sequence, **keywordargs):
         """