paaraparser/paragraph.py: add info re percentage in <img> for idea contributed by Roberto Alsina <ralsina@netmanagers.com.ar>
--- a/src/reportlab/platypus/paragraph.py Wed Sep 08 13:36:54 2010 +0000
+++ b/src/reportlab/platypus/paragraph.py Wed Sep 08 15:11:10 2010 +0000
@@ -803,6 +803,8 @@
<unichar name="unicode character name"/>
<unichar value="unicode code point"/>
<img src="path" width="1in" height="1in" valign="bottom"/>
+ width="w%" --> fontSize*w/100 idea from Roberto Alsina
+ height="h%" --> linewidth*h/100 <ralsina@netmanagers.com.ar>
The whole may be surrounded by <para> </para> tags
--- a/src/reportlab/platypus/paraparser.py Wed Sep 08 13:36:54 2010 +0000
+++ b/src/reportlab/platypus/paraparser.py Wed Sep 08 15:11:10 2010 +0000
@@ -536,6 +536,8 @@
# <unichar name="unicode character name"/>
# <unichar value="unicode code point"/>
# <img src="path" width="1in" height="1in" valign="bottom"/>
+# width="w%" --> fontSize*w/100 idea from Roberto Alsina
+# height="h%" --> linewidth*h/100 <ralsina@netmanagers.com.ar>
# <greek> - </greek>
#
# The whole may be surrounded by <para> </para> tags