pdfdoc.py: add __PDFObject__ to PDFIndirectObject class (patch from Arnaud Fontaine <arnaud@andesi.org>)
authorrgbecker
Sat, 23 Jan 2010 09:03:04 +0000
changeset 3318 59aae14a6010
parent 3317 7cc62d990f32
child 3319 f4b996498929
pdfdoc.py: add __PDFObject__ to PDFIndirectObject class (patch from Arnaud Fontaine <arnaud@andesi.org>)
src/reportlab/pdfbase/pdfdoc.py
--- a/src/reportlab/pdfbase/pdfdoc.py	Fri Jan 22 11:20:45 2010 +0000
+++ b/src/reportlab/pdfbase/pdfdoc.py	Sat Jan 23 09:03:04 2010 +0000
@@ -845,6 +845,7 @@
 
 INDIRECTOBFMT = "%(n)s %(v)s obj%(LINEEND)s%(content)s%(CLINEEND)sendobj%(LINEEND)s"
 class PDFIndirectObject:
+    __PDFObject__ = True
     __RefOnly__ = 1
     def __init__(self, name, content):
         self.name = name