@@ -619,6 +619,7 @@ class _rml_flowable(object):
|
||||
newtext = utils._process_text(self, node.text or '')
|
||||
node.text = newtext
|
||||
image_data = base64.decodestring(node.text)
|
||||
if not image_data: return False
|
||||
image = cStringIO.StringIO(image_data)
|
||||
return platypus.Image(image, mask=(250,255,250,255,250,255), **(utils.attr_get(node, ['width','height'])))
|
||||
else:
|
||||
|
||||
@@ -81,7 +81,6 @@ def _child_get(node, self=None, tagname=None):
|
||||
n2 = copy.deepcopy(n)
|
||||
n2.tag = tag
|
||||
n2.attrib.update(attr or {})
|
||||
print etree.tostring(n2)
|
||||
yield n2
|
||||
tagname = ''
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user