tests/test_platypus_paragraphs.py
branchpy33
changeset 3931 ceee76b69e7c
parent 3807 55af72526d90
child 4036 f7d6d36cc44c
equal deleted inserted replaced
3930:950841932d03 3931:ceee76b69e7c
   197 I guess I'm hoping that I've missed something, and that
   197 I guess I'm hoping that I've missed something, and that
   198 it's actually easy to do using platypus.We can do greek letters <greek>mDngG</greek>. This should be a
   198 it's actually easy to do using platypus.We can do greek letters <greek>mDngG</greek>. This should be a
   199 u with a dieresis on top &lt;unichar code=0xfc/&gt;="<unichar code="0xfc"/>" and this &amp;#xfc;="&#xfc;" and this \\xc3\\xbc="\xc3\xbc". On the other hand this
   199 u with a dieresis on top &lt;unichar code=0xfc/&gt;="<unichar code="0xfc"/>" and this &amp;#xfc;="&#xfc;" and this \\xc3\\xbc="\xc3\xbc". On the other hand this
   200 should be a pound sign &amp;pound;="&pound;" and this an alpha &amp;alpha;="&alpha;". You can have links in the page <link href="http://www.reportlab.com" color="blue">ReportLab</link> &amp; <a href="http://www.reportlab.org" color="green">ReportLab.org</a>.
   200 should be a pound sign &amp;pound;="&pound;" and this an alpha &amp;alpha;="&alpha;". You can have links in the page <link href="http://www.reportlab.com" color="blue">ReportLab</link> &amp; <a href="http://www.reportlab.org" color="green">ReportLab.org</a>.
   201 Use scheme "pdf:" to indicate an external PDF link, "http:", "https:" to indicate an external link eg something to open in
   201 Use scheme "pdf:" to indicate an external PDF link, "http:", "https:" to indicate an external link eg something to open in
   202 your browser. If an internal link begins with something that looks like a scheme, precede with "document:". <strike>This text should have a strike through it.</strike>
   202 your browser. If an internal link begins with something that looks like a scheme, precede with "document:". Empty hrefs should be allowed ie <a href="">&lt;a href=""&gt;test&lt;/a&gt;</a> should be allowed. <strike>This text should have a strike through it.</strike>
   203 '''
   203 '''
   204         from reportlab.platypus.flowables import ImageAndFlowables, Image
   204         from reportlab.platypus.flowables import ImageAndFlowables, Image
   205         from reportlab.lib.testutils import testsFolder
   205         from reportlab.lib.testutils import testsFolder
   206         gif = os.path.join(testsFolder,'pythonpowered.gif')
   206         gif = os.path.join(testsFolder,'pythonpowered.gif')
   207         heading = Paragraph('This is a heading',h3)
   207         heading = Paragraph('This is a heading',h3)